@atlaspack/query 2.14.18-unified-e330ff3d9.0 → 2.14.19-unified-f92fba5b6.0
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/CHANGELOG.md +8 -0
- package/lib/bin.js +3 -0
- package/lib/deep-imports.js +8 -1
- package/package.json +6 -6
- package/src/bin.js +2 -1
package/CHANGELOG.md
CHANGED
package/lib/bin.js
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
'use strict';
|
3
3
|
|
4
|
+
if (process.env.ATLASPACK_SOURCES === 'true' || process.env.ATLASPACK_BUILD_ENV === 'test' || process.env.ATLASPACK_SELF_BUILD) {
|
5
|
+
require('@atlaspack/babel-register');
|
6
|
+
}
|
4
7
|
const run = require('./cli').run;
|
5
8
|
require('v8-compile-cache');
|
6
9
|
run(process.argv.slice(2));
|
package/lib/deep-imports.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
/* eslint-disable monorepo/no-internal-import */
|
4
|
-
const v = {
|
4
|
+
const v = process.env.ATLASPACK_BUILD_ENV === 'production' ? {
|
5
5
|
// Split up require specifier to outsmart packages/dev/babel-register/babel-plugin-module-translate.js
|
6
6
|
// $FlowFixMe(unsupported-syntax)
|
7
7
|
AssetGraph: require('@atlaspack/core' + '/lib/AssetGraph').default,
|
@@ -15,5 +15,12 @@ const v = {
|
|
15
15
|
Priority: require('@atlaspack/core' + '/lib/types').Priority,
|
16
16
|
// $FlowFixMe(unsupported-syntax)
|
17
17
|
fromProjectPathRelative: require('@atlaspack/core' + '/lib/projectPath').fromProjectPathRelative
|
18
|
+
} : {
|
19
|
+
AssetGraph: require('@atlaspack/core/src/AssetGraph').default,
|
20
|
+
BundleGraph: require('@atlaspack/core/src/BundleGraph'),
|
21
|
+
RequestTracker: require('@atlaspack/core/src/RequestTracker'),
|
22
|
+
LMDBLiteCache: require('@atlaspack/cache/src/LMDBLiteCache').LMDBLiteCache,
|
23
|
+
Priority: require('@atlaspack/core/src/types').Priority,
|
24
|
+
fromProjectPathRelative: require('@atlaspack/core/src/projectPath').fromProjectPathRelative
|
18
25
|
};
|
19
26
|
module.exports = v;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaspack/query",
|
3
|
-
"version": "2.14.
|
3
|
+
"version": "2.14.19-unified-f92fba5b6.0",
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -18,18 +18,18 @@
|
|
18
18
|
},
|
19
19
|
"main": "src/index.js",
|
20
20
|
"dependencies": {
|
21
|
-
"@atlaspack/cache": "3.2.
|
22
|
-
"@atlaspack/core": "2.18.
|
23
|
-
"@atlaspack/graph": "3.5.7-unified-
|
21
|
+
"@atlaspack/cache": "3.2.13-unified-f92fba5b6.0",
|
22
|
+
"@atlaspack/core": "2.18.9-unified-f92fba5b6.0",
|
23
|
+
"@atlaspack/graph": "3.5.7-unified-f92fba5b6.0",
|
24
24
|
"nullthrows": "^1.1.1",
|
25
25
|
"table": "^6.8.1",
|
26
26
|
"v8-compile-cache": "^2.0.0"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
|
-
"@atlaspack/babel-register": "2.14.2-unified-
|
29
|
+
"@atlaspack/babel-register": "2.14.2-unified-f92fba5b6.0",
|
30
30
|
"@babel/core": "^7.22.11",
|
31
31
|
"rimraf": "^5.0.5"
|
32
32
|
},
|
33
33
|
"type": "commonjs",
|
34
|
-
"gitHead": "
|
34
|
+
"gitHead": "f92fba5b6216e1d94cbd23f3a5d61f7188d49199"
|
35
35
|
}
|
package/src/bin.js
CHANGED