nx 18.1.0-canary.20240312-9520aa2 → 18.1.0-canary.20240314-cbb88f0
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 +12 -12
- package/release/changelog-renderer/index.d.ts +2 -0
- package/release/changelog-renderer/index.js +4 -18
- package/schemas/nx-schema.json +52 -0
- package/src/command-line/release/changelog.js +15 -13
- package/src/command-line/release/config/config.d.ts +10 -0
- package/src/command-line/release/config/config.js +85 -0
- package/src/command-line/release/config/conventional-commits.d.ts +2 -0
- package/src/command-line/release/config/conventional-commits.js +98 -0
- package/src/command-line/release/utils/resolve-semver-specifier.d.ts +2 -1
- package/src/command-line/release/utils/resolve-semver-specifier.js +2 -13
- package/src/command-line/release/utils/semver.d.ts +2 -8
- package/src/command-line/release/utils/semver.js +4 -1
- package/src/command-line/release/version.d.ts +2 -0
- package/src/command-line/release/version.js +4 -3
- package/src/config/nx-json.d.ts +25 -0
- package/src/core/graph/3rdpartylicenses.txt +51 -0
- package/src/core/graph/main.js +1 -1
- package/src/core/graph/polyfills.js +1 -1
- package/src/core/graph/runtime.js +1 -1
- package/src/core/graph/styles.js +1 -1
- package/src/executors/run-commands/run-commands.impl.d.ts +3 -0
- package/src/executors/run-commands/run-commands.impl.js +77 -38
- package/src/hasher/hash-task.js +2 -2
- package/src/tasks-runner/task-orchestrator.js +45 -8
- package/src/tasks-runner/tasks-schedule.js +3 -3
- package/src/tasks-runner/utils.d.ts +7 -6
- package/src/tasks-runner/utils.js +11 -7
- package/src/utils/output.js +1 -1
package/src/config/nx-json.d.ts
CHANGED
@@ -120,6 +120,30 @@ export interface NxReleaseGitConfiguration {
|
|
120
120
|
*/
|
121
121
|
tagArgs?: string;
|
122
122
|
}
|
123
|
+
export interface NxReleaseConventionalCommitsConfiguration {
|
124
|
+
types?: Record<string,
|
125
|
+
/**
|
126
|
+
* A map of commit types to their configuration.
|
127
|
+
* If a type is set to 'true', then it will be enabled with the default 'semverBump' of 'patch' and will appear in the changelog.
|
128
|
+
* If a type is set to 'false', then it will not trigger a version bump and will be hidden from the changelog.
|
129
|
+
*/
|
130
|
+
{
|
131
|
+
/**
|
132
|
+
* The semver bump to apply when a commit of this type is found.
|
133
|
+
* If set to "none", the commit will be ignored for versioning purposes.
|
134
|
+
*/
|
135
|
+
semverBump?: 'patch' | 'minor' | 'major' | 'none';
|
136
|
+
/**
|
137
|
+
* Configuration for the changelog section for commits of this type.
|
138
|
+
* If set to 'true', then commits of this type will be included in the changelog with their default title for the type.
|
139
|
+
* If set to 'false', then commits of this type will not be included in the changelog.
|
140
|
+
*/
|
141
|
+
changelog?: {
|
142
|
+
title?: string;
|
143
|
+
hidden?: boolean;
|
144
|
+
} | boolean;
|
145
|
+
} | boolean>;
|
146
|
+
}
|
123
147
|
interface NxReleaseConfiguration {
|
124
148
|
/**
|
125
149
|
* Shorthand for amending the projects which will be included in the implicit default release group (all projects by default).
|
@@ -229,6 +253,7 @@ interface NxReleaseConfiguration {
|
|
229
253
|
* Enable and configure automatic git operations as part of the release
|
230
254
|
*/
|
231
255
|
git?: NxReleaseGitConfiguration;
|
256
|
+
conventionalCommits?: NxReleaseConventionalCommitsConfiguration;
|
232
257
|
}
|
233
258
|
/**
|
234
259
|
* Nx.json configuration
|
@@ -704,6 +704,57 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
704
704
|
SOFTWARE.
|
705
705
|
|
706
706
|
|
707
|
+
regenerator-runtime
|
708
|
+
MIT
|
709
|
+
MIT License
|
710
|
+
|
711
|
+
Copyright (c) 2014-present, Facebook, Inc.
|
712
|
+
|
713
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
714
|
+
of this software and associated documentation files (the "Software"), to deal
|
715
|
+
in the Software without restriction, including without limitation the rights
|
716
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
717
|
+
copies of the Software, and to permit persons to whom the Software is
|
718
|
+
furnished to do so, subject to the following conditions:
|
719
|
+
|
720
|
+
The above copyright notice and this permission notice shall be included in all
|
721
|
+
copies or substantial portions of the Software.
|
722
|
+
|
723
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
724
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
725
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
726
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
727
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
728
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
729
|
+
SOFTWARE.
|
730
|
+
|
731
|
+
|
732
|
+
tabbable
|
733
|
+
MIT
|
734
|
+
The MIT License (MIT)
|
735
|
+
|
736
|
+
Copyright (c) 2015 David Clark
|
737
|
+
|
738
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
739
|
+
of this software and associated documentation files (the "Software"), to deal
|
740
|
+
in the Software without restriction, including without limitation the rights
|
741
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
742
|
+
copies of the Software, and to permit persons to whom the Software is
|
743
|
+
furnished to do so, subject to the following conditions:
|
744
|
+
|
745
|
+
The above copyright notice and this permission notice shall be included in all
|
746
|
+
copies or substantial portions of the Software.
|
747
|
+
|
748
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
749
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
750
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
751
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
752
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
753
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
754
|
+
SOFTWARE.
|
755
|
+
|
756
|
+
|
757
|
+
|
707
758
|
toggle-selection
|
708
759
|
MIT
|
709
760
|
|