@nrwl/react 15.9.2 → 15.9.4
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.
|
|
3
|
+
"version": "15.9.4",
|
|
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,10 +31,10 @@
|
|
|
31
31
|
"migrations": "./migrations.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@nrwl/devkit": "15.9.
|
|
35
|
-
"@nrwl/js": "15.9.
|
|
36
|
-
"@nrwl/linter": "15.9.
|
|
37
|
-
"@nrwl/workspace": "15.9.
|
|
34
|
+
"@nrwl/devkit": "15.9.4",
|
|
35
|
+
"@nrwl/js": "15.9.4",
|
|
36
|
+
"@nrwl/linter": "15.9.4",
|
|
37
|
+
"@nrwl/workspace": "15.9.4",
|
|
38
38
|
"@phenomnomnominal/tsquery": "4.1.1",
|
|
39
39
|
"@svgr/webpack": "^6.1.2",
|
|
40
40
|
"chalk": "^4.1.0",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"types": "./index.d.ts",
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "06c3e5c9e15882b67d255fe6cf22da747f93747f"
|
|
49
49
|
}
|
|
@@ -19,8 +19,8 @@ function getModuleFederationConfig(mfConfig, determineRemoteUrl, options = { isS
|
|
|
19
19
|
}
|
|
20
20
|
const dependencies = (0, devkit_1.getDependentPackagesForProject)(projectGraph, mfConfig.name);
|
|
21
21
|
if (mfConfig.shared) {
|
|
22
|
-
dependencies.workspaceLibraries = dependencies.workspaceLibraries.filter((lib) => mfConfig.shared(lib.importKey, {}));
|
|
23
|
-
dependencies.npmPackages = dependencies.npmPackages.filter((pkg) => mfConfig.shared(pkg, {}));
|
|
22
|
+
dependencies.workspaceLibraries = dependencies.workspaceLibraries.filter((lib) => mfConfig.shared(lib.importKey, {}) !== false);
|
|
23
|
+
dependencies.npmPackages = dependencies.npmPackages.filter((pkg) => mfConfig.shared(pkg, {}) !== false);
|
|
24
24
|
}
|
|
25
25
|
const sharedLibraries = (0, devkit_1.shareWorkspaceLibraries)(dependencies.workspaceLibraries);
|
|
26
26
|
const npmPackages = (0, devkit_1.sharePackages)(dependencies.npmPackages);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../packages/react/src/module-federation/utils.ts"],"names":[],"mappings":";;;;AAAA,yCAasB;AAEtB,SAAsB,yBAAyB,CAC7C,QAAgC,EAChC,kBAA8C,EAC9C,UAAiC,EAAE,QAAQ,EAAE,KAAK,EAAE;;;QAEpD,IAAI,YAA0B,CAAC;QAC/B,IAAI;YACF,YAAY,GAAG,IAAA,+BAAsB,GAAE,CAAC;SACzC;QAAC,OAAO,CAAC,EAAE;YACV,YAAY,GAAG,MAAM,IAAA,gCAAuB,GAAE,CAAC;SAChD;QAED,MAAM,OAAO,GAAG,MAAA,YAAY,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,0CAAE,IAAI,CAAC;QAExD,IAAI,CAAC,OAAO,EAAE;YACZ,MAAM,KAAK,CACT,wBAAwB,QAAQ,CAAC,IAAI,kEAAkE,CACxG,CAAC;SACH;QAED,MAAM,YAAY,GAAG,IAAA,uCAA8B,EACjD,YAAY,EACZ,QAAQ,CAAC,IAAI,CACd,CAAC;QAEF,IAAI,QAAQ,CAAC,MAAM,EAAE;YACnB,YAAY,CAAC,kBAAkB,GA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EAC7C,YAAY,CAAC,kBAAkB,CAChC,CAAC;QAEF,MAAM,WAAW,GAAG,IAAA,sBAAa,EAAC,YAAY,CAAC,WAAW,CAAC,CAAC;QAE5D,MAAM,kBAAkB,mCACnB,eAAe,CAAC,YAAY,EAAE,GAC9B,WAAW,CACf,CAAC;QAEF,IAAA,4BAAmB,EAAC,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;QACzD,IAAA,8BAAqB,EACnB,kBAAkB,EAClB,QAAQ,CAAC,gBAAgB,EACzB,YAAY,CACb,CAAC;QAEF,MAAM,kBAAkB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,yBAAgB,CAAC,CAAC,CAAC,mBAAU,CAAC;QAC5E,MAAM,aAAa,GACjB,CAAC,QAAQ,CAAC,OAAO,IAAI,QAAQ,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC;YAChD,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,kBAAkB,CAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,kBAAkB,CAAC,CAAC;QAErE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,aAAa,EAAE,CAAC;;CAC/D;AA3DD,8DA2DC"}
|
package/tailwind.js
CHANGED
|
@@ -11,7 +11,7 @@ function createGlobPatternsForDependencies(dirPath, fileGlobPattern = '/**/!(*.s
|
|
|
11
11
|
try {
|
|
12
12
|
return (0, generate_globs_1.createGlobPatternsForDependencies)(dirPath, fileGlobPattern);
|
|
13
13
|
}
|
|
14
|
-
catch (
|
|
14
|
+
catch (e) {
|
|
15
15
|
/**
|
|
16
16
|
* It should not be possible to reach this point when the utility is invoked as part of the normal
|
|
17
17
|
* lifecycle of Nx executors. However, other tooling, such as the VSCode Tailwind IntelliSense plugin
|
|
@@ -21,7 +21,8 @@ function createGlobPatternsForDependencies(dirPath, fileGlobPattern = '/**/!(*.s
|
|
|
21
21
|
* In order to best support that use-case, we therefore do not hard error when the ProjectGraph is
|
|
22
22
|
* fundamently unavailable in this tailwind-specific context.
|
|
23
23
|
*/
|
|
24
|
-
console.warn('\
|
|
24
|
+
console.warn('\nWARNING: There was an error creating glob patterns, returning an empty array\n' +
|
|
25
|
+
`${e.message}\n`);
|
|
25
26
|
return [];
|
|
26
27
|
}
|
|
27
28
|
}
|
package/tailwind.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailwind.js","sourceRoot":"","sources":["../../../packages/react/tailwind.ts"],"names":[],"mappings":";;;AAAA,sEAAyG;AAEzG;;;;GAIG;AACH,SAAgB,iCAAiC,CAC/C,OAAe,EACf,kBAA0B,2CAA2C;IAErE,IAAI;QACF,OAAO,IAAA,kDAAe,EAAC,OAAO,EAAE,eAAe,CAAC,CAAC;KAClD;IAAC,
|
|
1
|
+
{"version":3,"file":"tailwind.js","sourceRoot":"","sources":["../../../packages/react/tailwind.ts"],"names":[],"mappings":";;;AAAA,sEAAyG;AAEzG;;;;GAIG;AACH,SAAgB,iCAAiC,CAC/C,OAAe,EACf,kBAA0B,2CAA2C;IAErE,IAAI;QACF,OAAO,IAAA,kDAAe,EAAC,OAAO,EAAE,eAAe,CAAC,CAAC;KAClD;IAAC,OAAO,CAAC,EAAE;QACV;;;;;;;;WAQG;QACH,OAAO,CAAC,IAAI,CACV,kFAAkF;YAChF,GAAG,CAAC,CAAC,OAAO,IAAI,CACnB,CAAC;QACF,OAAO,EAAE,CAAC;KACX;AACH,CAAC;AAtBD,8EAsBC"}
|