You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -276,6 +276,14 @@ Tells the registry whether to publish the package as public or restricted. It on
276
276
277
277
If you have two-factor authentication enabled in auth-and-writes mode, you can provide a code from your authenticator.
278
278
279
+
#### `--registry`
280
+
281
+
- **optional**
282
+
- Example:
283
+
- `nx deploy --registry http://localhost:4873`
284
+
285
+
Configure npm to use any compatible registry you like, and even run your own registry.
286
+
279
287
#### `--dry-run`
280
288
281
289
- **optional**
@@ -302,7 +310,7 @@ configuration in the `workspace.json` file in the `options` attribute
302
310
of your deploy project's executor.
303
311
Just change the option to lower camel case.
304
312
305
-
A list of all available options is also available [here](https://github.com/bikecoders/ngx-deploy-npm/blob/main/src/deploy/schema.json).
313
+
A list of all available options is also available [here](https://github.com/bikecoders/ngx-deploy-npm/blob/main/packages/ngx-deploy-npm/src/executors/deploy/schema.json).
* If you have two-factor authentication enabled in auth-and-writes mode then you can provide a code from your authenticator with this. If you don’t include this and you’re running from a TTY then you’ll be prompted.
28
28
*/
29
29
otp?: string|number;
30
+
/**
31
+
* Configure npm to use any compatible registry you like, and even run your own registry.
32
+
*/
33
+
registry?: string;
30
34
/**
31
35
* For testing: Run through without making any changes. Execute with --dry-run and nothing will happen.
Copy file name to clipboardExpand all lines: packages/ngx-deploy-npm/src/executors/deploy/schema.json
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,10 @@
38
38
"type": ["string", "number"],
39
39
"description": "If you have two-factor authentication enabled in auth-and-writes mode then you can provide a code from your authenticator with this. If you don't include this and you're running from a TTY then you'll be prompted."
40
40
},
41
+
"registry": {
42
+
"type": "string",
43
+
"description": "Configure npm to use any compatible registry you like, and even run your own registry."
44
+
},
41
45
"dryRun": {
42
46
"type": "boolean",
43
47
"description": "For testing: Run through without making any changes. Execute with --dry-run and nothing will happen.",
0 commit comments