nx 22.1.0-canary.20251110-73ecb30 → 22.1.0-canary.20251111-647d751
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/executors.json +16 -16
- package/generators.json +13 -13
- package/migrations.json +143 -143
- package/package.json +11 -14
- package/presets/npm.json +4 -4
- package/release/changelog-renderer/index.d.ts.map +1 -1
- package/release/changelog-renderer/index.js +13 -8
- package/schemas/nx-schema.json +1286 -1286
- package/schemas/project-schema.json +359 -359
- package/schemas/workspace-schema.json +165 -165
- package/src/ai/set-up-ai-agents/schema.json +31 -31
- package/src/command-line/release/changelog/commit-utils.d.ts +14 -0
- package/src/command-line/release/changelog/commit-utils.d.ts.map +1 -0
- package/src/command-line/release/changelog/commit-utils.js +63 -0
- package/src/command-line/release/changelog/version-plan-filtering.d.ts +39 -0
- package/src/command-line/release/changelog/version-plan-filtering.d.ts.map +1 -0
- package/src/command-line/release/changelog/version-plan-filtering.js +151 -0
- package/src/command-line/release/changelog/version-plan-utils.d.ts +32 -0
- package/src/command-line/release/changelog/version-plan-utils.d.ts.map +1 -0
- package/src/command-line/release/changelog/version-plan-utils.js +92 -0
- package/src/command-line/release/changelog.d.ts +1 -16
- package/src/command-line/release/changelog.d.ts.map +1 -1
- package/src/command-line/release/changelog.js +127 -269
- package/src/command-line/release/command-object.d.ts +1 -0
- package/src/command-line/release/command-object.d.ts.map +1 -1
- package/src/command-line/release/command-object.js +6 -0
- package/src/command-line/release/utils/shared.d.ts.map +1 -1
- package/src/command-line/release/utils/shared.js +2 -2
- package/src/core/graph/main.js +1 -1
- package/src/executors/noop/schema.json +8 -8
- package/src/executors/run-commands/schema.json +187 -187
- package/src/executors/run-script/schema.json +25 -25
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/nx-cloud/generators/connect-to-nx-cloud/schema.json +38 -38
- package/src/plugins/js/index.d.ts.map +1 -1
- package/src/plugins/js/index.js +55 -7
- package/src/plugins/js/lock-file/lock-file.d.ts +5 -2
- package/src/plugins/js/lock-file/lock-file.d.ts.map +1 -1
- package/src/plugins/js/lock-file/lock-file.js +8 -6
- package/src/plugins/js/lock-file/npm-parser.d.ts +5 -2
- package/src/plugins/js/lock-file/npm-parser.d.ts.map +1 -1
- package/src/plugins/js/lock-file/npm-parser.js +5 -8
- package/src/plugins/js/lock-file/pnpm-parser.d.ts +5 -2
- package/src/plugins/js/lock-file/pnpm-parser.d.ts.map +1 -1
- package/src/plugins/js/lock-file/pnpm-parser.js +5 -7
- package/src/plugins/js/lock-file/yarn-parser.d.ts +5 -2
- package/src/plugins/js/lock-file/yarn-parser.d.ts.map +1 -1
- package/src/plugins/js/lock-file/yarn-parser.js +5 -7
package/executors.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"executors": {
|
|
3
|
+
"noop": {
|
|
4
|
+
"implementation": "./src/executors/noop/noop.impl",
|
|
5
|
+
"schema": "./src/executors/noop/schema.json",
|
|
6
|
+
"description": "An executor that does nothing"
|
|
7
|
+
},
|
|
8
|
+
"run-commands": {
|
|
9
|
+
"implementation": "./src/executors/run-commands/run-commands.impl",
|
|
10
|
+
"schema": "./src/executors/run-commands/schema.json",
|
|
11
|
+
"description": "Run any custom commands with Nx."
|
|
12
|
+
},
|
|
13
|
+
"run-script": {
|
|
14
|
+
"implementation": "./src/executors/run-script/run-script.impl",
|
|
15
|
+
"schema": "./src/executors/run-script/schema.json",
|
|
16
|
+
"description": "Run an NPM script using Nx."
|
|
17
|
+
}
|
|
17
18
|
}
|
|
18
|
-
}
|
|
19
19
|
}
|
package/generators.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
"generators": {
|
|
3
|
+
"connect-to-nx-cloud": {
|
|
4
|
+
"factory": "./src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud",
|
|
5
|
+
"schema": "./src/nx-cloud/generators/connect-to-nx-cloud/schema.json",
|
|
6
|
+
"description": "Connect a workspace to Nx Cloud",
|
|
7
|
+
"x-hidden": true
|
|
8
|
+
},
|
|
9
|
+
"set-up-ai-agents": {
|
|
10
|
+
"factory": "./src/ai/set-up-ai-agents/set-up-ai-agents",
|
|
11
|
+
"schema": "./src/ai/set-up-ai-agents/schema.json",
|
|
12
|
+
"description": "Sets up the Nx MCP & rule files for common AI Agents",
|
|
13
|
+
"hidden": true
|
|
14
|
+
}
|
|
14
15
|
}
|
|
15
|
-
}
|
|
16
16
|
}
|
package/migrations.json
CHANGED
|
@@ -1,146 +1,146 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
2
|
+
"generators": {
|
|
3
|
+
"16.0.0-remove-nrwl-cli": {
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"version": "16.0.0-beta.0",
|
|
6
|
+
"description": "Remove @nrwl/cli.",
|
|
7
|
+
"implementation": "./src/migrations/update-16-0-0/remove-nrwl-cli"
|
|
8
|
+
},
|
|
9
|
+
"16.0.0-tokens-for-depends-on": {
|
|
10
|
+
"cli": "nx",
|
|
11
|
+
"version": "16.0.0-beta.9",
|
|
12
|
+
"description": "Replace `dependsOn.projects` and `inputs` definitions with new configuration format.",
|
|
13
|
+
"implementation": "./src/migrations/update-16-0-0/update-depends-on-to-tokens"
|
|
14
|
+
},
|
|
15
|
+
"16.0.0-update-nx-cloud-runner": {
|
|
16
|
+
"cli": "nx",
|
|
17
|
+
"version": "16.0.0-beta.0",
|
|
18
|
+
"description": "Replace @nrwl/nx-cloud with nx-cloud",
|
|
19
|
+
"implementation": "./src/migrations/update-16-0-0/update-nx-cloud-runner"
|
|
20
|
+
},
|
|
21
|
+
"16.2.0-remove-output-path-from-run-commands": {
|
|
22
|
+
"cli": "nx",
|
|
23
|
+
"version": "16.2.0-beta.0",
|
|
24
|
+
"description": "Remove outputPath from run commands",
|
|
25
|
+
"implementation": "./src/migrations/update-16-2-0/remove-run-commands-output-path"
|
|
26
|
+
},
|
|
27
|
+
"16.6.0-prefix-outputs": {
|
|
28
|
+
"cli": "nx",
|
|
29
|
+
"version": "16.6.0-beta.6",
|
|
30
|
+
"description": "Prefix outputs with {workspaceRoot}/{projectRoot} if needed",
|
|
31
|
+
"implementation": "./src/migrations/update-15-0-0/prefix-outputs"
|
|
32
|
+
},
|
|
33
|
+
"16.8.0-escape-dollar-sign-env": {
|
|
34
|
+
"cli": "nx",
|
|
35
|
+
"version": "16.8.0-beta.3",
|
|
36
|
+
"description": "Escape $ in env variables",
|
|
37
|
+
"implementation": "./src/migrations/update-16-8-0/escape-dollar-sign-env-variables",
|
|
38
|
+
"x-repair-skip": true
|
|
39
|
+
},
|
|
40
|
+
"17.0.0-move-cache-directory": {
|
|
41
|
+
"cli": "nx",
|
|
42
|
+
"version": "17.0.0-beta.1",
|
|
43
|
+
"description": "Updates the default cache directory to .nx/cache",
|
|
44
|
+
"implementation": "./src/migrations/update-17-0-0/move-cache-directory"
|
|
45
|
+
},
|
|
46
|
+
"17.0.0-use-minimal-config-for-tasks-runner-options": {
|
|
47
|
+
"cli": "nx",
|
|
48
|
+
"version": "17.0.0-beta.3",
|
|
49
|
+
"description": "Use minimal config for tasksRunnerOptions",
|
|
50
|
+
"implementation": "./src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options"
|
|
51
|
+
},
|
|
52
|
+
"rm-default-collection-npm-scope": {
|
|
53
|
+
"version": "17.0.0-rc.1",
|
|
54
|
+
"description": "Migration for v17.0.0-rc.1",
|
|
55
|
+
"implementation": "./src/migrations/update-17-0-0/rm-default-collection-npm-scope"
|
|
56
|
+
},
|
|
57
|
+
"17.3.0-update-nx-wrapper": {
|
|
58
|
+
"cli": "nx",
|
|
59
|
+
"version": "17.3.0-beta.6",
|
|
60
|
+
"description": "Updates the nx wrapper.",
|
|
61
|
+
"implementation": "./src/migrations/update-17-3-0/update-nxw"
|
|
62
|
+
},
|
|
63
|
+
"18.0.0-disable-adding-plugins-for-existing-workspaces": {
|
|
64
|
+
"cli": "nx",
|
|
65
|
+
"version": "18.0.0-beta.2",
|
|
66
|
+
"description": "Updates nx.json to disabled adding plugins when generating projects in an existing Nx workspace",
|
|
67
|
+
"implementation": "./src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces",
|
|
68
|
+
"x-repair-skip": true
|
|
69
|
+
},
|
|
70
|
+
"move-default-base-to-nx-json-root": {
|
|
71
|
+
"version": "18.1.0-beta.3",
|
|
72
|
+
"description": "Moves affected.defaultBase to defaultBase in `nx.json`",
|
|
73
|
+
"implementation": "./src/migrations/update-17-2-0/move-default-base"
|
|
74
|
+
},
|
|
75
|
+
"19-2-0-move-graph-cache-directory": {
|
|
76
|
+
"cli": "nx",
|
|
77
|
+
"version": "19.2.0-beta.2",
|
|
78
|
+
"description": "Updates the default workspace data directory to .nx/workspace-data",
|
|
79
|
+
"implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory"
|
|
80
|
+
},
|
|
81
|
+
"19-2-2-update-nx-wrapper": {
|
|
82
|
+
"cli": "nx",
|
|
83
|
+
"version": "19.2.2-beta.0",
|
|
84
|
+
"description": "Updates the nx wrapper.",
|
|
85
|
+
"implementation": "./src/migrations/update-17-3-0/update-nxw"
|
|
86
|
+
},
|
|
87
|
+
"19-2-4-set-project-name": {
|
|
88
|
+
"version": "19.2.4-beta.0",
|
|
89
|
+
"description": "Set project name in nx.json explicitly",
|
|
90
|
+
"implementation": "./src/migrations/update-19-2-4/set-project-name",
|
|
91
|
+
"x-repair-skip": true
|
|
92
|
+
},
|
|
93
|
+
"move-use-daemon-process": {
|
|
94
|
+
"version": "20.0.0-beta.7",
|
|
95
|
+
"description": "Migration for v20.0.0-beta.7",
|
|
96
|
+
"implementation": "./src/migrations/update-20-0-0/move-use-daemon-process"
|
|
97
|
+
},
|
|
98
|
+
"use-legacy-cache": {
|
|
99
|
+
"version": "20.0.1",
|
|
100
|
+
"description": "Set `useLegacyCache` to true for migrating workspaces",
|
|
101
|
+
"implementation": "./src/migrations/update-20-0-1/use-legacy-cache",
|
|
102
|
+
"x-repair-skip": true
|
|
103
|
+
},
|
|
104
|
+
"remove-legacy-cache": {
|
|
105
|
+
"version": "21.0.0-beta.8",
|
|
106
|
+
"description": "Removes the legacy cache configuration from nx.json",
|
|
107
|
+
"implementation": "./src/migrations/update-21-0-0/remove-legacy-cache"
|
|
108
|
+
},
|
|
109
|
+
"remove-custom-tasks-runner": {
|
|
110
|
+
"version": "21.0.0-beta.8",
|
|
111
|
+
"description": "Removes the legacy cache configuration from nx.json",
|
|
112
|
+
"implementation": "./src/migrations/update-21-0-0/remove-custom-tasks-runner"
|
|
113
|
+
},
|
|
114
|
+
"release-version-config-changes": {
|
|
115
|
+
"version": "21.0.0-beta.11",
|
|
116
|
+
"description": "Updates release version config based on the breaking changes in Nx v21",
|
|
117
|
+
"implementation": "./src/migrations/update-21-0-0/release-version-config-changes"
|
|
118
|
+
},
|
|
119
|
+
"release-changelog-config-changes": {
|
|
120
|
+
"version": "21.0.0-beta.11",
|
|
121
|
+
"description": "Updates release changelog config based on the breaking changes in Nx v21",
|
|
122
|
+
"implementation": "./src/migrations/update-21-0-0/release-changelog-config-changes"
|
|
123
|
+
},
|
|
124
|
+
"21-1-0-add-ignore-entries-for-nx-rule-files": {
|
|
125
|
+
"version": "21.1.0-beta.2",
|
|
126
|
+
"description": "Adds **/nx-rules.mdc and **/nx.instructions.md to .gitignore if not present",
|
|
127
|
+
"implementation": "./src/migrations/update-21-1-0/add-gitignore-entry"
|
|
128
|
+
},
|
|
129
|
+
"22-0-0-release-version-config-changes": {
|
|
130
|
+
"version": "22.0.0-beta.1",
|
|
131
|
+
"description": "Updates release version config based on the breaking changes in Nx v22",
|
|
132
|
+
"implementation": "./src/migrations/update-22-0-0/release-version-config-changes"
|
|
133
|
+
},
|
|
134
|
+
"22-0-0-consolidate-release-tag-config": {
|
|
135
|
+
"version": "22.0.0-beta.2",
|
|
136
|
+
"description": "Consolidates releaseTag* options into nested releaseTag object structure",
|
|
137
|
+
"implementation": "./src/migrations/update-22-0-0/consolidate-release-tag-config"
|
|
138
|
+
},
|
|
139
|
+
"22-1-0-update-nx-wrapper": {
|
|
140
|
+
"cli": "nx",
|
|
141
|
+
"version": "22.1.0-beta.5",
|
|
142
|
+
"description": "Updates the nx wrapper.",
|
|
143
|
+
"implementation": "./src/migrations/update-22-1-0/update-nx-wrapper"
|
|
144
|
+
}
|
|
144
145
|
}
|
|
145
|
-
}
|
|
146
146
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nx",
|
|
3
|
-
"version": "22.1.0-canary.
|
|
3
|
+
"version": "22.1.0-canary.20251111-647d751",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
|
|
6
6
|
"repository": {
|
|
@@ -83,16 +83,16 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"optionalDependencies": {
|
|
86
|
-
"@nx/nx-darwin-arm64": "22.1.0-canary.
|
|
87
|
-
"@nx/nx-darwin-x64": "22.1.0-canary.
|
|
88
|
-
"@nx/nx-freebsd-x64": "22.1.0-canary.
|
|
89
|
-
"@nx/nx-linux-arm-gnueabihf": "22.1.0-canary.
|
|
90
|
-
"@nx/nx-linux-arm64-gnu": "22.1.0-canary.
|
|
91
|
-
"@nx/nx-linux-arm64-musl": "22.1.0-canary.
|
|
92
|
-
"@nx/nx-linux-x64-gnu": "22.1.0-canary.
|
|
93
|
-
"@nx/nx-linux-x64-musl": "22.1.0-canary.
|
|
94
|
-
"@nx/nx-win32-arm64-msvc": "22.1.0-canary.
|
|
95
|
-
"@nx/nx-win32-x64-msvc": "22.1.0-canary.
|
|
86
|
+
"@nx/nx-darwin-arm64": "22.1.0-canary.20251111-647d751",
|
|
87
|
+
"@nx/nx-darwin-x64": "22.1.0-canary.20251111-647d751",
|
|
88
|
+
"@nx/nx-freebsd-x64": "22.1.0-canary.20251111-647d751",
|
|
89
|
+
"@nx/nx-linux-arm-gnueabihf": "22.1.0-canary.20251111-647d751",
|
|
90
|
+
"@nx/nx-linux-arm64-gnu": "22.1.0-canary.20251111-647d751",
|
|
91
|
+
"@nx/nx-linux-arm64-musl": "22.1.0-canary.20251111-647d751",
|
|
92
|
+
"@nx/nx-linux-x64-gnu": "22.1.0-canary.20251111-647d751",
|
|
93
|
+
"@nx/nx-linux-x64-musl": "22.1.0-canary.20251111-647d751",
|
|
94
|
+
"@nx/nx-win32-arm64-msvc": "22.1.0-canary.20251111-647d751",
|
|
95
|
+
"@nx/nx-win32-x64-msvc": "22.1.0-canary.20251111-647d751"
|
|
96
96
|
},
|
|
97
97
|
"nx-migrations": {
|
|
98
98
|
"migrations": "./migrations.json",
|
|
@@ -169,9 +169,6 @@
|
|
|
169
169
|
"x86_64-unknown-freebsd"
|
|
170
170
|
]
|
|
171
171
|
},
|
|
172
|
-
"main": "./bin/nx.js",
|
|
173
|
-
"types": "./bin/nx.d.ts",
|
|
174
|
-
"type": "commonjs",
|
|
175
172
|
"scripts": {
|
|
176
173
|
"postinstall": "node ./bin/post-install || exit 0"
|
|
177
174
|
}
|
package/presets/npm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/nx/release/changelog-renderer/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mFAAmF,CAAC;AAE7H;;GAEG;AACH,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE7D;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,6BAA8B,SAAQ,sBAAsB;IAC3E;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,OAAO,wBAAwB;IAC3C,SAAS,CAAC,OAAO,EAAE,eAAe,EAAE,CAAC;IACrC,SAAS,CAAC,qBAAqB,EAAE,MAAM,CAAC;IACxC,SAAS,CAAC,OAAO,EAAE,MAA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AAC,MAAM,CAAC;IAoC/B,SAAS,CAAC,iBAAiB,IAAI,IAAI;IA0CnC,SAAS,CAAC,sBAAsB,IAAI,OAAO;IAQ3C,SAAS,CAAC,gBAAgB,IAAI,MAAM;IAapC,SAAS,CAAC,kBAAkB,IAAI,MAAM;IAoBtC,SAAS,CAAC,mBAAmB,IAAI,MAAM,EAAE;IA4CzC,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAIvC,SAAS,CAAC,qBAAqB,IAAI,MAAM,EAAE;IAK3C,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAIvC,SAAS,CAAC,qBAAqB,IAAI,MAAM,EAAE;IAQ3C,SAAS,CAAC,mBAAmB,IAAI,OAAO;cAIxB,aAAa,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IA2DlD,SAAS,CAAC,YAAY,CAAC,MAAM,EAAE,eAAe,GAAG,MAAM;IAwCvD,SAAS,CAAC,oBAAoB,CAAC,MAAM,EAAE,eAAe,GAAG,MAAM;IAwD/D,SAAS,CAAC,kBAAkB,IAAI,MAAM,CAAC,MAAM,EAAE,eAAe,EAAE,CAAC;IASjE,SAAS,CAAC,mBAAmB,CAC3B,OAAO,EAAE,eAAe,EAAE,GACzB,MAAM,CAAC,MAAM,EAAE,eAAe,EAAE,CAAC;IAUpC,SAAS,CAAC,gCAAgC,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IA+B1E,SAAS,CAAC,UAAU,CAAC,IAAI,SAAK,GAAG,MAAM;CAMxC"}
|
|
@@ -284,6 +284,18 @@ class DefaultChangelogRenderer {
|
|
|
284
284
|
if (change.scope) {
|
|
285
285
|
breakingLine += `**${change.scope.trim()}:** `;
|
|
286
286
|
}
|
|
287
|
+
// Ensure first line of the breaking change contains the commit title
|
|
288
|
+
if (change.description) {
|
|
289
|
+
breakingLine += `${change.description.trim()} `;
|
|
290
|
+
}
|
|
291
|
+
// Add PR/commit references
|
|
292
|
+
if (this.remoteReleaseClient.getRemoteRepoData() &&
|
|
293
|
+
this.changelogRenderOptions.commitReferences &&
|
|
294
|
+
change.githubReferences) {
|
|
295
|
+
breakingLine += `${this.remoteReleaseClient.formatReferences(change.githubReferences)}`;
|
|
296
|
+
}
|
|
297
|
+
const indentation = ' ';
|
|
298
|
+
breakingLine += `\n${indentation}`;
|
|
287
299
|
// Handle multi-line explanations
|
|
288
300
|
let explanationText = explanation;
|
|
289
301
|
let extraLines = [];
|
|
@@ -291,21 +303,14 @@ class DefaultChangelogRenderer {
|
|
|
291
303
|
[explanationText, ...extraLines] = explanation.split('\n');
|
|
292
304
|
}
|
|
293
305
|
breakingLine += explanationText;
|
|
294
|
-
// Add PR/commit references
|
|
295
|
-
if (this.remoteReleaseClient.getRemoteRepoData() &&
|
|
296
|
-
this.changelogRenderOptions.commitReferences &&
|
|
297
|
-
change.githubReferences) {
|
|
298
|
-
breakingLine += this.remoteReleaseClient.formatReferences(change.githubReferences);
|
|
299
|
-
}
|
|
300
306
|
// Add extra lines with indentation (matching formatChange behavior)
|
|
301
307
|
if (extraLines.length > 0) {
|
|
302
|
-
const indentation = ' ';
|
|
303
308
|
const extraLinesStr = extraLines
|
|
304
309
|
.filter((l) => l.trim().length > 0)
|
|
305
310
|
.map((l) => `${indentation}${l}`)
|
|
306
311
|
.join('\n');
|
|
307
312
|
if (extraLinesStr) {
|
|
308
|
-
breakingLine += '\n
|
|
313
|
+
breakingLine += '\n' + extraLinesStr;
|
|
309
314
|
}
|
|
310
315
|
}
|
|
311
316
|
return breakingLine;
|