@nx/playwright 17.3.0-canary.20240120-06717de → 17.3.0-canary.20240123-3333ef4
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": "@nx/playwright",
|
|
3
|
-
"version": "17.3.0-canary.
|
|
3
|
+
"version": "17.3.0-canary.20240123-3333ef4",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"homepage": "https://nx.dev",
|
|
6
6
|
"private": false,
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"directory": "packages/playwright"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@nx/devkit": "17.3.0-canary.
|
|
36
|
-
"@nx/eslint": "17.3.0-canary.
|
|
37
|
-
"@nx/js": "17.3.0-canary.
|
|
35
|
+
"@nx/devkit": "17.3.0-canary.20240123-3333ef4",
|
|
36
|
+
"@nx/eslint": "17.3.0-canary.20240123-3333ef4",
|
|
37
|
+
"@nx/js": "17.3.0-canary.20240123-3333ef4",
|
|
38
38
|
"tslib": "^2.3.0",
|
|
39
39
|
"minimatch": "9.0.3"
|
|
40
40
|
},
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.initGenerator = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
|
+
const update_package_scripts_1 = require("@nx/devkit/src/utils/update-package-scripts");
|
|
6
|
+
const plugin_1 = require("../../plugins/plugin");
|
|
5
7
|
const versions_1 = require("../../utils/versions");
|
|
6
8
|
async function initGenerator(tree, options) {
|
|
7
9
|
const tasks = [];
|
|
@@ -14,6 +16,9 @@ async function initGenerator(tree, options) {
|
|
|
14
16
|
if (process.env.NX_PCV3 === 'true') {
|
|
15
17
|
addPlugin(tree);
|
|
16
18
|
}
|
|
19
|
+
if (options.updatePackageScripts) {
|
|
20
|
+
await (0, update_package_scripts_1.updatePackageScripts)(tree, plugin_1.createNodes);
|
|
21
|
+
}
|
|
17
22
|
if (!options.skipFormat) {
|
|
18
23
|
await (0, devkit_1.formatFiles)(tree);
|
|
19
24
|
}
|
|
@@ -22,6 +22,12 @@
|
|
|
22
22
|
"x-priority": "internal",
|
|
23
23
|
"description": "Keep existing dependencies versions",
|
|
24
24
|
"default": false
|
|
25
|
+
},
|
|
26
|
+
"updatePackageScripts": {
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"x-priority": "internal",
|
|
29
|
+
"description": "Update `package.json` scripts with inferred targets",
|
|
30
|
+
"default": false
|
|
25
31
|
}
|
|
26
32
|
},
|
|
27
33
|
"required": []
|