@nrwl/react 13.6.0-beta.1 → 13.7.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/migrations.json +9 -0
- package/package.json +10 -10
- package/plugins/webpack.js +2 -2
- package/plugins/webpack.js.map +1 -1
- package/src/utils/versions.d.ts +1 -1
- package/src/utils/versions.js +2 -2
package/migrations.json
CHANGED
|
@@ -597,6 +597,15 @@
|
|
|
597
597
|
"alwaysAddToPackageJson": false
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
+
},
|
|
601
|
+
"13.7.0": {
|
|
602
|
+
"version": "13.7.0-beta.9",
|
|
603
|
+
"packages": {
|
|
604
|
+
"eslint-plugin-react-hooks": {
|
|
605
|
+
"version": "4.3.0",
|
|
606
|
+
"alwaysAddToPackageJson": false
|
|
607
|
+
}
|
|
608
|
+
}
|
|
600
609
|
}
|
|
601
610
|
}
|
|
602
611
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/react",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.7.1",
|
|
4
4
|
"description": "React Plugin for Nx",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@babel/core": "^7.15.0",
|
|
33
33
|
"@babel/preset-react": "^7.14.5",
|
|
34
|
-
"@nrwl/cypress": "13.
|
|
35
|
-
"@nrwl/devkit": "13.
|
|
36
|
-
"@nrwl/jest": "13.
|
|
37
|
-
"@nrwl/js": "13.
|
|
38
|
-
"@nrwl/linter": "13.
|
|
39
|
-
"@nrwl/storybook": "13.
|
|
40
|
-
"@nrwl/web": "13.
|
|
41
|
-
"@nrwl/workspace": "13.
|
|
34
|
+
"@nrwl/cypress": "13.7.1",
|
|
35
|
+
"@nrwl/devkit": "13.7.1",
|
|
36
|
+
"@nrwl/jest": "13.7.1",
|
|
37
|
+
"@nrwl/js": "13.7.1",
|
|
38
|
+
"@nrwl/linter": "13.7.1",
|
|
39
|
+
"@nrwl/storybook": "13.7.1",
|
|
40
|
+
"@nrwl/web": "13.7.1",
|
|
41
|
+
"@nrwl/workspace": "13.7.1",
|
|
42
42
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.1",
|
|
43
43
|
"@svgr/webpack": "^6.1.2",
|
|
44
44
|
"chalk": "4.1.0",
|
|
45
45
|
"eslint-plugin-import": "^2.25.2",
|
|
46
46
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
47
47
|
"eslint-plugin-react": "^7.27.0",
|
|
48
|
-
"eslint-plugin-react-hooks": "^4.
|
|
48
|
+
"eslint-plugin-react-hooks": "^4.3.0",
|
|
49
49
|
"react-refresh": "^0.10.0",
|
|
50
50
|
"url-loader": "^4.1.1",
|
|
51
51
|
"webpack": "^5.58.1",
|
package/plugins/webpack.js
CHANGED
|
@@ -14,9 +14,9 @@ function getWebpackConfig(config) {
|
|
|
14
14
|
}, {
|
|
15
15
|
test: /\.svg$/,
|
|
16
16
|
oneOf: [
|
|
17
|
-
// If coming from JS/TS file, then transform into React component using SVGR.
|
|
17
|
+
// If coming from JS/TS or MDX file, then transform into React component using SVGR.
|
|
18
18
|
{
|
|
19
|
-
issuer: /\.
|
|
19
|
+
issuer: /\.(js|ts|md)x?$/,
|
|
20
20
|
use: [
|
|
21
21
|
{
|
|
22
22
|
loader: require.resolve('@svgr/webpack'),
|
package/plugins/webpack.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webpack.js","sourceRoot":"","sources":["../../../../packages/react/plugins/webpack.ts"],"names":[],"mappings":";;AACA,2EAA4E;AAE5E,mCAAmC;AACnC,SAAS,gBAAgB,CAAC,MAAqB;;IAC7C,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CACtB;QACE,IAAI,EAAE,yBAAyB;QAC/B,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC;QACrC,OAAO,EAAE;YACP,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,uBAAuB;SAC9B;KACF,EACD;QACE,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE;YACL,
|
|
1
|
+
{"version":3,"file":"webpack.js","sourceRoot":"","sources":["../../../../packages/react/plugins/webpack.ts"],"names":[],"mappings":";;AACA,2EAA4E;AAE5E,mCAAmC;AACnC,SAAS,gBAAgB,CAAC,MAAqB;;IAC7C,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CACtB;QACE,IAAI,EAAE,yBAAyB;QAC/B,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC;QACrC,OAAO,EAAE;YACP,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,uBAAuB;SAC9B;KACF,EACD;QACE,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE;YACL,oFAAoF;YACpF;gBACE,MAAM,EAAE,iBAAiB;gBACzB,GAAG,EAAE;oBACH;wBACE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC;wBACxC,OAAO,EAAE;4BACP,IAAI,EAAE,KAAK;4BACX,SAAS,EAAE,IAAI;4BACf,GAAG,EAAE,IAAI;yBACV;qBACF;oBACD;wBACE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC;wBACrC,OAAO,EAAE;4BACP,KAAK,EAAE,KAAK;4BACZ,IAAI,EAAE,uBAAuB;4BAC7B,QAAQ,EAAE,KAAK;yBAChB;qBACF;iBACF;aACF;YACD,gCAAgC;YAChC;gBACE,GAAG,EAAE;oBACH;wBACE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC;wBACrC,OAAO,EAAE;4BACP,KAAK,EAAE,KAAK;4BACZ,IAAI,EAAE,uBAAuB;yBAC9B;qBACF;iBACF;aACF;SACF;KACF,CACF,CAAC;IAEF,IAAI,MAAM,CAAC,IAAI,KAAK,aAAa,KAAI,MAAA,MAAM,CAAC,WAAW,CAAC,0CAAE,GAAG,CAAA,EAAE;QAC7D,mDAAmD;QACnD,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAC1C,CAAC,IAAI,EAAE,EAAE;;YACP,OAAA,OAAO,IAAI,KAAK,QAAQ;iBACxB,MAAA,IAAI,CAAC,MAAM,0CAAE,QAAQ,GAAG,QAAQ,CAAC,cAAc,CAAC,CAAA,CAAA;SAAA,CACnD,CAAC;QACF,IAAI,WAAW,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE;YAClD,WAAW,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG;gBAC/B,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;gBACzC;oBACE,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC;oBACtC;wBACE,YAAY,EAAE,IAAI;qBACnB;iBACF;aACF,CAAC;SACH;QACD,+EAA+E;QAC/E,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,kBAAkB,EAAE,CAAC,CAAC;KAC/C;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,CAAC,OAAO,GAAG,gBAAgB,CAAC"}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -21,5 +21,5 @@ export declare const reactTestRendererVersion = "17.0.2";
|
|
|
21
21
|
export declare const eslintPluginImportVersion = "2.25.2";
|
|
22
22
|
export declare const eslintPluginJsxA11yVersion = "6.5.1";
|
|
23
23
|
export declare const eslintPluginReactVersion = "7.27.0";
|
|
24
|
-
export declare const eslintPluginReactHooksVersion = "4.
|
|
24
|
+
export declare const eslintPluginReactHooksVersion = "4.3.0";
|
|
25
25
|
export declare const babelPluginStyledComponentsVersion = "1.10.7";
|
package/src/utils/versions.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.babelPluginStyledComponentsVersion = exports.eslintPluginReactHooksVersion = exports.eslintPluginReactVersion = exports.eslintPluginJsxA11yVersion = exports.eslintPluginImportVersion = exports.reactTestRendererVersion = exports.reactReduxVersion = exports.reduxjsToolkitVersion = exports.testingLibraryReactHooksVersion = exports.testingLibraryReactVersion = exports.typesReactRouterDomVersion = exports.reactRouterDomVersion = exports.styledJsxVersion = exports.emotionBabelPlugin = exports.emotionReactVersion = exports.emotionStyledVersion = exports.typesStyledComponentsVersion = exports.styledComponentsVersion = exports.typesReactIsVersion = exports.typesReactDomVersion = exports.typesReactVersion = exports.reactIsVersion = exports.reactDomVersion = exports.reactVersion = exports.nxVersion = void 0;
|
|
4
|
-
exports.nxVersion = '13.
|
|
4
|
+
exports.nxVersion = '13.7.1';
|
|
5
5
|
exports.reactVersion = '17.0.2';
|
|
6
6
|
exports.reactDomVersion = '17.0.2';
|
|
7
7
|
exports.reactIsVersion = '17.0.2';
|
|
@@ -24,6 +24,6 @@ exports.reactTestRendererVersion = '17.0.2';
|
|
|
24
24
|
exports.eslintPluginImportVersion = '2.25.2';
|
|
25
25
|
exports.eslintPluginJsxA11yVersion = '6.5.1';
|
|
26
26
|
exports.eslintPluginReactVersion = '7.27.0';
|
|
27
|
-
exports.eslintPluginReactHooksVersion = '4.
|
|
27
|
+
exports.eslintPluginReactHooksVersion = '4.3.0';
|
|
28
28
|
exports.babelPluginStyledComponentsVersion = '1.10.7';
|
|
29
29
|
//# sourceMappingURL=versions.js.map
|