envshed 0.3.0 → 0.6.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/README.md +2 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +25 -6
- package/dist/api.js.map +1 -1
- package/dist/commands/branch.d.ts.map +1 -1
- package/dist/commands/branch.js +46 -12
- package/dist/commands/branch.js.map +1 -1
- package/dist/commands/branch.test.d.ts +2 -0
- package/dist/commands/branch.test.d.ts.map +1 -0
- package/dist/commands/branch.test.js +88 -0
- package/dist/commands/branch.test.js.map +1 -0
- package/dist/commands/env.d.ts.map +1 -1
- package/dist/commands/env.js +343 -24
- package/dist/commands/env.js.map +1 -1
- package/dist/commands/env.test.d.ts +2 -0
- package/dist/commands/env.test.d.ts.map +1 -0
- package/dist/commands/env.test.js +169 -0
- package/dist/commands/env.test.js.map +1 -0
- package/dist/commands/envs.d.ts.map +1 -1
- package/dist/commands/envs.js +15 -9
- package/dist/commands/envs.js.map +1 -1
- package/dist/commands/envs.test.d.ts +2 -0
- package/dist/commands/envs.test.d.ts.map +1 -0
- package/dist/commands/envs.test.js +93 -0
- package/dist/commands/envs.test.js.map +1 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +204 -31
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/init.test.d.ts +2 -0
- package/dist/commands/init.test.d.ts.map +1 -0
- package/dist/commands/init.test.js +121 -0
- package/dist/commands/init.test.js.map +1 -0
- package/dist/commands/link.d.ts +3 -0
- package/dist/commands/link.d.ts.map +1 -0
- package/dist/commands/link.js +66 -0
- package/dist/commands/link.js.map +1 -0
- package/dist/commands/login.d.ts.map +1 -1
- package/dist/commands/login.js +13 -12
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/login.test.d.ts +2 -0
- package/dist/commands/login.test.d.ts.map +1 -0
- package/dist/commands/login.test.js +97 -0
- package/dist/commands/login.test.js.map +1 -0
- package/dist/commands/orgs.d.ts.map +1 -1
- package/dist/commands/orgs.js +6 -5
- package/dist/commands/orgs.js.map +1 -1
- package/dist/commands/orgs.test.d.ts +2 -0
- package/dist/commands/orgs.test.d.ts.map +1 -0
- package/dist/commands/orgs.test.js +79 -0
- package/dist/commands/orgs.test.js.map +1 -0
- package/dist/commands/projects.d.ts.map +1 -1
- package/dist/commands/projects.js +14 -8
- package/dist/commands/projects.js.map +1 -1
- package/dist/commands/projects.test.d.ts +2 -0
- package/dist/commands/projects.test.d.ts.map +1 -0
- package/dist/commands/projects.test.js +86 -0
- package/dist/commands/projects.test.js.map +1 -0
- package/dist/commands/pull.d.ts +11 -0
- package/dist/commands/pull.d.ts.map +1 -1
- package/dist/commands/pull.js +160 -74
- package/dist/commands/pull.js.map +1 -1
- package/dist/commands/pull.test.d.ts +2 -0
- package/dist/commands/pull.test.d.ts.map +1 -0
- package/dist/commands/pull.test.js +183 -0
- package/dist/commands/pull.test.js.map +1 -0
- package/dist/commands/push.d.ts.map +1 -1
- package/dist/commands/push.js +328 -66
- package/dist/commands/push.js.map +1 -1
- package/dist/commands/push.test.d.ts +2 -0
- package/dist/commands/push.test.d.ts.map +1 -0
- package/dist/commands/push.test.js +163 -0
- package/dist/commands/push.test.js.map +1 -0
- package/dist/commands/run.d.ts.map +1 -1
- package/dist/commands/run.js +52 -12
- package/dist/commands/run.js.map +1 -1
- package/dist/commands/run.test.d.ts +2 -0
- package/dist/commands/run.test.d.ts.map +1 -0
- package/dist/commands/run.test.js +151 -0
- package/dist/commands/run.test.js.map +1 -0
- package/dist/commands/token.d.ts.map +1 -1
- package/dist/commands/token.js +137 -13
- package/dist/commands/token.js.map +1 -1
- package/dist/commands/token.test.d.ts +2 -0
- package/dist/commands/token.test.d.ts.map +1 -0
- package/dist/commands/token.test.js +225 -0
- package/dist/commands/token.test.js.map +1 -0
- package/dist/commands/unlink.d.ts +3 -0
- package/dist/commands/unlink.d.ts.map +1 -0
- package/dist/commands/unlink.js +56 -0
- package/dist/commands/unlink.js.map +1 -0
- package/dist/commands/whoami.d.ts.map +1 -1
- package/dist/commands/whoami.js +4 -3
- package/dist/commands/whoami.js.map +1 -1
- package/dist/commands/whoami.test.d.ts +2 -0
- package/dist/commands/whoami.test.d.ts.map +1 -0
- package/dist/commands/whoami.test.js +55 -0
- package/dist/commands/whoami.test.js.map +1 -0
- package/dist/commands/workspace.d.ts +3 -0
- package/dist/commands/workspace.d.ts.map +1 -0
- package/dist/commands/workspace.js +197 -0
- package/dist/commands/workspace.js.map +1 -0
- package/dist/commands/workspace.test.d.ts +2 -0
- package/dist/commands/workspace.test.d.ts.map +1 -0
- package/dist/commands/workspace.test.js +160 -0
- package/dist/commands/workspace.test.js.map +1 -0
- package/dist/config.d.ts +73 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +180 -3
- package/dist/config.js.map +1 -1
- package/dist/i18n.d.ts +2 -0
- package/dist/i18n.d.ts.map +1 -0
- package/dist/i18n.js +43 -0
- package/dist/i18n.js.map +1 -0
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/locales/en.json +315 -0
- package/dist/locales/es.json +315 -0
- package/dist/test-helpers.d.ts +17 -0
- package/dist/test-helpers.d.ts.map +1 -0
- package/dist/test-helpers.js +51 -0
- package/dist/test-helpers.js.map +1 -0
- package/dist/utils.d.ts +21 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +55 -0
- package/dist/utils.js.map +1 -0
- package/dist/utils.test.d.ts +2 -0
- package/dist/utils.test.d.ts.map +1 -0
- package/dist/utils.test.js +141 -0
- package/dist/utils.test.js.map +1 -0
- package/package.json +8 -5
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
{
|
|
2
|
+
"program": {
|
|
3
|
+
"description": "Envshed CLI \u2014 manage secrets from the terminal",
|
|
4
|
+
"localeOption": "Locale for CLI output (en, es)",
|
|
5
|
+
"workspaceOption": "Target a specific workspace by path",
|
|
6
|
+
"allOption": "Run for all workspaces (bulk mode)"
|
|
7
|
+
},
|
|
8
|
+
"common": {
|
|
9
|
+
"orgOption": "Organization slug",
|
|
10
|
+
"projectOption": "Project slug",
|
|
11
|
+
"envOption": "Environment slug",
|
|
12
|
+
"apiUrlOption": "API URL (overrides config)",
|
|
13
|
+
"apiUrlDevOption": "API URL (for local development)",
|
|
14
|
+
"fileOption": "Output file path",
|
|
15
|
+
"inputFileOption": "Input file path",
|
|
16
|
+
"missingOrgProjectEnv": "Missing --org, --project, or --env. Provide flags or create a .envshed.json file.",
|
|
17
|
+
"missingOrg": "Missing --org. Provide the flag or create a .envshed.json file.",
|
|
18
|
+
"missingOrgProject": "Missing --org or --project. Provide flags or create a .envshed.json file.",
|
|
19
|
+
"noProjectConfig": "No .envshed.json found. Run: envshed init",
|
|
20
|
+
"failed": "Failed: {{message}}",
|
|
21
|
+
"nameRequired": "Name is required",
|
|
22
|
+
"never": "never"
|
|
23
|
+
},
|
|
24
|
+
"login": {
|
|
25
|
+
"description": "Authenticate with Envshed",
|
|
26
|
+
"tokenOption": "Login with an existing API token",
|
|
27
|
+
"loggedIn": "Logged in successfully.",
|
|
28
|
+
"startingDevice": "Starting device authorization...",
|
|
29
|
+
"openUrl": "Open this URL in your browser:",
|
|
30
|
+
"yourCode": "Your code: {{code}}",
|
|
31
|
+
"waitingAuth": "Waiting for authorization...",
|
|
32
|
+
"authorized": "Authorized!",
|
|
33
|
+
"timedOut": "Authorization timed out.",
|
|
34
|
+
"loginFailed": "Login failed: {{message}}"
|
|
35
|
+
},
|
|
36
|
+
"init": {
|
|
37
|
+
"description": "Create a .envshed.json project config in the current directory",
|
|
38
|
+
"foundExisting": "Found existing {{file}}:",
|
|
39
|
+
"confirmUpdate": "Do you want to update the current setup?",
|
|
40
|
+
"fetchingOrgs": "Fetching organizations...",
|
|
41
|
+
"selectOrg": "Select an organization:",
|
|
42
|
+
"createNewOrg": "+ Create new organization",
|
|
43
|
+
"orgName": "Organization name:",
|
|
44
|
+
"creatingOrg": "Creating organization...",
|
|
45
|
+
"createdOrg": "Created organization {{name}}",
|
|
46
|
+
"fetchingProjects": "Fetching projects...",
|
|
47
|
+
"selectProject": "Select a project:",
|
|
48
|
+
"createNewProject": "+ Create new project",
|
|
49
|
+
"projectName": "Project name:",
|
|
50
|
+
"creatingProject": "Creating project...",
|
|
51
|
+
"createdProject": "Created project {{name}}",
|
|
52
|
+
"fetchingEnvs": "Fetching environments...",
|
|
53
|
+
"selectEnv": "Select a default environment:",
|
|
54
|
+
"createNewEnv": "+ Create new environment",
|
|
55
|
+
"envName": "Environment name:",
|
|
56
|
+
"creatingEnv": "Creating environment...",
|
|
57
|
+
"createdEnv": "Created environment {{name}}",
|
|
58
|
+
"createdConfig": "Created {{file}}",
|
|
59
|
+
"workspaceOption": "Set up a workspace at the given path",
|
|
60
|
+
"selectFile": "Env file name for this workspace:",
|
|
61
|
+
"fileDefault": ".env (default)",
|
|
62
|
+
"fileEnvLocal": ".env.local",
|
|
63
|
+
"fileCustom": "Custom file name",
|
|
64
|
+
"customFileName": "File name:",
|
|
65
|
+
"detectingWorkspaces": "Detecting monorepo packages...",
|
|
66
|
+
"foundPackages": "Found {{count}} packages. Select which to configure:",
|
|
67
|
+
"noPackagesFound": "No packages detected. Use --workspace <path> to add workspaces manually.",
|
|
68
|
+
"selectPackages": "Select packages to configure as workspaces:",
|
|
69
|
+
"configureWorkspace": "Configure workspace: {{path}}",
|
|
70
|
+
"updatedConfig": "Updated {{file}}",
|
|
71
|
+
"addedWorkspace": "Added workspace {{path}}",
|
|
72
|
+
"configureRootProject": "Configure root project (monorepo root)"
|
|
73
|
+
},
|
|
74
|
+
"pull": {
|
|
75
|
+
"description": "Pull secrets as .env file",
|
|
76
|
+
"stdoutOption": "Print to stdout instead of file",
|
|
77
|
+
"forceOption": "Overwrite without checking for changes",
|
|
78
|
+
"formatOption": "Output format: env, json",
|
|
79
|
+
"pulling": "Pulling secrets...",
|
|
80
|
+
"pullingWorkspace": "Pulling {{path}}...",
|
|
81
|
+
"changesDetected": "The following local changes will be overwritten:",
|
|
82
|
+
"confirmOverwrite": "Continue and overwrite local values?",
|
|
83
|
+
"modified": "(modified)",
|
|
84
|
+
"deleted": "(deleted)",
|
|
85
|
+
"wrote_one": "Wrote {{count}} secret to {{file}}",
|
|
86
|
+
"wrote_other": "Wrote {{count}} secrets to {{file}}",
|
|
87
|
+
"pullFailed": "Pull failed: {{message}}",
|
|
88
|
+
"pullFailedWorkspace": "Pull failed for {{path}}: {{message}}",
|
|
89
|
+
"bulkComplete_one": "Pulled secrets for {{count}} workspace",
|
|
90
|
+
"bulkComplete_other": "Pulled secrets for {{count}} workspaces",
|
|
91
|
+
"placeholderWarning_one": "{{count}} placeholder without personal override:",
|
|
92
|
+
"placeholderWarning_other": "{{count}} placeholders without personal override:",
|
|
93
|
+
"placeholderHint_one": "This variable will be empty until you set a personal value.",
|
|
94
|
+
"placeholderHint_other": "These variables will be empty until you set a personal value.",
|
|
95
|
+
"placeholderConfigHint_one": "Click the link below to configure the value in the dashboard.",
|
|
96
|
+
"placeholderConfigHint_other": "Click the link below to configure each value in the dashboard.",
|
|
97
|
+
"setOverride": "Set override",
|
|
98
|
+
"placeholderPullAgain": "After setting your values, run envshed pull again to update your local env file.",
|
|
99
|
+
"envChanged": "Environment changed: {{count}} update(s) since your last pull (v{{from}} → v{{to}})"
|
|
100
|
+
},
|
|
101
|
+
"push": {
|
|
102
|
+
"description": "Push secrets from a .env file",
|
|
103
|
+
"forceOption": "Overwrite without checking for changes",
|
|
104
|
+
"pushing": "Pushing secrets...",
|
|
105
|
+
"pushingWorkspace": "Pushing {{path}}...",
|
|
106
|
+
"fileNotFound": "File not found: {{file}}",
|
|
107
|
+
"noSecrets": "No secrets found in {{file}}.",
|
|
108
|
+
"checking": "Checking for changes...",
|
|
109
|
+
"changesDetected": "The following remote changes were detected:",
|
|
110
|
+
"confirmOverride": "Continue and override remote values?",
|
|
111
|
+
"willBeModified": "(will be modified)",
|
|
112
|
+
"willBeKeptRemotely": "(not in local file, will be kept remotely)",
|
|
113
|
+
"pushed": "Pushed {{count}} secrets to {{target}}",
|
|
114
|
+
"pushFailed": "Push failed: {{message}}",
|
|
115
|
+
"pushFailedWorkspace": "Push failed for {{path}}: {{message}}",
|
|
116
|
+
"bulkComplete_one": "Pushed secrets for {{count}} workspace",
|
|
117
|
+
"bulkComplete_other": "Pushed secrets for {{count}} workspaces",
|
|
118
|
+
"linkConflictsDetected": "{{count}} linked secret(s) have conflicts:",
|
|
119
|
+
"conflictKey": "Key: {{key}}",
|
|
120
|
+
"conflictRemote": "Linked from: {{project}}/{{env}}",
|
|
121
|
+
"conflictResolve": "How to resolve {{key}}?",
|
|
122
|
+
"conflictKeepMine": "Keep mine (propagate my value to linked secrets)",
|
|
123
|
+
"conflictKeepTheirs": "Keep theirs (accept the linked value)",
|
|
124
|
+
"conflictUnlink": "Unlink (stop sharing this secret)",
|
|
125
|
+
"resolvingConflicts": "Resolving link conflicts...",
|
|
126
|
+
"conflictsResolved": "Link conflicts resolved.",
|
|
127
|
+
"conflictResolveFailed": "Failed to resolve conflicts: {{message}}",
|
|
128
|
+
"prefetching": "Checking remote state...",
|
|
129
|
+
"prefetchComplete": "Remote state checked",
|
|
130
|
+
"noChangesWorkspace": "No changes to push for {{path}}",
|
|
131
|
+
"syncingAfterPush": "Syncing local files with propagated changes...",
|
|
132
|
+
"linkedConflictDetected": "Linked secret conflict — the same linked key was changed in multiple workspaces:",
|
|
133
|
+
"linkedConflictChoose": "How to resolve {{key}}?",
|
|
134
|
+
"linkedConflictUseValue": "Use value from {{path}}",
|
|
135
|
+
"linkedConflictUnlink": "Unlink and push both values",
|
|
136
|
+
"linkedConflictAbort": "Abort push",
|
|
137
|
+
"aborted": "Push aborted.",
|
|
138
|
+
"unlinkingForPush": "Unlinking {{key}}...",
|
|
139
|
+
"unlinkedForPush": "Unlinked {{key}}"
|
|
140
|
+
},
|
|
141
|
+
"run": {
|
|
142
|
+
"description": "Run a command with secrets injected as env vars",
|
|
143
|
+
"commandArg": "Command to run",
|
|
144
|
+
"fetching": "Fetching secrets...",
|
|
145
|
+
"loaded_one": "Loaded {{count}} secret",
|
|
146
|
+
"loaded_other": "Loaded {{count}} secrets",
|
|
147
|
+
"runFailed": "Failed: {{message}}",
|
|
148
|
+
"specifyWorkspace": "Specify --workspace when running from the monorepo root.",
|
|
149
|
+
"staleWarning": "Environment changed since last pull (v{{from}} → v{{to}})",
|
|
150
|
+
"staleHint": "Run envshed pull to update your local env file."
|
|
151
|
+
},
|
|
152
|
+
"orgs": {
|
|
153
|
+
"description": "List organizations",
|
|
154
|
+
"fetching": "Fetching organizations...",
|
|
155
|
+
"none": "No organizations found.",
|
|
156
|
+
"headName": "Name",
|
|
157
|
+
"headSlug": "Slug",
|
|
158
|
+
"headRole": "Role",
|
|
159
|
+
"failed": "Failed: {{message}}"
|
|
160
|
+
},
|
|
161
|
+
"projects": {
|
|
162
|
+
"description": "List projects in an organization",
|
|
163
|
+
"fetching": "Fetching projects...",
|
|
164
|
+
"none": "No projects found.",
|
|
165
|
+
"headName": "Name",
|
|
166
|
+
"headSlug": "Slug",
|
|
167
|
+
"headDescription": "Description",
|
|
168
|
+
"failed": "Failed: {{message}}"
|
|
169
|
+
},
|
|
170
|
+
"envs": {
|
|
171
|
+
"description": "List environments in a project",
|
|
172
|
+
"fetching": "Fetching environments...",
|
|
173
|
+
"none": "No environments found.",
|
|
174
|
+
"headName": "Name",
|
|
175
|
+
"headSlug": "Slug",
|
|
176
|
+
"headDescription": "Description",
|
|
177
|
+
"failed": "Failed: {{message}}"
|
|
178
|
+
},
|
|
179
|
+
"token": {
|
|
180
|
+
"description": "Manage authentication token",
|
|
181
|
+
"setDescription": "Set API token",
|
|
182
|
+
"setArg": "API token",
|
|
183
|
+
"saved": "Token saved.",
|
|
184
|
+
"clearDescription": "Clear saved token",
|
|
185
|
+
"cleared": "Token cleared.",
|
|
186
|
+
"showDescription": "Show current token (masked)",
|
|
187
|
+
"noToken": "No token set.",
|
|
188
|
+
"createServiceDesc": "Create a service token for an organization",
|
|
189
|
+
"listServiceDesc": "List service tokens for an organization",
|
|
190
|
+
"revokeServiceDesc": "Revoke a service token",
|
|
191
|
+
"orgOption": "Organization slug",
|
|
192
|
+
"nameOption": "Token name",
|
|
193
|
+
"descOption": "Token description",
|
|
194
|
+
"scopeOption": "Token scope: org, project, or environment",
|
|
195
|
+
"projectIdOption": "Project ID (required for project/environment scope)",
|
|
196
|
+
"envIdOption": "Environment ID (required for environment scope)",
|
|
197
|
+
"permissionOption": "Permission: read or read_write",
|
|
198
|
+
"expiresInOption": "Expiration in days",
|
|
199
|
+
"tokenIdOption": "Service token ID",
|
|
200
|
+
"creatingService": "Creating service token...",
|
|
201
|
+
"serviceCreated": "Service token created.",
|
|
202
|
+
"copyServiceNow": "Copy this token now. You won't be able to see it again:",
|
|
203
|
+
"fetchingService": "Fetching service tokens...",
|
|
204
|
+
"noServiceTokens": "No service tokens found.",
|
|
205
|
+
"headName": "Name",
|
|
206
|
+
"headPrefix": "Prefix",
|
|
207
|
+
"headScope": "Scope",
|
|
208
|
+
"headPermission": "Permission",
|
|
209
|
+
"headActive": "Active",
|
|
210
|
+
"headLastUsed": "Last Used",
|
|
211
|
+
"activeYes": "yes",
|
|
212
|
+
"activeNo": "no",
|
|
213
|
+
"revokingService": "Revoking service token...",
|
|
214
|
+
"serviceRevoked": "Service token revoked."
|
|
215
|
+
},
|
|
216
|
+
"env": {
|
|
217
|
+
"description": "Switch the active environment",
|
|
218
|
+
"slugArg": "Environment slug to switch to",
|
|
219
|
+
"verifying": "Verifying environment...",
|
|
220
|
+
"verifyingWorkspace": "Verifying {{path}}...",
|
|
221
|
+
"notExist": "Environment {{slug}} does not exist.",
|
|
222
|
+
"available": "Available: {{list}}",
|
|
223
|
+
"verifyFailed": "Failed: {{message}}",
|
|
224
|
+
"checkingLocal": "Checking for local changes...",
|
|
225
|
+
"checkingLocalWorkspace": "Checking {{path}} for local changes...",
|
|
226
|
+
"localChangesHeader": "Unpushed local changes (vs remote {{env}}):",
|
|
227
|
+
"localChangesHeaderWorkspace": "[{{path}}] Unpushed local changes (vs remote {{env}}):",
|
|
228
|
+
"localAdded": "(added locally)",
|
|
229
|
+
"localModified": "(modified locally)",
|
|
230
|
+
"localRemoved": "(removed locally)",
|
|
231
|
+
"howToProceed": "How would you like to proceed?",
|
|
232
|
+
"optionPush": "Push local changes to {{env}}, then switch",
|
|
233
|
+
"optionPushGeneric": "Push local changes, then switch",
|
|
234
|
+
"optionDiscard": "Discard local changes and switch",
|
|
235
|
+
"optionKeep": "Keep local files, only switch config",
|
|
236
|
+
"optionCancel": "Cancel",
|
|
237
|
+
"pushing": "Pushing local changes...",
|
|
238
|
+
"pushingWorkspace": "Pushing {{path}}...",
|
|
239
|
+
"pushed": "Pushed {{count}} secrets to {{env}}",
|
|
240
|
+
"pushFailed": "Push failed: {{message}}",
|
|
241
|
+
"pulling": "Pulling secrets for {{slug}}...",
|
|
242
|
+
"pullingWorkspace": "Pulling {{path}} ({{slug}})...",
|
|
243
|
+
"pullFailed": "Pull failed: {{message}}",
|
|
244
|
+
"aborted": "Checkout aborted.",
|
|
245
|
+
"switched": "Switched environment: {{previous}} \u2192 {{current}}",
|
|
246
|
+
"switchedWorkspace": "[{{path}}] Switched environment: {{previous}} \u2192 {{current}}",
|
|
247
|
+
"set": "Set environment to {{slug}}",
|
|
248
|
+
"setWorkspace": "[{{path}}] Set environment to {{slug}}",
|
|
249
|
+
"wrote": "Wrote {{count}} secrets to {{file}}",
|
|
250
|
+
"wroteWorkspace": "[{{path}}] Wrote {{count}} secrets to {{file}}",
|
|
251
|
+
"createPrompt": "Environment \"{{slug}}\" does not exist. Create it?",
|
|
252
|
+
"creating": "Creating environment {{slug}}...",
|
|
253
|
+
"created": "Created environment {{slug}}",
|
|
254
|
+
"createFailed": "Failed to create environment: {{message}}"
|
|
255
|
+
},
|
|
256
|
+
"branch": {
|
|
257
|
+
"description": "Show the current environment context",
|
|
258
|
+
"notSet": "(not set)",
|
|
259
|
+
"orgLabel": " org: ",
|
|
260
|
+
"projectLabel": " project: ",
|
|
261
|
+
"envLabel": " env: ",
|
|
262
|
+
"workspacesHeader": "Workspaces:",
|
|
263
|
+
"headPath": "Path",
|
|
264
|
+
"headProject": "Project",
|
|
265
|
+
"headEnv": "Env",
|
|
266
|
+
"headFile": "File",
|
|
267
|
+
"current": "(current)"
|
|
268
|
+
},
|
|
269
|
+
"workspace": {
|
|
270
|
+
"description": "Manage monorepo workspaces",
|
|
271
|
+
"addDescription": "Add a workspace to the config",
|
|
272
|
+
"removeDescription": "Remove a workspace from the config",
|
|
273
|
+
"listDescription": "List configured workspaces",
|
|
274
|
+
"pathArg": "Workspace path (relative to project root)",
|
|
275
|
+
"notFound": "Workspace \"{{path}}\" not found in .envshed.json.",
|
|
276
|
+
"availableList": "Available workspaces: {{list}}",
|
|
277
|
+
"added": "Added workspace {{path}}",
|
|
278
|
+
"removed": "Removed workspace {{path}}",
|
|
279
|
+
"noWorkspaces": "No workspaces configured. Run: envshed workspace add <path>",
|
|
280
|
+
"confirmRemove": "Remove workspace \"{{path}}\" from config?",
|
|
281
|
+
"selectProject": "Project for {{path}}:",
|
|
282
|
+
"selectEnv": "Default environment for {{path}}:",
|
|
283
|
+
"selectFile": "Env file name for {{path}}:"
|
|
284
|
+
},
|
|
285
|
+
"whoami": {
|
|
286
|
+
"description": "Show the currently logged-in user",
|
|
287
|
+
"fetching": "Fetching user info...",
|
|
288
|
+
"notLoggedIn": "Not logged in or token is invalid. Run: envshed login"
|
|
289
|
+
},
|
|
290
|
+
"config": {
|
|
291
|
+
"noToken": "Not logged in. Run: envshed login",
|
|
292
|
+
"noConfig": "No .envshed.json found. Run: envshed init"
|
|
293
|
+
},
|
|
294
|
+
"link": {
|
|
295
|
+
"description": "Link a secret to another project's environment",
|
|
296
|
+
"keyArg": "Secret key to link",
|
|
297
|
+
"toProjectOption": "Target project slug",
|
|
298
|
+
"toEnvOption": "Target environment slug",
|
|
299
|
+
"specifyWorkspace": "Cannot link in bulk mode. Use --workspace to target a specific workspace.",
|
|
300
|
+
"linking": "Linking {{key}}...",
|
|
301
|
+
"linked": "Linked {{key}} to {{project}}/{{env}}",
|
|
302
|
+
"linkFailed": "Link failed: {{message}}"
|
|
303
|
+
},
|
|
304
|
+
"unlink": {
|
|
305
|
+
"description": "Unlink a secret from its cross-project link",
|
|
306
|
+
"keyArg": "Secret key to unlink",
|
|
307
|
+
"specifyWorkspace": "Cannot unlink in bulk mode. Use --workspace to target a specific workspace.",
|
|
308
|
+
"unlinking": "Unlinking {{key}}...",
|
|
309
|
+
"unlinked": "Unlinked {{key}}",
|
|
310
|
+
"unlinkFailed": "Unlink failed: {{message}}"
|
|
311
|
+
},
|
|
312
|
+
"api": {
|
|
313
|
+
"error": "API error ({{status}}): {{text}}"
|
|
314
|
+
}
|
|
315
|
+
}
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
{
|
|
2
|
+
"program": {
|
|
3
|
+
"description": "Envshed CLI \u2014 gestiona secretos desde la terminal",
|
|
4
|
+
"localeOption": "Idioma para la salida del CLI (en, es)",
|
|
5
|
+
"workspaceOption": "Apuntar a un workspace específico por ruta",
|
|
6
|
+
"allOption": "Ejecutar para todos los workspaces (modo masivo)"
|
|
7
|
+
},
|
|
8
|
+
"common": {
|
|
9
|
+
"orgOption": "Slug de la organizaci\u00f3n",
|
|
10
|
+
"projectOption": "Slug del proyecto",
|
|
11
|
+
"envOption": "Slug del entorno",
|
|
12
|
+
"apiUrlOption": "URL de la API (sobrescribe la configuraci\u00f3n)",
|
|
13
|
+
"apiUrlDevOption": "URL de la API (para desarrollo local)",
|
|
14
|
+
"fileOption": "Ruta del archivo de salida",
|
|
15
|
+
"inputFileOption": "Ruta del archivo de entrada",
|
|
16
|
+
"missingOrgProjectEnv": "Faltan --org, --project o --env. Proporciona los flags o crea un archivo .envshed.json.",
|
|
17
|
+
"missingOrg": "Falta --org. Proporciona el flag o crea un archivo .envshed.json.",
|
|
18
|
+
"missingOrgProject": "Faltan --org o --project. Proporciona los flags o crea un archivo .envshed.json.",
|
|
19
|
+
"noProjectConfig": "No se encontr\u00f3 .envshed.json. Ejecuta: envshed init",
|
|
20
|
+
"failed": "Fall\u00f3: {{message}}",
|
|
21
|
+
"nameRequired": "El nombre es obligatorio",
|
|
22
|
+
"never": "nunca"
|
|
23
|
+
},
|
|
24
|
+
"login": {
|
|
25
|
+
"description": "Autenticarse con Envshed",
|
|
26
|
+
"tokenOption": "Iniciar sesi\u00f3n con un token de API existente",
|
|
27
|
+
"loggedIn": "Sesi\u00f3n iniciada correctamente.",
|
|
28
|
+
"startingDevice": "Iniciando autorizaci\u00f3n de dispositivo...",
|
|
29
|
+
"openUrl": "Abre esta URL en tu navegador:",
|
|
30
|
+
"yourCode": "Tu c\u00f3digo: {{code}}",
|
|
31
|
+
"waitingAuth": "Esperando autorizaci\u00f3n...",
|
|
32
|
+
"authorized": "\u00a1Autorizado!",
|
|
33
|
+
"timedOut": "La autorizaci\u00f3n expir\u00f3.",
|
|
34
|
+
"loginFailed": "Error de inicio de sesi\u00f3n: {{message}}"
|
|
35
|
+
},
|
|
36
|
+
"init": {
|
|
37
|
+
"description": "Crear un archivo de configuraci\u00f3n .envshed.json en el directorio actual",
|
|
38
|
+
"foundExisting": "Se encontr\u00f3 un {{file}} existente:",
|
|
39
|
+
"confirmUpdate": "\u00bfDeseas actualizar la configuraci\u00f3n actual?",
|
|
40
|
+
"fetchingOrgs": "Obteniendo organizaciones...",
|
|
41
|
+
"selectOrg": "Selecciona una organizaci\u00f3n:",
|
|
42
|
+
"createNewOrg": "+ Crear nueva organizaci\u00f3n",
|
|
43
|
+
"orgName": "Nombre de la organizaci\u00f3n:",
|
|
44
|
+
"creatingOrg": "Creando organizaci\u00f3n...",
|
|
45
|
+
"createdOrg": "Organizaci\u00f3n {{name}} creada",
|
|
46
|
+
"fetchingProjects": "Obteniendo proyectos...",
|
|
47
|
+
"selectProject": "Selecciona un proyecto:",
|
|
48
|
+
"createNewProject": "+ Crear nuevo proyecto",
|
|
49
|
+
"projectName": "Nombre del proyecto:",
|
|
50
|
+
"creatingProject": "Creando proyecto...",
|
|
51
|
+
"createdProject": "Proyecto {{name}} creado",
|
|
52
|
+
"fetchingEnvs": "Obteniendo entornos...",
|
|
53
|
+
"selectEnv": "Selecciona un entorno predeterminado:",
|
|
54
|
+
"createNewEnv": "+ Crear nuevo entorno",
|
|
55
|
+
"envName": "Nombre del entorno:",
|
|
56
|
+
"creatingEnv": "Creando entorno...",
|
|
57
|
+
"createdEnv": "Entorno {{name}} creado",
|
|
58
|
+
"createdConfig": "{{file}} creado",
|
|
59
|
+
"workspaceOption": "Configurar un workspace en la ruta indicada",
|
|
60
|
+
"selectFile": "Nombre del archivo env para este workspace:",
|
|
61
|
+
"fileDefault": ".env (predeterminado)",
|
|
62
|
+
"fileEnvLocal": ".env.local",
|
|
63
|
+
"fileCustom": "Nombre personalizado",
|
|
64
|
+
"customFileName": "Nombre del archivo:",
|
|
65
|
+
"detectingWorkspaces": "Detectando paquetes del monorepo...",
|
|
66
|
+
"foundPackages": "Se encontraron {{count}} paquetes. Selecciona cu\u00e1les configurar:",
|
|
67
|
+
"noPackagesFound": "No se detectaron paquetes. Usa --workspace <ruta> para agregar workspaces manualmente.",
|
|
68
|
+
"selectPackages": "Selecciona los paquetes a configurar como workspaces:",
|
|
69
|
+
"configureWorkspace": "Configurar workspace: {{path}}",
|
|
70
|
+
"updatedConfig": "{{file}} actualizado",
|
|
71
|
+
"addedWorkspace": "Workspace {{path}} agregado",
|
|
72
|
+
"configureRootProject": "Configurar proyecto raíz (raíz del monorepo)"
|
|
73
|
+
},
|
|
74
|
+
"pull": {
|
|
75
|
+
"description": "Descargar secretos como archivo .env",
|
|
76
|
+
"stdoutOption": "Imprimir en stdout en lugar de archivo",
|
|
77
|
+
"forceOption": "Sobrescribir sin verificar cambios",
|
|
78
|
+
"formatOption": "Formato de salida: env, json",
|
|
79
|
+
"pulling": "Descargando secretos...",
|
|
80
|
+
"pullingWorkspace": "Descargando {{path}}...",
|
|
81
|
+
"changesDetected": "Se detectaron los siguientes cambios locales que serán sobrescritos:",
|
|
82
|
+
"confirmOverwrite": "¿Continuar y sobrescribir los valores locales?",
|
|
83
|
+
"modified": "(modificado)",
|
|
84
|
+
"deleted": "(eliminado)",
|
|
85
|
+
"wrote_one": "Se escribi\u00f3 {{count}} secreto en {{file}}",
|
|
86
|
+
"wrote_other": "Se escribieron {{count}} secretos en {{file}}",
|
|
87
|
+
"pullFailed": "Error al descargar: {{message}}",
|
|
88
|
+
"pullFailedWorkspace": "Error al descargar {{path}}: {{message}}",
|
|
89
|
+
"bulkComplete_one": "Se descargaron secretos para {{count}} workspace",
|
|
90
|
+
"bulkComplete_other": "Se descargaron secretos para {{count}} workspaces",
|
|
91
|
+
"placeholderWarning_one": "{{count}} marcador de posici\u00f3n sin valor personal:",
|
|
92
|
+
"placeholderWarning_other": "{{count}} marcadores de posici\u00f3n sin valor personal:",
|
|
93
|
+
"placeholderHint_one": "Esta variable estar\u00e1 vac\u00eda hasta que establezcas un valor personal.",
|
|
94
|
+
"placeholderHint_other": "Estas variables estar\u00e1n vac\u00edas hasta que establezcas un valor personal.",
|
|
95
|
+
"placeholderConfigHint_one": "Haz clic en el enlace para configurar el valor en el panel.",
|
|
96
|
+
"placeholderConfigHint_other": "Haz clic en el enlace para configurar cada valor en el panel.",
|
|
97
|
+
"setOverride": "Establecer valor",
|
|
98
|
+
"placeholderPullAgain": "Después de establecer tus valores, ejecuta envshed pull de nuevo para actualizar tu archivo env local.",
|
|
99
|
+
"envChanged": "Entorno modificado: {{count}} actualización(es) desde tu último pull (v{{from}} → v{{to}})"
|
|
100
|
+
},
|
|
101
|
+
"push": {
|
|
102
|
+
"description": "Subir secretos desde un archivo .env",
|
|
103
|
+
"forceOption": "Sobrescribir sin verificar cambios",
|
|
104
|
+
"pushing": "Subiendo secretos...",
|
|
105
|
+
"pushingWorkspace": "Subiendo {{path}}...",
|
|
106
|
+
"fileNotFound": "Archivo no encontrado: {{file}}",
|
|
107
|
+
"noSecrets": "No se encontraron secretos en {{file}}.",
|
|
108
|
+
"checking": "Verificando cambios...",
|
|
109
|
+
"changesDetected": "Se detectaron los siguientes cambios remotos:",
|
|
110
|
+
"confirmOverride": "\u00bfContinuar y sobrescribir los valores remotos?",
|
|
111
|
+
"willBeModified": "(ser\u00e1 modificado)",
|
|
112
|
+
"willBeKeptRemotely": "(no est\u00e1 en el archivo local, se mantendr\u00e1 en remoto)",
|
|
113
|
+
"pushed": "Se subieron {{count}} secretos a {{target}}",
|
|
114
|
+
"pushFailed": "Error al subir: {{message}}",
|
|
115
|
+
"pushFailedWorkspace": "Error al subir {{path}}: {{message}}",
|
|
116
|
+
"bulkComplete_one": "Se subieron secretos para {{count}} workspace",
|
|
117
|
+
"bulkComplete_other": "Se subieron secretos para {{count}} workspaces",
|
|
118
|
+
"linkConflictsDetected": "{{count}} secreto(s) vinculado(s) tienen conflictos:",
|
|
119
|
+
"conflictKey": "Clave: {{key}}",
|
|
120
|
+
"conflictRemote": "Vinculado desde: {{project}}/{{env}}",
|
|
121
|
+
"conflictResolve": "¿Cómo resolver {{key}}?",
|
|
122
|
+
"conflictKeepMine": "Mantener el mío (propagar mi valor a los secretos vinculados)",
|
|
123
|
+
"conflictKeepTheirs": "Mantener el suyo (aceptar el valor vinculado)",
|
|
124
|
+
"conflictUnlink": "Desvincular (dejar de compartir este secreto)",
|
|
125
|
+
"resolvingConflicts": "Resolviendo conflictos de vínculos...",
|
|
126
|
+
"conflictsResolved": "Conflictos de vínculos resueltos.",
|
|
127
|
+
"conflictResolveFailed": "Error al resolver conflictos: {{message}}",
|
|
128
|
+
"prefetching": "Verificando estado remoto...",
|
|
129
|
+
"prefetchComplete": "Estado remoto verificado",
|
|
130
|
+
"noChangesWorkspace": "Sin cambios para subir en {{path}}",
|
|
131
|
+
"syncingAfterPush": "Sincronizando archivos locales con cambios propagados...",
|
|
132
|
+
"linkedConflictDetected": "Conflicto de secreto vinculado — la misma clave vinculada fue modificada en varios workspaces:",
|
|
133
|
+
"linkedConflictChoose": "¿Cómo resolver {{key}}?",
|
|
134
|
+
"linkedConflictUseValue": "Usar valor de {{path}}",
|
|
135
|
+
"linkedConflictUnlink": "Desvincular y subir ambos valores",
|
|
136
|
+
"linkedConflictAbort": "Cancelar push",
|
|
137
|
+
"aborted": "Push cancelado.",
|
|
138
|
+
"unlinkingForPush": "Desvinculando {{key}}...",
|
|
139
|
+
"unlinkedForPush": "Desvinculado {{key}}"
|
|
140
|
+
},
|
|
141
|
+
"run": {
|
|
142
|
+
"description": "Ejecutar un comando con secretos inyectados como variables de entorno",
|
|
143
|
+
"commandArg": "Comando a ejecutar",
|
|
144
|
+
"fetching": "Obteniendo secretos...",
|
|
145
|
+
"loaded_one": "Se carg\u00f3 {{count}} secreto",
|
|
146
|
+
"loaded_other": "Se cargaron {{count}} secretos",
|
|
147
|
+
"runFailed": "Falló: {{message}}",
|
|
148
|
+
"specifyWorkspace": "Especifica --workspace al ejecutar desde la raíz del monorepo.",
|
|
149
|
+
"staleWarning": "Entorno modificado desde el último pull (v{{from}} → v{{to}})",
|
|
150
|
+
"staleHint": "Ejecuta envshed pull para actualizar tu archivo env local."
|
|
151
|
+
},
|
|
152
|
+
"orgs": {
|
|
153
|
+
"description": "Listar organizaciones",
|
|
154
|
+
"fetching": "Obteniendo organizaciones...",
|
|
155
|
+
"none": "No se encontraron organizaciones.",
|
|
156
|
+
"headName": "Nombre",
|
|
157
|
+
"headSlug": "Slug",
|
|
158
|
+
"headRole": "Rol",
|
|
159
|
+
"failed": "Fall\u00f3: {{message}}"
|
|
160
|
+
},
|
|
161
|
+
"projects": {
|
|
162
|
+
"description": "Listar proyectos en una organizaci\u00f3n",
|
|
163
|
+
"fetching": "Obteniendo proyectos...",
|
|
164
|
+
"none": "No se encontraron proyectos.",
|
|
165
|
+
"headName": "Nombre",
|
|
166
|
+
"headSlug": "Slug",
|
|
167
|
+
"headDescription": "Descripci\u00f3n",
|
|
168
|
+
"failed": "Fall\u00f3: {{message}}"
|
|
169
|
+
},
|
|
170
|
+
"envs": {
|
|
171
|
+
"description": "Listar entornos en un proyecto",
|
|
172
|
+
"fetching": "Obteniendo entornos...",
|
|
173
|
+
"none": "No se encontraron entornos.",
|
|
174
|
+
"headName": "Nombre",
|
|
175
|
+
"headSlug": "Slug",
|
|
176
|
+
"headDescription": "Descripci\u00f3n",
|
|
177
|
+
"failed": "Fall\u00f3: {{message}}"
|
|
178
|
+
},
|
|
179
|
+
"token": {
|
|
180
|
+
"description": "Gestionar token de autenticaci\u00f3n",
|
|
181
|
+
"setDescription": "Establecer token de API",
|
|
182
|
+
"setArg": "Token de API",
|
|
183
|
+
"saved": "Token guardado.",
|
|
184
|
+
"clearDescription": "Borrar token guardado",
|
|
185
|
+
"cleared": "Token borrado.",
|
|
186
|
+
"showDescription": "Mostrar token actual (enmascarado)",
|
|
187
|
+
"noToken": "No hay token establecido.",
|
|
188
|
+
"createServiceDesc": "Crear un token de servicio para una organizaci\u00f3n",
|
|
189
|
+
"listServiceDesc": "Listar tokens de servicio de una organizaci\u00f3n",
|
|
190
|
+
"revokeServiceDesc": "Revocar un token de servicio",
|
|
191
|
+
"orgOption": "Slug de la organizaci\u00f3n",
|
|
192
|
+
"nameOption": "Nombre del token",
|
|
193
|
+
"descOption": "Descripci\u00f3n del token",
|
|
194
|
+
"scopeOption": "Alcance del token: org, project o environment",
|
|
195
|
+
"projectIdOption": "ID del proyecto (requerido para alcance project/environment)",
|
|
196
|
+
"envIdOption": "ID del entorno (requerido para alcance environment)",
|
|
197
|
+
"permissionOption": "Permiso: read o read_write",
|
|
198
|
+
"expiresInOption": "Expiraci\u00f3n en d\u00edas",
|
|
199
|
+
"tokenIdOption": "ID del token de servicio",
|
|
200
|
+
"creatingService": "Creando token de servicio...",
|
|
201
|
+
"serviceCreated": "Token de servicio creado.",
|
|
202
|
+
"copyServiceNow": "Copia este token ahora. No podr\u00e1s verlo de nuevo:",
|
|
203
|
+
"fetchingService": "Obteniendo tokens de servicio...",
|
|
204
|
+
"noServiceTokens": "No se encontraron tokens de servicio.",
|
|
205
|
+
"headName": "Nombre",
|
|
206
|
+
"headPrefix": "Prefijo",
|
|
207
|
+
"headScope": "Alcance",
|
|
208
|
+
"headPermission": "Permiso",
|
|
209
|
+
"headActive": "Activo",
|
|
210
|
+
"headLastUsed": "\u00daltimo uso",
|
|
211
|
+
"activeYes": "s\u00ed",
|
|
212
|
+
"activeNo": "no",
|
|
213
|
+
"revokingService": "Revocando token de servicio...",
|
|
214
|
+
"serviceRevoked": "Token de servicio revocado."
|
|
215
|
+
},
|
|
216
|
+
"env": {
|
|
217
|
+
"description": "Cambiar el entorno activo",
|
|
218
|
+
"slugArg": "Slug del entorno al que cambiar",
|
|
219
|
+
"verifying": "Verificando entorno...",
|
|
220
|
+
"verifyingWorkspace": "Verificando {{path}}...",
|
|
221
|
+
"notExist": "El entorno {{slug}} no existe.",
|
|
222
|
+
"available": "Disponibles: {{list}}",
|
|
223
|
+
"verifyFailed": "Fall\u00f3: {{message}}",
|
|
224
|
+
"checkingLocal": "Verificando cambios locales...",
|
|
225
|
+
"checkingLocalWorkspace": "Verificando cambios locales en {{path}}...",
|
|
226
|
+
"localChangesHeader": "Cambios locales no subidos (vs remoto {{env}}):",
|
|
227
|
+
"localChangesHeaderWorkspace": "[{{path}}] Cambios locales no subidos (vs remoto {{env}}):",
|
|
228
|
+
"localAdded": "(agregado localmente)",
|
|
229
|
+
"localModified": "(modificado localmente)",
|
|
230
|
+
"localRemoved": "(eliminado localmente)",
|
|
231
|
+
"howToProceed": "\u00bfC\u00f3mo deseas continuar?",
|
|
232
|
+
"optionPush": "Subir cambios locales a {{env}} y luego cambiar",
|
|
233
|
+
"optionPushGeneric": "Subir cambios locales y luego cambiar",
|
|
234
|
+
"optionDiscard": "Descartar cambios locales y cambiar",
|
|
235
|
+
"optionKeep": "Mantener archivos locales, solo cambiar config",
|
|
236
|
+
"optionCancel": "Cancelar",
|
|
237
|
+
"pushing": "Subiendo cambios locales...",
|
|
238
|
+
"pushingWorkspace": "Subiendo {{path}}...",
|
|
239
|
+
"pushed": "Se subieron {{count}} secretos a {{env}}",
|
|
240
|
+
"pushFailed": "Error al subir: {{message}}",
|
|
241
|
+
"pulling": "Descargando secretos para {{slug}}...",
|
|
242
|
+
"pullingWorkspace": "Descargando {{path}} ({{slug}})...",
|
|
243
|
+
"pullFailed": "Error al descargar: {{message}}",
|
|
244
|
+
"aborted": "Cambio de entorno cancelado.",
|
|
245
|
+
"switched": "Entorno cambiado: {{previous}} \u2192 {{current}}",
|
|
246
|
+
"switchedWorkspace": "[{{path}}] Entorno cambiado: {{previous}} \u2192 {{current}}",
|
|
247
|
+
"set": "Entorno establecido a {{slug}}",
|
|
248
|
+
"setWorkspace": "[{{path}}] Entorno establecido a {{slug}}",
|
|
249
|
+
"wrote": "Se escribieron {{count}} secretos en {{file}}",
|
|
250
|
+
"wroteWorkspace": "[{{path}}] Se escribieron {{count}} secretos en {{file}}",
|
|
251
|
+
"createPrompt": "El entorno \"{{slug}}\" no existe. ¿Crearlo?",
|
|
252
|
+
"creating": "Creando entorno {{slug}}...",
|
|
253
|
+
"created": "Entorno {{slug}} creado",
|
|
254
|
+
"createFailed": "Error al crear el entorno: {{message}}"
|
|
255
|
+
},
|
|
256
|
+
"branch": {
|
|
257
|
+
"description": "Mostrar el contexto del entorno actual",
|
|
258
|
+
"notSet": "(no establecido)",
|
|
259
|
+
"orgLabel": " org: ",
|
|
260
|
+
"projectLabel": " project: ",
|
|
261
|
+
"envLabel": " env: ",
|
|
262
|
+
"workspacesHeader": "Workspaces:",
|
|
263
|
+
"headPath": "Ruta",
|
|
264
|
+
"headProject": "Proyecto",
|
|
265
|
+
"headEnv": "Entorno",
|
|
266
|
+
"headFile": "Archivo",
|
|
267
|
+
"current": "(actual)"
|
|
268
|
+
},
|
|
269
|
+
"workspace": {
|
|
270
|
+
"description": "Gestionar workspaces del monorepo",
|
|
271
|
+
"addDescription": "Agregar un workspace a la configuraci\u00f3n",
|
|
272
|
+
"removeDescription": "Eliminar un workspace de la configuraci\u00f3n",
|
|
273
|
+
"listDescription": "Listar workspaces configurados",
|
|
274
|
+
"pathArg": "Ruta del workspace (relativa a la ra\u00edz del proyecto)",
|
|
275
|
+
"notFound": "Workspace \"{{path}}\" no encontrado en .envshed.json.",
|
|
276
|
+
"availableList": "Workspaces disponibles: {{list}}",
|
|
277
|
+
"added": "Workspace {{path}} agregado",
|
|
278
|
+
"removed": "Workspace {{path}} eliminado",
|
|
279
|
+
"noWorkspaces": "No hay workspaces configurados. Ejecuta: envshed workspace add <ruta>",
|
|
280
|
+
"confirmRemove": "\u00bfEliminar workspace \"{{path}}\" de la configuraci\u00f3n?",
|
|
281
|
+
"selectProject": "Proyecto para {{path}}:",
|
|
282
|
+
"selectEnv": "Entorno predeterminado para {{path}}:",
|
|
283
|
+
"selectFile": "Nombre del archivo env para {{path}}:"
|
|
284
|
+
},
|
|
285
|
+
"whoami": {
|
|
286
|
+
"description": "Mostrar el usuario autenticado actualmente",
|
|
287
|
+
"fetching": "Obteniendo informaci\u00f3n del usuario...",
|
|
288
|
+
"notLoggedIn": "No has iniciado sesi\u00f3n o el token es inv\u00e1lido. Ejecuta: envshed login"
|
|
289
|
+
},
|
|
290
|
+
"config": {
|
|
291
|
+
"noToken": "No has iniciado sesi\u00f3n. Ejecuta: envshed login",
|
|
292
|
+
"noConfig": "No se encontr\u00f3 .envshed.json. Ejecuta: envshed init"
|
|
293
|
+
},
|
|
294
|
+
"link": {
|
|
295
|
+
"description": "Vincular un secreto al entorno de otro proyecto",
|
|
296
|
+
"keyArg": "Clave del secreto a vincular",
|
|
297
|
+
"toProjectOption": "Slug del proyecto destino",
|
|
298
|
+
"toEnvOption": "Slug del entorno destino",
|
|
299
|
+
"specifyWorkspace": "No se puede vincular en modo masivo. Usa --workspace para apuntar a un workspace específico.",
|
|
300
|
+
"linking": "Vinculando {{key}}...",
|
|
301
|
+
"linked": "{{key}} vinculado a {{project}}/{{env}}",
|
|
302
|
+
"linkFailed": "Error al vincular: {{message}}"
|
|
303
|
+
},
|
|
304
|
+
"unlink": {
|
|
305
|
+
"description": "Desvincular un secreto de su vínculo entre proyectos",
|
|
306
|
+
"keyArg": "Clave del secreto a desvincular",
|
|
307
|
+
"specifyWorkspace": "No se puede desvincular en modo masivo. Usa --workspace para apuntar a un workspace específico.",
|
|
308
|
+
"unlinking": "Desvinculando {{key}}...",
|
|
309
|
+
"unlinked": "{{key}} desvinculado",
|
|
310
|
+
"unlinkFailed": "Error al desvincular: {{message}}"
|
|
311
|
+
},
|
|
312
|
+
"api": {
|
|
313
|
+
"error": "Error de API ({{status}}): {{text}}"
|
|
314
|
+
}
|
|
315
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create a mock spinner that tracks calls and supports chaining.
|
|
3
|
+
* The returned object is safe to use with vi.mock("ora") and won't
|
|
4
|
+
* be broken by mockReset since it uses real functions that delegate
|
|
5
|
+
* to vi.fn() spies.
|
|
6
|
+
*/
|
|
7
|
+
export declare function createSpinnerMock(): any;
|
|
8
|
+
/**
|
|
9
|
+
* Create the ora module mock using a spinner mock.
|
|
10
|
+
* Usage:
|
|
11
|
+
* const spinner = createSpinnerMock();
|
|
12
|
+
* vi.mock("ora", () => createOraMock(spinner));
|
|
13
|
+
*/
|
|
14
|
+
export declare function createOraMock(spinner: ReturnType<typeof createSpinnerMock>): {
|
|
15
|
+
default: () => any;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=test-helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-helpers.d.ts","sourceRoot":"","sources":["../src/test-helpers.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,iBAAiB,QAmChC;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC;;EAE1E"}
|