@backstage/repo-tools 0.17.1-next.2 → 0.17.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @backstage/repo-tools
|
|
2
2
|
|
|
3
|
+
## 0.17.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2e5c5f8: Bumped `glob` dependency from v7/v8/v11 to v13 to address security vulnerabilities in older versions. Bumped `rollup` from v4.27 to v4.59+ to fix a high severity path traversal vulnerability (GHSA-mw96-cpmx-2vgc).
|
|
8
|
+
- 482ceed: Migrated from `assertError` to `toError` for error handling.
|
|
9
|
+
- 377de36: Fixed the `peer-deps` command to only require peer dependencies that are actually referenced by each package, rather than requiring all tracked peer dependencies for every package with any React dependency.
|
|
10
|
+
- 8e9679b: Parallelized CLI report generation, reducing wall-clock time by ~4x.
|
|
11
|
+
- ca2dc15: Internal code cleanup.
|
|
12
|
+
- 270efef: Added support for packages that only support React 18+ in the `peer-deps` command.
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
- @backstage/backend-plugin-api@1.9.0
|
|
15
|
+
- @backstage/errors@1.3.0
|
|
16
|
+
- @backstage/catalog-model@1.8.0
|
|
17
|
+
- @backstage/cli-common@0.2.1
|
|
18
|
+
- @backstage/cli-node@0.3.1
|
|
19
|
+
- @backstage/config-loader@1.10.10
|
|
20
|
+
|
|
3
21
|
## 0.17.1-next.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -90,7 +90,19 @@ var peerDeps = async ({ fix }) => {
|
|
|
90
90
|
for (const pkg of packagesWithRelevantDependencies) {
|
|
91
91
|
const packageJson = pkg.packageJson;
|
|
92
92
|
const expectedPeerDeps = getExpectedPeerDependencies(packageJson);
|
|
93
|
+
const allDeps = {
|
|
94
|
+
...packageJson.dependencies,
|
|
95
|
+
...packageJson.devDependencies,
|
|
96
|
+
...packageJson.peerDependencies
|
|
97
|
+
};
|
|
93
98
|
for (const dep of Object.keys(peerDependencies)) {
|
|
99
|
+
const isReferencedInPackage = !!allDeps[dep];
|
|
100
|
+
const isInGroupWithReferencedDep = groupsOfPeerDependencies.some(
|
|
101
|
+
(group) => group.includes(dep) && group.some((groupDep) => !!allDeps[groupDep])
|
|
102
|
+
);
|
|
103
|
+
if (!isReferencedInPackage && !isInGroupWithReferencedDep) {
|
|
104
|
+
continue;
|
|
105
|
+
}
|
|
94
106
|
if (isPeerDependency(dep, packageJson)) {
|
|
95
107
|
if (isOptional(dep) && !isMarkedAsOptional(dep, packageJson)) {
|
|
96
108
|
console.error(
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
const YAML_SCHEMA_PATH = "src/schema/openapi.yaml";
|
|
4
4
|
const OUTPUT_PATH = "src/schema/openapi/generated";
|
|
5
|
-
const TS_MODULE = `${OUTPUT_PATH}/router`;
|
|
6
5
|
const OLD_SCHEMA_PATH = `src/schema/openapi.generated.ts`;
|
|
7
|
-
const TS_SCHEMA_PATH = `${
|
|
6
|
+
const TS_SCHEMA_PATH = `${OUTPUT_PATH}/router.ts`;
|
|
8
7
|
const OPENAPI_IGNORE_FILES = [
|
|
9
8
|
// Get rid of the default files.
|
|
10
9
|
"*.md",
|
|
@@ -41,7 +40,6 @@ const OPENAPI_IGNORE_FILES = [
|
|
|
41
40
|
exports.OLD_SCHEMA_PATH = OLD_SCHEMA_PATH;
|
|
42
41
|
exports.OPENAPI_IGNORE_FILES = OPENAPI_IGNORE_FILES;
|
|
43
42
|
exports.OUTPUT_PATH = OUTPUT_PATH;
|
|
44
|
-
exports.TS_MODULE = TS_MODULE;
|
|
45
43
|
exports.TS_SCHEMA_PATH = TS_SCHEMA_PATH;
|
|
46
44
|
exports.YAML_SCHEMA_PATH = YAML_SCHEMA_PATH;
|
|
47
45
|
//# sourceMappingURL=constants.cjs.js.map
|
package/dist/package.json.cjs.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/repo-tools",
|
|
3
|
-
"version": "0.17.1
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"description": "CLI for Backstage repo tooling ",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "cli"
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@apidevtools/swagger-parser": "^10.1.0",
|
|
45
45
|
"@apisyouwonthate/style-guide": "^1.4.0",
|
|
46
|
-
"@backstage/backend-plugin-api": "1.9.0
|
|
47
|
-
"@backstage/catalog-model": "1.
|
|
48
|
-
"@backstage/cli-common": "0.2.1
|
|
49
|
-
"@backstage/cli-node": "0.3.1
|
|
50
|
-
"@backstage/config-loader": "1.10.10
|
|
51
|
-
"@backstage/errors": "1.3.0
|
|
46
|
+
"@backstage/backend-plugin-api": "^1.9.0",
|
|
47
|
+
"@backstage/catalog-model": "^1.8.0",
|
|
48
|
+
"@backstage/cli-common": "^0.2.1",
|
|
49
|
+
"@backstage/cli-node": "^0.3.1",
|
|
50
|
+
"@backstage/config-loader": "^1.10.10",
|
|
51
|
+
"@backstage/errors": "^1.3.0",
|
|
52
52
|
"@electric-sql/pglite": "^0.3.0",
|
|
53
53
|
"@manypkg/get-packages": "^1.1.3",
|
|
54
54
|
"@microsoft/api-documenter": "^7.28.1",
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"zod": "^3.25.76 || ^4.0.0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@backstage/backend-test-utils": "1.11.2
|
|
91
|
-
"@backstage/cli": "0.36.1
|
|
92
|
-
"@backstage/types": "1.2.2",
|
|
90
|
+
"@backstage/backend-test-utils": "^1.11.2",
|
|
91
|
+
"@backstage/cli": "^0.36.1",
|
|
92
|
+
"@backstage/types": "^1.2.2",
|
|
93
93
|
"@types/is-glob": "^4.0.2",
|
|
94
94
|
"@types/node": "^22.13.14",
|
|
95
95
|
"@types/prettier": "^2.0.0",
|