nx 20.2.1 → 20.3.0-beta.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 +12 -11
- package/src/command-line/init/init-v2.js +1 -0
- package/src/command-line/release/utils/git.js +6 -5
- package/src/core/graph/main.js +1 -1
- package/src/core/graph/styles.js +1 -1
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/project-graph/plugins/get-plugins.js +2 -0
- package/src/utils/package-json.js +1 -1
package/src/core/graph/styles.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[532],{
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[532],{24258:()=>{}},s=>{var e;e=24258,s(s.s=e)}]);
|
Binary file
|
@@ -21,6 +21,7 @@ async function getPlugins() {
|
|
21
21
|
}
|
22
22
|
// Cleanup current plugins before loading new ones
|
23
23
|
if (cleanup) {
|
24
|
+
pendingPluginsPromise = undefined;
|
24
25
|
cleanup();
|
25
26
|
}
|
26
27
|
pendingPluginsPromise ??= (0, internal_api_1.loadNxPlugins)(pluginsConfiguration, workspace_root_1.workspaceRoot);
|
@@ -40,6 +41,7 @@ async function getOnlyDefaultPlugins() {
|
|
40
41
|
}
|
41
42
|
// Cleanup current plugins before loading new ones
|
42
43
|
if (cleanupDefaultPlugins) {
|
44
|
+
pendingDefaultPluginPromise = undefined;
|
43
45
|
cleanupDefaultPlugins();
|
44
46
|
}
|
45
47
|
pendingDefaultPluginPromise ??= (0, internal_api_1.loadNxPlugins)([], workspace_root_1.workspaceRoot);
|
@@ -81,8 +81,8 @@ function readTargetsFromPackageJson(packageJson, nxJson) {
|
|
81
81
|
const { scripts, nx, private: isPrivate } = packageJson ?? {};
|
82
82
|
const res = {};
|
83
83
|
const includedScripts = nx?.includedScripts || Object.keys(scripts ?? {});
|
84
|
-
packageManagerCommand ??= (0, package_manager_1.getPackageManagerCommand)();
|
85
84
|
for (const script of includedScripts) {
|
85
|
+
packageManagerCommand ??= (0, package_manager_1.getPackageManagerCommand)();
|
86
86
|
res[script] = buildTargetFromScript(script, scripts, packageManagerCommand);
|
87
87
|
}
|
88
88
|
for (const targetName in nx?.targets) {
|