@atlaspack/reporter-bundle-buddy 2.14.5-canary.2 → 2.14.5-canary.200

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,208 @@
1
1
  # @atlaspack/reporter-bundle-buddy
2
2
 
3
+ ## 2.14.31
4
+
5
+ ### Patch Changes
6
+
7
+ - [#785](https://github.com/atlassian-labs/atlaspack/pull/785) [`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922) Thanks [@matt-koko](https://github.com/matt-koko)! - We need to re-publish every package in Atlaspack with the corrected types field.
8
+
9
+ - Updated dependencies [[`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922)]:
10
+ - @atlaspack/plugin@2.14.31
11
+ - @atlaspack/types-internal@2.20.1
12
+
13
+ ## 2.14.30
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [[`eedcbc4`](https://github.com/atlassian-labs/atlaspack/commit/eedcbc408fc1e86a2a8e25f1a41c57146d8529e1), [`f6532d7`](https://github.com/atlassian-labs/atlaspack/commit/f6532d7a4f7f007bd4e5e36af04dd466f0b9f572)]:
18
+ - @atlaspack/types-internal@2.20.0
19
+ - @atlaspack/plugin@2.14.30
20
+
21
+ ## 2.14.29
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies []:
26
+ - @atlaspack/types-internal@2.19.5
27
+ - @atlaspack/plugin@2.14.29
28
+
29
+ ## 2.14.28
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies []:
34
+ - @atlaspack/types-internal@2.19.4
35
+ - @atlaspack/plugin@2.14.28
36
+
37
+ ## 2.14.27
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies []:
42
+ - @atlaspack/types-internal@2.19.3
43
+ - @atlaspack/plugin@2.14.27
44
+
45
+ ## 2.14.26
46
+
47
+ ### Patch Changes
48
+
49
+ - [#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
50
+
51
+ - Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd)]:
52
+ - @atlaspack/types-internal@2.19.2
53
+ - @atlaspack/plugin@2.14.26
54
+
55
+ ## 2.14.25
56
+
57
+ ### Patch Changes
58
+
59
+ - Updated dependencies []:
60
+ - @atlaspack/types-internal@2.19.1
61
+ - @atlaspack/plugin@2.14.25
62
+
63
+ ## 2.14.24
64
+
65
+ ### Patch Changes
66
+
67
+ - Updated dependencies [[`7f5841c`](https://github.com/atlassian-labs/atlaspack/commit/7f5841c39df049f9546cccbeea2a7337e0337b45)]:
68
+ - @atlaspack/types-internal@2.19.0
69
+ - @atlaspack/plugin@2.14.24
70
+
71
+ ## 2.14.23
72
+
73
+ ### Patch Changes
74
+
75
+ - Updated dependencies []:
76
+ - @atlaspack/plugin@2.14.23
77
+
78
+ ## 2.14.22
79
+
80
+ ### Patch Changes
81
+
82
+ - [#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
83
+
84
+ - Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94)]:
85
+ - @atlaspack/plugin@2.14.22
86
+
87
+ ## 2.14.21
88
+
89
+ ### Patch Changes
90
+
91
+ - Updated dependencies []:
92
+ - @atlaspack/plugin@2.14.21
93
+
94
+ ## 2.14.20
95
+
96
+ ### Patch Changes
97
+
98
+ - Updated dependencies [[`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa)]:
99
+ - @atlaspack/plugin@2.14.20
100
+
101
+ ## 2.14.19
102
+
103
+ ### Patch Changes
104
+
105
+ - Updated dependencies []:
106
+ - @atlaspack/plugin@2.14.19
107
+
108
+ ## 2.14.18
109
+
110
+ ### Patch Changes
111
+
112
+ - Updated dependencies []:
113
+ - @atlaspack/plugin@2.14.18
114
+
115
+ ## 2.14.17
116
+
117
+ ### Patch Changes
118
+
119
+ - Updated dependencies []:
120
+ - @atlaspack/plugin@2.14.17
121
+
122
+ ## 2.14.16
123
+
124
+ ### Patch Changes
125
+
126
+ - Updated dependencies []:
127
+ - @atlaspack/plugin@2.14.16
128
+
129
+ ## 2.14.15
130
+
131
+ ### Patch Changes
132
+
133
+ - Updated dependencies []:
134
+ - @atlaspack/plugin@2.14.15
135
+
136
+ ## 2.14.14
137
+
138
+ ### Patch Changes
139
+
140
+ - Updated dependencies []:
141
+ - @atlaspack/plugin@2.14.14
142
+
143
+ ## 2.14.13
144
+
145
+ ### Patch Changes
146
+
147
+ - Updated dependencies []:
148
+ - @atlaspack/plugin@2.14.13
149
+
150
+ ## 2.14.12
151
+
152
+ ### Patch Changes
153
+
154
+ - Updated dependencies []:
155
+ - @atlaspack/plugin@2.14.12
156
+
157
+ ## 2.14.11
158
+
159
+ ### Patch Changes
160
+
161
+ - Updated dependencies []:
162
+ - @atlaspack/plugin@2.14.11
163
+
164
+ ## 2.14.10
165
+
166
+ ### Patch Changes
167
+
168
+ - Updated dependencies []:
169
+ - @atlaspack/plugin@2.14.10
170
+
171
+ ## 2.14.9
172
+
173
+ ### Patch Changes
174
+
175
+ - Updated dependencies []:
176
+ - @atlaspack/plugin@2.14.9
177
+
178
+ ## 2.14.8
179
+
180
+ ### Patch Changes
181
+
182
+ - Updated dependencies []:
183
+ - @atlaspack/plugin@2.14.8
184
+
185
+ ## 2.14.7
186
+
187
+ ### Patch Changes
188
+
189
+ - Updated dependencies []:
190
+ - @atlaspack/plugin@2.14.7
191
+
192
+ ## 2.14.6
193
+
194
+ ### Patch Changes
195
+
196
+ - Updated dependencies []:
197
+ - @atlaspack/plugin@2.14.6
198
+
199
+ ## 2.14.5
200
+
201
+ ### Patch Changes
202
+
203
+ - Updated dependencies []:
204
+ - @atlaspack/plugin@2.14.5
205
+
3
206
  ## 2.14.4
4
207
 
5
208
  ### 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.2+88fcaf47c",
3
+ "version": "2.14.5-canary.200+10ee3fa5b",
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.2+88fcaf47c"
19
+ "@atlaspack/plugin": "2.14.5-canary.200+10ee3fa5b",
20
+ "@atlaspack/types-internal": "2.14.1-canary.268+10ee3fa5b"
19
21
  },
20
22
  "type": "commonjs",
21
- "gitHead": "88fcaf47c77a6b7a16003028dd65a4b7a1f19dd7"
22
- }
23
+ "scripts": {
24
+ "check-ts": "tsc --emitDeclarationOnly --rootDir src",
25
+ "build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
26
+ },
27
+ "gitHead": "10ee3fa5b75a92acde8973673d9b3c5b6f3958e5"
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
+ }