@roots/bud-cache 6.6.5 → 6.6.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/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 +6 -6
- 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 +30 -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
|
|
33
|
+
const invalidate = await bud.fs?.exists(this.invalidationFile);
|
|
34
34
|
if (invalidate || 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,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,cAAc,EAAE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BAAwB;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;IACD,IAAW,IAAI,CAAC,IAAI,EAAE,QAAQ,GAAG,YAAY,EAE5C;IAED;;;;OAIG;IACH,IAAW,OAAO,IAAI,MAAM,CAgB3B;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 } 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`, 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,27 @@ export default class Cache extends Service {
|
|
|
46
49
|
* @public
|
|
47
50
|
*/
|
|
48
51
|
get version() {
|
|
49
|
-
return this.app.hooks.filter(`build.cache.version`)
|
|
52
|
+
return this.app.hooks.filter(`build.cache.version`, createHash(`sha1`)
|
|
53
|
+
.update(this.app.fs.json.stringify([
|
|
54
|
+
Object.values(this.app.context.config ?? {})
|
|
55
|
+
.filter(({ bud }) => bud)
|
|
56
|
+
.map(({ module }) => module.toString()),
|
|
57
|
+
Object.entries(this.app.context.args),
|
|
58
|
+
]))
|
|
59
|
+
.digest(`base64`)
|
|
60
|
+
.replace(/[^a-z0-9]/gi, `_`)
|
|
61
|
+
.toLowerCase());
|
|
50
62
|
}
|
|
51
63
|
set version(version) {
|
|
52
64
|
this.app.hooks.on(`build.cache.version`, version);
|
|
53
65
|
}
|
|
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
66
|
/**
|
|
65
67
|
* Cache directory
|
|
66
68
|
*
|
|
67
69
|
* @public
|
|
68
70
|
*/
|
|
69
71
|
get cacheDirectory() {
|
|
70
|
-
return this.app.hooks.filter(`build.cache.cacheDirectory`);
|
|
72
|
+
return this.app.hooks.filter(`build.cache.cacheDirectory`, this.app.path(`@storage`, this.app.label, `cache`, this.app.mode));
|
|
71
73
|
}
|
|
72
74
|
set cacheDirectory(directory) {
|
|
73
75
|
this.app.hooks.on(`build.cache.cacheDirectory`, directory);
|
|
@@ -80,73 +82,28 @@ export default class Cache extends Service {
|
|
|
80
82
|
get configuration() {
|
|
81
83
|
if (this.enabled !== true)
|
|
82
84
|
return false;
|
|
83
|
-
return this.type
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
85
|
+
return this.type === `memory`
|
|
86
|
+
? true
|
|
87
|
+
: {
|
|
88
|
+
name: this.name,
|
|
89
|
+
type: this.type,
|
|
90
|
+
store: `pack`,
|
|
91
|
+
allowCollectingMemory: true,
|
|
92
|
+
cacheDirectory: this.cacheDirectory,
|
|
93
|
+
idleTimeout: 10000,
|
|
94
|
+
idleTimeoutForInitialStore: 0,
|
|
95
|
+
profile: true,
|
|
96
|
+
version: this.version,
|
|
97
|
+
};
|
|
92
98
|
}
|
|
93
99
|
/**
|
|
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
|
|
100
|
+
* `booted` callback
|
|
114
101
|
*
|
|
115
102
|
* @public
|
|
116
103
|
* @decorator `@bind`
|
|
117
104
|
*/
|
|
118
105
|
async booted() {
|
|
119
106
|
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
107
|
this.app.success(`cache initialized`);
|
|
151
108
|
}
|
|
152
109
|
/**
|
|
@@ -156,12 +113,6 @@ export default class Cache extends Service {
|
|
|
156
113
|
await this.app.fs.remove(this.cacheDirectory);
|
|
157
114
|
}
|
|
158
115
|
}
|
|
159
|
-
/**
|
|
160
|
-
* Service label
|
|
161
|
-
*
|
|
162
|
-
* @public
|
|
163
|
-
*/
|
|
164
|
-
Cache.label = `cache`;
|
|
165
116
|
__decorate([
|
|
166
117
|
bind,
|
|
167
118
|
__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,EAAC,UAA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C;IAED;;;;OAIG;IACH,IAAW,aAAa;QACtB,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI;YAAE,OAAO,KAAK,CAAA;QACvC,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ;YAC3B,CAAC,CAAC,IAAI;YACN,CAAC,CAAC;gBACE,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,KAAK,EAAE,MAAgB;gBACvB,qBAAqB,EAAE,IAAI;gBAC3B,cAAc,EAAE,IAAI,CAAC,cAAc;gBACnC,WAAW,EAAE,KAAK;gBAClB,0BAA0B,EAAE,CAAC;gBAC7B,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAA;IACP,CAAC;IAED;;;;;OAKG;IAEmB,AAAN,KAAK,CAAC,MAAM;QAC1B,MAAM,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAA;QACvD,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAA;IACvC,CAAC;IAED;;OAEG;IAEU,AAAN,KAAK,CAAC,KAAK;QAChB,MAAM,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA;IAC/C,CAAC;CACF;AAZuB;IADrB,IAAI;;;;mCAIJ;AAMY;IADZ,IAAI;;;;kCAGJ"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roots/bud-cache",
|
|
3
3
|
"description": "Config caching",
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.6",
|
|
5
5
|
"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.6",
|
|
62
|
+
"@roots/bud-support": "6.6.6",
|
|
63
63
|
"strip-ansi": "7.0.1"
|
|
64
64
|
},
|
|
65
65
|
"volta": {
|