@nx/workspace 20.0.7 → 20.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +3 -3
- package/src/generators/ci-workflow/files/azure/azure-pipelines.yml__tmpl__ +1 -1
- package/src/generators/ci-workflow/files/bitbucket-pipelines/bitbucket-pipelines.yml__tmpl__ +1 -1
- package/src/generators/ci-workflow/files/circleci/.circleci/config.yml__tmpl__ +1 -1
- package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__ +1 -1
- package/src/generators/ci-workflow/files/gitlab/.gitlab-ci.yml__tmpl__ +1 -1
- package/src/generators/preset/preset.js +1 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/workspace",
|
3
|
-
"version": "20.0.
|
3
|
+
"version": "20.0.9",
|
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.9",
|
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.9"
|
47
47
|
},
|
48
48
|
"publishConfig": {
|
49
49
|
"access": "public"
|
@@ -60,7 +60,7 @@ jobs:
|
|
60
60
|
|
61
61
|
- script: <%= packageManagerInstall %><% if(hasCypress){ %>
|
62
62
|
- script: <%= packageManagerPrefix %> cypress install<% } %><% if(hasPlaywright){ %>
|
63
|
-
- script: <%= packageManagerPrefix %> playwright install<% } %>
|
63
|
+
- script: <%= packageManagerPrefix %> playwright install --with-deps<% } %>
|
64
64
|
- script: git branch --track <%= mainBranch %> origin/<%= mainBranch %>
|
65
65
|
condition: eq(variables['Build.Reason'], 'PullRequest')
|
66
66
|
|
package/src/generators/ci-workflow/files/bitbucket-pipelines/bitbucket-pipelines.yml__tmpl__
CHANGED
@@ -27,7 +27,7 @@ pipelines:
|
|
27
27
|
|
28
28
|
- <%= packageManagerInstall %><% if(hasCypress){ %>
|
29
29
|
- <%= packageManagerPrefix %> cypress install<% } %><% if(hasPlaywright){ %>
|
30
|
-
- <%= packageManagerPrefix %> playwright install<% } %>
|
30
|
+
- <%= packageManagerPrefix %> playwright install --with-deps<% } %>
|
31
31
|
|
32
32
|
# Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
|
33
33
|
# <%= packageManagerPrefix %> nx-cloud record -- echo Hello World
|
@@ -29,7 +29,7 @@ jobs:
|
|
29
29
|
|
30
30
|
- run: <%= packageManagerInstall %><% if(hasCypress){ %>
|
31
31
|
- run: <%= packageManagerPrefix %> cypress install<% } %><% if(hasPlaywright){ %>
|
32
|
-
- run: <%= packageManagerPrefix %> playwright install<% } %>
|
32
|
+
- run: <%= packageManagerPrefix %> playwright install --with-deps<% } %>
|
33
33
|
- nx/set-shas:
|
34
34
|
main-branch-name: '<%= mainBranch %>'
|
35
35
|
|
package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__
CHANGED
@@ -43,7 +43,7 @@ jobs:
|
|
43
43
|
<% } %>
|
44
44
|
- run: <%= packageManagerInstall %><% if(hasCypress){ %>
|
45
45
|
- run: <%= packageManagerPrefix %> cypress install<% } %><% if(hasPlaywright){ %>
|
46
|
-
- run: <%= packageManagerPrefix %> playwright install<% } %>
|
46
|
+
- run: <%= packageManagerPrefix %> playwright install --with-deps<% } %>
|
47
47
|
- uses: nrwl/nx-set-shas@v4
|
48
48
|
|
49
49
|
# Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
|
@@ -23,7 +23,7 @@ variables:
|
|
23
23
|
|
24
24
|
- <%= packageManagerInstall %><% if(hasCypress){ %>
|
25
25
|
- <%= packageManagerPrefix %> cypress install<% } %><% if(hasPlaywright){ %>
|
26
|
-
- <%= packageManagerPrefix %> playwright install<% } %>
|
26
|
+
- <%= packageManagerPrefix %> playwright install --with-deps<% } %>
|
27
27
|
- NX_HEAD=$CI_COMMIT_SHA
|
28
28
|
- NX_BASE=${CI_MERGE_REQUEST_DIFF_BASE_SHA:-$CI_COMMIT_BEFORE_SHA}
|
29
29
|
|
@@ -240,6 +240,7 @@ async function createPreset(tree, options) {
|
|
240
240
|
e2eTestRunner: options.e2eTestRunner ?? 'detox',
|
241
241
|
addPlugin,
|
242
242
|
nxCloudToken: options.nxCloudToken,
|
243
|
+
bundler: options.bundler ?? 'webpack',
|
243
244
|
});
|
244
245
|
}
|
245
246
|
else if (options.preset === presets_1.Preset.Expo) {
|