nx 21.4.0-canary.20250731-b9bfeeb → 21.4.0-canary.20250802-b88664f

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",
3
- "version": "21.4.0-canary.20250731-b9bfeeb",
3
+ "version": "21.4.0-canary.20250802-b88664f",
4
4
  "private": false,
5
5
  "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
6
6
  "repository": {
@@ -83,16 +83,16 @@
83
83
  }
84
84
  },
85
85
  "optionalDependencies": {
86
- "@nx/nx-darwin-arm64": "21.4.0-canary.20250731-b9bfeeb",
87
- "@nx/nx-darwin-x64": "21.4.0-canary.20250731-b9bfeeb",
88
- "@nx/nx-freebsd-x64": "21.4.0-canary.20250731-b9bfeeb",
89
- "@nx/nx-linux-arm-gnueabihf": "21.4.0-canary.20250731-b9bfeeb",
90
- "@nx/nx-linux-arm64-gnu": "21.4.0-canary.20250731-b9bfeeb",
91
- "@nx/nx-linux-arm64-musl": "21.4.0-canary.20250731-b9bfeeb",
92
- "@nx/nx-linux-x64-gnu": "21.4.0-canary.20250731-b9bfeeb",
93
- "@nx/nx-linux-x64-musl": "21.4.0-canary.20250731-b9bfeeb",
94
- "@nx/nx-win32-arm64-msvc": "21.4.0-canary.20250731-b9bfeeb",
95
- "@nx/nx-win32-x64-msvc": "21.4.0-canary.20250731-b9bfeeb"
86
+ "@nx/nx-darwin-arm64": "21.4.0-canary.20250802-b88664f",
87
+ "@nx/nx-darwin-x64": "21.4.0-canary.20250802-b88664f",
88
+ "@nx/nx-freebsd-x64": "21.4.0-canary.20250802-b88664f",
89
+ "@nx/nx-linux-arm-gnueabihf": "21.4.0-canary.20250802-b88664f",
90
+ "@nx/nx-linux-arm64-gnu": "21.4.0-canary.20250802-b88664f",
91
+ "@nx/nx-linux-arm64-musl": "21.4.0-canary.20250802-b88664f",
92
+ "@nx/nx-linux-x64-gnu": "21.4.0-canary.20250802-b88664f",
93
+ "@nx/nx-linux-x64-musl": "21.4.0-canary.20250802-b88664f",
94
+ "@nx/nx-win32-arm64-msvc": "21.4.0-canary.20250802-b88664f",
95
+ "@nx/nx-win32-x64-msvc": "21.4.0-canary.20250802-b88664f"
96
96
  },
97
97
  "nx-migrations": {
98
98
  "migrations": "./migrations.json",
@@ -1,3 +1,3 @@
1
- export declare const allowedProjectExtensions: readonly ["tags", "implicitDependencies", "configFilePath", "$schema", "generators", "namedInputs", "name", "files", "root", "sourceRoot", "projectType", "release", "includedScripts", "metadata"];
2
- export declare const allowedWorkspaceExtensions: readonly ["$schema", "implicitDependencies", "affected", "defaultBase", "tasksRunnerOptions", "workspaceLayout", "plugins", "targetDefaults", "files", "generators", "namedInputs", "extends", "cli", "pluginsConfig", "defaultProject", "installation", "release", "nxCloudAccessToken", "nxCloudId", "nxCloudUrl", "nxCloudEncryptionKey", "parallel", "cacheDirectory", "useDaemonProcess", "useInferencePlugins", "neverConnectToCloud", "sync", "useLegacyCache", "maxCacheSize", "tui"];
1
+ export declare const allowedProjectExtensions: readonly ["tags", "implicitDependencies", "configFilePath", "$schema", "generators", "namedInputs", "name", "files", "root", "sourceRoot", "projectType", "release", "includedScripts", "metadata", "owners", "nxCloudImplicitDependencies"];
2
+ export declare const allowedWorkspaceExtensions: readonly ["$schema", "implicitDependencies", "affected", "defaultBase", "tasksRunnerOptions", "workspaceLayout", "plugins", "targetDefaults", "files", "generators", "namedInputs", "extends", "cli", "pluginsConfig", "defaultProject", "installation", "release", "nxCloudAccessToken", "nxCloudId", "nxCloudUrl", "nxCloudEncryptionKey", "parallel", "cacheDirectory", "useDaemonProcess", "useInferencePlugins", "neverConnectToCloud", "sync", "useLegacyCache", "maxCacheSize", "tui", "owners"];
3
3
  //# sourceMappingURL=compat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compat.d.ts","sourceRoot":"","sources":["../../../../../packages/nx/src/adapter/compat.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,wBAAwB,qMAe3B,CAAC;AAQX,eAAO,MAAM,0BAA0B,+dA+B7B,CAAC"}
1
+ {"version":3,"file":"compat.d.ts","sourceRoot":"","sources":["../../../../../packages/nx/src/adapter/compat.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,wBAAwB,8OAiB3B,CAAC;AAQX,eAAO,MAAM,0BAA0B,yeAgC7B,CAAC"}
@@ -29,6 +29,8 @@ exports.allowedProjectExtensions = [
29
29
  'release',
30
30
  'includedScripts',
31
31
  'metadata',
32
+ 'owners',
33
+ 'nxCloudImplicitDependencies',
32
34
  ];
33
35
  // If we pass props on the workspace that angular doesn't know about,
34
36
  // it throws a warning that users see. We want to pass them still,
@@ -67,6 +69,7 @@ exports.allowedWorkspaceExtensions = [
67
69
  'useLegacyCache',
68
70
  'maxCacheSize',
69
71
  'tui',
72
+ 'owners',
70
73
  ];
71
74
  if (!patched) {
72
75
  Module.prototype.require = function () {
@@ -534,6 +534,7 @@ function resolveChangelogVersions(args, releaseGroups, releaseGroupToFilteredPro
534
534
  for (const projectName of releaseGroupProjectNames) {
535
535
  if (!args.versionData) {
536
536
  versionData[projectName] = {
537
+ dockerVersion: args.version,
537
538
  newVersion: args.version,
538
539
  currentVersion: '', // not relevant within changelog/commit generation
539
540
  dependentProjects: [], // not relevant within changelog/commit generation
@@ -22,7 +22,10 @@ interface GitOptions {
22
22
  gitPushArgs?: string | string[];
23
23
  gitRemote?: string;
24
24
  }
25
- export type VersionOptions = NxReleaseArgs & GitOptions & VersionPlanArgs & FirstReleaseArgs & {
25
+ export type DockerVersionSchemeArgs = {
26
+ dockerVersionScheme?: string;
27
+ };
28
+ export type VersionOptions = NxReleaseArgs & GitOptions & VersionPlanArgs & FirstReleaseArgs & DockerVersionSchemeArgs & {
26
29
  specifier?: string;
27
30
  preid?: string;
28
31
  stageChanges?: boolean;
@@ -33,7 +36,6 @@ export type VersionOptions = NxReleaseArgs & GitOptions & VersionPlanArgs & Firs
33
36
  */
34
37
  generatorOptionsOverrides?: Record<string, unknown>;
35
38
  versionActionsOptionsOverrides?: Record<string, unknown>;
36
- dockerVersionScheme?: string;
37
39
  };
38
40
  export type ChangelogOptions = NxReleaseArgs & GitOptions & VersionPlanArgs & FirstReleaseArgs & {
39
41
  version?: string | null;
@@ -63,7 +65,7 @@ export type PlanCheckOptions = BaseNxReleaseArgs & {
63
65
  uncommitted?: boolean;
64
66
  untracked?: boolean;
65
67
  };
66
- export type ReleaseOptions = NxReleaseArgs & FirstReleaseArgs & {
68
+ export type ReleaseOptions = NxReleaseArgs & FirstReleaseArgs & DockerVersionSchemeArgs & {
67
69
  specifier?: string;
68
70
  yes?: boolean;
69
71
  preid?: VersionOptions['preid'];
@@ -1 +1 @@
1
- {"version":3,"file":"command-object.d.ts","sourceRoot":"","sources":["../../../../../../packages/nx/src/command-line/release/command-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAY,MAAM,OAAO,CAAC;AAEtD,OAAO,EACL,WAAW,EACX,cAAc,EAQf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,UAAU,UAAU;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAClC,MAAM,CAAC,EAAE,OAAO,CAAC;IAC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AAM,CAAC;CACd,CAAC;AAEJ,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG;IACxC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,GAAG;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,aAAa,GACxC,gBAAgB,GAAG;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;IAChC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEJ,MAAM,MAAM,eAAe,GAAG;IAC5B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,aAAa,CAC7C,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACvB,aAAa,CA0Ed,CAAC"}
1
+ {"version":3,"file":"command-object.d.ts","sourceRoot":"","sources":["../../../../../../packages/nx/src/command-line/release/command-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAY,MAAM,OAAO,CAAC;AAEtD,OAAO,EACL,WAAW,EACX,cAAc,EAQf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,OA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E,OAAO,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,aAAa,CAC7C,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACvB,aAAa,CA0Ed,CAAC"}
@@ -71,7 +71,7 @@ exports.yargsReleaseCommand = {
71
71
  const releaseCommand = {
72
72
  command: '$0 [specifier]',
73
73
  describe: 'Create a version and release for the workspace, generate a changelog, and optionally publish the packages.',
74
- builder: (yargs) => withFirstReleaseOptions(yargs)
74
+ builder: (yargs) => withFirstReleaseOptions(withDockerVersionSchemeOptions(yargs
75
75
  .positional('specifier', {
76
76
  type: 'string',
77
77
  describe: 'Exact version or semver keyword to apply to the selected release group.',
@@ -80,10 +80,6 @@ const releaseCommand = {
80
80
  type: 'string',
81
81
  describe: 'The optional prerelease identifier to apply to the version. This will only be applied in the case that the specifier argument has been set to `prerelease` OR when conventional commits are enabled, in which case it will modify the resolved specifier from conventional commits to be its prerelease equivalent. E.g. minor -> preminor.',
82
82
  default: '',
83
- })
84
- .options('dockerVersionScheme', {
85
- type: 'string',
86
- describe: 'Exact docker version scheme to apply to the selected release group. Warning: Docker support is experimental. Breaking changes may occur and not adhere to semver versioning.',
87
83
  })
88
84
  .option('yes', {
89
85
  type: 'boolean',
@@ -99,7 +95,7 @@ const releaseCommand = {
99
95
  throw new Error('The --yes and --skip-publish options are mutually exclusive, please use one or the other.');
100
96
  }
101
97
  return true;
102
- }),
98
+ }))),
103
99
  handler: async (args) => {
104
100
  const release = await Promise.resolve().then(() => require('./release'));
105
101
  const result = await release.releaseCLIHandler(args);
@@ -113,7 +109,7 @@ const versionCommand = {
113
109
  command: 'version [specifier]',
114
110
  aliases: ['v'],
115
111
  describe: 'Create a version and release for one or more applications and libraries.',
116
- builder: (yargs) => withFirstReleaseOptions(withGitOptions(yargs
112
+ builder: (yargs) => withFirstReleaseOptions(withGitOptions(withDockerVersionSchemeOptions(yargs
117
113
  .positional('specifier', {
118
114
  type: 'string',
119
115
  describe: 'Exact version or semver keyword to apply to the selected release group.',
@@ -126,7 +122,7 @@ const versionCommand = {
126
122
  .option('stage-changes', {
127
123
  type: 'boolean',
128
124
  describe: 'Whether or not to stage the changes made by this command. Useful when combining this command with changelog generation.',
129
- }))),
125
+ })))),
130
126
  handler: async (args) => {
131
127
  const release = await Promise.resolve().then(() => require('./version'));
132
128
  const result = await release.releaseVersionCLIHandler(args);
@@ -310,3 +306,9 @@ function withFirstReleaseOptions(yargs) {
310
306
  description: 'Indicates that this is the first release for the selected release group. If the current version cannot be determined as usual, the version on disk will be used as a fallback. This is useful when using git or the registry to determine the current version of packages, since those sources are only available after the first release. Also indicates that changelog generation should not assume a previous git tag exists and that publishing should not check for the existence of the package before running.',
311
307
  });
312
308
  }
309
+ function withDockerVersionSchemeOptions(yargs) {
310
+ return yargs.option('dockerVersionScheme', {
311
+ type: 'string',
312
+ describe: 'Exact docker version scheme to apply to the selected release group. Warning: Docker support is experimental. Breaking changes may occur and not adhere to semver versioning.',
313
+ });
314
+ }