@nrwl/react 14.7.9 → 14.7.11
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/CHANGELOG.md +1 -1
- package/babel.d.ts +1 -9
- package/babel.js +3 -6
- package/babel.js.map +1 -1
- package/migrations.json +30 -14
- package/package.json +11 -11
- package/src/utils/versions.d.ts +7 -7
- package/src/utils/versions.js +7 -7
- package/src/utils/versions.js.map +1 -1
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
|
-
## [14.7.
|
|
6
|
+
## [14.7.11](https://github.com/nrwl/nx/compare/14.7.10...14.7.11) (2022-09-22)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @nrwl/react
|
package/babel.d.ts
CHANGED
|
@@ -1,9 +1 @@
|
|
|
1
|
-
|
|
2
|
-
runtime?: string;
|
|
3
|
-
importSource?: string;
|
|
4
|
-
useBuiltIns?: boolean | string;
|
|
5
|
-
}
|
|
6
|
-
declare function getReactPresetOptions({ presetOptions, env }: {
|
|
7
|
-
presetOptions: any;
|
|
8
|
-
env: any;
|
|
9
|
-
}): Record<string, string | boolean>;
|
|
1
|
+
export {};
|
package/babel.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
3
|
module.exports = function (api, options) {
|
|
5
4
|
api.assertVersion(7);
|
|
6
5
|
const env = api.env();
|
|
@@ -8,9 +7,7 @@ module.exports = function (api, options) {
|
|
|
8
7
|
* pagesDir is set when being transpiled by Next.js
|
|
9
8
|
*/
|
|
10
9
|
const isNextJs = api.caller((caller) => caller === null || caller === void 0 ? void 0 : caller.pagesDir);
|
|
11
|
-
const presets = [
|
|
12
|
-
['@nrwl/web/babel', { useBuiltIns: options.useBuiltIns }],
|
|
13
|
-
];
|
|
10
|
+
const presets = [['@nrwl/web/babel', options]];
|
|
14
11
|
/**
|
|
15
12
|
* Next.js already includes the preset-react, and including it
|
|
16
13
|
* the second time here results in having two instances of this preset.
|
package/babel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"babel.js","sourceRoot":"","sources":["../../../packages/react/babel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"babel.js","sourceRoot":"","sources":["../../../packages/react/babel.ts"],"names":[],"mappings":";;AAWA,MAAM,CAAC,OAAO,GAAG,UAAU,GAAQ,EAAE,OAA4B;IAC/D,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IACrB,MAAM,GAAG,GAAG,GAAG,CAAC,GAAG,EAAE,CAAC;IACtB;;OAEG;IACH,MAAM,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,CAAC,CAAC;IAE1D,MAAM,OAAO,GAAU,CAAC,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC,CAAC;IAEtD;;;;;;;;;;OAUG;IACH,IAAI,CAAC,QAAQ,EAAE;QACb,OAAO,CAAC,IAAI,CAAC;YACX,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC;YACtC,qBAAqB,CAAC;gBACpB,aAAa,EAAE,OAAO;gBACtB,GAAG;aACJ,CAAC;SACH,CAAC,CAAC;KACJ;IAED,OAAO;QACL,OAAO;KACR,CAAC;AACJ,CAAC,CAAC;AAEF,SAAS,qBAAqB,CAAC,EAAE,aAAa,EAAE,GAAG,EAAE;;IACnD,MAAM,kBAAkB,GAAqC;QAC3D,OAAO,EAAE,MAAA,aAAa,CAAC,OAAO,mCAAI,WAAW;QAC7C,WAAW,EAAE,GAAG,KAAK,YAAY;KAClC,CAAC;IAEF,sFAAsF;IACtF,4CAA4C;IAC5C,IAAI,kBAAkB,CAAC,OAAO,KAAK,WAAW,EAAE;QAC9C,kBAAkB,CAAC,WAAW,GAAG,IAAI,CAAC;KACvC;IAED,IAAI,aAAa,CAAC,YAAY,EAAE;QAC9B,kBAAkB,CAAC,YAAY,GAAG,aAAa,CAAC,YAAY,CAAC;KAC9D;IAED,OAAO,kBAAkB,CAAC;AAC5B,CAAC"}
|
package/migrations.json
CHANGED
|
@@ -645,41 +645,57 @@
|
|
|
645
645
|
"14.6.0": {
|
|
646
646
|
"version": "14.6.0-beta.0",
|
|
647
647
|
"packages": {
|
|
648
|
+
"@types/react": {
|
|
649
|
+
"version": "18.0.18",
|
|
650
|
+
"alwaysAddToPackageJson": false
|
|
651
|
+
},
|
|
648
652
|
"@types/node": {
|
|
649
|
-
"version": "18.7.
|
|
653
|
+
"version": "18.7.14",
|
|
650
654
|
"alwaysAddToPackageJson": false
|
|
651
655
|
},
|
|
652
|
-
"@emotion/
|
|
653
|
-
"version": "11.10.
|
|
656
|
+
"@emotion/styled": {
|
|
657
|
+
"version": "11.10.4",
|
|
654
658
|
"alwaysAddToPackageJson": false
|
|
655
659
|
},
|
|
656
|
-
"@
|
|
657
|
-
"version": "
|
|
660
|
+
"@emotion/react": {
|
|
661
|
+
"version": "11.10.4",
|
|
662
|
+
"alwaysAddToPackageJson": false
|
|
663
|
+
},
|
|
664
|
+
"eslint-plugin-react": {
|
|
665
|
+
"version": "7.31.1",
|
|
658
666
|
"alwaysAddToPackageJson": false
|
|
659
667
|
}
|
|
660
668
|
}
|
|
661
669
|
},
|
|
662
|
-
"14.
|
|
663
|
-
"version": "14.
|
|
670
|
+
"14.7.10": {
|
|
671
|
+
"version": "14.7.10-beta.1",
|
|
664
672
|
"packages": {
|
|
665
673
|
"@types/react": {
|
|
666
|
-
"version": "18.0.
|
|
674
|
+
"version": "18.0.20",
|
|
667
675
|
"alwaysAddToPackageJson": false
|
|
668
676
|
},
|
|
669
677
|
"@types/node": {
|
|
670
|
-
"version": "18.7.
|
|
678
|
+
"version": "18.7.18",
|
|
671
679
|
"alwaysAddToPackageJson": false
|
|
672
680
|
},
|
|
673
|
-
"
|
|
674
|
-
"version": "
|
|
681
|
+
"styled-jsx": {
|
|
682
|
+
"version": "5.0.7",
|
|
675
683
|
"alwaysAddToPackageJson": false
|
|
676
684
|
},
|
|
677
|
-
"
|
|
678
|
-
"version": "
|
|
685
|
+
"react-router-dom": {
|
|
686
|
+
"version": "6.4.1",
|
|
687
|
+
"alwaysAddToPackageJson": false
|
|
688
|
+
},
|
|
689
|
+
"@testing-library/react": {
|
|
690
|
+
"version": "13.4.0",
|
|
679
691
|
"alwaysAddToPackageJson": false
|
|
680
692
|
},
|
|
681
693
|
"eslint-plugin-react": {
|
|
682
|
-
"version": "7.31.
|
|
694
|
+
"version": "7.31.8",
|
|
695
|
+
"alwaysAddToPackageJson": false
|
|
696
|
+
},
|
|
697
|
+
"autoprefixer": {
|
|
698
|
+
"version": "10.4.12",
|
|
683
699
|
"alwaysAddToPackageJson": false
|
|
684
700
|
}
|
|
685
701
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/react",
|
|
3
|
-
"version": "14.7.
|
|
3
|
+
"version": "14.7.11",
|
|
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": {
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/core": "^7.15.0",
|
|
35
35
|
"@babel/preset-react": "^7.14.5",
|
|
36
|
-
"@nrwl/cypress": "14.7.
|
|
37
|
-
"@nrwl/devkit": "14.7.
|
|
38
|
-
"@nrwl/jest": "14.7.
|
|
39
|
-
"@nrwl/js": "14.7.
|
|
40
|
-
"@nrwl/linter": "14.7.
|
|
41
|
-
"@nrwl/storybook": "14.7.
|
|
42
|
-
"@nrwl/web": "14.7.
|
|
43
|
-
"@nrwl/webpack": "14.7.
|
|
44
|
-
"@nrwl/workspace": "14.7.
|
|
36
|
+
"@nrwl/cypress": "14.7.11",
|
|
37
|
+
"@nrwl/devkit": "14.7.11",
|
|
38
|
+
"@nrwl/jest": "14.7.11",
|
|
39
|
+
"@nrwl/js": "14.7.11",
|
|
40
|
+
"@nrwl/linter": "14.7.11",
|
|
41
|
+
"@nrwl/storybook": "14.7.11",
|
|
42
|
+
"@nrwl/web": "14.7.11",
|
|
43
|
+
"@nrwl/webpack": "14.7.11",
|
|
44
|
+
"@nrwl/workspace": "14.7.11",
|
|
45
45
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
|
|
46
46
|
"@svgr/webpack": "^6.1.2",
|
|
47
47
|
"chalk": "4.1.0",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "e0e58349af1231eb73f3be38220128a0f8aba3b1"
|
|
61
61
|
}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -2,28 +2,28 @@ export declare const nxVersion: any;
|
|
|
2
2
|
export declare const reactVersion = "18.2.0";
|
|
3
3
|
export declare const reactDomVersion = "18.2.0";
|
|
4
4
|
export declare const reactIsVersion = "18.2.0";
|
|
5
|
-
export declare const typesReactVersion = "18.0.
|
|
5
|
+
export declare const typesReactVersion = "18.0.20";
|
|
6
6
|
export declare const typesReactDomVersion = "18.0.6";
|
|
7
7
|
export declare const typesReactIsVersion = "17.0.3";
|
|
8
|
-
export declare const typesNodeVersion = "18.7.
|
|
8
|
+
export declare const typesNodeVersion = "18.7.18";
|
|
9
9
|
export declare const styledComponentsVersion = "5.3.5";
|
|
10
10
|
export declare const typesStyledComponentsVersion = "5.1.26";
|
|
11
11
|
export declare const emotionStyledVersion = "11.10.4";
|
|
12
12
|
export declare const emotionReactVersion = "11.10.4";
|
|
13
13
|
export declare const emotionBabelPlugin = "11.10.2";
|
|
14
|
-
export declare const styledJsxVersion = "5.0.
|
|
15
|
-
export declare const reactRouterDomVersion = "6.
|
|
14
|
+
export declare const styledJsxVersion = "5.0.7";
|
|
15
|
+
export declare const reactRouterDomVersion = "6.4.1";
|
|
16
16
|
export declare const typesReactRouterDomVersion = "5.3.3";
|
|
17
|
-
export declare const testingLibraryReactVersion = "13.
|
|
17
|
+
export declare const testingLibraryReactVersion = "13.4.0";
|
|
18
18
|
export declare const reduxjsToolkitVersion = "1.8.5";
|
|
19
19
|
export declare const reactReduxVersion = "8.0.2";
|
|
20
20
|
export declare const reactTestRendererVersion = "18.2.0";
|
|
21
21
|
export declare const eslintPluginImportVersion = "2.26.0";
|
|
22
22
|
export declare const eslintPluginJsxA11yVersion = "6.6.1";
|
|
23
|
-
export declare const eslintPluginReactVersion = "7.31.
|
|
23
|
+
export declare const eslintPluginReactVersion = "7.31.8";
|
|
24
24
|
export declare const eslintPluginReactHooksVersion = "4.6.0";
|
|
25
25
|
export declare const babelPluginStyledComponentsVersion = "1.10.7";
|
|
26
26
|
export declare const tsLibVersion = "^2.3.0";
|
|
27
27
|
export declare const postcssVersion = "8.4.16";
|
|
28
28
|
export declare const tailwindcssVersion = "3.1.8";
|
|
29
|
-
export declare const autoprefixerVersion = "10.4.
|
|
29
|
+
export declare const autoprefixerVersion = "10.4.12";
|
package/src/utils/versions.js
CHANGED
|
@@ -5,30 +5,30 @@ exports.nxVersion = require('../../package.json').version;
|
|
|
5
5
|
exports.reactVersion = '18.2.0';
|
|
6
6
|
exports.reactDomVersion = '18.2.0';
|
|
7
7
|
exports.reactIsVersion = '18.2.0';
|
|
8
|
-
exports.typesReactVersion = '18.0.
|
|
8
|
+
exports.typesReactVersion = '18.0.20';
|
|
9
9
|
exports.typesReactDomVersion = '18.0.6';
|
|
10
10
|
exports.typesReactIsVersion = '17.0.3';
|
|
11
|
-
exports.typesNodeVersion = '18.7.
|
|
11
|
+
exports.typesNodeVersion = '18.7.18';
|
|
12
12
|
exports.styledComponentsVersion = '5.3.5';
|
|
13
13
|
exports.typesStyledComponentsVersion = '5.1.26';
|
|
14
14
|
exports.emotionStyledVersion = '11.10.4';
|
|
15
15
|
exports.emotionReactVersion = '11.10.4';
|
|
16
16
|
exports.emotionBabelPlugin = '11.10.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.
|
|
19
|
-
exports.reactRouterDomVersion = '6.
|
|
18
|
+
exports.styledJsxVersion = '5.0.7';
|
|
19
|
+
exports.reactRouterDomVersion = '6.4.1';
|
|
20
20
|
exports.typesReactRouterDomVersion = '5.3.3';
|
|
21
|
-
exports.testingLibraryReactVersion = '13.
|
|
21
|
+
exports.testingLibraryReactVersion = '13.4.0';
|
|
22
22
|
exports.reduxjsToolkitVersion = '1.8.5';
|
|
23
23
|
exports.reactReduxVersion = '8.0.2';
|
|
24
24
|
exports.reactTestRendererVersion = '18.2.0';
|
|
25
25
|
exports.eslintPluginImportVersion = '2.26.0';
|
|
26
26
|
exports.eslintPluginJsxA11yVersion = '6.6.1';
|
|
27
|
-
exports.eslintPluginReactVersion = '7.31.
|
|
27
|
+
exports.eslintPluginReactVersion = '7.31.8';
|
|
28
28
|
exports.eslintPluginReactHooksVersion = '4.6.0';
|
|
29
29
|
exports.babelPluginStyledComponentsVersion = '1.10.7';
|
|
30
30
|
exports.tsLibVersion = '^2.3.0';
|
|
31
31
|
exports.postcssVersion = '8.4.16';
|
|
32
32
|
exports.tailwindcssVersion = '3.1.8';
|
|
33
|
-
exports.autoprefixerVersion = '10.4.
|
|
33
|
+
exports.autoprefixerVersion = '10.4.12';
|
|
34
34
|
//# sourceMappingURL=versions.js.map
|
|
@@ -1 +1 @@
|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