@atlaspack/core 2.14.1-canary.50 → 2.14.1-canary.52
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/resolveOptions.js +1 -4
- package/package.json +17 -17
- package/src/resolveOptions.js +2 -6
package/lib/resolveOptions.js
CHANGED
|
@@ -147,10 +147,7 @@ async function resolveOptions(initialOptions) {
|
|
|
147
147
|
if (!needsRustLmdbCache && !(outputFS instanceof _fs().NodeFS)) {
|
|
148
148
|
return new (_cache().FSCache)(outputFS, cacheDir);
|
|
149
149
|
}
|
|
150
|
-
|
|
151
|
-
return new (_cache().LMDBLiteCache)(cacheDir);
|
|
152
|
-
}
|
|
153
|
-
return new (_cache().LMDBCache)(cacheDir);
|
|
150
|
+
return new (_cache().LMDBLiteCache)(cacheDir);
|
|
154
151
|
}();
|
|
155
152
|
let mode = initialOptions.mode ?? 'development';
|
|
156
153
|
let shouldOptimize = (initialOptions === null || initialOptions === void 0 || (_initialOptions$defau = initialOptions.defaultTargetOptions) === null || _initialOptions$defau === void 0 ? void 0 : _initialOptions$defau.shouldOptimize) ?? mode === 'production';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/core",
|
|
3
|
-
"version": "2.14.1-canary.
|
|
3
|
+
"version": "2.14.1-canary.52+8f4e6c1b0",
|
|
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": "2.13.3-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.1-canary.
|
|
29
|
-
"@atlaspack/graph": "3.4.1-canary.
|
|
30
|
-
"@atlaspack/logger": "2.14.1-canary.
|
|
31
|
-
"@atlaspack/package-manager": "2.14.1-canary.
|
|
32
|
-
"@atlaspack/plugin": "2.14.1-canary.
|
|
33
|
-
"@atlaspack/profiler": "2.14.1-canary.
|
|
34
|
-
"@atlaspack/rust": "3.0.1-canary.
|
|
35
|
-
"@atlaspack/types": "2.14.1-canary.
|
|
36
|
-
"@atlaspack/utils": "2.14.1-canary.
|
|
37
|
-
"@atlaspack/workers": "2.14.1-canary.
|
|
23
|
+
"@atlaspack/build-cache": "2.13.3-canary.52+8f4e6c1b0",
|
|
24
|
+
"@atlaspack/cache": "2.13.3-canary.52+8f4e6c1b0",
|
|
25
|
+
"@atlaspack/diagnostic": "2.14.1-canary.52+8f4e6c1b0",
|
|
26
|
+
"@atlaspack/events": "2.14.1-canary.52+8f4e6c1b0",
|
|
27
|
+
"@atlaspack/feature-flags": "2.14.1-canary.52+8f4e6c1b0",
|
|
28
|
+
"@atlaspack/fs": "2.14.1-canary.52+8f4e6c1b0",
|
|
29
|
+
"@atlaspack/graph": "3.4.1-canary.52+8f4e6c1b0",
|
|
30
|
+
"@atlaspack/logger": "2.14.1-canary.52+8f4e6c1b0",
|
|
31
|
+
"@atlaspack/package-manager": "2.14.1-canary.52+8f4e6c1b0",
|
|
32
|
+
"@atlaspack/plugin": "2.14.1-canary.52+8f4e6c1b0",
|
|
33
|
+
"@atlaspack/profiler": "2.14.1-canary.52+8f4e6c1b0",
|
|
34
|
+
"@atlaspack/rust": "3.0.1-canary.52+8f4e6c1b0",
|
|
35
|
+
"@atlaspack/types": "2.14.1-canary.52+8f4e6c1b0",
|
|
36
|
+
"@atlaspack/utils": "2.14.1-canary.52+8f4e6c1b0",
|
|
37
|
+
"@atlaspack/workers": "2.14.1-canary.52+8f4e6c1b0",
|
|
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": "8f4e6c1b0e7c1fd48624afda48c1dcc599f1460f"
|
|
71
71
|
}
|
package/src/resolveOptions.js
CHANGED
|
@@ -12,7 +12,7 @@ import type {AtlaspackOptions} from './types';
|
|
|
12
12
|
import path from 'path';
|
|
13
13
|
import {hashString} from '@atlaspack/rust';
|
|
14
14
|
import {NodeFS, NodeVCSAwareFS} from '@atlaspack/fs';
|
|
15
|
-
import {
|
|
15
|
+
import {LMDBLiteCache, FSCache} from '@atlaspack/cache';
|
|
16
16
|
import {getFeatureFlag, getFeatureFlagValue} from '@atlaspack/feature-flags';
|
|
17
17
|
import {NodePackageManager} from '@atlaspack/package-manager';
|
|
18
18
|
import {
|
|
@@ -157,11 +157,7 @@ export default async function resolveOptions(
|
|
|
157
157
|
return new FSCache(outputFS, cacheDir);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
|
|
161
|
-
return new LMDBLiteCache(cacheDir);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
return new LMDBCache(cacheDir);
|
|
160
|
+
return new LMDBLiteCache(cacheDir);
|
|
165
161
|
}
|
|
166
162
|
|
|
167
163
|
let cache = createCache();
|