nx 17.2.5 → 17.2.6

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/README.md CHANGED
@@ -1,9 +1,4 @@
1
- <p style="text-align: center;">
2
- <picture>
3
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg">
4
- <img alt="Nx - Smart Monorepos · Fast CI" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
5
- </picture>
6
- </p>
1
+ <p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600" alt="Nx - Smart, Fast and Extensible Build System"></p>
7
2
 
8
3
  <div style="text-align: center;">
9
4
 
@@ -20,9 +15,9 @@
20
15
 
21
16
  <hr>
22
17
 
23
- # Nx: Smart Monorepos · Fast CI
18
+ # Nx: Smart, Fast and Extensible Build System
24
19
 
25
- Nx is a build system with built-in tooling and advanced CI capabilities. It helps you maintain and scale monorepos, both locally and on CI.
20
+ Nx is a next generation build system with first class monorepo support and powerful integrations.
26
21
 
27
22
  ## Getting Started
28
23
 
@@ -62,5 +57,5 @@ npx nx@latest init
62
57
  - [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
63
58
 
64
59
  <p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
65
- width="100%" alt="Nx - Smart Monorepos · Fast CI"></a></p>
60
+ width="100%" alt="Nx - Smart, Fast and Extensible Build System"></a></p>
66
61
 
@@ -70,7 +70,10 @@ const defaultChangelogRenderer = async ({ projectGraph, commits, releaseVersion,
70
70
  const line = formatCommit(commit, repoSlug);
71
71
  markdownLines.push(line);
72
72
  if (commit.isBreaking) {
73
- breakingChanges.push(line);
73
+ const breakingChangeExplanation = extractBreakingChangeExplanation(commit.body);
74
+ breakingChanges.push(breakingChangeExplanation
75
+ ? `- ${commit.scope ? `**${commit.scope.trim()}:** ` : ''}${breakingChangeExplanation}`
76
+ : line);
74
77
  }
75
78
  }
76
79
  }
@@ -101,7 +104,10 @@ const defaultChangelogRenderer = async ({ projectGraph, commits, releaseVersion,
101
104
  const line = formatCommit(commit, repoSlug);
102
105
  markdownLines.push(line + '\n');
103
106
  if (commit.isBreaking) {
104
- breakingChanges.push(line);
107
+ const breakingChangeExplanation = extractBreakingChangeExplanation(commit.body);
108
+ breakingChanges.push(breakingChangeExplanation
109
+ ? `- ${commit.scope ? `**${commit.scope.trim()}:** ` : ''}${breakingChangeExplanation}`
110
+ : line);
105
111
  }
106
112
  }
107
113
  }
@@ -186,11 +192,32 @@ function groupBy(items, key) {
186
192
  }
187
193
  function formatCommit(commit, repoSlug) {
188
194
  let commitLine = '- ' +
189
- (commit.scope ? `**${commit.scope.trim()}:** ` : '') +
190
195
  (commit.isBreaking ? '⚠️ ' : '') +
196
+ (commit.scope ? `**${commit.scope.trim()}:** ` : '') +
191
197
  commit.description;
192
198
  if (repoSlug) {
193
199
  commitLine += (0, github_1.formatReferences)(commit.references, repoSlug);
194
200
  }
195
201
  return commitLine;
196
202
  }
203
+ /**
204
+ * It is common to add further information about a breaking change in the commit body,
205
+ * and it is naturally that information that should be included in the BREAKING CHANGES
206
+ * section of changelog, rather than repeating the commit title/description.
207
+ */
208
+ function extractBreakingChangeExplanation(message) {
209
+ const breakingChangeIdentifier = 'BREAKING CHANGE:';
210
+ const startIndex = message.indexOf(breakingChangeIdentifier);
211
+ if (startIndex === -1) {
212
+ // "BREAKING CHANGE:" not found in the message
213
+ return null;
214
+ }
215
+ const startOfBreakingChange = startIndex + breakingChangeIdentifier.length;
216
+ const endOfBreakingChange = message.indexOf('\n', startOfBreakingChange);
217
+ if (endOfBreakingChange === -1) {
218
+ // No newline character found, extract till the end of the message
219
+ return message.substring(startOfBreakingChange).trim();
220
+ }
221
+ // Extract and return the breaking change message
222
+ return message.substring(startOfBreakingChange, endOfBreakingChange).trim();
223
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "v17.2.5",
3
+ "version": "17.2.6",
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": {
@@ -66,7 +66,7 @@
66
66
  "yargs": "^17.6.2",
67
67
  "yargs-parser": "21.1.1",
68
68
  "node-machine-id": "1.1.12",
69
- "@nrwl/tao": "v17.2.5"
69
+ "@nrwl/tao": "17.2.6"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "@swc-node/register": "^1.6.7",
@@ -81,16 +81,16 @@
81
81
  }
82
82
  },
83
83
  "optionalDependencies": {
84
- "@nx/nx-darwin-x64": "v17.2.5",
85
- "@nx/nx-darwin-arm64": "v17.2.5",
86
- "@nx/nx-linux-x64-gnu": "v17.2.5",
87
- "@nx/nx-linux-x64-musl": "v17.2.5",
88
- "@nx/nx-win32-x64-msvc": "v17.2.5",
89
- "@nx/nx-linux-arm64-gnu": "v17.2.5",
90
- "@nx/nx-linux-arm64-musl": "v17.2.5",
91
- "@nx/nx-linux-arm-gnueabihf": "v17.2.5",
92
- "@nx/nx-win32-arm64-msvc": "v17.2.5",
93
- "@nx/nx-freebsd-x64": "v17.2.5"
84
+ "@nx/nx-darwin-x64": "17.2.6",
85
+ "@nx/nx-darwin-arm64": "17.2.6",
86
+ "@nx/nx-linux-x64-gnu": "17.2.6",
87
+ "@nx/nx-linux-x64-musl": "17.2.6",
88
+ "@nx/nx-win32-x64-msvc": "17.2.6",
89
+ "@nx/nx-linux-arm64-gnu": "17.2.6",
90
+ "@nx/nx-linux-arm64-musl": "17.2.6",
91
+ "@nx/nx-linux-arm-gnueabihf": "17.2.6",
92
+ "@nx/nx-win32-arm64-msvc": "17.2.6",
93
+ "@nx/nx-freebsd-x64": "17.2.6"
94
94
  },
95
95
  "nx-migrations": {
96
96
  "migrations": "./migrations.json",
@@ -135,8 +135,6 @@
135
135
  "@nrwl/react-native",
136
136
  "@nx/rollup",
137
137
  "@nrwl/rollup",
138
- "@nx/remix",
139
- "@nrwl/remix",
140
138
  "@nx/storybook",
141
139
  "@nrwl/storybook",
142
140
  "@nrwl/tao",
@@ -36,7 +36,7 @@ exports.parserConfiguration = {
36
36
  */
37
37
  exports.commandsObject = yargs
38
38
  .parserConfiguration(exports.parserConfiguration)
39
- .usage(chalk.bold('Smart Monorepos · Fast CI'))
39
+ .usage(chalk.bold('Smart, Fast and Extensible Build System'))
40
40
  .demandCommand(1, '')
41
41
  .command(command_object_1.yargsAffectedBuildCommand)
42
42
  .command(command_object_1.yargsAffectedCommand)
@@ -188,7 +188,7 @@ function parseGitCommit(commit) {
188
188
  return null;
189
189
  }
190
190
  const scope = match.groups.scope || '';
191
- const isBreaking = Boolean(match.groups.breaking);
191
+ const isBreaking = Boolean(match.groups.breaking) || commit.body.includes('BREAKING CHANGE:');
192
192
  let description = match.groups.description;
193
193
  // Extract references from message
194
194
  const references = [];
@@ -1,29 +1,3 @@
1
- @babel/runtime
2
- MIT
3
- MIT License
4
-
5
- Copyright (c) 2014-present Sebastian McKenzie and other contributors
6
-
7
- Permission is hereby granted, free of charge, to any person obtaining
8
- a copy of this software and associated documentation files (the
9
- "Software"), to deal in the Software without restriction, including
10
- without limitation the rights to use, copy, modify, merge, publish,
11
- distribute, sublicense, and/or sell copies of the Software, and to
12
- permit persons to whom the Software is furnished to do so, subject to
13
- the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be
16
- included in all copies or substantial portions of the Software.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
-
26
-
27
1
  @floating-ui/react
28
2
  MIT
29
3
  MIT License
@@ -212,6 +186,31 @@ SOFTWARE.
212
186
 
213
187
 
214
188
 
189
+ aria-hidden
190
+ MIT
191
+ MIT License
192
+
193
+ Copyright (c) 2017 Anton Korzunov
194
+
195
+ Permission is hereby granted, free of charge, to any person obtaining a copy
196
+ of this software and associated documentation files (the "Software"), to deal
197
+ in the Software without restriction, including without limitation the rights
198
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
199
+ copies of the Software, and to permit persons to whom the Software is
200
+ furnished to do so, subject to the following conditions:
201
+
202
+ The above copyright notice and this permission notice shall be included in all
203
+ copies or substantial portions of the Software.
204
+
205
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
206
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
207
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
208
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
209
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
210
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
211
+ SOFTWARE.
212
+
213
+
215
214
  classnames
216
215
  MIT
217
216
  The MIT License (MIT)
@@ -590,6 +589,57 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
590
589
  SOFTWARE.
591
590
 
592
591
 
592
+ regenerator-runtime
593
+ MIT
594
+ MIT License
595
+
596
+ Copyright (c) 2014-present, Facebook, Inc.
597
+
598
+ Permission is hereby granted, free of charge, to any person obtaining a copy
599
+ of this software and associated documentation files (the "Software"), to deal
600
+ in the Software without restriction, including without limitation the rights
601
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
602
+ copies of the Software, and to permit persons to whom the Software is
603
+ furnished to do so, subject to the following conditions:
604
+
605
+ The above copyright notice and this permission notice shall be included in all
606
+ copies or substantial portions of the Software.
607
+
608
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
609
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
610
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
611
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
612
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
613
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
614
+ SOFTWARE.
615
+
616
+
617
+ tabbable
618
+ MIT
619
+ The MIT License (MIT)
620
+
621
+ Copyright (c) 2015 David Clark
622
+
623
+ Permission is hereby granted, free of charge, to any person obtaining a copy
624
+ of this software and associated documentation files (the "Software"), to deal
625
+ in the Software without restriction, including without limitation the rights
626
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
627
+ copies of the Software, and to permit persons to whom the Software is
628
+ furnished to do so, subject to the following conditions:
629
+
630
+ The above copyright notice and this permission notice shall be included in all
631
+ copies or substantial portions of the Software.
632
+
633
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
634
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
635
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
636
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
637
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
638
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
639
+ SOFTWARE.
640
+
641
+
642
+
593
643
  use-isomorphic-layout-effect
594
644
  MIT
595
645
  MIT License