@nx/js 22.0.0-beta.0 → 22.0.0-canary.20251001-e28a97a
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/migrations.json +0 -39
- package/package.json +4 -4
- package/src/plugins/typescript/plugin.js +5 -3
package/migrations.json
CHANGED
|
@@ -12,45 +12,6 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"packageJsonUpdates": {
|
|
15
|
-
"19.0.0": {
|
|
16
|
-
"version": "19.0.0-beta.0",
|
|
17
|
-
"packages": {
|
|
18
|
-
"@swc/cli": {
|
|
19
|
-
"version": "~0.3.12",
|
|
20
|
-
"alwaysAddToPackageJson": false
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"19.2.0": {
|
|
25
|
-
"version": "19.2.0-beta.0",
|
|
26
|
-
"packages": {
|
|
27
|
-
"@swc/core": {
|
|
28
|
-
"version": "~1.5.7",
|
|
29
|
-
"alwaysAddToPackageJson": false
|
|
30
|
-
},
|
|
31
|
-
"@swc/helpers": {
|
|
32
|
-
"version": "~0.5.11",
|
|
33
|
-
"alwaysAddToPackageJson": false
|
|
34
|
-
},
|
|
35
|
-
"@swc-node/register": {
|
|
36
|
-
"version": "~1.9.1",
|
|
37
|
-
"alwaysAddToPackageJson": false
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"19.5.1": {
|
|
42
|
-
"version": "19.5.0-beta.1",
|
|
43
|
-
"x-prompt": "Do you want to update to TypeScript v5.5?",
|
|
44
|
-
"requires": {
|
|
45
|
-
"typescript": ">=5.4.0 <5.5.0"
|
|
46
|
-
},
|
|
47
|
-
"packages": {
|
|
48
|
-
"typescript": {
|
|
49
|
-
"version": "~5.5.2",
|
|
50
|
-
"alwaysAddToPackageJson": false
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
15
|
"20.2.0": {
|
|
55
16
|
"version": "20.2.0-beta.5",
|
|
56
17
|
"x-prompt": "Do you want to update to TypeScript v5.6?",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/js",
|
|
3
|
-
"version": "22.0.0-
|
|
3
|
+
"version": "22.0.0-canary.20251001-e28a97a",
|
|
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": "22.0.0-
|
|
43
|
-
"@nx/workspace": "22.0.0-
|
|
42
|
+
"@nx/devkit": "22.0.0-canary.20251001-e28a97a",
|
|
43
|
+
"@nx/workspace": "22.0.0-canary.20251001-e28a97a",
|
|
44
44
|
"@zkochan/js-yaml": "0.0.7",
|
|
45
45
|
"babel-plugin-const-enum": "^1.0.1",
|
|
46
46
|
"babel-plugin-macros": "^3.1.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"tslib": "^2.3.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"nx": "22.0.0-
|
|
66
|
+
"nx": "22.0.0-canary.20251001-e28a97a"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"verdaccio": "^6.0.5"
|
|
@@ -294,12 +294,14 @@ function buildTscTargets(configFilePath, projectRoot, options, context) {
|
|
|
294
294
|
}
|
|
295
295
|
function getInputs(namedInputs, configFilePath, tsConfig, internalProjectReferences, workspaceRoot, projectRoot) {
|
|
296
296
|
const configFiles = new Set();
|
|
297
|
-
|
|
297
|
+
// TODO(leo): temporary disable external dependencies until we support hashing
|
|
298
|
+
// glob patterns from external dependencies
|
|
299
|
+
// const externalDependencies = ['typescript'];
|
|
298
300
|
const extendedConfigFiles = getExtendedConfigFiles(tsConfig, workspaceRoot);
|
|
299
301
|
extendedConfigFiles.files.forEach((configPath) => {
|
|
300
302
|
configFiles.add(configPath);
|
|
301
303
|
});
|
|
302
|
-
externalDependencies.push(...extendedConfigFiles.packages);
|
|
304
|
+
// externalDependencies.push(...extendedConfigFiles.packages);
|
|
303
305
|
const includePaths = new Set();
|
|
304
306
|
const excludePaths = new Set();
|
|
305
307
|
const projectTsConfigFiles = [
|
|
@@ -405,7 +407,7 @@ function getInputs(namedInputs, configFilePath, tsConfig, internalProjectReferen
|
|
|
405
407
|
else {
|
|
406
408
|
inputs.push('production' in namedInputs ? '^production' : '^default');
|
|
407
409
|
}
|
|
408
|
-
inputs.push({ externalDependencies });
|
|
410
|
+
// inputs.push({ externalDependencies });
|
|
409
411
|
return inputs;
|
|
410
412
|
}
|
|
411
413
|
function getOutputs(configFilePath, tsConfig, internalProjectReferences, workspaceRoot, projectRoot, emitDeclarationOnly) {
|