@atlaspack/reporter-bundle-buddy 2.14.5-canary.17 → 2.14.5-canary.170

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,160 @@
1
1
  # @atlaspack/reporter-bundle-buddy
2
2
 
3
+ ## 2.14.27
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @atlaspack/types-internal@2.19.3
9
+ - @atlaspack/plugin@2.14.27
10
+
11
+ ## 2.14.26
12
+
13
+ ### Patch Changes
14
+
15
+ - [#742](https://github.com/atlassian-labs/atlaspack/pull/742) [`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd) Thanks [@yamadapc](https://github.com/yamadapc)! - Internal changes and bug fixes to environmentDeduplication flag
16
+
17
+ - Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd)]:
18
+ - @atlaspack/types-internal@2.19.2
19
+ - @atlaspack/plugin@2.14.26
20
+
21
+ ## 2.14.25
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies []:
26
+ - @atlaspack/types-internal@2.19.1
27
+ - @atlaspack/plugin@2.14.25
28
+
29
+ ## 2.14.24
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies [[`7f5841c`](https://github.com/atlassian-labs/atlaspack/commit/7f5841c39df049f9546cccbeea2a7337e0337b45)]:
34
+ - @atlaspack/types-internal@2.19.0
35
+ - @atlaspack/plugin@2.14.24
36
+
37
+ ## 2.14.23
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies []:
42
+ - @atlaspack/plugin@2.14.23
43
+
44
+ ## 2.14.22
45
+
46
+ ### Patch Changes
47
+
48
+ - [#720](https://github.com/atlassian-labs/atlaspack/pull/720) [`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94) Thanks [@alshdavid](https://github.com/alshdavid)! - Migrate to TypeScript
49
+
50
+ - Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94)]:
51
+ - @atlaspack/plugin@2.14.22
52
+
53
+ ## 2.14.21
54
+
55
+ ### Patch Changes
56
+
57
+ - Updated dependencies []:
58
+ - @atlaspack/plugin@2.14.21
59
+
60
+ ## 2.14.20
61
+
62
+ ### Patch Changes
63
+
64
+ - Updated dependencies [[`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa)]:
65
+ - @atlaspack/plugin@2.14.20
66
+
67
+ ## 2.14.19
68
+
69
+ ### Patch Changes
70
+
71
+ - Updated dependencies []:
72
+ - @atlaspack/plugin@2.14.19
73
+
74
+ ## 2.14.18
75
+
76
+ ### Patch Changes
77
+
78
+ - Updated dependencies []:
79
+ - @atlaspack/plugin@2.14.18
80
+
81
+ ## 2.14.17
82
+
83
+ ### Patch Changes
84
+
85
+ - Updated dependencies []:
86
+ - @atlaspack/plugin@2.14.17
87
+
88
+ ## 2.14.16
89
+
90
+ ### Patch Changes
91
+
92
+ - Updated dependencies []:
93
+ - @atlaspack/plugin@2.14.16
94
+
95
+ ## 2.14.15
96
+
97
+ ### Patch Changes
98
+
99
+ - Updated dependencies []:
100
+ - @atlaspack/plugin@2.14.15
101
+
102
+ ## 2.14.14
103
+
104
+ ### Patch Changes
105
+
106
+ - Updated dependencies []:
107
+ - @atlaspack/plugin@2.14.14
108
+
109
+ ## 2.14.13
110
+
111
+ ### Patch Changes
112
+
113
+ - Updated dependencies []:
114
+ - @atlaspack/plugin@2.14.13
115
+
116
+ ## 2.14.12
117
+
118
+ ### Patch Changes
119
+
120
+ - Updated dependencies []:
121
+ - @atlaspack/plugin@2.14.12
122
+
123
+ ## 2.14.11
124
+
125
+ ### Patch Changes
126
+
127
+ - Updated dependencies []:
128
+ - @atlaspack/plugin@2.14.11
129
+
130
+ ## 2.14.10
131
+
132
+ ### Patch Changes
133
+
134
+ - Updated dependencies []:
135
+ - @atlaspack/plugin@2.14.10
136
+
137
+ ## 2.14.9
138
+
139
+ ### Patch Changes
140
+
141
+ - Updated dependencies []:
142
+ - @atlaspack/plugin@2.14.9
143
+
144
+ ## 2.14.8
145
+
146
+ ### Patch Changes
147
+
148
+ - Updated dependencies []:
149
+ - @atlaspack/plugin@2.14.8
150
+
151
+ ## 2.14.7
152
+
153
+ ### Patch Changes
154
+
155
+ - Updated dependencies []:
156
+ - @atlaspack/plugin@2.14.7
157
+
3
158
  ## 2.14.6
4
159
 
5
160
  ### Patch Changes
@@ -0,0 +1,3 @@
1
+ import { Reporter } from '@atlaspack/plugin';
2
+ declare const _default: Reporter;
3
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/reporter-bundle-buddy",
3
- "version": "2.14.5-canary.17+a1773d2a6",
3
+ "version": "2.14.5-canary.170+c940954d2",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -9,14 +9,20 @@
9
9
  "type": "git",
10
10
  "url": "https://github.com/atlassian-labs/atlaspack.git"
11
11
  },
12
- "main": "lib/BundleBuddyReporter.js",
13
- "source": "src/BundleBuddyReporter.js",
12
+ "main": "./lib/BundleBuddyReporter.js",
13
+ "source": "./src/BundleBuddyReporter.ts",
14
+ "types": "./lib/types/BundleBuddyReporter.d.ts",
14
15
  "engines": {
15
16
  "node": ">= 16.0.0"
16
17
  },
17
18
  "dependencies": {
18
- "@atlaspack/plugin": "2.14.5-canary.17+a1773d2a6"
19
+ "@atlaspack/plugin": "2.14.5-canary.170+c940954d2",
20
+ "@atlaspack/types-internal": "2.14.1-canary.238+c940954d2"
19
21
  },
20
22
  "type": "commonjs",
21
- "gitHead": "a1773d2a62d0ef7805ac7524621dcabcc1afe929"
23
+ "scripts": {
24
+ "check-ts": "tsc --emitDeclarationOnly --rootDir src",
25
+ "build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
26
+ },
27
+ "gitHead": "c940954d27d657c3c93cd328dfb394778da46eab"
22
28
  }
@@ -1,9 +1,8 @@
1
- // @flow strict-local
2
- import type {PackagedBundle} from '@atlaspack/types';
1
+ import type {PackagedBundle} from '@atlaspack/types-internal';
3
2
  import {Reporter} from '@atlaspack/plugin';
4
3
  import path from 'path';
5
4
 
6
- export default (new Reporter({
5
+ export default new Reporter({
7
6
  async report({event, options, logger}) {
8
7
  if (event.type !== 'buildSuccess') {
9
8
  return;
@@ -21,7 +20,10 @@ export default (new Reporter({
21
20
  }
22
21
 
23
22
  for (let [targetDir, bundles] of bundlesByTarget) {
24
- let out = [];
23
+ let out: Array<{
24
+ source: string;
25
+ target: string;
26
+ }> = [];
25
27
 
26
28
  for (let bundle of bundles) {
27
29
  bundle.traverseAssets((asset) => {
@@ -52,4 +54,4 @@ export default (new Reporter({
52
54
  });
53
55
  }
54
56
  },
55
- }): Reporter);
57
+ }) as Reporter;
package/tsconfig.json ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "extends": "../../../tsconfig.json",
3
+ "include": ["src"]
4
+ }