@nx/js 18.1.2 → 18.2.0-beta.0

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/babel.js CHANGED
@@ -30,7 +30,10 @@ module.exports = function (api, options = {}) {
30
30
  : {
31
31
  // Allow importing core-js in entrypoint and use browserslist to select polyfills.
32
32
  useBuiltIns: options.useBuiltIns ?? 'entry',
33
- corejs: options.useBuiltIns !== false ? 3 : null,
33
+ corejs: options.useBuiltIns !== false
34
+ ? // Setting the minor version as well for better optimization (See: https://github.com/zloirock/core-js#babelpreset-env)
35
+ '3.36'
36
+ : null,
34
37
  // Do not transform modules to CJS
35
38
  modules: false,
36
39
  targets: isModern ? { esmodules: 'intersect' } : undefined,
package/migrations.json CHANGED
@@ -154,6 +154,19 @@
154
154
  "alwaysAddToPackageJson": false
155
155
  }
156
156
  }
157
+ },
158
+ "18.2.0": {
159
+ "version": "18.2.0-beta.0",
160
+ "x-prompt": "Do you want to update to TypeScript v5.4?",
161
+ "requires": {
162
+ "typescript": ">=5.3.0 <5.4.0"
163
+ },
164
+ "packages": {
165
+ "typescript": {
166
+ "version": "~5.4.2",
167
+ "alwaysAddToPackageJson": false
168
+ }
169
+ }
157
170
  }
158
171
  }
159
172
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/js",
3
- "version": "18.1.2",
3
+ "version": "18.2.0-beta.0",
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": {
@@ -57,9 +57,9 @@
57
57
  "semver": "^7.5.3",
58
58
  "source-map-support": "0.5.19",
59
59
  "tslib": "^2.3.0",
60
- "@nx/devkit": "18.1.2",
61
- "@nx/workspace": "18.1.2",
62
- "@nrwl/js": "18.1.2"
60
+ "@nx/devkit": "18.2.0-beta.0",
61
+ "@nx/workspace": "18.2.0-beta.0",
62
+ "@nrwl/js": "18.2.0-beta.0"
63
63
  },
64
64
  "peerDependencies": {
65
65
  "verdaccio": "^5.0.4"
@@ -61,7 +61,7 @@ async function* nodeExecutor(options, context) {
61
61
  await previousTask?.stop('SIGTERM');
62
62
  await task.start();
63
63
  };
64
- const debouncedProcessQueue = debounce(processQueue, options.debounce ?? 1000);
64
+ const debouncedProcessQueue = debounce(processQueue, options.debounce ?? 1_000);
65
65
  const addToQueue = async (childProcess, buildResult) => {
66
66
  const task = {
67
67
  id: (0, crypto_1.randomUUID)(),
@@ -8,7 +8,7 @@ export declare const swcNodeVersion = "~1.8.0";
8
8
  export declare const tsLibVersion = "^2.3.0";
9
9
  export declare const typesNodeVersion = "18.16.9";
10
10
  export declare const verdaccioVersion = "^5.0.4";
11
- export declare const typescriptVersion = "~5.3.2";
11
+ export declare const typescriptVersion = "~5.4.2";
12
12
  /**
13
13
  * The minimum version is currently determined from the lowest version
14
14
  * that's supported by the lowest Angular supported version, e.g.
@@ -12,7 +12,7 @@ exports.tsLibVersion = '^2.3.0';
12
12
  exports.typesNodeVersion = '18.16.9';
13
13
  exports.verdaccioVersion = '^5.0.4';
14
14
  // Typescript
15
- exports.typescriptVersion = '~5.3.2';
15
+ exports.typescriptVersion = '~5.4.2';
16
16
  /**
17
17
  * The minimum version is currently determined from the lowest version
18
18
  * that's supported by the lowest Angular supported version, e.g.