npmjs-server 0.0.0-stage → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +69 -2
- package/dist/cli.mjs +8419 -0
- package/dist/cli.mjs.map +1 -0
- package/dist/ui/assets/LoginDialog-4MhpPZy9.js +171 -0
- package/dist/ui/assets/index-BRuGs4Xb.js +98 -0
- package/dist/ui/assets/login-D1aPTHzD.js +1 -0
- package/dist/ui/favicon.ico +0 -0
- package/dist/ui/icon.png +0 -0
- package/dist/ui/index.html +20 -0
- package/dist/ui/locale/en.json +240 -0
- package/dist/ui/locale/fallback.json +213 -0
- package/dist/ui/locale/ja.json +240 -0
- package/dist/ui/login.html +19 -0
- package/images/npmjs-server-120.png +0 -0
- package/images/npmjs-server-ss-1.png +0 -0
- package/package.json +107 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{F as e,Ft as t,M as n,cn as r,dt as i,in as a,j as o,on as s,r as c,t as l,tn as u,u as d}from"./LoginDialog-4MhpPZy9.js";var f=a(),p=r(s(),1),m=u(),h=()=>{if(typeof window>`u`)return`/`;let e=new URL(window.location.href).searchParams.get(`redirect`);return e&&e.startsWith(`/`)?e:`/`},g=(e,t)=>e?.authMode===`none`||t?.authenticated===!0,_=()=>{let r=d(`(prefers-color-scheme: dark)`),[a,s]=(0,p.useState)(!1),[u,f]=(0,p.useState)(`NPM Registry`),[_,v]=(0,p.useState)(`full`),y=t({palette:{mode:r?`dark`:`light`,primary:{main:`#1976d2`},secondary:{main:`#dc004e`}},typography:{fontFamily:[`-apple-system`,`BlinkMacSystemFont`,`"Segoe UI"`,`Roboto`,`"Helvetica Neue"`,`Arial`,`sans-serif`].join(`,`)},components:{MuiButton:{styleOverrides:{root:{textTransform:`none`}}}}});return(0,p.useEffect)(()=>{(async()=>{try{let[e,t]=await Promise.all([c(`api/config`,{credentials:`same-origin`}),c(`api/auth/session`,{credentials:`same-origin`})]),n;if(e.ok&&(n=await e.json(),f(n.realm||`NPM Registry`),v(n.authMode??`full`),n.realm&&(document.title=n.realm),g(n,void 0))||t.ok&&g(void 0,await t.json())){window.location.replace(h());return}}catch(e){console.error(`Failed to fetch server config:`,e)}finally{s(!0)}})()},[]),(0,m.jsxs)(i,{theme:y,children:[(0,m.jsx)(o,{}),(0,m.jsxs)(e,{sx:{minHeight:`100vh`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:[(0,m.jsx)(n,{maxWidth:`sm`}),(0,m.jsx)(l,{open:a,onClose:()=>{_!==`full`&&s(!1)},onLoginSuccess:()=>{window.location.replace(h())},realm:u,disableBackdropClick:_===`full`})]})]})},v=document.getElementById(`root`);if(!v)throw Error(`Root element not found`);(0,f.createRoot)(v).render((0,m.jsx)(p.StrictMode,{children:(0,m.jsx)(_,{})}));
|
|
Binary file
|
package/dist/ui/icon.png
ADDED
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="ja">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>npmjs-server</title>
|
|
7
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
8
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
9
|
+
<link
|
|
10
|
+
rel="stylesheet"
|
|
11
|
+
href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap"
|
|
12
|
+
/>
|
|
13
|
+
<style>body{margin:0;font-family:Roboto,sans-serif}</style>
|
|
14
|
+
<script type="module" crossorigin src="./assets/index-BRuGs4Xb.js"></script>
|
|
15
|
+
<link rel="modulepreload" crossorigin href="./assets/LoginDialog-4MhpPZy9.js">
|
|
16
|
+
</head>
|
|
17
|
+
<body>
|
|
18
|
+
<div id="root"></div>
|
|
19
|
+
</body>
|
|
20
|
+
</html>
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
{
|
|
2
|
+
"TOTP_USE_RECOVERY": "Use a recovery code",
|
|
3
|
+
"TOTP_RECOVERY_CODE": "Recovery code",
|
|
4
|
+
"TOTP_REMAINING": "{count:number} unused recovery codes remaining.",
|
|
5
|
+
"TOTP_MANAGE_DESCRIPTION": "Enter your current password and an authenticator or recovery code to make changes. Disabling two-factor authentication allows login with your password alone. Regenerating recovery codes invalidates all previous recovery codes.",
|
|
6
|
+
"TOTP_REPLACE": "Replace authenticator",
|
|
7
|
+
"TOTP_REGENERATE": "Regenerate recovery codes",
|
|
8
|
+
"TOTP_DISABLE": "Disable two-factor authentication",
|
|
9
|
+
"TOTP_TITLE": "Two-step authentication",
|
|
10
|
+
"TOTP_DESCRIPTION": "Register an authenticator app to require a code in addition to your password when signing in. Enter your current password to begin.",
|
|
11
|
+
"TOTP_SETUP": "Register authenticator",
|
|
12
|
+
"TOTP_SCAN": "Scan this QR code with your authenticator app, then enter its six-digit code.",
|
|
13
|
+
"TOTP_QR": "Authenticator registration QR code",
|
|
14
|
+
"TOTP_MANUAL_KEY": "Manual setup key",
|
|
15
|
+
"TOTP_CODE": "Authenticator code",
|
|
16
|
+
"TOTP_CONFIRM": "Confirm and enable",
|
|
17
|
+
"TOTP_ENABLED": "Two-step authentication is enabled.",
|
|
18
|
+
"TOTP_SAVE_RECOVERY": "Save these recovery codes somewhere safe. They will not be shown again after closing this screen. Each code can be used once if you lose your authenticator.",
|
|
19
|
+
"TOTP_LOGIN_PROMPT": "Enter the code shown in your authenticator app.",
|
|
20
|
+
"TOTP_BACK": "Back to password",
|
|
21
|
+
"TOTP_INVALID": "The code is incorrect or has already been used. Try a new code.",
|
|
22
|
+
"TOTP_EXPIRED": "Verification has expired. Please start again.",
|
|
23
|
+
"TOTP_RATE_LIMITED": "Too many attempts. Try again in ten minutes.",
|
|
24
|
+
"TOTP_PASSWORD_INVALID": "The current password is incorrect.",
|
|
25
|
+
"TOTP_REQUEST_FAILED": "Unable to complete the two-step authentication request. Please try again.",
|
|
26
|
+
"APP_TITLE": "npmjs-server",
|
|
27
|
+
"UPLOAD": "Upload",
|
|
28
|
+
"LOGIN": "Login",
|
|
29
|
+
"LOGOUT": "Logout",
|
|
30
|
+
"SIGN_IN": "Sign In",
|
|
31
|
+
"SIGNING_IN": "Signing in...",
|
|
32
|
+
"USERNAME": "Username",
|
|
33
|
+
"PASSWORD": "Password",
|
|
34
|
+
"CLOSE": "Close",
|
|
35
|
+
|
|
36
|
+
"UPLOAD_PACKAGE": "Upload Package",
|
|
37
|
+
"SELECT_NUPKG_FILES": "Select npm package (.tgz) files to upload:",
|
|
38
|
+
"DRAG_DROP_FILES": "Drag & drop your .tgz files here",
|
|
39
|
+
"DROP_FILES_HERE": "Drop your .tgz files here",
|
|
40
|
+
"OR_CLICK_TO_BROWSE": "or click to browse files",
|
|
41
|
+
"UPLOAD_MORE": "Upload More",
|
|
42
|
+
"UPLOAD_RESULTS": "Upload Results:",
|
|
43
|
+
"ALL_UPLOADS_SUCCESS": "All {count:number} package{plural} uploaded successfully!",
|
|
44
|
+
"ALL_UPLOADS_FAILED": "All uploads failed",
|
|
45
|
+
"PARTIAL_UPLOAD_SUCCESS": "{success:number} of {total:number} package{plural} uploaded successfully",
|
|
46
|
+
"UPLOADING_PROGRESS": "Uploading {current:number} of {total:number}: {fileName}",
|
|
47
|
+
"SELECTED_FILES": "Selected files ({count:number} file{plural}, {size} MB total):",
|
|
48
|
+
"INVALID_FILES_EXCLUDED": "{count:number} file(s) were not .tgz files and were excluded.",
|
|
49
|
+
"UPLOAD_N_FILES": "Upload {count:number} file{plural}",
|
|
50
|
+
"UPLOADING_N_OF_M": "Uploading ({current:number}/{total:number})...",
|
|
51
|
+
|
|
52
|
+
"PLEASE_SIGN_IN": "Please sign in to continue",
|
|
53
|
+
"REMEMBER_ME_DAYS": "Remember me for 7 days",
|
|
54
|
+
"NEED_HELP_CONTACT": "Need help? Contact your system administrator.",
|
|
55
|
+
"LOGIN_FAILED": "Login failed",
|
|
56
|
+
"LOGIN_SUCCESS": "Successfully logged in as {username}",
|
|
57
|
+
"NETWORK_ERROR_TRY_AGAIN": "Network error. Please try again.",
|
|
58
|
+
"USERNAME_PASSWORD_REQUIRED": "Username and password are required",
|
|
59
|
+
"SESSION_EXPIRED": "Your session has expired",
|
|
60
|
+
"SESSION_EXPIRED_LOGIN_REQUIRED": "Your session has expired. Please log in again.",
|
|
61
|
+
|
|
62
|
+
"ADD_SERVER_AS_SOURCE": "Add this server as a npm registry:",
|
|
63
|
+
"ADD_SERVER_AS_SOURCE_AND_PUBLISH": "Add this server as a npm registry:",
|
|
64
|
+
"COPY_COMMAND": "copy command",
|
|
65
|
+
|
|
66
|
+
"USERS": "Users",
|
|
67
|
+
"USER_MANAGEMENT": "User Management",
|
|
68
|
+
"ADD_USER": "Add User",
|
|
69
|
+
"RESET_PASSWORD": "Reset Password",
|
|
70
|
+
"DELETE_USER": "Delete User",
|
|
71
|
+
"CHANGE_PASSWORD": "Change Password",
|
|
72
|
+
"API_PASSWORD": "npm tokens",
|
|
73
|
+
"PASSWORD_MENU": "Password",
|
|
74
|
+
"PASSWORD_MANAGEMENT": "Password Management",
|
|
75
|
+
|
|
76
|
+
"SETTINGS": "Settings",
|
|
77
|
+
"LANGUAGE": "Language",
|
|
78
|
+
"LANGUAGE_AUTO": "Auto",
|
|
79
|
+
"LANGUAGE_NAME": "English",
|
|
80
|
+
"THEME": "Theme",
|
|
81
|
+
"THEME_AUTO": "Auto",
|
|
82
|
+
"THEME_LIGHT": "Light",
|
|
83
|
+
"THEME_DARK": "Dark",
|
|
84
|
+
|
|
85
|
+
"NO_PACKAGES_AVAILABLE": "No packages available",
|
|
86
|
+
"NO_PACKAGES_FOUND": "No packages found in the repository.",
|
|
87
|
+
"PACKAGES_HEADER": "Packages",
|
|
88
|
+
"LOADING_PACKAGES": "Loading packages...",
|
|
89
|
+
"FAILED_TO_LOAD_PACKAGES": "Failed to load packages",
|
|
90
|
+
"ERROR_LOADING_PACKAGES": "Error loading packages: {error}",
|
|
91
|
+
"SEARCH_PACKAGES": "Search packages...",
|
|
92
|
+
"FILTER_PACKAGES_PLACEHOLDER": "Filter packages...",
|
|
93
|
+
"NO_PACKAGES_MATCH_FILTER": "No packages match your filter criteria.",
|
|
94
|
+
"CLEAR_SEARCH": "Clear search",
|
|
95
|
+
"DOWNLOAD_PACKAGE": "Download package",
|
|
96
|
+
"AUTHORS": "Authors: {authors}",
|
|
97
|
+
"AUTHORS_LABEL": "Authors:",
|
|
98
|
+
"TAGS": "Tags",
|
|
99
|
+
"TAGS_LABEL": "Tags:",
|
|
100
|
+
"TARGET_FRAMEWORKS_LABEL": "Target Frameworks:",
|
|
101
|
+
"LICENSE": "License",
|
|
102
|
+
"PROJECT_URL": "Project URL",
|
|
103
|
+
"PROJECT_LINK": "Project",
|
|
104
|
+
"LICENSE_LINK": "License",
|
|
105
|
+
"LINKS_LABEL": "Links:",
|
|
106
|
+
"DESCRIPTION_LABEL": "Description:",
|
|
107
|
+
"VERSIONS": "Versions ({count:number})",
|
|
108
|
+
"VERSIONS_LABEL": "Versions ({count:number}):",
|
|
109
|
+
"VERSION": "Version {version}",
|
|
110
|
+
"DOWNLOADS": "{count:number} downloads",
|
|
111
|
+
"LOADING_MORE": "Loading more...",
|
|
112
|
+
"LOADING_MORE_PACKAGES": "Loading more packages...",
|
|
113
|
+
"SHOWING_PACKAGES": "Showing {current:number} of {total:number} packages",
|
|
114
|
+
"ALL_PACKAGES_LOADED": "All {count:number} packages loaded",
|
|
115
|
+
|
|
116
|
+
"REGISTER_USER": "Register User",
|
|
117
|
+
"ADD_NEW_USER_INSTRUCTION": "Add a new user to the NPM package registry:",
|
|
118
|
+
"CONFIRM_PASSWORD": "Confirm Password",
|
|
119
|
+
"USERNAME_HELPER": "Only alphanumeric characters, hyphens, and underscores",
|
|
120
|
+
"PASSWORD_MIN_LENGTH": "Minimum 4 characters",
|
|
121
|
+
"ROLE_READONLY_SHORT": "Read Only",
|
|
122
|
+
"ROLE_PUBLISH_SHORT": "Read & Publish",
|
|
123
|
+
"ROLE_ADMIN_SHORT": "Administrator",
|
|
124
|
+
"ROLE_READONLY_DESC": "Can browse and download packages",
|
|
125
|
+
"ROLE_PUBLISH_DESC": "Can browse, download, and publish packages",
|
|
126
|
+
"ROLE_ADMIN_DESC": "Full access including user management",
|
|
127
|
+
"VALIDATION_ALL_FIELDS_REQUIRED": "All fields are required",
|
|
128
|
+
"VALIDATION_PASSWORDS_DONT_MATCH": "Passwords do not match",
|
|
129
|
+
"VALIDATION_PASSWORD_TOO_SHORT": "Password must be at least 4 characters long",
|
|
130
|
+
"VALIDATION_USERNAME_INVALID": "Username must contain only alphanumeric characters, hyphens, and underscores",
|
|
131
|
+
"USER_CREATED_SUCCESS_MESSAGE": "User created successfully!",
|
|
132
|
+
"IMPORTANT_SAVE_API_PASSWORD": "Important: Save npm token!",
|
|
133
|
+
"API_PASSWORD_SHOWN_ONCE": "This npm token will only be shown once. Make sure to save it in a secure location.",
|
|
134
|
+
"API_PASSWORD_LABEL": "npm tokens:",
|
|
135
|
+
"CLICK_TO_COPY_CLIPBOARD": "Click to copy to clipboard",
|
|
136
|
+
"COPIED_TO_CLIPBOARD": "Copied to clipboard!",
|
|
137
|
+
"DETAILS_LABEL": "Details:",
|
|
138
|
+
"REGISTER_ANOTHER": "Register Another",
|
|
139
|
+
"REGISTERING": "Registering...",
|
|
140
|
+
"REGISTER": "Register",
|
|
141
|
+
"ROLE": "Role",
|
|
142
|
+
"ROLE_ADMIN": "Admin (full access)",
|
|
143
|
+
"ROLE_PUBLISH": "Publisher (read and publish)",
|
|
144
|
+
"ROLE_READONLY": "Read-only (read only)",
|
|
145
|
+
"PASSWORD_STRENGTH": "Password Strength",
|
|
146
|
+
"GENERATE_PASSWORD": "Generate Password",
|
|
147
|
+
"GENERATED_PASSWORD": "Generated Password",
|
|
148
|
+
"COPY_PASSWORD": "Copy Password",
|
|
149
|
+
"PASSWORD_COPIED": "Password copied to clipboard!",
|
|
150
|
+
"USER_REGISTERED_SUCCESS": "User registered successfully!",
|
|
151
|
+
"USER_REGISTRATION_FAILED": "Failed to register user",
|
|
152
|
+
|
|
153
|
+
"RESET_USER_PASSWORD": "Reset User Password",
|
|
154
|
+
"RESET_PASSWORD_INSTRUCTION": "Reset password for an existing user:",
|
|
155
|
+
"PASSWORD_RESET_WARNING": "The user will need to use this new password to authenticate. Make sure to communicate the new password securely.",
|
|
156
|
+
"PASSWORD_RESET_COMPLETED": "Password reset completed",
|
|
157
|
+
"USER_LABEL": "User: ",
|
|
158
|
+
"PASSWORD_UPDATED_MESSAGE": "The password has been successfully updated.",
|
|
159
|
+
"RESET_ANOTHER": "Reset Another",
|
|
160
|
+
"SELECT_USER": "Select user to reset password",
|
|
161
|
+
"NEW_PASSWORD": "New Password",
|
|
162
|
+
"RESETTING": "Resetting...",
|
|
163
|
+
"RESET": "Reset",
|
|
164
|
+
"PASSWORD_RESET_SUCCESS": "Password reset successfully!",
|
|
165
|
+
"PASSWORD_RESET_FAILED": "Failed to reset password",
|
|
166
|
+
|
|
167
|
+
"DELETE_USER_TITLE": "Delete User",
|
|
168
|
+
"SELECT_USER_DELETE_INSTRUCTION": "Select a user to delete:",
|
|
169
|
+
"NO_USERS_TO_DELETE": "No users available to delete. You cannot delete your own account.",
|
|
170
|
+
"WARNING_LABEL": "Warning",
|
|
171
|
+
"DELETE_USER_WARNING": "This action cannot be undone. The user {username} and all associated data will be permanently deleted.",
|
|
172
|
+
"DELETE_ANOTHER": "Delete Another",
|
|
173
|
+
"CONFIRM_USER_DELETION_TITLE": "Confirm User Deletion",
|
|
174
|
+
"CONFIRM_DELETE_MESSAGE": "Are you sure you want to delete the user {username}? This action cannot be undone.",
|
|
175
|
+
"SELECT_USER_TO_DELETE": "Select user to delete",
|
|
176
|
+
"CONFIRM_DELETE_USER": "Are you sure you want to delete user \"{username}\"?",
|
|
177
|
+
"DELETING": "Deleting...",
|
|
178
|
+
"DELETE": "Delete",
|
|
179
|
+
"CANCEL": "Cancel",
|
|
180
|
+
"USER_DELETED_SUCCESS": "User deleted successfully!",
|
|
181
|
+
"USER_DELETE_FAILED": "Failed to delete user",
|
|
182
|
+
"CANNOT_DELETE_SELF": "Cannot delete your own account",
|
|
183
|
+
|
|
184
|
+
"CHANGE_YOUR_PASSWORD": "Change Your Password",
|
|
185
|
+
"CHANGE_PASSWORD_INSTRUCTION": "Enter your current password and choose a new password.",
|
|
186
|
+
"CHANGING_PASSWORD": "Changing Password...",
|
|
187
|
+
"CURRENT_PASSWORD": "Current Password",
|
|
188
|
+
"CHANGING": "Changing...",
|
|
189
|
+
"CHANGE": "Change",
|
|
190
|
+
"PASSWORD_CHANGED_SUCCESS": "Password changed successfully!",
|
|
191
|
+
"PASSWORD_CHANGE_FAILED": "Failed to change password",
|
|
192
|
+
|
|
193
|
+
"API_PASSWORD_MANAGEMENT": "npm tokens Management",
|
|
194
|
+
"NEW_API_PASSWORD_CREATED": "New npm tokens Created!",
|
|
195
|
+
"LABEL_PREFIX": "Label: ",
|
|
196
|
+
"CLICK_COPY_SHOWN_ONCE": "Click to copy - This password will only be shown once!",
|
|
197
|
+
"EXAMPLE_COMMANDS": "Example commands:",
|
|
198
|
+
"API_PASSWORDS_COUNT": "{current:number} / 10 npm tokens",
|
|
199
|
+
"ADD_NEW": "Add New",
|
|
200
|
+
"NO_API_PASSWORDS": "No npm tokens configured. Click \"Add New\" to create one.",
|
|
201
|
+
"TABLE_LABEL": "Label",
|
|
202
|
+
"TABLE_CREATED": "Created",
|
|
203
|
+
"TABLE_DELETE": "Delete",
|
|
204
|
+
"MAX_API_PASSWORDS": "Maximum of 10 npm tokens reached. Delete existing passwords to add new ones.",
|
|
205
|
+
"ADD_NEW_API_PASSWORD_TITLE": "Add new npm token",
|
|
206
|
+
"API_PASSWORD_LABEL_HELPER": "Enter a unique label to identify this npm token...",
|
|
207
|
+
"GENERATE": "Generate",
|
|
208
|
+
"DELETE_API_PASSWORD_TITLE": "Delete npm token",
|
|
209
|
+
"CONFIRM_DELETE_API_PASSWORD": "Are you sure you want to delete the npm token \"{label}\"?",
|
|
210
|
+
"API_PASSWORD_DELETE_WARNING": "Any applications using this password will lose access immediately.",
|
|
211
|
+
"API_PASSWORD_TITLE": "npm tokens",
|
|
212
|
+
"API_PASSWORD_DESCRIPTION": "Use this API key for package operations:",
|
|
213
|
+
"GENERATING_API_KEY": "Generating API key...",
|
|
214
|
+
"GENERATE_NEW_KEY": "Generate New Key",
|
|
215
|
+
"API_KEY_GENERATED": "API key generated successfully!",
|
|
216
|
+
"API_KEY_GENERATION_FAILED": "Failed to generate API key",
|
|
217
|
+
|
|
218
|
+
"TIME_TO_CRACK": "Time to crack: ",
|
|
219
|
+
"SUGGESTION_LABEL": "Suggestion: ",
|
|
220
|
+
|
|
221
|
+
"WEAK": "Weak",
|
|
222
|
+
"FAIR": "Fair",
|
|
223
|
+
"GOOD": "Good",
|
|
224
|
+
"STRONG": "Strong",
|
|
225
|
+
"VERY_STRONG": "Very Strong",
|
|
226
|
+
|
|
227
|
+
"LOADING": "Loading...",
|
|
228
|
+
"ERROR": "Error",
|
|
229
|
+
"SUCCESS": "Success",
|
|
230
|
+
"WARNING": "Warning",
|
|
231
|
+
"INFO": "Info",
|
|
232
|
+
|
|
233
|
+
"PASSWORD_MUST_BE_DIFFERENT": "New password must be different from current password",
|
|
234
|
+
"FAILED_TO_LOAD_API_PASSWORDS": "Failed to load npm tokens",
|
|
235
|
+
"FAILED_TO_DELETE_API_PASSWORD": "Failed to delete npm token",
|
|
236
|
+
"ERROR_LOADING_USERS": "Error loading users",
|
|
237
|
+
"UNKNOWN_ERROR": "Unknown error",
|
|
238
|
+
"UPLOAD_ERROR": "Upload error",
|
|
239
|
+
"NPMJS_SERVER": "NPM Registry"
|
|
240
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
{
|
|
2
|
+
"APP_TITLE": "npmjs-server",
|
|
3
|
+
"UPLOAD": "Upload",
|
|
4
|
+
"LOGIN": "Login",
|
|
5
|
+
"LOGOUT": "Logout",
|
|
6
|
+
"SIGN_IN": "Sign In",
|
|
7
|
+
"SIGNING_IN": "Signing in...",
|
|
8
|
+
"USERNAME": "Username",
|
|
9
|
+
"PASSWORD": "Password",
|
|
10
|
+
"CLOSE": "Close",
|
|
11
|
+
|
|
12
|
+
"UPLOAD_PACKAGE": "Upload Package",
|
|
13
|
+
"SELECT_NUPKG_FILES": "Select npm package (.tgz) files to upload:",
|
|
14
|
+
"DRAG_DROP_FILES": "Drag & drop your .tgz files here",
|
|
15
|
+
"DROP_FILES_HERE": "Drop your .tgz files here",
|
|
16
|
+
"OR_CLICK_TO_BROWSE": "or click to browse files",
|
|
17
|
+
"UPLOAD_MORE": "Upload More",
|
|
18
|
+
"UPLOAD_RESULTS": "Upload Results:",
|
|
19
|
+
"ALL_UPLOADS_SUCCESS": "All {count:number} package{plural} uploaded successfully!",
|
|
20
|
+
"ALL_UPLOADS_FAILED": "All uploads failed",
|
|
21
|
+
"PARTIAL_UPLOAD_SUCCESS": "{success:number} of {total:number} package{plural} uploaded successfully",
|
|
22
|
+
"UPLOADING_PROGRESS": "Uploading {current:number} of {total:number}: {fileName}",
|
|
23
|
+
"SELECTED_FILES": "Selected files ({count:number} file{plural}, {size} MB total):",
|
|
24
|
+
"INVALID_FILES_EXCLUDED": "{count:number} file(s) were not .tgz files and were excluded.",
|
|
25
|
+
"UPLOAD_N_FILES": "Upload {count:number} file{plural}",
|
|
26
|
+
"UPLOADING_N_OF_M": "Uploading ({current:number}/{total:number})...",
|
|
27
|
+
|
|
28
|
+
"PLEASE_SIGN_IN": "Please sign in to continue",
|
|
29
|
+
"REMEMBER_ME_DAYS": "Remember me for 7 days",
|
|
30
|
+
"NEED_HELP_CONTACT": "Need help? Contact your system administrator.",
|
|
31
|
+
"LOGIN_FAILED": "Login failed",
|
|
32
|
+
"NETWORK_ERROR_TRY_AGAIN": "Network error. Please try again.",
|
|
33
|
+
"USERNAME_PASSWORD_REQUIRED": "Username and password are required",
|
|
34
|
+
|
|
35
|
+
"ADD_SERVER_AS_SOURCE": "Add this server as a npm registry:",
|
|
36
|
+
"ADD_SERVER_AS_SOURCE_AND_PUBLISH": "Add this server as a npm registry:",
|
|
37
|
+
"COPY_COMMAND": "copy command",
|
|
38
|
+
|
|
39
|
+
"USERS": "Users",
|
|
40
|
+
"USER_MANAGEMENT": "User Management",
|
|
41
|
+
"ADD_USER": "Add User",
|
|
42
|
+
"RESET_PASSWORD": "Reset Password",
|
|
43
|
+
"DELETE_USER": "Delete User",
|
|
44
|
+
"CHANGE_PASSWORD": "Change Password",
|
|
45
|
+
"API_PASSWORD": "npm tokens",
|
|
46
|
+
"PASSWORD_MENU": "Password",
|
|
47
|
+
"PASSWORD_MANAGEMENT": "Password Management",
|
|
48
|
+
|
|
49
|
+
"SETTINGS": "Settings",
|
|
50
|
+
"LANGUAGE": "Language",
|
|
51
|
+
"LANGUAGE_AUTO": "Auto",
|
|
52
|
+
"LANGUAGE_NAME": "English",
|
|
53
|
+
"THEME": "Theme",
|
|
54
|
+
"THEME_AUTO": "Auto",
|
|
55
|
+
"THEME_LIGHT": "Light",
|
|
56
|
+
"THEME_DARK": "Dark",
|
|
57
|
+
|
|
58
|
+
"NO_PACKAGES_AVAILABLE": "No packages available",
|
|
59
|
+
"NO_PACKAGES_FOUND": "No packages found in the repository.",
|
|
60
|
+
"PACKAGES_HEADER": "Packages",
|
|
61
|
+
"LOADING_PACKAGES": "Loading packages...",
|
|
62
|
+
"FAILED_TO_LOAD_PACKAGES": "Failed to load packages",
|
|
63
|
+
"ERROR_LOADING_PACKAGES": "Error loading packages: {error}",
|
|
64
|
+
"SEARCH_PACKAGES": "Search packages...",
|
|
65
|
+
"FILTER_PACKAGES_PLACEHOLDER": "Filter packages...",
|
|
66
|
+
"NO_PACKAGES_MATCH_FILTER": "No packages match your filter criteria.",
|
|
67
|
+
"CLEAR_SEARCH": "Clear search",
|
|
68
|
+
"DOWNLOAD_PACKAGE": "Download package",
|
|
69
|
+
"AUTHORS": "Authors: {authors}",
|
|
70
|
+
"AUTHORS_LABEL": "Authors:",
|
|
71
|
+
"TAGS": "Tags",
|
|
72
|
+
"TAGS_LABEL": "Tags:",
|
|
73
|
+
"TARGET_FRAMEWORKS_LABEL": "Target Frameworks:",
|
|
74
|
+
"LICENSE": "License",
|
|
75
|
+
"PROJECT_URL": "Project URL",
|
|
76
|
+
"PROJECT_LINK": "Project",
|
|
77
|
+
"LICENSE_LINK": "License",
|
|
78
|
+
"LINKS_LABEL": "Links:",
|
|
79
|
+
"DESCRIPTION_LABEL": "Description:",
|
|
80
|
+
"VERSIONS": "Versions ({count:number})",
|
|
81
|
+
"VERSIONS_LABEL": "Versions ({count:number}):",
|
|
82
|
+
"VERSION": "Version {version}",
|
|
83
|
+
"DOWNLOADS": "{count:number} downloads",
|
|
84
|
+
"LOADING_MORE": "Loading more...",
|
|
85
|
+
"LOADING_MORE_PACKAGES": "Loading more packages...",
|
|
86
|
+
"SHOWING_PACKAGES": "Showing {current:number} of {total:number} packages",
|
|
87
|
+
"ALL_PACKAGES_LOADED": "All {count:number} packages loaded",
|
|
88
|
+
|
|
89
|
+
"REGISTER_USER": "Register User",
|
|
90
|
+
"ADD_NEW_USER_INSTRUCTION": "Add a new user to the NPM package registry:",
|
|
91
|
+
"CONFIRM_PASSWORD": "Confirm Password",
|
|
92
|
+
"USERNAME_HELPER": "Only alphanumeric characters, hyphens, and underscores",
|
|
93
|
+
"PASSWORD_MIN_LENGTH": "Minimum 4 characters",
|
|
94
|
+
"ROLE_READONLY_SHORT": "Read Only",
|
|
95
|
+
"ROLE_PUBLISH_SHORT": "Read & Publish",
|
|
96
|
+
"ROLE_ADMIN_SHORT": "Administrator",
|
|
97
|
+
"ROLE_READONLY_DESC": "Can browse and download packages",
|
|
98
|
+
"ROLE_PUBLISH_DESC": "Can browse, download, and publish packages",
|
|
99
|
+
"ROLE_ADMIN_DESC": "Full access including user management",
|
|
100
|
+
"VALIDATION_ALL_FIELDS_REQUIRED": "All fields are required",
|
|
101
|
+
"VALIDATION_PASSWORDS_DONT_MATCH": "Passwords do not match",
|
|
102
|
+
"VALIDATION_PASSWORD_TOO_SHORT": "Password must be at least 4 characters long",
|
|
103
|
+
"VALIDATION_USERNAME_INVALID": "Username must contain only alphanumeric characters, hyphens, and underscores",
|
|
104
|
+
"USER_CREATED_SUCCESS_MESSAGE": "User created successfully!",
|
|
105
|
+
"IMPORTANT_SAVE_API_PASSWORD": "Important: Save npm token!",
|
|
106
|
+
"API_PASSWORD_SHOWN_ONCE": "This npm token will only be shown once. Make sure to save it in a secure location.",
|
|
107
|
+
"API_PASSWORD_LABEL": "npm tokens:",
|
|
108
|
+
"CLICK_TO_COPY_CLIPBOARD": "Click to copy to clipboard",
|
|
109
|
+
"COPIED_TO_CLIPBOARD": "Copied to clipboard!",
|
|
110
|
+
"DETAILS_LABEL": "Details:",
|
|
111
|
+
"REGISTER_ANOTHER": "Register Another",
|
|
112
|
+
"REGISTERING": "Registering...",
|
|
113
|
+
"REGISTER": "Register",
|
|
114
|
+
"ROLE": "Role",
|
|
115
|
+
"ROLE_ADMIN": "Admin (full access)",
|
|
116
|
+
"ROLE_PUBLISH": "Publisher (read and publish)",
|
|
117
|
+
"ROLE_READONLY": "Read-only (read only)",
|
|
118
|
+
"PASSWORD_STRENGTH": "Password Strength",
|
|
119
|
+
"GENERATE_PASSWORD": "Generate Password",
|
|
120
|
+
"GENERATED_PASSWORD": "Generated Password",
|
|
121
|
+
"COPY_PASSWORD": "Copy Password",
|
|
122
|
+
"PASSWORD_COPIED": "Password copied to clipboard!",
|
|
123
|
+
"USER_REGISTERED_SUCCESS": "User registered successfully!",
|
|
124
|
+
"USER_REGISTRATION_FAILED": "Failed to register user",
|
|
125
|
+
|
|
126
|
+
"RESET_USER_PASSWORD": "Reset User Password",
|
|
127
|
+
"RESET_PASSWORD_INSTRUCTION": "Reset password for an existing user:",
|
|
128
|
+
"PASSWORD_RESET_WARNING": "The user will need to use this new password to authenticate. Make sure to communicate the new password securely.",
|
|
129
|
+
"PASSWORD_RESET_COMPLETED": "Password reset completed",
|
|
130
|
+
"USER_LABEL": "User: ",
|
|
131
|
+
"PASSWORD_UPDATED_MESSAGE": "The password has been successfully updated.",
|
|
132
|
+
"RESET_ANOTHER": "Reset Another",
|
|
133
|
+
"SELECT_USER": "Select user to reset password",
|
|
134
|
+
"NEW_PASSWORD": "New Password",
|
|
135
|
+
"RESETTING": "Resetting...",
|
|
136
|
+
"RESET": "Reset",
|
|
137
|
+
"PASSWORD_RESET_SUCCESS": "Password reset successfully!",
|
|
138
|
+
"PASSWORD_RESET_FAILED": "Failed to reset password",
|
|
139
|
+
|
|
140
|
+
"DELETE_USER_TITLE": "Delete User",
|
|
141
|
+
"SELECT_USER_DELETE_INSTRUCTION": "Select a user to delete:",
|
|
142
|
+
"NO_USERS_TO_DELETE": "No users available to delete. You cannot delete your own account.",
|
|
143
|
+
"WARNING_LABEL": "Warning",
|
|
144
|
+
"DELETE_USER_WARNING": "This action cannot be undone. The user {username} and all associated data will be permanently deleted.",
|
|
145
|
+
"DELETE_ANOTHER": "Delete Another",
|
|
146
|
+
"CONFIRM_USER_DELETION_TITLE": "Confirm User Deletion",
|
|
147
|
+
"CONFIRM_DELETE_MESSAGE": "Are you sure you want to delete the user {username}? This action cannot be undone.",
|
|
148
|
+
"SELECT_USER_TO_DELETE": "Select user to delete",
|
|
149
|
+
"CONFIRM_DELETE_USER": "Are you sure you want to delete user \"{username}\"?",
|
|
150
|
+
"DELETING": "Deleting...",
|
|
151
|
+
"DELETE": "Delete",
|
|
152
|
+
"CANCEL": "Cancel",
|
|
153
|
+
"USER_DELETED_SUCCESS": "User deleted successfully!",
|
|
154
|
+
"USER_DELETE_FAILED": "Failed to delete user",
|
|
155
|
+
"CANNOT_DELETE_SELF": "Cannot delete your own account",
|
|
156
|
+
|
|
157
|
+
"CHANGE_YOUR_PASSWORD": "Change Your Password",
|
|
158
|
+
"CHANGE_PASSWORD_INSTRUCTION": "Enter your current password and choose a new password.",
|
|
159
|
+
"CHANGING_PASSWORD": "Changing Password...",
|
|
160
|
+
"CURRENT_PASSWORD": "Current Password",
|
|
161
|
+
"CHANGING": "Changing...",
|
|
162
|
+
"CHANGE": "Change",
|
|
163
|
+
"PASSWORD_CHANGED_SUCCESS": "Password changed successfully!",
|
|
164
|
+
"PASSWORD_CHANGE_FAILED": "Failed to change password",
|
|
165
|
+
|
|
166
|
+
"API_PASSWORD_MANAGEMENT": "npm tokens Management",
|
|
167
|
+
"NEW_API_PASSWORD_CREATED": "New npm tokens Created!",
|
|
168
|
+
"LABEL_PREFIX": "Label: ",
|
|
169
|
+
"CLICK_COPY_SHOWN_ONCE": "Click to copy - This password will only be shown once!",
|
|
170
|
+
"EXAMPLE_COMMANDS": "Example commands:",
|
|
171
|
+
"API_PASSWORDS_COUNT": "{current:number} / 10 npm tokens",
|
|
172
|
+
"ADD_NEW": "Add New",
|
|
173
|
+
"NO_API_PASSWORDS": "No npm tokens configured. Click \"Add New\" to create one.",
|
|
174
|
+
"TABLE_LABEL": "Label",
|
|
175
|
+
"TABLE_CREATED": "Created",
|
|
176
|
+
"TABLE_DELETE": "Delete",
|
|
177
|
+
"MAX_API_PASSWORDS": "Maximum of 10 npm tokens reached. Delete existing passwords to add new ones.",
|
|
178
|
+
"ADD_NEW_API_PASSWORD_TITLE": "Add new npm token",
|
|
179
|
+
"API_PASSWORD_LABEL_HELPER": "Enter a unique label to identify this npm token...",
|
|
180
|
+
"GENERATE": "Generate",
|
|
181
|
+
"DELETE_API_PASSWORD_TITLE": "Delete npm token",
|
|
182
|
+
"CONFIRM_DELETE_API_PASSWORD": "Are you sure you want to delete the npm token \"{label}\"?",
|
|
183
|
+
"API_PASSWORD_DELETE_WARNING": "Any applications using this password will lose access immediately.",
|
|
184
|
+
"API_PASSWORD_TITLE": "npm tokens",
|
|
185
|
+
"API_PASSWORD_DESCRIPTION": "Use this API key for package operations:",
|
|
186
|
+
"GENERATING_API_KEY": "Generating API key...",
|
|
187
|
+
"GENERATE_NEW_KEY": "Generate New Key",
|
|
188
|
+
"API_KEY_GENERATED": "API key generated successfully!",
|
|
189
|
+
"API_KEY_GENERATION_FAILED": "Failed to generate API key",
|
|
190
|
+
|
|
191
|
+
"TIME_TO_CRACK": "Time to crack: ",
|
|
192
|
+
"SUGGESTION_LABEL": "Suggestion: ",
|
|
193
|
+
|
|
194
|
+
"WEAK": "Weak",
|
|
195
|
+
"FAIR": "Fair",
|
|
196
|
+
"GOOD": "Good",
|
|
197
|
+
"STRONG": "Strong",
|
|
198
|
+
"VERY_STRONG": "Very Strong",
|
|
199
|
+
|
|
200
|
+
"LOADING": "Loading...",
|
|
201
|
+
"ERROR": "Error",
|
|
202
|
+
"SUCCESS": "Success",
|
|
203
|
+
"WARNING": "Warning",
|
|
204
|
+
"INFO": "Info",
|
|
205
|
+
|
|
206
|
+
"PASSWORD_MUST_BE_DIFFERENT": "New password must be different from current password",
|
|
207
|
+
"FAILED_TO_LOAD_API_PASSWORDS": "Failed to load npm tokens",
|
|
208
|
+
"FAILED_TO_DELETE_API_PASSWORD": "Failed to delete npm token",
|
|
209
|
+
"ERROR_LOADING_USERS": "Error loading users",
|
|
210
|
+
"UNKNOWN_ERROR": "Unknown error",
|
|
211
|
+
"UPLOAD_ERROR": "Upload error",
|
|
212
|
+
"NPMJS_SERVER": "NPM Registry"
|
|
213
|
+
}
|