@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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaspack/query
2
2
 
3
+ ## 2.14.18
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @atlaspack/cache@3.2.12
9
+ - @atlaspack/core@2.18.8
10
+
3
11
  ## 2.14.17
4
12
 
5
13
  ### Patch Changes
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));
@@ -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.18-unified-e330ff3d9.0",
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.12-unified-e330ff3d9.0",
22
- "@atlaspack/core": "2.18.8-unified-e330ff3d9.0",
23
- "@atlaspack/graph": "3.5.7-unified-e330ff3d9.0",
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-e330ff3d9.0",
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": "e330ff3d90fbf336f87439a65e312d698433990b"
34
+ "gitHead": "f92fba5b6216e1d94cbd23f3a5d61f7188d49199"
35
35
  }
package/src/bin.js CHANGED
@@ -3,7 +3,8 @@
3
3
  'use strict';
4
4
 
5
5
  if (
6
- process.env.ATLASPACK_BUILD_ENV !== 'production' ||
6
+ process.env.ATLASPACK_SOURCES === 'true' ||
7
+ process.env.ATLASPACK_BUILD_ENV === 'test' ||
7
8
  process.env.ATLASPACK_SELF_BUILD
8
9
  ) {
9
10
  require('@atlaspack/babel-register');