@roots/bud-build 2023.3.26 → 2023.3.28
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/lib/config/recordsPath.js +1 -1
- package/lib/config/recordsPath.js.map +1 -1
- package/lib/config/snapshot.d.ts.map +1 -1
- package/lib/config/snapshot.js +5 -2
- package/lib/config/snapshot.js.map +1 -1
- package/package.json +5 -5
- package/src/config/index.test.ts +0 -4
- package/src/config/recordsPath.ts +1 -1
- package/src/config/snapshot.ts +5 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const recordsPath = async (bud) => bud.hooks.filter(`build.recordsPath`, bud.path(`@
|
|
1
|
+
export const recordsPath = async (bud) => bud.hooks.filter(`build.recordsPath`, bud.path(`@os-cache`, bud.label, `modules.json`));
|
|
2
2
|
//# sourceMappingURL=recordsPath.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recordsPath.js","sourceRoot":"","sources":["../../src/config/recordsPath.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAA2B,KAAK,EAAC,GAAG,EAAC,EAAE,CAC7D,GAAG,CAAC,KAAK,CAAC,MAAM,CACd,mBAAmB,EACnB,GAAG,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"recordsPath.js","sourceRoot":"","sources":["../../src/config/recordsPath.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAA2B,KAAK,EAAC,GAAG,EAAC,EAAE,CAC7D,GAAG,CAAC,KAAK,CAAC,MAAM,CACd,mBAAmB,EACnB,GAAG,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,CAAC,KAAK,EAAE,cAAc,CAAC,CACjD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../src/config/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,YAAY,CAAA;AAEvC,eAAO,MAAM,QAAQ,EAAE,OAAO,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../src/config/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,YAAY,CAAA;AAEvC,eAAO,MAAM,QAAQ,EAAE,OAAO,CAAC,UAAU,CASrC,CAAA"}
|
package/lib/config/snapshot.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export const snapshot = async (app) => app.hooks.filter(`build.snapshot`, {
|
|
2
2
|
managedPaths: app.hooks.filter(`build.snapshot.managedPaths`, [
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
...new Set([
|
|
4
|
+
app.path(`@os-cache`),
|
|
5
|
+
app.path(`@storage`),
|
|
6
|
+
app.path(`@modules`),
|
|
7
|
+
]),
|
|
5
8
|
]),
|
|
6
9
|
});
|
|
7
10
|
//# sourceMappingURL=snapshot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../src/config/snapshot.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,QAAQ,GAAwB,KAAK,EAAC,GAAG,EAAC,EAAE,CACvD,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,EAAE;IACjC,YAAY,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,6BAA6B,EAAE;QAC5D,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../src/config/snapshot.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,QAAQ,GAAwB,KAAK,EAAC,GAAG,EAAC,EAAE,CACvD,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,EAAE;IACjC,YAAY,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,6BAA6B,EAAE;QAC5D,GAAG,IAAI,GAAG,CAAC;YACT,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC;YACrB,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC;YACpB,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC;SACrB,CAAC;KACH,CAAC;CACH,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roots/bud-build",
|
|
3
3
|
"description": "bud.js core module",
|
|
4
|
-
"version": "2023.3.
|
|
4
|
+
"version": "2023.3.28",
|
|
5
5
|
"homepage": "https://roots.io/bud",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -82,14 +82,14 @@
|
|
|
82
82
|
"module": "./lib/index.js",
|
|
83
83
|
"types": "./lib/index.d.ts",
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@roots/bud-api": "2023.3.
|
|
86
|
-
"@roots/bud-hooks": "2023.3.
|
|
85
|
+
"@roots/bud-api": "2023.3.28",
|
|
86
|
+
"@roots/bud-hooks": "2023.3.28",
|
|
87
87
|
"@skypack/package-check": "0.2.2",
|
|
88
88
|
"@types/node": "18.15.5"
|
|
89
89
|
},
|
|
90
90
|
"dependencies": {
|
|
91
|
-
"@roots/bud-framework": "2023.3.
|
|
92
|
-
"@roots/bud-support": "2023.3.
|
|
91
|
+
"@roots/bud-framework": "2023.3.28",
|
|
92
|
+
"@roots/bud-support": "2023.3.28",
|
|
93
93
|
"tslib": "2.5.0"
|
|
94
94
|
},
|
|
95
95
|
"volta": {
|
package/src/config/index.test.ts
CHANGED
|
@@ -28,10 +28,6 @@ describe(`bud.build.config`, function () {
|
|
|
28
28
|
|
|
29
29
|
expect(cache.type).toStrictEqual(`filesystem`)
|
|
30
30
|
|
|
31
|
-
expect(cache.cacheDirectory).toStrictEqual(
|
|
32
|
-
expect.stringContaining(`.budfiles`),
|
|
33
|
-
)
|
|
34
|
-
|
|
35
31
|
expect(cache.version).toStrictEqual(expect.any(String))
|
|
36
32
|
})
|
|
37
33
|
|
package/src/config/snapshot.ts
CHANGED
|
@@ -3,7 +3,10 @@ import type {Factory} from './index.js'
|
|
|
3
3
|
export const snapshot: Factory<`snapshot`> = async app =>
|
|
4
4
|
app.hooks.filter(`build.snapshot`, {
|
|
5
5
|
managedPaths: app.hooks.filter(`build.snapshot.managedPaths`, [
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
...new Set([
|
|
7
|
+
app.path(`@os-cache`),
|
|
8
|
+
app.path(`@storage`),
|
|
9
|
+
app.path(`@modules`),
|
|
10
|
+
]),
|
|
8
11
|
]),
|
|
9
12
|
})
|