@nx/js 21.5.0-beta.0 → 21.5.0-beta.2

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.
Files changed (41) hide show
  1. package/migrations.json +20 -1
  2. package/package.json +4 -4
  3. package/spec/src/migrations/update-21-5-0/migrate-development-custom-condition.spec.d.ts +2 -0
  4. package/spec/src/migrations/update-21-5-0/migrate-development-custom-condition.spec.d.ts.map +1 -0
  5. package/spec/tsconfig.spec.tsbuildinfo +1 -0
  6. package/src/executors/swc/schema.json +10 -0
  7. package/src/executors/tsc/lib/batch/build-task-info-per-tsconfig-map.js +1 -0
  8. package/src/executors/tsc/schema.json +10 -0
  9. package/src/executors/tsc/tsc.impl.d.ts.map +1 -1
  10. package/src/executors/tsc/tsc.impl.js +1 -0
  11. package/src/generators/init/files/ts-solution/tsconfig.base.json__tmpl__ +1 -1
  12. package/src/generators/init/init.d.ts.map +1 -1
  13. package/src/generators/init/init.js +2 -0
  14. package/src/generators/library/library.d.ts.map +1 -1
  15. package/src/generators/library/library.js +2 -5
  16. package/src/generators/setup-build/generator.d.ts.map +1 -1
  17. package/src/generators/setup-build/generator.js +1 -4
  18. package/src/generators/typescript-sync/typescript-sync.d.ts.map +1 -1
  19. package/src/generators/typescript-sync/typescript-sync.js +36 -4
  20. package/src/migrations/update-21-5-0/migrate-development-custom-condition.d.ts +3 -0
  21. package/src/migrations/update-21-5-0/migrate-development-custom-condition.d.ts.map +1 -0
  22. package/src/migrations/update-21-5-0/migrate-development-custom-condition.js +147 -0
  23. package/src/utils/assets/assets.d.ts +1 -0
  24. package/src/utils/assets/assets.d.ts.map +1 -1
  25. package/src/utils/assets/copy-assets-handler.d.ts +2 -0
  26. package/src/utils/assets/copy-assets-handler.d.ts.map +1 -1
  27. package/src/utils/assets/copy-assets-handler.js +8 -2
  28. package/src/utils/assets/index.d.ts +1 -0
  29. package/src/utils/assets/index.d.ts.map +1 -1
  30. package/src/utils/assets/index.js +1 -0
  31. package/src/utils/package-json/update-package-json.d.ts +1 -1
  32. package/src/utils/package-json/update-package-json.d.ts.map +1 -1
  33. package/src/utils/package-json/update-package-json.js +6 -7
  34. package/src/utils/package-manager-workspaces.d.ts.map +1 -1
  35. package/src/utils/package-manager-workspaces.js +12 -1
  36. package/src/utils/schema.d.ts +1 -0
  37. package/src/utils/typescript/ts-solution-setup.d.ts +12 -0
  38. package/src/utils/typescript/ts-solution-setup.d.ts.map +1 -1
  39. package/src/utils/typescript/ts-solution-setup.js +69 -0
  40. package/src/utils/versions.d.ts +1 -1
  41. package/src/utils/versions.js +1 -1
package/migrations.json CHANGED
@@ -1,5 +1,11 @@
1
1
  {
2
- "generators": {},
2
+ "generators": {
3
+ "migrate-development-custom-condition": {
4
+ "version": "21.5.0-beta.2",
5
+ "description": "Migrate the legacy 'development' custom condition to a workspace-unique custom condition name.",
6
+ "factory": "./src/migrations/update-21-5-0/migrate-development-custom-condition"
7
+ }
8
+ },
3
9
  "packageJsonUpdates": {
4
10
  "19.0.0": {
5
11
  "version": "19.0.0-beta.0",
@@ -96,6 +102,19 @@
96
102
  "alwaysAddToPackageJson": false
97
103
  }
98
104
  }
105
+ },
106
+ "21.5.0": {
107
+ "version": "21.5.0-beta.2",
108
+ "x-prompt": "Do you want to update to TypeScript v5.9?",
109
+ "requires": {
110
+ "typescript": ">=5.8.0 <5.9.0"
111
+ },
112
+ "packages": {
113
+ "typescript": {
114
+ "version": "~5.9.2",
115
+ "alwaysAddToPackageJson": false
116
+ }
117
+ }
99
118
  }
100
119
  }
101
120
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/js",
3
- "version": "21.5.0-beta.0",
3
+ "version": "21.5.0-beta.2",
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": "21.5.0-beta.0",
43
- "@nx/workspace": "21.5.0-beta.0",
42
+ "@nx/devkit": "21.5.0-beta.2",
43
+ "@nx/workspace": "21.5.0-beta.2",
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": "21.5.0-beta.0"
66
+ "nx": "21.5.0-beta.2"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "verdaccio": "^6.0.5"
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=migrate-development-custom-condition.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"migrate-development-custom-condition.spec.d.ts","sourceRoot":"","sources":["../../../../../../../packages/js/src/migrations/update-21-5-0/migrate-development-custom-condition.spec.ts"],"names":[],"mappings":""}