@atlaspack/query 2.14.16-alshintegrationtestslib.0 → 2.14.16-dev-11ca1abe5.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/lib/bin.js CHANGED
@@ -1,9 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- if (process.env.ATLASPACK_DEV === 'true' || process.env.ATLASPACK_BUILD_ENV === 'test' || process.env.ATLASPACK_SELF_BUILD) {
5
- require('@atlaspack/babel-register');
6
- }
7
4
  const run = require('./cli').run;
8
5
  require('v8-compile-cache');
9
6
  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 = process.env.ATLASPACK_BUILD_ENV === 'production' ? {
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
7
  AssetGraph: require('@atlaspack/core' + '/lib/AssetGraph').default,
@@ -15,12 +15,5 @@ const v = process.env.ATLASPACK_BUILD_ENV === 'production' ? {
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
25
18
  };
26
19
  module.exports = v;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/query",
3
- "version": "2.14.16-alshintegrationtestslib.0",
3
+ "version": "2.14.16-dev-11ca1abe5.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.10-alshintegrationtestslib.0",
22
- "@atlaspack/core": "2.18.6-alshintegrationtestslib.0",
23
- "@atlaspack/graph": "3.5.5-alshintegrationtestslib.0",
21
+ "@atlaspack/cache": "3.2.10-dev-11ca1abe5.0",
22
+ "@atlaspack/core": "2.18.6-dev-11ca1abe5.0",
23
+ "@atlaspack/graph": "3.5.5-dev-11ca1abe5.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-alshintegrationtestslib.0",
29
+ "@atlaspack/babel-register": "2.14.2-dev-11ca1abe5.0",
30
30
  "@babel/core": "^7.22.11",
31
31
  "rimraf": "^5.0.5"
32
32
  },
33
33
  "type": "commonjs",
34
- "gitHead": "f6a68fdf5e9837f1040a7ea71443212a6f62ee5b"
34
+ "gitHead": "11ca1abe57b7f32f4de72b1108b94cd7a8905e9a"
35
35
  }
package/src/bin.js CHANGED
@@ -3,8 +3,7 @@
3
3
  'use strict';
4
4
 
5
5
  if (
6
- process.env.ATLASPACK_DEV === 'true' ||
7
- process.env.ATLASPACK_BUILD_ENV === 'test' ||
6
+ process.env.ATLASPACK_BUILD_ENV !== 'production' ||
8
7
  process.env.ATLASPACK_SELF_BUILD
9
8
  ) {
10
9
  require('@atlaspack/babel-register');