@atlaspack/cli 2.13.22-noselfbuild-63bde801d.0 → 2.13.22-typescript-e769947a5.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/bin/atlaspack.js CHANGED
@@ -1,13 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';
3
-
4
- if (
5
- process.env.ATLASPACK_REGISTER_USE_SRC === 'true' ||
6
- process.env.ATLASPACK_BUILD_ENV === 'test' ||
7
- process.env.ATLASPACK_SELF_BUILD
8
- ) {
9
- require('@atlaspack/babel-register');
10
- require('../src/cli');
11
- } else {
12
- require('../lib/cli');
13
- }
2
+ require('../lib/bin');
package/lib/bin.js CHANGED
@@ -1,4 +1,7 @@
1
- "use strict";
1
+ #!/usr/bin/env node
2
+ 'use strict';
2
3
 
3
- // This file exists for atlaspack-link support
4
- require('../bin/atlaspack.js');
4
+ if (process.env.ATLASPACK_SOURCES === 'true' || process.env.ATLASPACK_BUILD_ENV === 'test' || process.env.ATLASPACK_SELF_BUILD) {
5
+ require('@atlaspack/babel-register');
6
+ }
7
+ require('./cli');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/cli",
3
- "version": "2.13.22-noselfbuild-63bde801d.0",
3
+ "version": "2.13.22-typescript-e769947a5.0",
4
4
  "description": "Blazing fast, zero configuration web application bundler",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "type": "commonjs",
@@ -17,32 +17,33 @@
17
17
  "main": "lib/bin.js",
18
18
  "source": "src/bin.js",
19
19
  "scripts": {
20
- "prepack": "./ensure-no-dev-lib.sh"
20
+ "prepack": "./ensure-no-dev-lib.sh",
21
+ "dev:prepare": "rimraf ./lib/ && mkdir -p lib && cp ./bin/dev-bin.js ./lib/bin.js"
21
22
  },
22
23
  "engines": {
23
24
  "node": ">= 16.0.0"
24
25
  },
25
26
  "dependencies": {
26
- "@atlaspack/config-default": "3.1.20-noselfbuild-63bde801d.0",
27
- "@atlaspack/core": "2.18.9-noselfbuild-63bde801d.0",
28
- "@atlaspack/diagnostic": "2.14.2-noselfbuild-63bde801d.0",
29
- "@atlaspack/events": "2.14.2-noselfbuild-63bde801d.0",
30
- "@atlaspack/feature-flags": "2.18.5-noselfbuild-63bde801d.0",
31
- "@atlaspack/fs": "2.15.13-noselfbuild-63bde801d.0",
32
- "@atlaspack/logger": "2.14.13-noselfbuild-63bde801d.0",
33
- "@atlaspack/package-manager": "2.14.18-noselfbuild-63bde801d.0",
34
- "@atlaspack/reporter-cli": "2.16.2-noselfbuild-63bde801d.0",
35
- "@atlaspack/reporter-dev-server": "2.14.18-noselfbuild-63bde801d.0",
36
- "@atlaspack/reporter-tracer": "2.14.18-noselfbuild-63bde801d.0",
37
- "@atlaspack/utils": "2.16.2-noselfbuild-63bde801d.0",
27
+ "@atlaspack/config-default": "3.1.20-typescript-e769947a5.0",
28
+ "@atlaspack/core": "2.18.9-typescript-e769947a5.0",
29
+ "@atlaspack/diagnostic": "2.14.2-typescript-e769947a5.0",
30
+ "@atlaspack/events": "2.14.2-typescript-e769947a5.0",
31
+ "@atlaspack/feature-flags": "2.18.5-typescript-e769947a5.0",
32
+ "@atlaspack/fs": "2.15.13-typescript-e769947a5.0",
33
+ "@atlaspack/logger": "2.14.13-typescript-e769947a5.0",
34
+ "@atlaspack/package-manager": "2.14.18-typescript-e769947a5.0",
35
+ "@atlaspack/reporter-cli": "2.16.2-typescript-e769947a5.0",
36
+ "@atlaspack/reporter-dev-server": "2.14.18-typescript-e769947a5.0",
37
+ "@atlaspack/reporter-tracer": "2.14.18-typescript-e769947a5.0",
38
+ "@atlaspack/utils": "2.16.2-typescript-e769947a5.0",
38
39
  "chalk": "^4.1.0",
39
40
  "commander": "^7.0.0",
40
41
  "get-port": "^4.2.0"
41
42
  },
42
43
  "devDependencies": {
43
- "@atlaspack/babel-register": "2.14.2-noselfbuild-63bde801d.0",
44
+ "@atlaspack/babel-register": "2.14.2-typescript-e769947a5.0",
44
45
  "@babel/core": "^7.22.11",
45
46
  "rimraf": "^5.0.5"
46
47
  },
47
- "gitHead": "63bde801db96c5cb339ea9360cbcd0172a26cbba"
48
+ "gitHead": "e769947a5b0c22d9477211ac1ce6614e6bf9def3"
48
49
  }
package/src/bin.js CHANGED
@@ -1,2 +1,13 @@
1
- // This file exists for atlaspack-link support
2
- require('../bin/atlaspack.js');
1
+ #!/usr/bin/env node
2
+
3
+ 'use strict';
4
+
5
+ if (
6
+ process.env.ATLASPACK_SOURCES === 'true' ||
7
+ process.env.ATLASPACK_BUILD_ENV === 'test' ||
8
+ process.env.ATLASPACK_SELF_BUILD
9
+ ) {
10
+ require('@atlaspack/babel-register');
11
+ }
12
+
13
+ require('./cli');