@nx/workspace 20.0.1 → 20.0.2
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/workspace",
|
3
|
-
"version": "20.0.
|
3
|
+
"version": "20.0.2",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.",
|
6
6
|
"repository": {
|
@@ -38,12 +38,12 @@
|
|
38
38
|
}
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@nx/devkit": "20.0.
|
41
|
+
"@nx/devkit": "20.0.2",
|
42
42
|
"chalk": "^4.1.0",
|
43
43
|
"enquirer": "~2.3.6",
|
44
44
|
"tslib": "^2.3.0",
|
45
45
|
"yargs-parser": "21.1.1",
|
46
|
-
"nx": "20.0.
|
46
|
+
"nx": "20.0.2"
|
47
47
|
},
|
48
48
|
"publishConfig": {
|
49
49
|
"access": "public"
|
@@ -24,7 +24,7 @@ function generatePreset(host, opts) {
|
|
24
24
|
stdio: 'inherit',
|
25
25
|
shell: true,
|
26
26
|
cwd: (0, path_1.join)(host.root, opts.directory),
|
27
|
-
windowsHide:
|
27
|
+
windowsHide: false,
|
28
28
|
};
|
29
29
|
const pmc = (0, devkit_1.getPackageManagerCommand)();
|
30
30
|
const executable = `${pmc.exec} nx`;
|
@@ -20,7 +20,7 @@ async function newGenerator(tree, opts) {
|
|
20
20
|
(0, child_process_1.execSync)(pmc.preInstall, {
|
21
21
|
cwd: (0, devkit_1.joinPathFragments)(tree.root, options.directory),
|
22
22
|
stdio: process.env.NX_GENERATE_QUIET === 'true' ? 'ignore' : 'inherit',
|
23
|
-
windowsHide:
|
23
|
+
windowsHide: false,
|
24
24
|
});
|
25
25
|
}
|
26
26
|
(0, devkit_1.installPackagesTask)(tree, false, options.directory, options.packageManager);
|
@@ -5,7 +5,7 @@ function getNpmPackageVersion(packageName, packageVersion) {
|
|
5
5
|
try {
|
6
6
|
const version = require('child_process').execSync(`npm view ${packageName}${packageVersion ? '@' + packageVersion : ''} version --json`, {
|
7
7
|
stdio: ['pipe', 'pipe', 'ignore'],
|
8
|
-
windowsHide:
|
8
|
+
windowsHide: false,
|
9
9
|
});
|
10
10
|
if (version) {
|
11
11
|
// package@1.12 => ["1.12.0", "1.12.1"]
|