@nrwl/react 15.9.0-rc.1 → 15.9.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/react",
|
|
3
|
-
"version": "15.9.0
|
|
3
|
+
"version": "15.9.0",
|
|
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,17 +31,19 @@
|
|
|
31
31
|
"migrations": "./migrations.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@nrwl/devkit": "15.9.0
|
|
35
|
-
"@nrwl/js": "15.9.0
|
|
36
|
-
"@nrwl/linter": "15.9.0
|
|
37
|
-
"@nrwl/workspace": "15.9.0
|
|
34
|
+
"@nrwl/devkit": "15.9.0",
|
|
35
|
+
"@nrwl/js": "15.9.0",
|
|
36
|
+
"@nrwl/linter": "15.9.0",
|
|
37
|
+
"@nrwl/workspace": "15.9.0",
|
|
38
38
|
"@phenomnomnominal/tsquery": "4.1.1",
|
|
39
|
+
"@svgr/webpack": "^6.1.2",
|
|
39
40
|
"chalk": "^4.1.0",
|
|
41
|
+
"file-loader": "^6.2.0",
|
|
40
42
|
"minimatch": "3.0.5"
|
|
41
43
|
},
|
|
42
44
|
"publishConfig": {
|
|
43
45
|
"access": "public"
|
|
44
46
|
},
|
|
45
47
|
"types": "./index.d.ts",
|
|
46
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "d24d8504944d294edd7ec26da219d4a724883f58"
|
|
47
49
|
}
|
|
@@ -688,17 +688,20 @@ export function NxWelcome({ title }: { title: string }) {
|
|
|
688
688
|
<div id="nx-cloud" className="rounded shadow">
|
|
689
689
|
<div>
|
|
690
690
|
<svg
|
|
691
|
-
|
|
692
|
-
|
|
691
|
+
id="nx-cloud-logo"
|
|
692
|
+
role="img"
|
|
693
693
|
xmlns="http://www.w3.org/2000/svg"
|
|
694
|
+
stroke="currentColor"
|
|
695
|
+
fill="transparent"
|
|
696
|
+
viewBox="0 0 24 24"
|
|
694
697
|
>
|
|
695
698
|
<path
|
|
696
|
-
|
|
697
|
-
|
|
699
|
+
strokeWidth="2"
|
|
700
|
+
d="M23 3.75V6.5c-3.036 0-5.5 2.464-5.5 5.5s-2.464 5.5-5.5 5.5-5.5 2.464-5.5 5.5H3.75C2.232 23 1 21.768 1 20.25V3.75C1 2.232 2.232 1 3.75 1h16.5C21.768 1 23 2.232 23 3.75Z"
|
|
698
701
|
/>
|
|
699
702
|
<path
|
|
700
|
-
|
|
701
|
-
|
|
703
|
+
strokeWidth="2"
|
|
704
|
+
d="M23 6v14.1667C23 21.7307 21.7307 23 20.1667 23H6c0-3.128 2.53867-5.6667 5.6667-5.6667 3.128 0 5.6666-2.5386 5.6666-5.6666C17.3333 8.53867 19.872 6 23 6Z"
|
|
702
705
|
/>
|
|
703
706
|
</svg>
|
|
704
707
|
<h2>
|
|
@@ -20,6 +20,7 @@ function addLinting(host, options) {
|
|
|
20
20
|
eslintFilePatterns: [`${options.projectRoot}/**/*.{ts,tsx,js,jsx}`],
|
|
21
21
|
skipFormat: true,
|
|
22
22
|
skipPackageJson: options.skipPackageJson,
|
|
23
|
+
setParserOptionsProject: options.setParserOptionsProject,
|
|
23
24
|
});
|
|
24
25
|
(0, json_1.updateJson)(host, (0, path_1.joinPathFragments)(options.projectRoot, '.eslintrc.json'), lint_1.extendReactEslintJson);
|
|
25
26
|
let installTask = () => { };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-linting.js","sourceRoot":"","sources":["../../../../../../../packages/react/src/generators/library/lib/add-linting.ts"],"names":[],"mappings":";;;;AACA,yCAA4D;AAC5D,4CAAsD;AACtD,uDAA0D;AAC1D,yCAA8E;AAG9E,8CAG6B;AAE7B,SAAsB,UAAU,CAAC,IAAU,EAAE,OAAyB;;QACpE,IAAI,OAAO,CAAC,MAAM,KAAK,eAAM,CAAC,MAAM,EAAE;YACpC,MAAM,QAAQ,GAAG,MAAM,IAAA,6BAAoB,EAAC,IAAI,EAAE;gBAChD,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,OAAO,EAAE,OAAO,CAAC,IAAI;gBACrB,aAAa,EAAE;oBACb,IAAA,wBAAiB,EAAC,OAAO,CAAC,WAAW,EAAE,mBAAmB,CAAC;iBAC5D;gBACD,cAAc,EAAE,OAAO,CAAC,cAAc;gBACtC,kBAAkB,EAAE,CAAC,GAAG,OAAO,CAAC,WAAW,uBAAuB,CAAC;gBACnE,UAAU,EAAE,IAAI;gBAChB,eAAe,EAAE,OAAO,CAAC,eAAe;
|
|
1
|
+
{"version":3,"file":"add-linting.js","sourceRoot":"","sources":["../../../../../../../packages/react/src/generators/library/lib/add-linting.ts"],"names":[],"mappings":";;;;AACA,yCAA4D;AAC5D,4CAAsD;AACtD,uDAA0D;AAC1D,yCAA8E;AAG9E,8CAG6B;AAE7B,SAAsB,UAAU,CAAC,IAAU,EAAE,OAAyB;;QACpE,IAAI,OAAO,CAAC,MAAM,KAAK,eAAM,CAAC,MAAM,EAAE;YACpC,MAAM,QAAQ,GAAG,MAAM,IAAA,6BAAoB,EAAC,IAAI,EAAE;gBAChD,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,OAAO,EAAE,OAAO,CAAC,IAAI;gBACrB,aAAa,EAAE;oBACb,IAAA,wBAAiB,EAAC,OAAO,CAAC,WAAW,EAAE,mBAAmB,CAAC;iBAC5D;gBACD,cAAc,EAAE,OAAO,CAAC,cAAc;gBACtC,kBAAkB,EAAE,CAAC,GAAG,OAAO,CAAC,WAAW,uBAAuB,CAAC;gBACnE,UAAU,EAAE,IAAI;gBAChB,eAAe,EAAE,OAAO,CAAC,eAAe;gBACxC,uBAAuB,EAAE,OAAO,CAAC,uBAAuB;aACzD,CAAC,CAAC;YAEH,IAAA,iBAAU,EACR,IAAI,EACJ,IAAA,wBAAiB,EAAC,OAAO,CAAC,WAAW,EAAE,gBAAgB,CAAC,EACxD,4BAAqB,CACtB,CAAC;YAEF,IAAI,WAAW,GAAG,GAAG,EAAE,GAAE,CAAC,CAAC;YAC3B,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE;gBAC5B,WAAW,GAAG,MAAM,IAAA,qCAA4B,EAC9C,IAAI,EACJ,8BAAuB,CAAC,YAAY,EACpC,8BAAuB,CAAC,eAAe,CACxC,CAAC;aACH;YAED,OAAO,IAAA,yBAAgB,EAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;SAChD;aAAM;YACL,OAAO,GAAG,EAAE,GAAE,CAAC,CAAC;SACjB;IACH,CAAC;CAAA;AAlCD,gCAkCC"}
|