@atlaspack/bundle-stats 2.14.5-canary.9 → 2.14.5-dev.55

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,55 @@
1
1
  # @atlaspack/bundle-stats
2
2
 
3
+ ## 2.14.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`1940859`](https://github.com/atlassian-labs/atlaspack/commit/194085942f0e86532e9d039fc3f8039badce4594), [`15b6155`](https://github.com/atlassian-labs/atlaspack/commit/15b61556e9114203ebbc9de94b864118ca764598), [`209692f`](https://github.com/atlassian-labs/atlaspack/commit/209692ffb11eae103a0d65c5e1118a5aa1625818), [`d04de26`](https://github.com/atlassian-labs/atlaspack/commit/d04de26af684d7abfba5091fbe3df16a12cd0ebc)]:
8
+ - @atlaspack/core@2.17.4
9
+ - @atlaspack/query@2.14.9
10
+ - @atlaspack/reporter-bundle-stats@2.14.9
11
+ - @atlaspack/utils@2.14.9
12
+
13
+ ## 2.14.8
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [[`30f6017`](https://github.com/atlassian-labs/atlaspack/commit/30f60175ba4d272c5fc193973c63bc298584775b), [`3a3e8e7`](https://github.com/atlassian-labs/atlaspack/commit/3a3e8e7be9e2dffd7304436d792f0f595d59665a), [`15c1e3c`](https://github.com/atlassian-labs/atlaspack/commit/15c1e3c0628bae4c768d76cf3afc53d6d0d7ce7c)]:
18
+ - @atlaspack/core@2.17.3
19
+ - @atlaspack/query@2.14.8
20
+ - @atlaspack/reporter-bundle-stats@2.14.8
21
+ - @atlaspack/utils@2.14.8
22
+
23
+ ## 2.14.7
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies []:
28
+ - @atlaspack/core@2.17.2
29
+ - @atlaspack/utils@2.14.7
30
+ - @atlaspack/query@2.14.7
31
+ - @atlaspack/reporter-bundle-stats@2.14.7
32
+
33
+ ## 2.14.6
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies []:
38
+ - @atlaspack/core@2.17.1
39
+ - @atlaspack/utils@2.14.6
40
+ - @atlaspack/query@2.14.6
41
+ - @atlaspack/reporter-bundle-stats@2.14.6
42
+
43
+ ## 2.14.5
44
+
45
+ ### Patch Changes
46
+
47
+ - Updated dependencies [[`2e90c9b`](https://github.com/atlassian-labs/atlaspack/commit/2e90c9bd07d7eb52645f9d84ccbb7f82685cbc8c), [`11d6f16`](https://github.com/atlassian-labs/atlaspack/commit/11d6f16b6397dee2f217167e5c98b39edb63f7a7), [`e2ba0f6`](https://github.com/atlassian-labs/atlaspack/commit/e2ba0f69702656f3d1ce95ab1454e35062b13b39)]:
48
+ - @atlaspack/core@2.17.0
49
+ - @atlaspack/query@2.14.5
50
+ - @atlaspack/reporter-bundle-stats@2.14.5
51
+ - @atlaspack/utils@2.14.5
52
+
3
53
  ## 2.14.4
4
54
 
5
55
  ### Patch Changes
package/lib/bin.js CHANGED
@@ -1,5 +1,8 @@
1
1
  #! /usr/bin/env node
2
2
  'use strict';
3
3
 
4
+ if (process.env.ATLASPACK_BUILD_ENV !== 'production' || process.env.ATLASPACK_SELF_BUILD) {
5
+ require('@atlaspack/babel-register');
6
+ }
4
7
  const cli = require('./cli');
5
8
  cli.command.parse();
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  /* eslint-disable monorepo/no-internal-import */
4
- module.exports = {
4
+ module.exports = 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
  loadGraphs: require('@atlaspack/query' + '/lib/index.js').loadGraphs,
@@ -9,4 +9,8 @@ module.exports = {
9
9
  getBundleStats: require('@atlaspack/reporter-bundle-stats' + '/lib/BundleStatsReporter.js').getBundleStats,
10
10
  // $FlowFixMe(unsupported-syntax)
11
11
  PackagedBundleClass: require('@atlaspack/core' + '/lib/public/Bundle.js').PackagedBundle
12
+ } : {
13
+ loadGraphs: require('@atlaspack/query/src/index.js').loadGraphs,
14
+ getBundleStats: require('@atlaspack/reporter-bundle-stats/src/BundleStatsReporter.js').getBundleStats,
15
+ PackagedBundleClass: require('@atlaspack/core/src/public/Bundle.js').PackagedBundle
12
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/bundle-stats",
3
- "version": "2.14.5-canary.9+4c1714103",
3
+ "version": "2.14.5-dev.55+5a11f33c5",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -22,17 +22,17 @@
22
22
  "node": ">= 16.0.0"
23
23
  },
24
24
  "dependencies": {
25
- "@atlaspack/core": "2.16.2-canary.9+4c1714103",
26
- "@atlaspack/query": "2.14.5-canary.9+4c1714103",
27
- "@atlaspack/reporter-bundle-stats": "2.14.5-canary.9+4c1714103",
28
- "@atlaspack/utils": "2.14.5-canary.9+4c1714103",
25
+ "@atlaspack/core": "2.16.2-dev.55+5a11f33c5",
26
+ "@atlaspack/query": "2.14.5-dev.55+5a11f33c5",
27
+ "@atlaspack/reporter-bundle-stats": "2.14.5-dev.55+5a11f33c5",
28
+ "@atlaspack/utils": "2.14.5-dev.55+5a11f33c5",
29
29
  "commander": "^7.0.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@atlaspack/babel-register": "2.14.1",
33
- "@atlaspack/types": "2.14.5-canary.9+4c1714103",
33
+ "@atlaspack/types": "2.14.5-dev.55+5a11f33c5",
34
34
  "rimraf": "^5.0.5"
35
35
  },
36
36
  "type": "commonjs",
37
- "gitHead": "4c1714103dab2aa9039c488f381551d2b65d1d01"
37
+ "gitHead": "5a11f33c51ff74d1cf8d4b72cfa0fda833aa980a"
38
38
  }