@backstage/repo-tools 0.15.3 → 0.15.4-next.0
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 +13 -0
- package/dist/commands/package-docs/Cache.cjs.js +6 -2
- package/dist/package.json.cjs.js +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @backstage/repo-tools
|
|
2
2
|
|
|
3
|
+
## 0.15.4-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript's `erasableSyntaxOnly` setting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/config-loader@1.10.6-next.0
|
|
10
|
+
- @backstage/cli-node@0.2.15-next.0
|
|
11
|
+
- @backstage/catalog-model@1.7.6-next.0
|
|
12
|
+
- @backstage/backend-plugin-api@1.4.5-next.0
|
|
13
|
+
- @backstage/cli-common@0.1.15
|
|
14
|
+
- @backstage/errors@1.2.7
|
|
15
|
+
|
|
3
16
|
## 0.15.3
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -21,14 +21,18 @@ const cacheEntrySchema = zod.z.object({
|
|
|
21
21
|
version: zod.z.string()
|
|
22
22
|
});
|
|
23
23
|
class PackageDocsCache {
|
|
24
|
+
// A map of package directory to package hash.
|
|
25
|
+
keyCache;
|
|
26
|
+
lockfile;
|
|
27
|
+
// A map of package directory to cache entry.
|
|
28
|
+
cache;
|
|
29
|
+
baseDirectory;
|
|
24
30
|
constructor(lockfile, cache, baseDirectory) {
|
|
25
31
|
this.lockfile = lockfile;
|
|
26
32
|
this.cache = cache;
|
|
27
33
|
this.baseDirectory = baseDirectory;
|
|
28
34
|
this.keyCache = /* @__PURE__ */ new Map();
|
|
29
35
|
}
|
|
30
|
-
// A map of package directory to package hash.
|
|
31
|
-
keyCache;
|
|
32
36
|
static async loadAsync(baseDirectory, lockfile) {
|
|
33
37
|
const cacheDir = path.join(baseDirectory, constants.CACHE_DIR);
|
|
34
38
|
await fs.mkdirp(cacheDir);
|
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.15.
|
|
3
|
+
"version": "0.15.4-next.0",
|
|
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": "
|
|
47
|
-
"@backstage/catalog-model": "
|
|
48
|
-
"@backstage/cli-common": "
|
|
49
|
-
"@backstage/cli-node": "
|
|
50
|
-
"@backstage/config-loader": "
|
|
51
|
-
"@backstage/errors": "
|
|
46
|
+
"@backstage/backend-plugin-api": "1.4.5-next.0",
|
|
47
|
+
"@backstage/catalog-model": "1.7.6-next.0",
|
|
48
|
+
"@backstage/cli-common": "0.1.15",
|
|
49
|
+
"@backstage/cli-node": "0.2.15-next.0",
|
|
50
|
+
"@backstage/config-loader": "1.10.6-next.0",
|
|
51
|
+
"@backstage/errors": "1.2.7",
|
|
52
52
|
"@electric-sql/pglite": "^0.3.0",
|
|
53
53
|
"@manypkg/get-packages": "^1.1.3",
|
|
54
54
|
"@microsoft/api-documenter": "^7.25.7",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
"zod": "^3.22.4"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@backstage/backend-test-utils": "
|
|
90
|
-
"@backstage/cli": "
|
|
91
|
-
"@backstage/types": "
|
|
89
|
+
"@backstage/backend-test-utils": "1.10.0-next.0",
|
|
90
|
+
"@backstage/cli": "0.34.5-next.0",
|
|
91
|
+
"@backstage/types": "1.2.2",
|
|
92
92
|
"@types/is-glob": "^4.0.2",
|
|
93
93
|
"@types/node": "^20.16.0",
|
|
94
94
|
"@types/prettier": "^2.0.0",
|