@roots/bud-cache 6.6.5 → 6.6.7
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/invalidate-cache-extension/index.d.ts +1 -2
- package/lib/invalidate-cache-extension/index.d.ts.map +1 -1
- package/lib/invalidate-cache-extension/index.js +7 -7
- package/lib/invalidate-cache-extension/index.js.map +1 -1
- package/lib/service.d.ts +4 -49
- package/lib/service.d.ts.map +1 -1
- package/lib/service.js +25 -79
- package/lib/service.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/invalidate-cache-extension/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/invalidate-cache-extension/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,sBAAsB,CAAA;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,gCAAgC,CAAA;AAIxD;;;;;;;;;;;GAWG;AAEH,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,SAAS;IAC7D;;;OAGG;IACH,IAAW,gBAAgB,IAAI,MAAM,CAEpC;IAED;;;;;OAKG;IAEmB,QAAQ,CAAC,GAAG,EAAE,GAAG;CA0BxC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { join } from 'node:path';
|
|
2
3
|
import { Extension } from '@roots/bud-framework/extension';
|
|
3
4
|
import { bind, label } from '@roots/bud-framework/extension/decorators';
|
|
4
5
|
import stripAnsi from 'strip-ansi';
|
|
@@ -16,12 +17,11 @@ import stripAnsi from 'strip-ansi';
|
|
|
16
17
|
*/
|
|
17
18
|
let InvalidateCacheExtension = class InvalidateCacheExtension extends Extension {
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
20
|
+
* Invalidation file path
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
23
|
get invalidationFile() {
|
|
24
|
-
return this.app.
|
|
24
|
+
return join(this.app.cache.cacheDirectory, `error.json`);
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* `register` callback
|
|
@@ -30,12 +30,12 @@ let InvalidateCacheExtension = class InvalidateCacheExtension extends Extension
|
|
|
30
30
|
* @decorator `@bind`
|
|
31
31
|
*/
|
|
32
32
|
async register(bud) {
|
|
33
|
-
const invalidate = await bud.fs
|
|
34
|
-
if (invalidate || bud.context.args.flush) {
|
|
33
|
+
const invalidate = await bud.fs?.exists(this.invalidationFile);
|
|
34
|
+
if (invalidate || (bud.isCLI() && bud.context.args.flush)) {
|
|
35
35
|
await bud.fs.remove(this.invalidationFile);
|
|
36
|
-
await bud.fs.remove(bud.
|
|
36
|
+
await bud.fs.remove(bud.cache.cacheDirectory);
|
|
37
37
|
}
|
|
38
|
-
bud.
|
|
38
|
+
bud.after(async () => {
|
|
39
39
|
bud.compiler.instance.hooks.done.tap(this.label, async (compiler) => {
|
|
40
40
|
try {
|
|
41
41
|
if (!compiler.hasErrors())
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/invalidate-cache-extension/index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/invalidate-cache-extension/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAA;AAG9B,OAAO,EAAC,SAAS,EAAC,MAAM,gCAAgC,CAAA;AACxD,OAAO,EAAC,IAAI,EAAE,KAAK,EAAC,MAAM,2CAA2C,CAAA;AACrE,OAAO,SAAS,MAAM,YAAY,CAAA;AAElC;;;;;;;;;;;GAWG;AAEY,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,SAAS;IAC7D;;;OAGG;IACH,IAAW,gBAAgB;QACzB,OAAO,IAAI,CAAC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QACJ,CAAC,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AA1BuB;IADrB,IAAI;;;;wDA0BJ;AAzCkB,wBAAwB;IAD5C,KAAK,CAAC,mCAAmC,CAAC;GACtB,wBAAwB,CA0C5C;eA1CoB,wBAAwB"}
|
package/lib/service.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Configuration } from '@roots/bud-framework/config';
|
|
1
2
|
import { Service } from '@roots/bud-framework/service';
|
|
2
3
|
import type * as Services from '@roots/bud-framework/services';
|
|
3
4
|
/**
|
|
@@ -6,12 +7,6 @@ import type * as Services from '@roots/bud-framework/services';
|
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
8
9
|
export default class Cache extends Service implements Services.Cache.Service {
|
|
9
|
-
/**
|
|
10
|
-
* Service label
|
|
11
|
-
*
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
static label: string;
|
|
15
10
|
/**
|
|
16
11
|
* Enabled
|
|
17
12
|
*
|
|
@@ -39,12 +34,6 @@ export default class Cache extends Service implements Services.Cache.Service {
|
|
|
39
34
|
*/
|
|
40
35
|
get version(): string;
|
|
41
36
|
set version(version: string);
|
|
42
|
-
/**
|
|
43
|
-
* Build dependencies
|
|
44
|
-
*
|
|
45
|
-
* @public
|
|
46
|
-
*/
|
|
47
|
-
get buildDependencies(): any;
|
|
48
37
|
/**
|
|
49
38
|
* Cache directory
|
|
50
39
|
*
|
|
@@ -57,48 +46,14 @@ export default class Cache extends Service implements Services.Cache.Service {
|
|
|
57
46
|
*
|
|
58
47
|
* @public
|
|
59
48
|
*/
|
|
60
|
-
get configuration():
|
|
61
|
-
name: string;
|
|
62
|
-
type: "memory" | "filesystem";
|
|
63
|
-
store: "pack";
|
|
64
|
-
allowCollectingMemory: boolean;
|
|
65
|
-
cacheDirectory: string;
|
|
66
|
-
buildDependencies: any;
|
|
67
|
-
idleTimeout: number;
|
|
68
|
-
idleTimeoutForInitialStore: number;
|
|
69
|
-
profile: boolean;
|
|
70
|
-
version: string;
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* Memory cache
|
|
74
|
-
*
|
|
75
|
-
* @public
|
|
76
|
-
*/
|
|
77
|
-
get memoryCache(): boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Filesystem cache
|
|
80
|
-
*
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
83
|
-
get filesystemCache(): {
|
|
84
|
-
name: string;
|
|
85
|
-
type: "memory" | "filesystem";
|
|
86
|
-
store: "pack";
|
|
87
|
-
allowCollectingMemory: boolean;
|
|
88
|
-
cacheDirectory: string;
|
|
89
|
-
buildDependencies: any;
|
|
90
|
-
idleTimeout: number;
|
|
91
|
-
idleTimeoutForInitialStore: number;
|
|
92
|
-
profile: boolean;
|
|
93
|
-
version: string;
|
|
94
|
-
};
|
|
49
|
+
get configuration(): Configuration[`cache`];
|
|
95
50
|
/**
|
|
96
|
-
* `
|
|
51
|
+
* `booted` callback
|
|
97
52
|
*
|
|
98
53
|
* @public
|
|
99
54
|
* @decorator `@bind`
|
|
100
55
|
*/
|
|
101
|
-
booted(): Promise<void>;
|
|
56
|
+
booted?(): Promise<void>;
|
|
102
57
|
/**
|
|
103
58
|
* Flush cache
|
|
104
59
|
*/
|
package/lib/service.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,OAAO,EAAC,MAAM,8BAA8B,CAAA;AACpD,OAAO,KAAK,KAAK,QAAQ,MAAM,+BAA+B,CAAA;
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,6BAA6B,CAAA;AAC9D,OAAO,EAAC,OAAO,EAAC,MAAM,8BAA8B,CAAA;AACpD,OAAO,KAAK,KAAK,QAAQ,MAAM,+BAA+B,CAAA;AAM9D;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,KACnB,SAAQ,OACR,YAAW,QAAQ,CAAC,KAAK,CAAC,OAAO;IAEjC;;;;OAIG;IACI,OAAO,EAAE,OAAO,CAAO;IAE9B;;;;OAIG;IACH,IAAW,IAAI,IAAI,MAAM,CAKxB;IACD,IAAW,IAAI,CAAC,IAAI,EAAE,MAAM,EAE3B;IAED;;;;OAIG;IACH,IAAW,IAAI,IAAI,QAAQ,GAAG,YAAY,CAOzC;IAED,IAAW,IAAI,CAAC,IAAI,EAAE,QAAQ,GAAG,YAAY,EAE5C;IAED;;;;OAIG;IACH,IAAW,OAAO,IAAI,MAAM,CAc3B;IACD,IAAW,OAAO,CAAC,OAAO,EAAE,MAAM,EAEjC;IAED;;;;OAIG;IACH,IAAW,cAAc,IAAI,MAAM,CAKlC;IACD,IAAW,cAAc,CAAC,SAAS,EAAE,MAAM,EAE1C;IAED;;;;OAIG;IACH,IAAW,aAAa,IAAI,aAAa,CAAC,OAAO,CAAC,CAejD;IAED;;;;;OAKG;IAEmB,MAAM,CAAC;IAK7B;;OAEG;IAEU,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGpC"}
|
package/lib/service.js
CHANGED
|
@@ -2,6 +2,7 @@ import { __decorate, __metadata } from "tslib";
|
|
|
2
2
|
import { createHash } from 'node:crypto';
|
|
3
3
|
import { Service } from '@roots/bud-framework/service';
|
|
4
4
|
import { bind } from '@roots/bud-support/decorators';
|
|
5
|
+
import { isString, join } from '@roots/bud-support/lodash-es';
|
|
5
6
|
import InvalidateCacheExtension from './invalidate-cache-extension/index.js';
|
|
6
7
|
/**
|
|
7
8
|
* Cache service class
|
|
@@ -24,7 +25,7 @@ export default class Cache extends Service {
|
|
|
24
25
|
* @public
|
|
25
26
|
*/
|
|
26
27
|
get name() {
|
|
27
|
-
return this.app.hooks.filter(`build.cache.name`);
|
|
28
|
+
return this.app.hooks.filter(`build.cache.name`, this.app.hooks.filter(`build.name`, this.app.context.label));
|
|
28
29
|
}
|
|
29
30
|
set name(name) {
|
|
30
31
|
this.app.hooks.on(`build.cache.name`, name);
|
|
@@ -35,7 +36,9 @@ export default class Cache extends Service {
|
|
|
35
36
|
* @public
|
|
36
37
|
*/
|
|
37
38
|
get type() {
|
|
38
|
-
return this.app.hooks.filter(`build.cache.type
|
|
39
|
+
return this.app.hooks.filter(`build.cache.type`, this.app.isCLI() && isString(this.app.context.args.cache)
|
|
40
|
+
? this.app.context.args.cache
|
|
41
|
+
: `filesystem`);
|
|
39
42
|
}
|
|
40
43
|
set type(type) {
|
|
41
44
|
this.app.hooks.on(`build.cache.type`, type);
|
|
@@ -46,28 +49,22 @@ export default class Cache extends Service {
|
|
|
46
49
|
* @public
|
|
47
50
|
*/
|
|
48
51
|
get version() {
|
|
49
|
-
|
|
52
|
+
const args = this.app.fs.json.stringify(this.app.isCLI() ? this.app.context.args : {});
|
|
53
|
+
const files = Object.values(this.app.context.config ?? {}).filter(file => file?.bud && file.sha1);
|
|
54
|
+
return this.app.hooks.filter(`build.cache.version`, createHash(`sha1`)
|
|
55
|
+
.update(join(args, ...files.map(({ module: { sha1 } }) => sha1)))
|
|
56
|
+
.digest(`base64`));
|
|
50
57
|
}
|
|
51
58
|
set version(version) {
|
|
52
59
|
this.app.hooks.on(`build.cache.version`, version);
|
|
53
60
|
}
|
|
54
|
-
/**
|
|
55
|
-
* Build dependencies
|
|
56
|
-
*
|
|
57
|
-
* @public
|
|
58
|
-
*/
|
|
59
|
-
get buildDependencies() {
|
|
60
|
-
return {
|
|
61
|
-
config: Object.values(this.app.context.config).map(({ path }) => path),
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
61
|
/**
|
|
65
62
|
* Cache directory
|
|
66
63
|
*
|
|
67
64
|
* @public
|
|
68
65
|
*/
|
|
69
66
|
get cacheDirectory() {
|
|
70
|
-
return this.app.hooks.filter(`build.cache.cacheDirectory`);
|
|
67
|
+
return this.app.hooks.filter(`build.cache.cacheDirectory`, this.app.path(`@storage`, this.app.label, `cache`, this.app.mode));
|
|
71
68
|
}
|
|
72
69
|
set cacheDirectory(directory) {
|
|
73
70
|
this.app.hooks.on(`build.cache.cacheDirectory`, directory);
|
|
@@ -80,73 +77,28 @@ export default class Cache extends Service {
|
|
|
80
77
|
get configuration() {
|
|
81
78
|
if (this.enabled !== true)
|
|
82
79
|
return false;
|
|
83
|
-
return this.type
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
80
|
+
return this.type === `memory`
|
|
81
|
+
? true
|
|
82
|
+
: {
|
|
83
|
+
name: this.name,
|
|
84
|
+
type: this.type,
|
|
85
|
+
store: `pack`,
|
|
86
|
+
allowCollectingMemory: true,
|
|
87
|
+
cacheDirectory: this.cacheDirectory,
|
|
88
|
+
idleTimeout: 10000,
|
|
89
|
+
idleTimeoutForInitialStore: 0,
|
|
90
|
+
profile: true,
|
|
91
|
+
version: this.version,
|
|
92
|
+
};
|
|
92
93
|
}
|
|
93
94
|
/**
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* @public
|
|
97
|
-
*/
|
|
98
|
-
get filesystemCache() {
|
|
99
|
-
return {
|
|
100
|
-
name: this.name,
|
|
101
|
-
type: this.type,
|
|
102
|
-
store: `pack`,
|
|
103
|
-
allowCollectingMemory: true,
|
|
104
|
-
cacheDirectory: this.cacheDirectory,
|
|
105
|
-
buildDependencies: this.buildDependencies,
|
|
106
|
-
idleTimeout: 10000,
|
|
107
|
-
idleTimeoutForInitialStore: 0,
|
|
108
|
-
profile: true,
|
|
109
|
-
version: this.version,
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* `boot` callback
|
|
95
|
+
* `booted` callback
|
|
114
96
|
*
|
|
115
97
|
* @public
|
|
116
98
|
* @decorator `@bind`
|
|
117
99
|
*/
|
|
118
100
|
async booted() {
|
|
119
101
|
await this.app.extensions.add(InvalidateCacheExtension);
|
|
120
|
-
switch (this.app.context.args.cache) {
|
|
121
|
-
case `memory`:
|
|
122
|
-
this.enabled = true;
|
|
123
|
-
this.type = `memory`;
|
|
124
|
-
break;
|
|
125
|
-
case `filesystem`:
|
|
126
|
-
this.enabled = true;
|
|
127
|
-
this.type = `filesystem`;
|
|
128
|
-
break;
|
|
129
|
-
case undefined:
|
|
130
|
-
this.enabled = true;
|
|
131
|
-
this.type = `filesystem`;
|
|
132
|
-
break;
|
|
133
|
-
case false:
|
|
134
|
-
this.enabled = false;
|
|
135
|
-
break;
|
|
136
|
-
}
|
|
137
|
-
this.name = `webpack`;
|
|
138
|
-
this.cacheDirectory = this.app.path(`@storage`, this.app.label, `cache`, this.app.mode);
|
|
139
|
-
this.version = createHash(`sha1`)
|
|
140
|
-
.update(this.app.fs.json.stringify([
|
|
141
|
-
this.app.context.config,
|
|
142
|
-
Object.entries(this.app.context.args)
|
|
143
|
-
.filter(([k, v]) => v !== undefined)
|
|
144
|
-
.map(([k, v]) => `${k}-${v}`)
|
|
145
|
-
.join(`.`),
|
|
146
|
-
]))
|
|
147
|
-
.digest(`base64`)
|
|
148
|
-
.replace(/[^a-z0-9]/gi, `_`)
|
|
149
|
-
.toLowerCase();
|
|
150
102
|
this.app.success(`cache initialized`);
|
|
151
103
|
}
|
|
152
104
|
/**
|
|
@@ -156,12 +108,6 @@ export default class Cache extends Service {
|
|
|
156
108
|
await this.app.fs.remove(this.cacheDirectory);
|
|
157
109
|
}
|
|
158
110
|
}
|
|
159
|
-
/**
|
|
160
|
-
* Service label
|
|
161
|
-
*
|
|
162
|
-
* @public
|
|
163
|
-
*/
|
|
164
|
-
Cache.label = `cache`;
|
|
165
111
|
__decorate([
|
|
166
112
|
bind,
|
|
167
113
|
__metadata("design:type", Function),
|
package/lib/service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":";AAAA,OAAO,E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
|
"homepage": "https://roots.io/bud",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"@skypack/package-check": "0.2.2"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@roots/bud-framework": "6.6.
|
|
62
|
-
"@roots/bud-support": "6.6.
|
|
61
|
+
"@roots/bud-framework": "6.6.7",
|
|
62
|
+
"@roots/bud-support": "6.6.7",
|
|
63
63
|
"strip-ansi": "7.0.1"
|
|
64
64
|
},
|
|
65
65
|
"volta": {
|