@nrwl/react 14.2.3 → 14.3.0-beta.1
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/.eslintrc.json +12 -0
- package/CHANGELOG.md +1 -1
- package/migrations.json +37 -0
- package/package.json +11 -11
- package/src/generators/application/files/common/src/app/nx-welcome.tsx +2 -2
- package/src/generators/storybook-configuration/schema.d.ts +0 -1
- package/src/generators/storybook-configuration/schema.json +0 -4
- package/src/utils/versions.d.ts +7 -7
- package/src/utils/versions.js +7 -7
- package/src/utils/versions.js.map +1 -1
package/.eslintrc.json
CHANGED
|
@@ -18,6 +18,18 @@
|
|
|
18
18
|
"@angular-devkit/architect"
|
|
19
19
|
]
|
|
20
20
|
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"files": [
|
|
24
|
+
"./package.json",
|
|
25
|
+
"./generators.json",
|
|
26
|
+
"./executors.json",
|
|
27
|
+
"./migrations.json"
|
|
28
|
+
],
|
|
29
|
+
"parser": "jsonc-eslint-parser",
|
|
30
|
+
"rules": {
|
|
31
|
+
"@nrwl/nx/nx-plugin-checks": "error"
|
|
32
|
+
}
|
|
21
33
|
}
|
|
22
34
|
],
|
|
23
35
|
"ignorePatterns": ["!**/*"]
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [14.3.0-beta.1](https://github.com/nrwl/nx/compare/14.2.2...14.3.0-beta.1) (2022-06-10)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @nrwl/react
|
package/migrations.json
CHANGED
|
@@ -430,6 +430,43 @@
|
|
|
430
430
|
"alwaysAddToPackageJson": false
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
+
},
|
|
434
|
+
"14.2.3": {
|
|
435
|
+
"version": "14.2.3-beta.0",
|
|
436
|
+
"packages": {
|
|
437
|
+
"@types/react": {
|
|
438
|
+
"version": "18.0.12",
|
|
439
|
+
"alwaysAddToPackageJson": false
|
|
440
|
+
},
|
|
441
|
+
"@types/react-dom": {
|
|
442
|
+
"version": "18.0.5",
|
|
443
|
+
"alwaysAddToPackageJson": false
|
|
444
|
+
},
|
|
445
|
+
"@types/node": {
|
|
446
|
+
"version": "17.0.41",
|
|
447
|
+
"alwaysAddToPackageJson": false
|
|
448
|
+
},
|
|
449
|
+
"styled-jsx": {
|
|
450
|
+
"version": "5.0.2",
|
|
451
|
+
"alwaysAddToPackageJson": false
|
|
452
|
+
},
|
|
453
|
+
"@testing-library/react": {
|
|
454
|
+
"version": "13.3.0",
|
|
455
|
+
"alwaysAddToPackageJson": false
|
|
456
|
+
},
|
|
457
|
+
"@reduxjs/toolkit": {
|
|
458
|
+
"version": "1.8.2",
|
|
459
|
+
"alwaysAddToPackageJson": false
|
|
460
|
+
},
|
|
461
|
+
"react-redux": {
|
|
462
|
+
"version": "8.0.2",
|
|
463
|
+
"alwaysAddToPackageJson": false
|
|
464
|
+
},
|
|
465
|
+
"eslint-plugin-react": {
|
|
466
|
+
"version": "7.30.0",
|
|
467
|
+
"alwaysAddToPackageJson": false
|
|
468
|
+
}
|
|
469
|
+
}
|
|
433
470
|
}
|
|
434
471
|
}
|
|
435
472
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/react",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.3.0-beta.1",
|
|
4
4
|
"description": "The React plugin 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.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,21 +32,21 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/core": "^7.15.0",
|
|
34
34
|
"@babel/preset-react": "^7.14.5",
|
|
35
|
-
"@nrwl/cypress": "14.
|
|
36
|
-
"@nrwl/devkit": "14.
|
|
37
|
-
"@nrwl/jest": "14.
|
|
38
|
-
"@nrwl/js": "14.
|
|
39
|
-
"@nrwl/linter": "14.
|
|
40
|
-
"@nrwl/storybook": "14.
|
|
41
|
-
"@nrwl/web": "14.
|
|
42
|
-
"@nrwl/workspace": "14.
|
|
35
|
+
"@nrwl/cypress": "14.3.0-beta.1",
|
|
36
|
+
"@nrwl/devkit": "14.3.0-beta.1",
|
|
37
|
+
"@nrwl/jest": "14.3.0-beta.1",
|
|
38
|
+
"@nrwl/js": "14.3.0-beta.1",
|
|
39
|
+
"@nrwl/linter": "14.3.0-beta.1",
|
|
40
|
+
"@nrwl/storybook": "14.3.0-beta.1",
|
|
41
|
+
"@nrwl/web": "14.3.0-beta.1",
|
|
42
|
+
"@nrwl/workspace": "14.3.0-beta.1",
|
|
43
43
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.1",
|
|
44
44
|
"@storybook/node-logger": "6.1.20",
|
|
45
45
|
"@svgr/webpack": "^6.1.2",
|
|
46
46
|
"chalk": "4.1.0",
|
|
47
47
|
"eslint-plugin-import": "^2.25.2",
|
|
48
48
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
49
|
-
"eslint-plugin-react": "7.
|
|
49
|
+
"eslint-plugin-react": "7.30.0",
|
|
50
50
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
51
51
|
"react-refresh": "^0.10.0",
|
|
52
52
|
"semver": "7.3.4",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"webpack": "^5.58.1",
|
|
55
55
|
"webpack-merge": "^5.8.0"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "3b3888a2ecd680b16bcad4f91127cfeba65dca9f"
|
|
58
58
|
}
|
|
@@ -743,9 +743,9 @@ export function NxWelcome({ title }: { title: string }) {
|
|
|
743
743
|
</summary>
|
|
744
744
|
<pre>
|
|
745
745
|
<span># Generate UI lib</span>
|
|
746
|
-
nx g @nrwl/
|
|
746
|
+
nx g @nrwl/react:lib ui
|
|
747
747
|
<span># Add a component</span>
|
|
748
|
-
nx g @nrwl/
|
|
748
|
+
nx g @nrwl/react:component button --project ui
|
|
749
749
|
</pre>
|
|
750
750
|
</details>
|
|
751
751
|
<details>
|
|
@@ -52,10 +52,6 @@
|
|
|
52
52
|
"enum": ["eslint", "tslint"],
|
|
53
53
|
"default": "eslint"
|
|
54
54
|
},
|
|
55
|
-
"projectBuildConfig": {
|
|
56
|
-
"description": "Provide a custom projectBuildConfig for the Angular executor. If left blank, Nx will use the default.",
|
|
57
|
-
"type": "string"
|
|
58
|
-
},
|
|
59
55
|
"standaloneConfig": {
|
|
60
56
|
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
61
57
|
"type": "boolean"
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ export declare const nxVersion: any;
|
|
|
2
2
|
export declare const reactVersion = "18.1.0";
|
|
3
3
|
export declare const reactDomVersion = "18.1.0";
|
|
4
4
|
export declare const reactIsVersion = "18.1.0";
|
|
5
|
-
export declare const typesReactVersion = "18.0.
|
|
6
|
-
export declare const typesReactDomVersion = "18.0.
|
|
5
|
+
export declare const typesReactVersion = "18.0.12";
|
|
6
|
+
export declare const typesReactDomVersion = "18.0.5";
|
|
7
7
|
export declare const typesReactIsVersion = "17.0.3";
|
|
8
8
|
export declare const typesNodeVersion = "16.11.7";
|
|
9
9
|
export declare const styledComponentsVersion = "5.3.5";
|
|
@@ -11,15 +11,15 @@ export declare const typesStyledComponentsVersion = "5.1.25";
|
|
|
11
11
|
export declare const emotionStyledVersion = "11.8.1";
|
|
12
12
|
export declare const emotionReactVersion = "11.9.0";
|
|
13
13
|
export declare const emotionBabelPlugin = "11.9.2";
|
|
14
|
-
export declare const styledJsxVersion = "5.0.
|
|
14
|
+
export declare const styledJsxVersion = "5.0.2";
|
|
15
15
|
export declare const reactRouterDomVersion = "6.3.0";
|
|
16
16
|
export declare const typesReactRouterDomVersion = "5.3.3";
|
|
17
|
-
export declare const testingLibraryReactVersion = "13.
|
|
18
|
-
export declare const reduxjsToolkitVersion = "1.8.
|
|
19
|
-
export declare const reactReduxVersion = "8.0.
|
|
17
|
+
export declare const testingLibraryReactVersion = "13.3.0";
|
|
18
|
+
export declare const reduxjsToolkitVersion = "1.8.2";
|
|
19
|
+
export declare const reactReduxVersion = "8.0.2";
|
|
20
20
|
export declare const reactTestRendererVersion = "18.1.0";
|
|
21
21
|
export declare const eslintPluginImportVersion = "2.26.0";
|
|
22
22
|
export declare const eslintPluginJsxA11yVersion = "6.5.1";
|
|
23
|
-
export declare const eslintPluginReactVersion = "7.
|
|
23
|
+
export declare const eslintPluginReactVersion = "7.30.0";
|
|
24
24
|
export declare const eslintPluginReactHooksVersion = "4.5.0";
|
|
25
25
|
export declare const babelPluginStyledComponentsVersion = "1.10.7";
|
package/src/utils/versions.js
CHANGED
|
@@ -5,8 +5,8 @@ exports.nxVersion = require('../../package.json').version;
|
|
|
5
5
|
exports.reactVersion = '18.1.0';
|
|
6
6
|
exports.reactDomVersion = '18.1.0';
|
|
7
7
|
exports.reactIsVersion = '18.1.0';
|
|
8
|
-
exports.typesReactVersion = '18.0.
|
|
9
|
-
exports.typesReactDomVersion = '18.0.
|
|
8
|
+
exports.typesReactVersion = '18.0.12';
|
|
9
|
+
exports.typesReactDomVersion = '18.0.5';
|
|
10
10
|
exports.typesReactIsVersion = '17.0.3';
|
|
11
11
|
exports.typesNodeVersion = '16.11.7';
|
|
12
12
|
exports.styledComponentsVersion = '5.3.5';
|
|
@@ -15,16 +15,16 @@ exports.emotionStyledVersion = '11.8.1';
|
|
|
15
15
|
exports.emotionReactVersion = '11.9.0';
|
|
16
16
|
exports.emotionBabelPlugin = '11.9.2';
|
|
17
17
|
// WARNING: This needs to be in sync with Next.js' dependency or else there might be issues.
|
|
18
|
-
exports.styledJsxVersion = '5.0.
|
|
18
|
+
exports.styledJsxVersion = '5.0.2';
|
|
19
19
|
exports.reactRouterDomVersion = '6.3.0';
|
|
20
20
|
exports.typesReactRouterDomVersion = '5.3.3';
|
|
21
|
-
exports.testingLibraryReactVersion = '13.
|
|
22
|
-
exports.reduxjsToolkitVersion = '1.8.
|
|
23
|
-
exports.reactReduxVersion = '8.0.
|
|
21
|
+
exports.testingLibraryReactVersion = '13.3.0';
|
|
22
|
+
exports.reduxjsToolkitVersion = '1.8.2';
|
|
23
|
+
exports.reactReduxVersion = '8.0.2';
|
|
24
24
|
exports.reactTestRendererVersion = '18.1.0';
|
|
25
25
|
exports.eslintPluginImportVersion = '2.26.0';
|
|
26
26
|
exports.eslintPluginJsxA11yVersion = '6.5.1';
|
|
27
|
-
exports.eslintPluginReactVersion = '7.
|
|
27
|
+
exports.eslintPluginReactVersion = '7.30.0';
|
|
28
28
|
exports.eslintPluginReactHooksVersion = '4.5.0';
|
|
29
29
|
exports.babelPluginStyledComponentsVersion = '1.10.7';
|
|
30
30
|
//# sourceMappingURL=versions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/react/src/utils/versions.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC;AAElD,QAAA,YAAY,GAAG,QAAQ,CAAC;AACxB,QAAA,eAAe,GAAG,QAAQ,CAAC;AAC3B,QAAA,cAAc,GAAG,QAAQ,CAAC;AAC1B,QAAA,iBAAiB,GAAG,
|
|
1
|
+
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/react/src/utils/versions.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC;AAElD,QAAA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