@atlaspack/core 2.16.2-canary.0 → 2.16.2-canary.3
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/RequestTracker.js +7 -0
- package/package.json +17 -17
- package/src/RequestTracker.js +12 -0
package/lib/RequestTracker.js
CHANGED
|
@@ -1030,6 +1030,13 @@ class RequestTracker {
|
|
|
1030
1030
|
nodeCountsPerBlob,
|
|
1031
1031
|
nodes: undefined
|
|
1032
1032
|
});
|
|
1033
|
+
await runCacheImprovements(() => serialiseAndSet(`request_tracker:cache_metadata:${cacheKey}`, {
|
|
1034
|
+
version: _constants.ATLASPACK_VERSION,
|
|
1035
|
+
entries: this.options.entries,
|
|
1036
|
+
mode: this.options.mode,
|
|
1037
|
+
shouldBuildLazily: this.options.shouldBuildLazily,
|
|
1038
|
+
watchBackend: this.options.watchBackend
|
|
1039
|
+
}), () => Promise.resolve());
|
|
1033
1040
|
let opts = getWatcherOptions(this.options);
|
|
1034
1041
|
let snapshotPath = _path2().default.join(this.options.cacheDir, `snapshot-${cacheKey}` + '.txt');
|
|
1035
1042
|
await this.options.outputFS.writeSnapshot(this.options.watchDir, snapshotPath, opts);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/core",
|
|
3
|
-
"version": "2.16.2-canary.
|
|
3
|
+
"version": "2.16.2-canary.3+2e90c9bd0",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -20,21 +20,21 @@
|
|
|
20
20
|
"check-ts": "tsc --noEmit index.d.ts"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@atlaspack/build-cache": "2.13.3-canary.
|
|
24
|
-
"@atlaspack/cache": "3.1.1-canary.
|
|
25
|
-
"@atlaspack/diagnostic": "2.14.1-canary.
|
|
26
|
-
"@atlaspack/events": "2.14.1-canary.
|
|
27
|
-
"@atlaspack/feature-flags": "2.14.1-canary.
|
|
28
|
-
"@atlaspack/fs": "2.14.5-canary.
|
|
29
|
-
"@atlaspack/graph": "3.4.1-canary.
|
|
30
|
-
"@atlaspack/logger": "2.14.5-canary.
|
|
31
|
-
"@atlaspack/package-manager": "2.14.5-canary.
|
|
32
|
-
"@atlaspack/plugin": "2.14.5-canary.
|
|
33
|
-
"@atlaspack/profiler": "2.14.1-canary.
|
|
34
|
-
"@atlaspack/rust": "3.2.1-canary.
|
|
35
|
-
"@atlaspack/types": "2.14.5-canary.
|
|
36
|
-
"@atlaspack/utils": "2.14.5-canary.
|
|
37
|
-
"@atlaspack/workers": "2.14.5-canary.
|
|
23
|
+
"@atlaspack/build-cache": "2.13.3-canary.71+2e90c9bd0",
|
|
24
|
+
"@atlaspack/cache": "3.1.1-canary.3+2e90c9bd0",
|
|
25
|
+
"@atlaspack/diagnostic": "2.14.1-canary.71+2e90c9bd0",
|
|
26
|
+
"@atlaspack/events": "2.14.1-canary.71+2e90c9bd0",
|
|
27
|
+
"@atlaspack/feature-flags": "2.14.1-canary.71+2e90c9bd0",
|
|
28
|
+
"@atlaspack/fs": "2.14.5-canary.3+2e90c9bd0",
|
|
29
|
+
"@atlaspack/graph": "3.4.1-canary.71+2e90c9bd0",
|
|
30
|
+
"@atlaspack/logger": "2.14.5-canary.3+2e90c9bd0",
|
|
31
|
+
"@atlaspack/package-manager": "2.14.5-canary.3+2e90c9bd0",
|
|
32
|
+
"@atlaspack/plugin": "2.14.5-canary.3+2e90c9bd0",
|
|
33
|
+
"@atlaspack/profiler": "2.14.1-canary.71+2e90c9bd0",
|
|
34
|
+
"@atlaspack/rust": "3.2.1-canary.3+2e90c9bd0",
|
|
35
|
+
"@atlaspack/types": "2.14.5-canary.3+2e90c9bd0",
|
|
36
|
+
"@atlaspack/utils": "2.14.5-canary.3+2e90c9bd0",
|
|
37
|
+
"@atlaspack/workers": "2.14.5-canary.3+2e90c9bd0",
|
|
38
38
|
"@mischnic/json-sourcemap": "^0.1.0",
|
|
39
39
|
"@parcel/source-map": "^2.1.1",
|
|
40
40
|
"base-x": "^3.0.8",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"./src/serializerCore.js": "./src/serializerCore.browser.js"
|
|
68
68
|
},
|
|
69
69
|
"type": "commonjs",
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "2e90c9bd07d7eb52645f9d84ccbb7f82685cbc8c"
|
|
71
71
|
}
|
package/src/RequestTracker.js
CHANGED
|
@@ -1605,6 +1605,18 @@ export default class RequestTracker {
|
|
|
1605
1605
|
nodes: undefined,
|
|
1606
1606
|
});
|
|
1607
1607
|
|
|
1608
|
+
await runCacheImprovements(
|
|
1609
|
+
() =>
|
|
1610
|
+
serialiseAndSet(`request_tracker:cache_metadata:${cacheKey}`, {
|
|
1611
|
+
version: ATLASPACK_VERSION,
|
|
1612
|
+
entries: this.options.entries,
|
|
1613
|
+
mode: this.options.mode,
|
|
1614
|
+
shouldBuildLazily: this.options.shouldBuildLazily,
|
|
1615
|
+
watchBackend: this.options.watchBackend,
|
|
1616
|
+
}),
|
|
1617
|
+
() => Promise.resolve(),
|
|
1618
|
+
);
|
|
1619
|
+
|
|
1608
1620
|
let opts = getWatcherOptions(this.options);
|
|
1609
1621
|
let snapshotPath = path.join(this.options.cacheDir, snapshotKey + '.txt');
|
|
1610
1622
|
|