nx 22.6.0-beta.7 → 22.6.0-beta.8

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/.eslintrc.json CHANGED
@@ -145,7 +145,9 @@
145
145
  // Nx Docker plugin conditionally available dynamically at runtime
146
146
  "@nx/docker",
147
147
  // Only used in test-utils at the time of writing
148
- "@ltd/j-toml"
148
+ "@ltd/j-toml",
149
+ // Used in WASI browser implementation (nx.wasi-browser.js)
150
+ "@napi-rs/wasm-runtime"
149
151
  ]
150
152
  }
151
153
  ]
package/migrations.json CHANGED
@@ -136,6 +136,12 @@
136
136
  "version": "22.1.0-beta.5",
137
137
  "description": "Updates the nx wrapper.",
138
138
  "implementation": "./src/migrations/update-22-1-0/update-nx-wrapper"
139
+ },
140
+ "22-7-0-add-polygraph-to-git-ignore": {
141
+ "cli": "nx",
142
+ "version": "22.7.0-beta.0",
143
+ "description": "Adds .nx/polygraph to .gitignore",
144
+ "implementation": "./src/migrations/update-22-7-0/add-polygraph-to-git-ignore"
139
145
  }
140
146
  }
141
147
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "22.6.0-beta.7",
3
+ "version": "22.6.0-beta.8",
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": {
@@ -54,7 +54,7 @@
54
54
  "jest-diff": "^30.0.2",
55
55
  "jsonc-parser": "3.2.0",
56
56
  "lines-and-columns": "2.0.3",
57
- "minimatch": "10.2.1",
57
+ "minimatch": "10.2.4",
58
58
  "node-machine-id": "1.1.12",
59
59
  "npm-run-path": "^4.0.1",
60
60
  "open": "^8.4.0",
@@ -84,16 +84,16 @@
84
84
  }
85
85
  },
86
86
  "optionalDependencies": {
87
- "@nx/nx-darwin-arm64": "22.6.0-beta.7",
88
- "@nx/nx-darwin-x64": "22.6.0-beta.7",
89
- "@nx/nx-freebsd-x64": "22.6.0-beta.7",
90
- "@nx/nx-linux-arm-gnueabihf": "22.6.0-beta.7",
91
- "@nx/nx-linux-arm64-gnu": "22.6.0-beta.7",
92
- "@nx/nx-linux-arm64-musl": "22.6.0-beta.7",
93
- "@nx/nx-linux-x64-gnu": "22.6.0-beta.7",
94
- "@nx/nx-linux-x64-musl": "22.6.0-beta.7",
95
- "@nx/nx-win32-arm64-msvc": "22.6.0-beta.7",
96
- "@nx/nx-win32-x64-msvc": "22.6.0-beta.7"
87
+ "@nx/nx-darwin-arm64": "22.6.0-beta.8",
88
+ "@nx/nx-darwin-x64": "22.6.0-beta.8",
89
+ "@nx/nx-freebsd-x64": "22.6.0-beta.8",
90
+ "@nx/nx-linux-arm-gnueabihf": "22.6.0-beta.8",
91
+ "@nx/nx-linux-arm64-gnu": "22.6.0-beta.8",
92
+ "@nx/nx-linux-arm64-musl": "22.6.0-beta.8",
93
+ "@nx/nx-linux-x64-gnu": "22.6.0-beta.8",
94
+ "@nx/nx-linux-x64-musl": "22.6.0-beta.8",
95
+ "@nx/nx-win32-arm64-msvc": "22.6.0-beta.8",
96
+ "@nx/nx-win32-x64-msvc": "22.6.0-beta.8"
97
97
  },
98
98
  "nx-migrations": {
99
99
  "migrations": "./migrations.json",
@@ -1 +1 @@
1
- {"version":3,"file":"set-up-ai-agents.d.ts","sourceRoot":"","sources":["../../../../../../packages/nx/src/ai/set-up-ai-agents/set-up-ai-agents.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAS7C,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAwB5B,OAAO,EACL,sCAAsC,EACtC,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IACjC,MAAM,EAAE,qBAAqB,EAAE,CAAC;CACjC,CAAC;AAmCF,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,4BAA4B,EACrC,KAAK,UAAQ,GACZ,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAmC5D;AAaD,wBAAsB,0BAA0B,CAC9C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,sCAAsC,GAC9C,OAAO,CAAC,MAAM,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAiO7C;AAqJD,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"set-up-ai-agents.d.ts","sourceRoot":"","sources":["../../../../../../packages/nx/src/ai/set-up-ai-agents/set-up-ai-agents.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAS7C,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAyB5B,OAAO,EACL,sCAAsC,EACtC,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IACjC,MAAM,EAAE,qBAAqB,EAAE,CAAC;CACjC,CAAC;AAmCF,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,4BAA4B,EACrC,KAAK,UAAQ,GACZ,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAmC5D;AAaD,wBAAsB,0BAA0B,CAC9C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,sCAAsC,GAC9C,OAAO,CAAC,MAAM,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAuO7C;AAqJD,eAAe,sBAAsB,CAAC"}
@@ -10,6 +10,7 @@ const generate_files_1 = require("../../generators/utils/generate-files");
10
10
  const json_1 = require("../../generators/utils/json");
11
11
  const native_1 = require("../../native");
12
12
  const package_json_1 = require("../../utils/package-json");
13
+ const ignore_1 = require("../../utils/ignore");
13
14
  const provenance_1 = require("../../utils/provenance");
14
15
  const workspace_root_1 = require("../../utils/workspace-root");
15
16
  const constants_1 = require("../constants");
@@ -194,6 +195,7 @@ async function setupAiAgentsGeneratorImpl(tree, options) {
194
195
  }
195
196
  }
196
197
  }
198
+ (0, ignore_1.addEntryToGitIgnore)(tree, (0, path_1.join)(options.directory, '.gitignore'), '.nx/polygraph');
197
199
  await (0, format_changed_files_with_prettier_if_available_1.formatChangedFilesWithPrettierIfAvailable)(tree);
198
200
  // we use the check variable to determine if we should actually make changes or just report what would be changed
199
201
  return async (check = false) => {
@@ -1 +1 @@
1
- {"version":3,"file":"command-object.d.ts","sourceRoot":"","sources":["../../../../../../packages/nx/src/command-line/import/command-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAYtC,eAAO,MAAM,kBAAkB,EAAE,aAiEhC,CAAC"}
1
+ {"version":3,"file":"command-object.d.ts","sourceRoot":"","sources":["../../../../../../packages/nx/src/command-line/import/command-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAYtC,eAAO,MAAM,kBAAkB,EAAE,aAkEhC,CAAC"}
@@ -13,7 +13,7 @@ exports.yargsImportCommand = {
13
13
  builder: (yargs) => (0, documentation_1.linkToNxDevAndExamples)((0, shared_options_1.withVerbose)(yargs
14
14
  .positional('sourceRepository', {
15
15
  type: 'string',
16
- description: 'The remote URL of the source to import.',
16
+ description: 'The remote URL or local path of the source repository to import.',
17
17
  })
18
18
  .positional('destinationDirectory', {
19
19
  type: 'string',