@atlaspack/query 2.12.1-canary.3450 → 2.12.1-canary.3452
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/cli.js +2 -2
- package/lib/deep-imports.js +6 -6
- package/package.json +5 -5
- package/src/cli.js +2 -2
- package/src/deep-imports.js +20 -20
package/lib/cli.js
CHANGED
|
@@ -60,7 +60,7 @@ function _table() {
|
|
|
60
60
|
};
|
|
61
61
|
return data;
|
|
62
62
|
}
|
|
63
|
-
var _index = require("./index
|
|
63
|
+
var _index = require("./index");
|
|
64
64
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
65
65
|
/* eslint-disable no-console, monorepo/no-internal-import */
|
|
66
66
|
// $FlowFixMe
|
|
@@ -70,7 +70,7 @@ const {
|
|
|
70
70
|
},
|
|
71
71
|
Priority,
|
|
72
72
|
fromProjectPathRelative
|
|
73
|
-
} = require('./deep-imports
|
|
73
|
+
} = require('./deep-imports');
|
|
74
74
|
async function run(input) {
|
|
75
75
|
let args = input;
|
|
76
76
|
let cacheDir = _path().default.join(process.cwd(), '.parcel-cache');
|
package/lib/deep-imports.js
CHANGED
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
const v = {
|
|
5
5
|
// Split up require specifier to outsmart packages/dev/babel-register/babel-plugin-module-translate.js
|
|
6
6
|
// $FlowFixMe(unsupported-syntax)
|
|
7
|
-
AssetGraph: require('@atlaspack/core' + '/lib/AssetGraph
|
|
7
|
+
AssetGraph: require('@atlaspack/core' + '/lib/AssetGraph').default,
|
|
8
8
|
// $FlowFixMe(unsupported-syntax)
|
|
9
|
-
BundleGraph: require('@atlaspack/core' + '/lib/BundleGraph
|
|
9
|
+
BundleGraph: require('@atlaspack/core' + '/lib/BundleGraph'),
|
|
10
10
|
// $FlowFixMe(unsupported-syntax)
|
|
11
|
-
RequestTracker: require('@atlaspack/core' + '/lib/RequestTracker
|
|
11
|
+
RequestTracker: require('@atlaspack/core' + '/lib/RequestTracker'),
|
|
12
12
|
// $FlowFixMe(unsupported-syntax)
|
|
13
|
-
LMDBCache: require('@atlaspack/cache' + '/lib/LMDBCache
|
|
13
|
+
LMDBCache: require('@atlaspack/cache' + '/lib/LMDBCache').LMDBCache,
|
|
14
14
|
// $FlowFixMe(unsupported-syntax)
|
|
15
|
-
Priority: require('@atlaspack/core' + '/lib/types
|
|
15
|
+
Priority: require('@atlaspack/core' + '/lib/types').Priority,
|
|
16
16
|
// $FlowFixMe(unsupported-syntax)
|
|
17
|
-
fromProjectPathRelative: require('@atlaspack/core' + '/lib/projectPath
|
|
17
|
+
fromProjectPathRelative: require('@atlaspack/core' + '/lib/projectPath').fromProjectPathRelative
|
|
18
18
|
};
|
|
19
19
|
module.exports = v;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/query",
|
|
3
|
-
"version": "2.12.1-canary.
|
|
3
|
+
"version": "2.12.1-canary.3452+2005ceb39",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
},
|
|
19
19
|
"main": "src/index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@atlaspack/cache": "2.12.1-canary.
|
|
22
|
-
"@atlaspack/core": "2.12.1-canary.
|
|
23
|
-
"@atlaspack/graph": "3.2.1-canary.
|
|
21
|
+
"@atlaspack/cache": "2.12.1-canary.3452+2005ceb39",
|
|
22
|
+
"@atlaspack/core": "2.12.1-canary.3452+2005ceb39",
|
|
23
|
+
"@atlaspack/graph": "3.2.1-canary.3452+2005ceb39",
|
|
24
24
|
"nullthrows": "^1.1.1",
|
|
25
25
|
"table": "^6.8.1",
|
|
26
26
|
"v8-compile-cache": "^2.0.0"
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"@babel/core": "^7.22.11",
|
|
31
31
|
"rimraf": "^5.0.5"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "2005ceb391fdbf7ed5eb20d1549d3b721ccb6d95"
|
|
34
34
|
}
|
package/src/cli.js
CHANGED
|
@@ -14,13 +14,13 @@ import {serialize} from 'v8';
|
|
|
14
14
|
// $FlowFixMe
|
|
15
15
|
import {table} from 'table';
|
|
16
16
|
|
|
17
|
-
import {loadGraphs} from './index
|
|
17
|
+
import {loadGraphs} from './index';
|
|
18
18
|
|
|
19
19
|
const {
|
|
20
20
|
BundleGraph: {bundleGraphEdgeTypes: bundleGraphEdgeTypes},
|
|
21
21
|
Priority,
|
|
22
22
|
fromProjectPathRelative,
|
|
23
|
-
} = require('./deep-imports
|
|
23
|
+
} = require('./deep-imports');
|
|
24
24
|
|
|
25
25
|
export async function run(input: string[]) {
|
|
26
26
|
let args = input;
|
package/src/deep-imports.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
// @flow
|
|
2
2
|
/* eslint-disable monorepo/no-internal-import */
|
|
3
|
-
import typeof AssetGraph from '@atlaspack/core/src/AssetGraph
|
|
3
|
+
import typeof AssetGraph from '@atlaspack/core/src/AssetGraph';
|
|
4
4
|
import typeof BundleGraph, {
|
|
5
5
|
bundleGraphEdgeTypes,
|
|
6
|
-
} from '@atlaspack/core/src/BundleGraph
|
|
6
|
+
} from '@atlaspack/core/src/BundleGraph';
|
|
7
7
|
import typeof RequestTracker, {
|
|
8
8
|
RequestGraph,
|
|
9
9
|
readAndDeserializeRequestGraph,
|
|
10
|
-
} from '@atlaspack/core/src/RequestTracker
|
|
11
|
-
import typeof {requestGraphEdgeTypes} from '@atlaspack/core/src/RequestTracker
|
|
12
|
-
import typeof {LMDBCache} from '@atlaspack/cache/src/LMDBCache
|
|
13
|
-
import typeof {Priority} from '@atlaspack/core/src/types
|
|
14
|
-
import typeof {fromProjectPathRelative} from '@atlaspack/core/src/projectPath
|
|
10
|
+
} from '@atlaspack/core/src/RequestTracker';
|
|
11
|
+
import typeof {requestGraphEdgeTypes} from '@atlaspack/core/src/RequestTracker';
|
|
12
|
+
import typeof {LMDBCache} from '@atlaspack/cache/src/LMDBCache';
|
|
13
|
+
import typeof {Priority} from '@atlaspack/core/src/types';
|
|
14
|
+
import typeof {fromProjectPathRelative} from '@atlaspack/core/src/projectPath';
|
|
15
15
|
|
|
16
16
|
const v =
|
|
17
17
|
process.env.ATLASPACK_BUILD_ENV === 'production'
|
|
18
18
|
? {
|
|
19
19
|
// Split up require specifier to outsmart packages/dev/babel-register/babel-plugin-module-translate.js
|
|
20
20
|
// $FlowFixMe(unsupported-syntax)
|
|
21
|
-
AssetGraph: require('@atlaspack/core' + '/lib/AssetGraph
|
|
21
|
+
AssetGraph: require('@atlaspack/core' + '/lib/AssetGraph').default,
|
|
22
22
|
// $FlowFixMe(unsupported-syntax)
|
|
23
|
-
BundleGraph: require('@atlaspack/core' + '/lib/BundleGraph
|
|
23
|
+
BundleGraph: require('@atlaspack/core' + '/lib/BundleGraph'),
|
|
24
24
|
// $FlowFixMe(unsupported-syntax)
|
|
25
|
-
RequestTracker: require('@atlaspack/core' + '/lib/RequestTracker
|
|
25
|
+
RequestTracker: require('@atlaspack/core' + '/lib/RequestTracker'),
|
|
26
26
|
// $FlowFixMe(unsupported-syntax)
|
|
27
|
-
LMDBCache: require('@atlaspack/cache' + '/lib/LMDBCache
|
|
27
|
+
LMDBCache: require('@atlaspack/cache' + '/lib/LMDBCache').LMDBCache,
|
|
28
28
|
// $FlowFixMe(unsupported-syntax)
|
|
29
|
-
Priority: require('@atlaspack/core' + '/lib/types
|
|
29
|
+
Priority: require('@atlaspack/core' + '/lib/types').Priority,
|
|
30
30
|
// $FlowFixMe(unsupported-syntax)
|
|
31
|
-
fromProjectPathRelative: require('@atlaspack/core' +
|
|
32
|
-
|
|
31
|
+
fromProjectPathRelative: require('@atlaspack/core' + '/lib/projectPath')
|
|
32
|
+
.fromProjectPathRelative,
|
|
33
33
|
}
|
|
34
34
|
: {
|
|
35
|
-
AssetGraph: require('@atlaspack/core/src/AssetGraph
|
|
36
|
-
BundleGraph: require('@atlaspack/core/src/BundleGraph
|
|
37
|
-
RequestTracker: require('@atlaspack/core/src/RequestTracker
|
|
38
|
-
LMDBCache: require('@atlaspack/cache/src/LMDBCache
|
|
39
|
-
Priority: require('@atlaspack/core/src/types
|
|
40
|
-
fromProjectPathRelative: require('@atlaspack/core/src/projectPath
|
|
35
|
+
AssetGraph: require('@atlaspack/core/src/AssetGraph').default,
|
|
36
|
+
BundleGraph: require('@atlaspack/core/src/BundleGraph'),
|
|
37
|
+
RequestTracker: require('@atlaspack/core/src/RequestTracker'),
|
|
38
|
+
LMDBCache: require('@atlaspack/cache/src/LMDBCache').LMDBCache,
|
|
39
|
+
Priority: require('@atlaspack/core/src/types').Priority,
|
|
40
|
+
fromProjectPathRelative: require('@atlaspack/core/src/projectPath')
|
|
41
41
|
.fromProjectPathRelative,
|
|
42
42
|
};
|
|
43
43
|
|