@nx/workspace 19.0.0-canary.20240430-458f2cc → 19.0.0-canary.20240503-dbad02a
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/migrations.json +0 -18
- package/package.json +4 -4
- package/src/generators/ci-workflow/files/azure/azure-pipelines.yml__tmpl__ +1 -1
- package/src/generators/ci-workflow/files/circleci/.circleci/config.yml__tmpl__ +0 -4
- package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__ +0 -3
- package/src/generators/utils/presets.d.ts +0 -6
- package/src/generators/utils/presets.js +0 -7
- package/src/migrations/update-15-7-0/split-configuration-into-project-json-files.d.ts +0 -3
- package/src/migrations/update-15-7-0/split-configuration-into-project-json-files.js +0 -11
package/migrations.json
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"generators": {
|
|
3
|
-
"15-7-0-split-configuration-into-project-json-files": {
|
|
4
|
-
"version": "15.7.0-beta.0",
|
|
5
|
-
"description": "Split global configuration files (e.g., workspace.json) into individual project.json files.",
|
|
6
|
-
"cli": "nx",
|
|
7
|
-
"implementation": "./src/migrations/update-15-7-0/split-configuration-into-project-json-files"
|
|
8
|
-
},
|
|
9
3
|
"update-16-0-0-add-nx-packages": {
|
|
10
4
|
"cli": "nx",
|
|
11
5
|
"version": "16.0.0-beta.1",
|
|
@@ -26,18 +20,6 @@
|
|
|
26
20
|
}
|
|
27
21
|
},
|
|
28
22
|
"packageJsonUpdates": {
|
|
29
|
-
"15.8.0": {
|
|
30
|
-
"version": "15.8.0-beta.2",
|
|
31
|
-
"x-prompt": "Do you want to update to TypeScript v4.9?",
|
|
32
|
-
"requires": {
|
|
33
|
-
"typescript": ">=4.8.2 <4.9.0"
|
|
34
|
-
},
|
|
35
|
-
"packages": {
|
|
36
|
-
"typescript": {
|
|
37
|
-
"version": "~4.9.5"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
23
|
"16.1.0": {
|
|
42
24
|
"version": "16.1.0-beta.0",
|
|
43
25
|
"x-prompt": "Do you want to update to TypeScript v5.0?",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/workspace",
|
|
3
|
-
"version": "19.0.0-canary.
|
|
3
|
+
"version": "19.0.0-canary.20240503-dbad02a",
|
|
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": {
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@nx/devkit": "19.0.0-canary.
|
|
64
|
+
"@nx/devkit": "19.0.0-canary.20240503-dbad02a",
|
|
65
65
|
"chalk": "^4.1.0",
|
|
66
66
|
"enquirer": "~2.3.6",
|
|
67
67
|
"tslib": "^2.3.0",
|
|
68
68
|
"yargs-parser": "21.1.1",
|
|
69
|
-
"nx": "19.0.0-canary.
|
|
70
|
-
"@nrwl/workspace": "19.0.0-canary.
|
|
69
|
+
"nx": "19.0.0-canary.20240503-dbad02a",
|
|
70
|
+
"@nrwl/workspace": "19.0.0-canary.20240503-dbad02a"
|
|
71
71
|
},
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
@@ -51,7 +51,7 @@ jobs:
|
|
|
51
51
|
# - script: <%= packageManagerPrefix %> nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="<% if(hasE2E){ %>e2e-ci<% } else { %>build<% } %>"
|
|
52
52
|
|
|
53
53
|
- script: <%= packageManagerInstall %>
|
|
54
|
-
- script: git branch --track
|
|
54
|
+
- script: git branch --track <%= mainBranch %> origin/<%= mainBranch %>
|
|
55
55
|
condition: eq(variables['Build.Reason'], 'PullRequest')
|
|
56
56
|
|
|
57
57
|
- script: <%= packageManagerPrefix %> nx-cloud record -- nx format:check --base=$(BASE_SHA) --head=$(HEAD_SHA)
|
|
@@ -23,10 +23,6 @@ jobs:
|
|
|
23
23
|
- nx/set-shas:
|
|
24
24
|
main-branch-name: '<%= mainBranch %>'
|
|
25
25
|
|
|
26
|
-
# Required for nx affected if we're on a branch
|
|
27
|
-
- run: git branch --track main origin/main
|
|
28
|
-
condition: eq(variables['Build.Reason'], 'PullRequest')
|
|
29
|
-
|
|
30
26
|
- run: <%= packageManagerPrefix %> nx-cloud record -- nx format:check --base=$NX_BASE --head=$NX_HEAD
|
|
31
27
|
- run: <%= packageManagerPrefix %> nx affected --base=$NX_BASE --head=$NX_HEAD -t lint test build<% if(hasE2E){ %> e2e-ci<% } %>
|
|
32
28
|
|
package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__
CHANGED
|
@@ -35,8 +35,5 @@ jobs:
|
|
|
35
35
|
- run: <%= packageManagerInstall %>
|
|
36
36
|
- uses: nrwl/nx-set-shas@v4
|
|
37
37
|
|
|
38
|
-
- run: git branch --track main origin/main
|
|
39
|
-
if: ${{ github.event_name == 'pull_request' }}
|
|
40
|
-
|
|
41
38
|
- run: <%= packageManagerPrefix %> nx-cloud record -- nx format:check
|
|
42
39
|
- run: <%= packageManagerPrefix %> nx affected -t lint test build<% if(hasE2E){ %> e2e-ci<% } %>
|
|
@@ -4,13 +4,6 @@ exports.Preset = void 0;
|
|
|
4
4
|
var Preset;
|
|
5
5
|
(function (Preset) {
|
|
6
6
|
Preset["Apps"] = "apps";
|
|
7
|
-
// TODO(v19): Remove Empty and Core presets
|
|
8
|
-
/** @deprecated Use Apps instead
|
|
9
|
-
*/
|
|
10
|
-
Preset["Empty"] = "empty";
|
|
11
|
-
/** @deprecated Use NPM instead
|
|
12
|
-
*/
|
|
13
|
-
Preset["Core"] = "core";
|
|
14
7
|
Preset["NPM"] = "npm";
|
|
15
8
|
Preset["TS"] = "ts";
|
|
16
9
|
Preset["WebComponents"] = "web-components";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.splitConfigurationIntoProjectJsonFiles = void 0;
|
|
4
|
-
const devkit_1 = require("@nx/devkit");
|
|
5
|
-
const convert_to_nx_project_1 = require("../../generators/convert-to-nx-project/convert-to-nx-project");
|
|
6
|
-
async function splitConfigurationIntoProjectJsonFiles(tree) {
|
|
7
|
-
await (0, convert_to_nx_project_1.default)(tree, { all: true });
|
|
8
|
-
await (0, devkit_1.formatFiles)(tree);
|
|
9
|
-
}
|
|
10
|
-
exports.splitConfigurationIntoProjectJsonFiles = splitConfigurationIntoProjectJsonFiles;
|
|
11
|
-
exports.default = splitConfigurationIntoProjectJsonFiles;
|