@nx/js 0.0.0-pr-27786-e5e2109 → 0.0.0-pr-27696-37f7ce3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/js",
3
- "version": "0.0.0-pr-27786-e5e2109",
3
+ "version": "0.0.0-pr-27696-37f7ce3",
4
4
  "private": false,
5
5
  "description": "The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects. ",
6
6
  "repository": {
@@ -39,8 +39,8 @@
39
39
  "@babel/preset-env": "^7.23.2",
40
40
  "@babel/preset-typescript": "^7.22.5",
41
41
  "@babel/runtime": "^7.22.6",
42
- "@nx/devkit": "0.0.0-pr-27786-e5e2109",
43
- "@nx/workspace": "0.0.0-pr-27786-e5e2109",
42
+ "@nx/devkit": "0.0.0-pr-27696-37f7ce3",
43
+ "@nx/workspace": "0.0.0-pr-27696-37f7ce3",
44
44
  "babel-plugin-const-enum": "^1.0.1",
45
45
  "babel-plugin-macros": "^2.8.0",
46
46
  "babel-plugin-transform-typescript-metadata": "^0.3.1",
@@ -61,7 +61,7 @@
61
61
  "ts-node": "10.9.1",
62
62
  "tsconfig-paths": "^4.1.2",
63
63
  "tslib": "^2.3.0",
64
- "@nrwl/js": "0.0.0-pr-27786-e5e2109"
64
+ "@nrwl/js": "0.0.0-pr-27696-37f7ce3"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "verdaccio": "^5.0.4"
@@ -163,6 +163,9 @@ async function runExecutor(options, context) {
163
163
  if (options.otp) {
164
164
  npmPublishCommandSegments.push(`--otp=${options.otp}`);
165
165
  }
166
+ if (options.access) {
167
+ npmPublishCommandSegments.push(`--access=${options.access}`);
168
+ }
166
169
  if (isDryRun) {
167
170
  npmPublishCommandSegments.push(`--dry-run`);
168
171
  }
@@ -4,5 +4,6 @@ export interface PublishExecutorSchema {
4
4
  tag?: string;
5
5
  otp?: number;
6
6
  dryRun?: boolean;
7
+ access?: 'public' | 'restricted';
7
8
  firstRelease?: boolean;
8
9
  }
@@ -17,6 +17,11 @@
17
17
  "type": "string",
18
18
  "description": "The distribution tag to apply to the published package."
19
19
  },
20
+ "access": {
21
+ "type": "string",
22
+ "enum": ["public", "restricted"],
23
+ "description": "Overrides the access level of the published package. Unscoped packages cannot be set to restricted. See the npm publish documentation for more information."
24
+ },
20
25
  "dryRun": {
21
26
  "type": "boolean",
22
27
  "description": "Whether to run the command without actually publishing the package to the registry."