@atlaspack/core 2.16.2-canary.54 → 2.16.2-canary.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.
@@ -159,6 +159,7 @@ async function run({
159
159
  }
160
160
  let res = {
161
161
  filePath,
162
+ bundleId: bundle.id,
162
163
  type: info.type,
163
164
  stats: {
164
165
  size,
@@ -76,6 +76,7 @@ async function run({
76
76
  let name = (0, _nullthrows().default)(bundle.name, `Expected ${bundle.type} bundle to have a name`).replace(bundle.hashReference, hash);
77
77
  res.set(bundle.id, {
78
78
  filePath: (0, _projectPath.joinProjectPath)(bundle.target.distDir, name),
79
+ bundleId: bundle.id,
79
80
  type: bundle.type,
80
81
  // FIXME: this is wrong if the packager changes the type...
81
82
  stats: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/core",
3
- "version": "2.16.2-canary.54+35fdd4b52",
3
+ "version": "2.16.2-canary.55+51aba5fc0",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -21,21 +21,21 @@
21
21
  "check-ts": "tsc --noEmit index.d.ts"
22
22
  },
23
23
  "dependencies": {
24
- "@atlaspack/build-cache": "2.13.3-canary.122+35fdd4b52",
25
- "@atlaspack/cache": "3.1.1-canary.54+35fdd4b52",
26
- "@atlaspack/diagnostic": "2.14.1-canary.122+35fdd4b52",
27
- "@atlaspack/events": "2.14.1-canary.122+35fdd4b52",
28
- "@atlaspack/feature-flags": "2.14.1-canary.122+35fdd4b52",
29
- "@atlaspack/fs": "2.14.5-canary.54+35fdd4b52",
30
- "@atlaspack/graph": "3.4.1-canary.122+35fdd4b52",
31
- "@atlaspack/logger": "2.14.5-canary.54+35fdd4b52",
32
- "@atlaspack/package-manager": "2.14.5-canary.54+35fdd4b52",
33
- "@atlaspack/plugin": "2.14.5-canary.54+35fdd4b52",
34
- "@atlaspack/profiler": "2.14.1-canary.122+35fdd4b52",
35
- "@atlaspack/rust": "3.2.1-canary.54+35fdd4b52",
36
- "@atlaspack/types": "2.14.5-canary.54+35fdd4b52",
37
- "@atlaspack/utils": "2.14.5-canary.54+35fdd4b52",
38
- "@atlaspack/workers": "2.14.5-canary.54+35fdd4b52",
24
+ "@atlaspack/build-cache": "2.13.3-canary.123+51aba5fc0",
25
+ "@atlaspack/cache": "3.1.1-canary.55+51aba5fc0",
26
+ "@atlaspack/diagnostic": "2.14.1-canary.123+51aba5fc0",
27
+ "@atlaspack/events": "2.14.1-canary.123+51aba5fc0",
28
+ "@atlaspack/feature-flags": "2.14.1-canary.123+51aba5fc0",
29
+ "@atlaspack/fs": "2.14.5-canary.55+51aba5fc0",
30
+ "@atlaspack/graph": "3.4.1-canary.123+51aba5fc0",
31
+ "@atlaspack/logger": "2.14.5-canary.55+51aba5fc0",
32
+ "@atlaspack/package-manager": "2.14.5-canary.55+51aba5fc0",
33
+ "@atlaspack/plugin": "2.14.5-canary.55+51aba5fc0",
34
+ "@atlaspack/profiler": "2.14.1-canary.123+51aba5fc0",
35
+ "@atlaspack/rust": "3.2.1-canary.55+51aba5fc0",
36
+ "@atlaspack/types": "2.14.5-canary.55+51aba5fc0",
37
+ "@atlaspack/utils": "2.14.5-canary.55+51aba5fc0",
38
+ "@atlaspack/workers": "2.14.5-canary.55+51aba5fc0",
39
39
  "@mischnic/json-sourcemap": "^0.1.0",
40
40
  "@parcel/source-map": "^2.1.1",
41
41
  "base-x": "^3.0.8",
@@ -71,5 +71,5 @@
71
71
  "./src/serializerCore.js": "./src/serializerCore.browser.js"
72
72
  },
73
73
  "type": "commonjs",
74
- "gitHead": "35fdd4b52da0af20f74667f7b8adfb2f90279b7c"
74
+ "gitHead": "51aba5fc0e49235ee06bbc3c376f48c3e7da5c4b"
75
75
  }
@@ -196,6 +196,7 @@ async function run({input, options, api}) {
196
196
 
197
197
  let res = {
198
198
  filePath,
199
+ bundleId: bundle.id,
199
200
  type: info.type,
200
201
  stats: {
201
202
  size,
@@ -84,6 +84,7 @@ async function run({input, api, farm, options}) {
84
84
  ).replace(bundle.hashReference, hash);
85
85
  res.set(bundle.id, {
86
86
  filePath: joinProjectPath(bundle.target.distDir, name),
87
+ bundleId: bundle.id,
87
88
  type: bundle.type, // FIXME: this is wrong if the packager changes the type...
88
89
  stats: {
89
90
  time: 0,
package/src/types.js CHANGED
@@ -573,6 +573,7 @@ export type BundleGroupNode = {|
573
573
 
574
574
  export type PackagedBundleInfo = {|
575
575
  filePath: ProjectPath,
576
+ bundleId: ContentKey,
576
577
  type: string,
577
578
  stats: Stats,
578
579
  |};