@nx/react 16.4.0-beta.6 → 16.4.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/migrations.json
CHANGED
|
@@ -899,6 +899,23 @@
|
|
|
899
899
|
"alwaysAddToPackageJson": false
|
|
900
900
|
}
|
|
901
901
|
}
|
|
902
|
+
},
|
|
903
|
+
"16.4.0-beta.7": {
|
|
904
|
+
"version": "16.4.0-beta.7",
|
|
905
|
+
"packages": {
|
|
906
|
+
"@types/react": {
|
|
907
|
+
"version": "18.2.12",
|
|
908
|
+
"alwaysAddToPackageJson": false
|
|
909
|
+
},
|
|
910
|
+
"@types/react-dom": {
|
|
911
|
+
"version": "18.2.5",
|
|
912
|
+
"alwaysAddToPackageJson": false
|
|
913
|
+
},
|
|
914
|
+
"@types/react-is": {
|
|
915
|
+
"version": "18.2.0",
|
|
916
|
+
"alwaysAddToPackageJson": false
|
|
917
|
+
}
|
|
918
|
+
}
|
|
902
919
|
}
|
|
903
920
|
}
|
|
904
921
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/react",
|
|
3
|
-
"version": "16.4.0-beta.
|
|
3
|
+
"version": "16.4.0-beta.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Cypress, and Storybook.\n\n- Generators for applications, libraries, components, hooks, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
|
|
6
6
|
"repository": {
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"migrations": "./migrations.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@nrwl/react": "16.4.0-beta.
|
|
35
|
-
"@nx/devkit": "16.4.0-beta.
|
|
36
|
-
"@nx/js": "16.4.0-beta.
|
|
37
|
-
"@nx/linter": "16.4.0-beta.
|
|
38
|
-
"@nx/web": "16.4.0-beta.
|
|
34
|
+
"@nrwl/react": "16.4.0-beta.7",
|
|
35
|
+
"@nx/devkit": "16.4.0-beta.7",
|
|
36
|
+
"@nx/js": "16.4.0-beta.7",
|
|
37
|
+
"@nx/linter": "16.4.0-beta.7",
|
|
38
|
+
"@nx/web": "16.4.0-beta.7",
|
|
39
39
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
40
40
|
"@svgr/webpack": "^8.0.1",
|
|
41
41
|
"chalk": "^4.1.0",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"types": "./index.d.ts",
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "847d3a45b61cd2c267acb66c4165a5bb875aff4f"
|
|
50
50
|
}
|
|
@@ -50,6 +50,7 @@ function libraryGenerator(host, schema) {
|
|
|
50
50
|
includeVitest: options.unitTestRunner === 'vitest',
|
|
51
51
|
compiler: options.compiler,
|
|
52
52
|
skipFormat: true,
|
|
53
|
+
testEnvironment: 'jsdom',
|
|
53
54
|
});
|
|
54
55
|
tasks.push(viteTask);
|
|
55
56
|
}
|
|
@@ -78,6 +79,7 @@ function libraryGenerator(host, schema) {
|
|
|
78
79
|
coverageProvider: 'c8',
|
|
79
80
|
inSourceTests: options.inSourceTests,
|
|
80
81
|
skipFormat: true,
|
|
82
|
+
testEnvironment: 'jsdom',
|
|
81
83
|
});
|
|
82
84
|
tasks.push(vitestTask);
|
|
83
85
|
}
|
package/src/utils/ct-utils.js
CHANGED
|
@@ -6,8 +6,8 @@ const devkit_1 = require("@nx/devkit");
|
|
|
6
6
|
const ensure_typescript_1 = require("@nx/js/src/utils/typescript/ensure-typescript");
|
|
7
7
|
const ast_utils_1 = require("./ast-utils");
|
|
8
8
|
let tsModule;
|
|
9
|
-
const allowedFileExt = new RegExp(/\.[jt]sx?/
|
|
10
|
-
const isSpecFile = new RegExp(/(spec|test)\./
|
|
9
|
+
const allowedFileExt = new RegExp(/\.[jt]sx?/);
|
|
10
|
+
const isSpecFile = new RegExp(/(spec|test)\./);
|
|
11
11
|
function addCTTargetWithBuildTarget(tree, options) {
|
|
12
12
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
13
13
|
const { findBuildConfig } = yield Promise.resolve().then(() => require('@nx/cypress/src/utils/find-target-options'));
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -5,9 +5,9 @@ export declare const reactDomVersion = "18.2.0";
|
|
|
5
5
|
export declare const reactIsVersion = "18.2.0";
|
|
6
6
|
export declare const swcLoaderVersion = "0.1.15";
|
|
7
7
|
export declare const babelLoaderVersion = "^9.1.2";
|
|
8
|
-
export declare const typesReactVersion = "18.
|
|
9
|
-
export declare const typesReactDomVersion = "18.
|
|
10
|
-
export declare const typesReactIsVersion = "
|
|
8
|
+
export declare const typesReactVersion = "18.2.12";
|
|
9
|
+
export declare const typesReactDomVersion = "18.2.5";
|
|
10
|
+
export declare const typesReactIsVersion = "18.2.0";
|
|
11
11
|
export declare const typesNodeVersion = "18.14.2";
|
|
12
12
|
export declare const babelPresetReactVersion = "^7.14.5";
|
|
13
13
|
export declare const styledComponentsVersion = "5.3.6";
|
package/src/utils/versions.js
CHANGED
|
@@ -9,9 +9,9 @@ exports.reactDomVersion = '18.2.0';
|
|
|
9
9
|
exports.reactIsVersion = '18.2.0';
|
|
10
10
|
exports.swcLoaderVersion = '0.1.15';
|
|
11
11
|
exports.babelLoaderVersion = '^9.1.2';
|
|
12
|
-
exports.typesReactVersion = '18.
|
|
13
|
-
exports.typesReactDomVersion = '18.
|
|
14
|
-
exports.typesReactIsVersion = '
|
|
12
|
+
exports.typesReactVersion = '18.2.12';
|
|
13
|
+
exports.typesReactDomVersion = '18.2.5';
|
|
14
|
+
exports.typesReactIsVersion = '18.2.0';
|
|
15
15
|
exports.typesNodeVersion = '18.14.2';
|
|
16
16
|
exports.babelPresetReactVersion = '^7.14.5';
|
|
17
17
|
exports.styledComponentsVersion = '5.3.6';
|