@atlaspack/reporter-bundle-buddy 2.14.5-canary.19 → 2.14.5-canary.190

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,169 @@
1
1
  # @atlaspack/reporter-bundle-buddy
2
2
 
3
+ ## 2.14.29
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @atlaspack/types-internal@2.19.5
9
+ - @atlaspack/plugin@2.14.29
10
+
11
+ ## 2.14.28
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies []:
16
+ - @atlaspack/types-internal@2.19.4
17
+ - @atlaspack/plugin@2.14.28
18
+
19
+ ## 2.14.27
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies []:
24
+ - @atlaspack/types-internal@2.19.3
25
+ - @atlaspack/plugin@2.14.27
26
+
27
+ ## 2.14.26
28
+
29
+ ### Patch Changes
30
+
31
+ - [#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
32
+
33
+ - Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd)]:
34
+ - @atlaspack/types-internal@2.19.2
35
+ - @atlaspack/plugin@2.14.26
36
+
37
+ ## 2.14.25
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies []:
42
+ - @atlaspack/types-internal@2.19.1
43
+ - @atlaspack/plugin@2.14.25
44
+
45
+ ## 2.14.24
46
+
47
+ ### Patch Changes
48
+
49
+ - Updated dependencies [[`7f5841c`](https://github.com/atlassian-labs/atlaspack/commit/7f5841c39df049f9546cccbeea2a7337e0337b45)]:
50
+ - @atlaspack/types-internal@2.19.0
51
+ - @atlaspack/plugin@2.14.24
52
+
53
+ ## 2.14.23
54
+
55
+ ### Patch Changes
56
+
57
+ - Updated dependencies []:
58
+ - @atlaspack/plugin@2.14.23
59
+
60
+ ## 2.14.22
61
+
62
+ ### Patch Changes
63
+
64
+ - [#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
65
+
66
+ - Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94)]:
67
+ - @atlaspack/plugin@2.14.22
68
+
69
+ ## 2.14.21
70
+
71
+ ### Patch Changes
72
+
73
+ - Updated dependencies []:
74
+ - @atlaspack/plugin@2.14.21
75
+
76
+ ## 2.14.20
77
+
78
+ ### Patch Changes
79
+
80
+ - Updated dependencies [[`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa)]:
81
+ - @atlaspack/plugin@2.14.20
82
+
83
+ ## 2.14.19
84
+
85
+ ### Patch Changes
86
+
87
+ - Updated dependencies []:
88
+ - @atlaspack/plugin@2.14.19
89
+
90
+ ## 2.14.18
91
+
92
+ ### Patch Changes
93
+
94
+ - Updated dependencies []:
95
+ - @atlaspack/plugin@2.14.18
96
+
97
+ ## 2.14.17
98
+
99
+ ### Patch Changes
100
+
101
+ - Updated dependencies []:
102
+ - @atlaspack/plugin@2.14.17
103
+
104
+ ## 2.14.16
105
+
106
+ ### Patch Changes
107
+
108
+ - Updated dependencies []:
109
+ - @atlaspack/plugin@2.14.16
110
+
111
+ ## 2.14.15
112
+
113
+ ### Patch Changes
114
+
115
+ - Updated dependencies []:
116
+ - @atlaspack/plugin@2.14.15
117
+
118
+ ## 2.14.14
119
+
120
+ ### Patch Changes
121
+
122
+ - Updated dependencies []:
123
+ - @atlaspack/plugin@2.14.14
124
+
125
+ ## 2.14.13
126
+
127
+ ### Patch Changes
128
+
129
+ - Updated dependencies []:
130
+ - @atlaspack/plugin@2.14.13
131
+
132
+ ## 2.14.12
133
+
134
+ ### Patch Changes
135
+
136
+ - Updated dependencies []:
137
+ - @atlaspack/plugin@2.14.12
138
+
139
+ ## 2.14.11
140
+
141
+ ### Patch Changes
142
+
143
+ - Updated dependencies []:
144
+ - @atlaspack/plugin@2.14.11
145
+
146
+ ## 2.14.10
147
+
148
+ ### Patch Changes
149
+
150
+ - Updated dependencies []:
151
+ - @atlaspack/plugin@2.14.10
152
+
153
+ ## 2.14.9
154
+
155
+ ### Patch Changes
156
+
157
+ - Updated dependencies []:
158
+ - @atlaspack/plugin@2.14.9
159
+
160
+ ## 2.14.8
161
+
162
+ ### Patch Changes
163
+
164
+ - Updated dependencies []:
165
+ - @atlaspack/plugin@2.14.8
166
+
3
167
  ## 2.14.7
4
168
 
5
169
  ### 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.19+a63b1da4d",
3
+ "version": "2.14.5-canary.190+7a52bab62",
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/BundleBuddyReporter.d.ts",
14
15
  "engines": {
15
16
  "node": ">= 16.0.0"
16
17
  },
17
18
  "dependencies": {
18
- "@atlaspack/plugin": "2.14.5-canary.19+a63b1da4d"
19
+ "@atlaspack/plugin": "2.14.5-canary.190+7a52bab62",
20
+ "@atlaspack/types-internal": "2.14.1-canary.258+7a52bab62"
19
21
  },
20
22
  "type": "commonjs",
21
- "gitHead": "a63b1da4d98a7eda8a2130700dc844a56aa8308e"
22
- }
23
+ "scripts": {
24
+ "check-ts": "tsc --emitDeclarationOnly --rootDir src",
25
+ "build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
26
+ },
27
+ "gitHead": "7a52bab6281e8edbfa66af248eb6f872c6b4b7bd"
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
+ }