@nx/js 20.0.0-beta.6 → 20.0.0-beta.7
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
|
@@ -13,7 +13,7 @@ module.exports = function (api, options = {}) {
|
|
|
13
13
|
const emitDecoratorMetadata = api.caller((caller) => caller?.emitDecoratorMetadata ?? true);
|
|
14
14
|
// Determine settings for `@babel//babel-plugin-transform-class-properties`,
|
|
15
15
|
// so that we can sync the `loose` option with `@babel/preset-env`.
|
|
16
|
-
// TODO(
|
|
16
|
+
// TODO(v21): Remove classProperties since it's no longer needed, now that the class props transform is in preset-env.
|
|
17
17
|
const loose = options.classProperties?.loose ?? options.loose ?? true;
|
|
18
18
|
if (options.classProperties) {
|
|
19
19
|
devkit_1.logger.warn(`Use =\`loose\` option instead of \`classProperties.loose\`. The \`classProperties\` option will be removed in Nx 20`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/js",
|
|
3
|
-
"version": "20.0.0-beta.
|
|
3
|
+
"version": "20.0.0-beta.7",
|
|
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": "20.0.0-beta.
|
|
43
|
-
"@nx/workspace": "20.0.0-beta.
|
|
42
|
+
"@nx/devkit": "20.0.0-beta.7",
|
|
43
|
+
"@nx/workspace": "20.0.0-beta.7",
|
|
44
44
|
"@zkochan/js-yaml": "0.0.7",
|
|
45
45
|
"babel-plugin-const-enum": "^1.0.1",
|
|
46
46
|
"babel-plugin-macros": "^2.8.0",
|
package/src/utils/schema.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ const path_1 = require("path");
|
|
|
13
13
|
function getSwcCmd({ swcCliOptions: { swcrcPath, destPath, stripLeadingPaths }, root, projectRoot, originalProjectRoot, sourceRoot, inline, }, watch = false) {
|
|
14
14
|
const swcCLI = require.resolve('@swc/cli/bin/swc.js');
|
|
15
15
|
let inputDir;
|
|
16
|
-
// TODO(
|
|
16
|
+
// TODO(v21): remove inline feature
|
|
17
17
|
if (inline) {
|
|
18
18
|
inputDir = originalProjectRoot.split('/')[0];
|
|
19
19
|
}
|