@atlaspack/bundle-stats 2.14.5-canary.48 → 2.14.5-canary.480
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 +569 -0
- package/dist/cli.js +47 -0
- package/dist/deep-imports.js +17 -0
- package/lib/bin.js +3 -0
- package/lib/cli.js +7 -4
- package/lib/deep-imports.js +6 -4
- package/lib/types/cli.d.ts +2 -0
- package/lib/types/deep-imports.d.ts +1 -0
- package/package.json +16 -15
- package/src/bin.js +2 -1
- package/src/{cli.js → cli.ts} +5 -6
- package/src/deep-imports.ts +33 -0
- package/tsconfig.json +27 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/src/deep-imports.js +0 -30
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,574 @@
|
|
|
1
1
|
# @atlaspack/bundle-stats
|
|
2
2
|
|
|
3
|
+
## 2.14.64
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`c4a3b39`](https://github.com/atlassian-labs/atlaspack/commit/c4a3b399c70a434625626af3f7e9b666045cdf39)]:
|
|
8
|
+
- @atlaspack/core@2.38.5
|
|
9
|
+
- @atlaspack/utils@3.4.5
|
|
10
|
+
- @atlaspack/query@2.14.64
|
|
11
|
+
- @atlaspack/reporter-bundle-stats@2.14.64
|
|
12
|
+
|
|
13
|
+
## 2.14.63
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`39b1fdf`](https://github.com/atlassian-labs/atlaspack/commit/39b1fdf59d317a9e862dceba0495dda9f1fda77c)]:
|
|
18
|
+
- @atlaspack/core@2.38.4
|
|
19
|
+
- @atlaspack/query@2.14.63
|
|
20
|
+
- @atlaspack/reporter-bundle-stats@2.14.63
|
|
21
|
+
- @atlaspack/utils@3.4.4
|
|
22
|
+
|
|
23
|
+
## 2.14.62
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- [#1065](https://github.com/atlassian-labs/atlaspack/pull/1065) [`e898fda`](https://github.com/atlassian-labs/atlaspack/commit/e898fda7511d98e5597d847c4a32c028a8a24d6c) Thanks [@at-nathan](https://github.com/at-nathan)! - Update third-party dependencies to align with AFM
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [[`e898fda`](https://github.com/atlassian-labs/atlaspack/commit/e898fda7511d98e5597d847c4a32c028a8a24d6c), [`3ff901a`](https://github.com/atlassian-labs/atlaspack/commit/3ff901a222d5e077a3bb96031a89c3b5173ece69)]:
|
|
30
|
+
- @atlaspack/utils@3.4.3
|
|
31
|
+
- @atlaspack/core@2.38.3
|
|
32
|
+
- @atlaspack/query@2.14.62
|
|
33
|
+
- @atlaspack/reporter-bundle-stats@2.14.62
|
|
34
|
+
|
|
35
|
+
## 2.14.61
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- Updated dependencies []:
|
|
40
|
+
- @atlaspack/core@2.38.2
|
|
41
|
+
- @atlaspack/utils@3.4.2
|
|
42
|
+
- @atlaspack/query@2.14.61
|
|
43
|
+
- @atlaspack/reporter-bundle-stats@2.14.61
|
|
44
|
+
|
|
45
|
+
## 2.14.60
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- Updated dependencies [[`1c767e4`](https://github.com/atlassian-labs/atlaspack/commit/1c767e4907664dd490a56276d6562f79dbeea3fb)]:
|
|
50
|
+
- @atlaspack/core@2.38.1
|
|
51
|
+
- @atlaspack/utils@3.4.1
|
|
52
|
+
- @atlaspack/query@2.14.60
|
|
53
|
+
- @atlaspack/reporter-bundle-stats@2.14.60
|
|
54
|
+
|
|
55
|
+
## 2.14.59
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- Updated dependencies [[`ffa1e42`](https://github.com/atlassian-labs/atlaspack/commit/ffa1e4276c22cc48b6be45ac81df8adde85f2237), [`939d5bd`](https://github.com/atlassian-labs/atlaspack/commit/939d5bd41b3bcb5508f58ca41165d48122762e26), [`71981ea`](https://github.com/atlassian-labs/atlaspack/commit/71981eac258f7e6dfb40ec4b202d194f71c64ff1), [`0bb5830`](https://github.com/atlassian-labs/atlaspack/commit/0bb5830d1a7800e673f21ab020cd86bef873df9c)]:
|
|
60
|
+
- @atlaspack/core@2.38.0
|
|
61
|
+
- @atlaspack/utils@3.4.0
|
|
62
|
+
- @atlaspack/query@2.14.59
|
|
63
|
+
- @atlaspack/reporter-bundle-stats@2.14.59
|
|
64
|
+
|
|
65
|
+
## 2.14.58
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- Updated dependencies [[`c80be61`](https://github.com/atlassian-labs/atlaspack/commit/c80be618e42014208fed60b7a2dccc2e47d53aed), [`2d3c616`](https://github.com/atlassian-labs/atlaspack/commit/2d3c616bb2ebef55d6850e8ca9eedf13c72f5386)]:
|
|
70
|
+
- @atlaspack/core@2.37.0
|
|
71
|
+
- @atlaspack/utils@3.3.9
|
|
72
|
+
- @atlaspack/query@2.14.58
|
|
73
|
+
- @atlaspack/reporter-bundle-stats@2.14.58
|
|
74
|
+
|
|
75
|
+
## 2.14.57
|
|
76
|
+
|
|
77
|
+
### Patch Changes
|
|
78
|
+
|
|
79
|
+
- Updated dependencies [[`f7878b2`](https://github.com/atlassian-labs/atlaspack/commit/f7878b2f19a0a3bbd0e79d0b4a4e1479646043b7), [`de388ff`](https://github.com/atlassian-labs/atlaspack/commit/de388ff76d39dece97ad475fcccdb6efb6283bfc)]:
|
|
80
|
+
- @atlaspack/core@2.36.0
|
|
81
|
+
- @atlaspack/utils@3.3.8
|
|
82
|
+
- @atlaspack/query@2.14.57
|
|
83
|
+
- @atlaspack/reporter-bundle-stats@2.14.57
|
|
84
|
+
|
|
85
|
+
## 2.14.56
|
|
86
|
+
|
|
87
|
+
### Patch Changes
|
|
88
|
+
|
|
89
|
+
- Updated dependencies [[`f9aec27`](https://github.com/atlassian-labs/atlaspack/commit/f9aec2736d27afa7a1f2a9701d46e29e566ab352), [`93ec107`](https://github.com/atlassian-labs/atlaspack/commit/93ec10729ad5a328b4320955357339746cd472f3), [`e88b258`](https://github.com/atlassian-labs/atlaspack/commit/e88b25808a181fafbe98e5ca278b35bfc0197caf), [`cbc815a`](https://github.com/atlassian-labs/atlaspack/commit/cbc815a23907e081b7203bdea37bd57befdd4b9e), [`ad3c822`](https://github.com/atlassian-labs/atlaspack/commit/ad3c8223ab1abce9e8da81239cc56f27d37c7cad), [`936209f`](https://github.com/atlassian-labs/atlaspack/commit/936209f3c6c201288720dd62b61e1f538368268c), [`857962a`](https://github.com/atlassian-labs/atlaspack/commit/857962a352bb0aebaf74a8765e8c44d7e875a4e9)]:
|
|
90
|
+
- @atlaspack/core@2.35.0
|
|
91
|
+
- @atlaspack/query@2.14.56
|
|
92
|
+
- @atlaspack/utils@3.3.7
|
|
93
|
+
- @atlaspack/reporter-bundle-stats@2.14.56
|
|
94
|
+
|
|
95
|
+
## 2.14.55
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- Updated dependencies [[`d8e984b`](https://github.com/atlassian-labs/atlaspack/commit/d8e984b7f6d04fa03707fa299bfd8b8bf9f58280), [`45a0dc5`](https://github.com/atlassian-labs/atlaspack/commit/45a0dc530fd9472dbfdebcbb05f1aad812ab3b23)]:
|
|
100
|
+
- @atlaspack/utils@3.3.6
|
|
101
|
+
- @atlaspack/core@2.34.0
|
|
102
|
+
- @atlaspack/reporter-bundle-stats@2.14.55
|
|
103
|
+
- @atlaspack/query@2.14.55
|
|
104
|
+
|
|
105
|
+
## 2.14.54
|
|
106
|
+
|
|
107
|
+
### Patch Changes
|
|
108
|
+
|
|
109
|
+
- Updated dependencies []:
|
|
110
|
+
- @atlaspack/core@2.33.1
|
|
111
|
+
- @atlaspack/utils@3.3.5
|
|
112
|
+
- @atlaspack/query@2.14.54
|
|
113
|
+
- @atlaspack/reporter-bundle-stats@2.14.54
|
|
114
|
+
|
|
115
|
+
## 2.14.53
|
|
116
|
+
|
|
117
|
+
### Patch Changes
|
|
118
|
+
|
|
119
|
+
- Updated dependencies [[`e058f0e`](https://github.com/atlassian-labs/atlaspack/commit/e058f0e7a0423ba9373e85a7dbd5c1dd43b47916), [`349b19c`](https://github.com/atlassian-labs/atlaspack/commit/349b19c3aca2ccb1ffb5cdcdc74890f4b62228be)]:
|
|
120
|
+
- @atlaspack/core@2.33.0
|
|
121
|
+
- @atlaspack/utils@3.3.4
|
|
122
|
+
- @atlaspack/query@2.14.53
|
|
123
|
+
- @atlaspack/reporter-bundle-stats@2.14.53
|
|
124
|
+
|
|
125
|
+
## 2.14.52
|
|
126
|
+
|
|
127
|
+
### Patch Changes
|
|
128
|
+
|
|
129
|
+
- Updated dependencies [[`a631dcd`](https://github.com/atlassian-labs/atlaspack/commit/a631dcd961112db072b0f8de0831efd178f355a7), [`5755a11`](https://github.com/atlassian-labs/atlaspack/commit/5755a114903bbf660e2ada3ae2e7ff6ceac7565b), [`fcaf517`](https://github.com/atlassian-labs/atlaspack/commit/fcaf517010d15c9300393bcad3f9b465689d9d16)]:
|
|
130
|
+
- @atlaspack/core@2.32.1
|
|
131
|
+
- @atlaspack/query@2.14.52
|
|
132
|
+
- @atlaspack/reporter-bundle-stats@2.14.52
|
|
133
|
+
- @atlaspack/utils@3.3.3
|
|
134
|
+
|
|
135
|
+
## 2.14.51
|
|
136
|
+
|
|
137
|
+
### Patch Changes
|
|
138
|
+
|
|
139
|
+
- Updated dependencies [[`e8ea59b`](https://github.com/atlassian-labs/atlaspack/commit/e8ea59beabb4b4fef647dc9ebea3519b6d56d7b5), [`8826fd0`](https://github.com/atlassian-labs/atlaspack/commit/8826fd02c29c9c67cf0c80da41f424257fbdef93), [`dbcaabb`](https://github.com/atlassian-labs/atlaspack/commit/dbcaabbf15d4fbc8ecd9c0be58cf7b2317eebfc4)]:
|
|
140
|
+
- @atlaspack/core@2.32.0
|
|
141
|
+
- @atlaspack/query@2.14.51
|
|
142
|
+
- @atlaspack/reporter-bundle-stats@2.14.51
|
|
143
|
+
- @atlaspack/utils@3.3.2
|
|
144
|
+
|
|
145
|
+
## 2.14.50
|
|
146
|
+
|
|
147
|
+
### Patch Changes
|
|
148
|
+
|
|
149
|
+
- Updated dependencies []:
|
|
150
|
+
- @atlaspack/core@2.31.3
|
|
151
|
+
- @atlaspack/utils@3.3.1
|
|
152
|
+
- @atlaspack/query@2.14.50
|
|
153
|
+
- @atlaspack/reporter-bundle-stats@2.14.50
|
|
154
|
+
|
|
155
|
+
## 2.14.49
|
|
156
|
+
|
|
157
|
+
### Patch Changes
|
|
158
|
+
|
|
159
|
+
- Updated dependencies [[`47aa84e`](https://github.com/atlassian-labs/atlaspack/commit/47aa84e44c61066072a5bf3d57678565b9d2c5a3)]:
|
|
160
|
+
- @atlaspack/utils@3.3.0
|
|
161
|
+
- @atlaspack/core@2.31.2
|
|
162
|
+
- @atlaspack/reporter-bundle-stats@2.14.49
|
|
163
|
+
- @atlaspack/query@2.14.49
|
|
164
|
+
|
|
165
|
+
## 2.14.48
|
|
166
|
+
|
|
167
|
+
### Patch Changes
|
|
168
|
+
|
|
169
|
+
- Updated dependencies [[`695339e`](https://github.com/atlassian-labs/atlaspack/commit/695339e4fd46df9590013c2ef4de74cb22225927)]:
|
|
170
|
+
- @atlaspack/core@2.31.1
|
|
171
|
+
- @atlaspack/utils@3.2.8
|
|
172
|
+
- @atlaspack/query@2.14.48
|
|
173
|
+
- @atlaspack/reporter-bundle-stats@2.14.48
|
|
174
|
+
|
|
175
|
+
## 2.14.47
|
|
176
|
+
|
|
177
|
+
### Patch Changes
|
|
178
|
+
|
|
179
|
+
- Updated dependencies [[`02cc8b3`](https://github.com/atlassian-labs/atlaspack/commit/02cc8b32c06ca6b51806b33f6f707ca06e55e957), [`02cc8b3`](https://github.com/atlassian-labs/atlaspack/commit/02cc8b32c06ca6b51806b33f6f707ca06e55e957)]:
|
|
180
|
+
- @atlaspack/core@2.31.0
|
|
181
|
+
- @atlaspack/utils@3.2.7
|
|
182
|
+
- @atlaspack/query@2.14.47
|
|
183
|
+
- @atlaspack/reporter-bundle-stats@2.14.47
|
|
184
|
+
|
|
185
|
+
## 2.14.46
|
|
186
|
+
|
|
187
|
+
### Patch Changes
|
|
188
|
+
|
|
189
|
+
- Updated dependencies []:
|
|
190
|
+
- @atlaspack/core@2.30.2
|
|
191
|
+
- @atlaspack/utils@3.2.6
|
|
192
|
+
- @atlaspack/query@2.14.46
|
|
193
|
+
- @atlaspack/reporter-bundle-stats@2.14.46
|
|
194
|
+
|
|
195
|
+
## 2.14.45
|
|
196
|
+
|
|
197
|
+
### Patch Changes
|
|
198
|
+
|
|
199
|
+
- Updated dependencies []:
|
|
200
|
+
- @atlaspack/core@2.30.1
|
|
201
|
+
- @atlaspack/utils@3.2.5
|
|
202
|
+
- @atlaspack/query@2.14.45
|
|
203
|
+
- @atlaspack/reporter-bundle-stats@2.14.45
|
|
204
|
+
|
|
205
|
+
## 2.14.44
|
|
206
|
+
|
|
207
|
+
### Patch Changes
|
|
208
|
+
|
|
209
|
+
- Updated dependencies [[`00fa643`](https://github.com/atlassian-labs/atlaspack/commit/00fa6433202bfd3311479f6314c9ec878a789f2c)]:
|
|
210
|
+
- @atlaspack/core@2.30.0
|
|
211
|
+
- @atlaspack/utils@3.2.4
|
|
212
|
+
- @atlaspack/query@2.14.44
|
|
213
|
+
- @atlaspack/reporter-bundle-stats@2.14.44
|
|
214
|
+
|
|
215
|
+
## 2.14.43
|
|
216
|
+
|
|
217
|
+
### Patch Changes
|
|
218
|
+
|
|
219
|
+
- Updated dependencies []:
|
|
220
|
+
- @atlaspack/core@2.29.2
|
|
221
|
+
- @atlaspack/utils@3.2.3
|
|
222
|
+
- @atlaspack/query@2.14.43
|
|
223
|
+
- @atlaspack/reporter-bundle-stats@2.14.43
|
|
224
|
+
|
|
225
|
+
## 2.14.42
|
|
226
|
+
|
|
227
|
+
### Patch Changes
|
|
228
|
+
|
|
229
|
+
- Updated dependencies [[`d98c992`](https://github.com/atlassian-labs/atlaspack/commit/d98c992a56121a4f9f6a011ced5e103f96fe3999)]:
|
|
230
|
+
- @atlaspack/core@2.29.1
|
|
231
|
+
- @atlaspack/utils@3.2.2
|
|
232
|
+
- @atlaspack/query@2.14.42
|
|
233
|
+
- @atlaspack/reporter-bundle-stats@2.14.42
|
|
234
|
+
|
|
235
|
+
## 2.14.41
|
|
236
|
+
|
|
237
|
+
### Patch Changes
|
|
238
|
+
|
|
239
|
+
- Updated dependencies [[`a884bd2`](https://github.com/atlassian-labs/atlaspack/commit/a884bd2a6bd6f37d088fb886dd9b88e85328501b), [`5710532`](https://github.com/atlassian-labs/atlaspack/commit/57105322b26ce42af2cbfcc0506cff929e50b630), [`6fac01d`](https://github.com/atlassian-labs/atlaspack/commit/6fac01dbb1bfc5b971176c1a1c008297bf4b8f91), [`432d571`](https://github.com/atlassian-labs/atlaspack/commit/432d571ea4e9fc67be12304fcafe8c445e844174), [`5710532`](https://github.com/atlassian-labs/atlaspack/commit/57105322b26ce42af2cbfcc0506cff929e50b630)]:
|
|
240
|
+
- @atlaspack/core@2.29.0
|
|
241
|
+
- @atlaspack/query@2.14.41
|
|
242
|
+
- @atlaspack/reporter-bundle-stats@2.14.41
|
|
243
|
+
- @atlaspack/utils@3.2.1
|
|
244
|
+
|
|
245
|
+
## 2.14.40
|
|
246
|
+
|
|
247
|
+
### Patch Changes
|
|
248
|
+
|
|
249
|
+
- Updated dependencies [[`7dd5bd8`](https://github.com/atlassian-labs/atlaspack/commit/7dd5bd89ff60c7b324347d772729eb4c3314f01e), [`8eb84ee`](https://github.com/atlassian-labs/atlaspack/commit/8eb84ee61a42bfe87c58079b610802b07a6a13e4), [`73168c2`](https://github.com/atlassian-labs/atlaspack/commit/73168c275a5d9abff9907bcf536b340bca1ed5f0), [`617a318`](https://github.com/atlassian-labs/atlaspack/commit/617a318ddc9419b38360257353fec50b9051ee13)]:
|
|
250
|
+
- @atlaspack/core@2.28.0
|
|
251
|
+
- @atlaspack/utils@3.2.0
|
|
252
|
+
- @atlaspack/query@2.14.40
|
|
253
|
+
- @atlaspack/reporter-bundle-stats@2.14.40
|
|
254
|
+
|
|
255
|
+
## 2.14.39
|
|
256
|
+
|
|
257
|
+
### Patch Changes
|
|
258
|
+
|
|
259
|
+
- Updated dependencies [[`ec3abe4`](https://github.com/atlassian-labs/atlaspack/commit/ec3abe4dffc98560a850fd2f71fb566577e6c99c), [`cfb4707`](https://github.com/atlassian-labs/atlaspack/commit/cfb4707087498e4fa4dcf10753fe984a248d196b), [`33d4c26`](https://github.com/atlassian-labs/atlaspack/commit/33d4c261ceb8d585d56b0a446ed6e28cf7f1126d), [`f31b041`](https://github.com/atlassian-labs/atlaspack/commit/f31b04107e9077c9946aadb99f6f91bb69703bb7), [`8180981`](https://github.com/atlassian-labs/atlaspack/commit/8180981be14c00f9570adb70d3f350bd91d6ec0a), [`119210b`](https://github.com/atlassian-labs/atlaspack/commit/119210b597eb993c50445df87a36b70bd49cd414), [`7d7a55d`](https://github.com/atlassian-labs/atlaspack/commit/7d7a55dd6395ec391a2e4c33b3dec0d1ea477d4c)]:
|
|
260
|
+
- @atlaspack/core@2.27.0
|
|
261
|
+
- @atlaspack/utils@3.1.2
|
|
262
|
+
- @atlaspack/query@2.14.39
|
|
263
|
+
- @atlaspack/reporter-bundle-stats@2.14.39
|
|
264
|
+
|
|
265
|
+
## 2.14.38
|
|
266
|
+
|
|
267
|
+
### Patch Changes
|
|
268
|
+
|
|
269
|
+
- Updated dependencies []:
|
|
270
|
+
- @atlaspack/core@2.26.2
|
|
271
|
+
- @atlaspack/utils@3.1.1
|
|
272
|
+
- @atlaspack/query@2.14.38
|
|
273
|
+
- @atlaspack/reporter-bundle-stats@2.14.38
|
|
274
|
+
|
|
275
|
+
## 2.14.37
|
|
276
|
+
|
|
277
|
+
### Patch Changes
|
|
278
|
+
|
|
279
|
+
- Updated dependencies [[`9cd9521`](https://github.com/atlassian-labs/atlaspack/commit/9cd9521978f783046e2ae4ce78f2de7aeb07d073), [`d0c7bea`](https://github.com/atlassian-labs/atlaspack/commit/d0c7bea04458255b4c5d4299600e734b5f919fe1), [`1086c6a`](https://github.com/atlassian-labs/atlaspack/commit/1086c6a2c59271b63b3fb78e6acdb9d3a0dbf354), [`5776be2`](https://github.com/atlassian-labs/atlaspack/commit/5776be21f70a3f2b9471ba33da3ba1a883f21f1a)]:
|
|
280
|
+
- @atlaspack/core@2.26.1
|
|
281
|
+
- @atlaspack/utils@3.1.0
|
|
282
|
+
- @atlaspack/query@2.14.37
|
|
283
|
+
- @atlaspack/reporter-bundle-stats@2.14.37
|
|
284
|
+
|
|
285
|
+
## 2.14.36
|
|
286
|
+
|
|
287
|
+
### Patch Changes
|
|
288
|
+
|
|
289
|
+
- Updated dependencies [[`ff8ac84`](https://github.com/atlassian-labs/atlaspack/commit/ff8ac84bd0be15caa7c7af21bf5b6e47b6d36438), [`3da8e69`](https://github.com/atlassian-labs/atlaspack/commit/3da8e690605472d81c531366b65fa9844f8ca337), [`c372f3f`](https://github.com/atlassian-labs/atlaspack/commit/c372f3fd6fce8200d5cf47f41bc7895c6cbb5558), [`17dfea9`](https://github.com/atlassian-labs/atlaspack/commit/17dfea9e9f3169807808520df9c09ebf70dc8b10), [`27fd73f`](https://github.com/atlassian-labs/atlaspack/commit/27fd73fa07d358653f1be6f2d15d72dc5d8fc2fd), [`3091fa3`](https://github.com/atlassian-labs/atlaspack/commit/3091fa36425ecffe3938e55247a035b08cda37a2)]:
|
|
290
|
+
- @atlaspack/core@2.26.0
|
|
291
|
+
- @atlaspack/utils@3.0.3
|
|
292
|
+
- @atlaspack/query@2.14.36
|
|
293
|
+
- @atlaspack/reporter-bundle-stats@2.14.36
|
|
294
|
+
|
|
295
|
+
## 2.14.35
|
|
296
|
+
|
|
297
|
+
### Patch Changes
|
|
298
|
+
|
|
299
|
+
- Updated dependencies []:
|
|
300
|
+
- @atlaspack/core@2.25.1
|
|
301
|
+
- @atlaspack/utils@3.0.2
|
|
302
|
+
- @atlaspack/query@2.14.35
|
|
303
|
+
- @atlaspack/reporter-bundle-stats@2.14.35
|
|
304
|
+
|
|
305
|
+
## 2.14.34
|
|
306
|
+
|
|
307
|
+
### Patch Changes
|
|
308
|
+
|
|
309
|
+
- Updated dependencies [[`236e546`](https://github.com/atlassian-labs/atlaspack/commit/236e5465863dca6044a7191e05260a5b924c342e), [`f07351a`](https://github.com/atlassian-labs/atlaspack/commit/f07351a2398b6a8e5155a2daad77e69b7dcb2b4b)]:
|
|
310
|
+
- @atlaspack/utils@3.0.1
|
|
311
|
+
- @atlaspack/core@2.25.0
|
|
312
|
+
- @atlaspack/reporter-bundle-stats@2.14.34
|
|
313
|
+
- @atlaspack/query@2.14.34
|
|
314
|
+
|
|
315
|
+
## 2.14.33
|
|
316
|
+
|
|
317
|
+
### Patch Changes
|
|
318
|
+
|
|
319
|
+
- Updated dependencies [[`10ee3fa`](https://github.com/atlassian-labs/atlaspack/commit/10ee3fa5b75a92acde8973673d9b3c5b6f3958e5), [`1180103`](https://github.com/atlassian-labs/atlaspack/commit/118010351ed444f8178988afb3f77807154dd933)]:
|
|
320
|
+
- @atlaspack/core@2.24.2
|
|
321
|
+
- @atlaspack/utils@3.0.0
|
|
322
|
+
- @atlaspack/query@2.14.33
|
|
323
|
+
- @atlaspack/reporter-bundle-stats@2.14.33
|
|
324
|
+
|
|
325
|
+
## 2.14.32
|
|
326
|
+
|
|
327
|
+
### Patch Changes
|
|
328
|
+
|
|
329
|
+
- [#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.
|
|
330
|
+
|
|
331
|
+
- Updated dependencies [[`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922), [`686a398`](https://github.com/atlassian-labs/atlaspack/commit/686a398faa1f9e19cbf9274add2c46e246bafba8)]:
|
|
332
|
+
- @atlaspack/core@2.24.1
|
|
333
|
+
- @atlaspack/utils@2.19.3
|
|
334
|
+
- @atlaspack/query@2.14.32
|
|
335
|
+
- @atlaspack/reporter-bundle-stats@2.14.32
|
|
336
|
+
|
|
337
|
+
## 2.14.31
|
|
338
|
+
|
|
339
|
+
### Patch Changes
|
|
340
|
+
|
|
341
|
+
- Updated dependencies [[`eedcbc4`](https://github.com/atlassian-labs/atlaspack/commit/eedcbc408fc1e86a2a8e25f1a41c57146d8529e1), [`5a0363f`](https://github.com/atlassian-labs/atlaspack/commit/5a0363f1086e81068959b87e92064bed5a11a9b4), [`038e87a`](https://github.com/atlassian-labs/atlaspack/commit/038e87a7858d39556d59d3a2d17db534d45f62c6), [`f6532d7`](https://github.com/atlassian-labs/atlaspack/commit/f6532d7a4f7f007bd4e5e36af04dd466f0b9f572), [`8604d2a`](https://github.com/atlassian-labs/atlaspack/commit/8604d2a49ace5e9194ec4f76e71f06b93610f6b4)]:
|
|
342
|
+
- @atlaspack/core@2.24.0
|
|
343
|
+
- @atlaspack/utils@2.19.2
|
|
344
|
+
- @atlaspack/query@2.14.31
|
|
345
|
+
- @atlaspack/reporter-bundle-stats@2.14.31
|
|
346
|
+
|
|
347
|
+
## 2.14.30
|
|
348
|
+
|
|
349
|
+
### Patch Changes
|
|
350
|
+
|
|
351
|
+
- Updated dependencies []:
|
|
352
|
+
- @atlaspack/core@2.23.5
|
|
353
|
+
- @atlaspack/utils@2.19.1
|
|
354
|
+
- @atlaspack/query@2.14.30
|
|
355
|
+
- @atlaspack/reporter-bundle-stats@2.14.30
|
|
356
|
+
|
|
357
|
+
## 2.14.29
|
|
358
|
+
|
|
359
|
+
### Patch Changes
|
|
360
|
+
|
|
361
|
+
- Updated dependencies [[`f0349a6`](https://github.com/atlassian-labs/atlaspack/commit/f0349a6b9b04755088f121095ca6301a2ada3767)]:
|
|
362
|
+
- @atlaspack/utils@2.19.0
|
|
363
|
+
- @atlaspack/core@2.23.4
|
|
364
|
+
- @atlaspack/reporter-bundle-stats@2.14.29
|
|
365
|
+
- @atlaspack/query@2.14.29
|
|
366
|
+
|
|
367
|
+
## 2.14.28
|
|
368
|
+
|
|
369
|
+
### Patch Changes
|
|
370
|
+
|
|
371
|
+
- Updated dependencies []:
|
|
372
|
+
- @atlaspack/core@2.23.3
|
|
373
|
+
- @atlaspack/utils@2.18.4
|
|
374
|
+
- @atlaspack/query@2.14.28
|
|
375
|
+
- @atlaspack/reporter-bundle-stats@2.14.28
|
|
376
|
+
|
|
377
|
+
## 2.14.27
|
|
378
|
+
|
|
379
|
+
### Patch Changes
|
|
380
|
+
|
|
381
|
+
- [#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
|
|
382
|
+
|
|
383
|
+
- Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd), [`889c65c`](https://github.com/atlassian-labs/atlaspack/commit/889c65cd25b811045e26a117e7404f694dde77a2), [`b6e72b6`](https://github.com/atlassian-labs/atlaspack/commit/b6e72b6dd2b517cbb0e700fa69e63332d3eacb1e)]:
|
|
384
|
+
- @atlaspack/reporter-bundle-stats@2.14.27
|
|
385
|
+
- @atlaspack/utils@2.18.3
|
|
386
|
+
- @atlaspack/core@2.23.2
|
|
387
|
+
- @atlaspack/query@2.14.27
|
|
388
|
+
|
|
389
|
+
## 2.14.26
|
|
390
|
+
|
|
391
|
+
### Patch Changes
|
|
392
|
+
|
|
393
|
+
- Updated dependencies []:
|
|
394
|
+
- @atlaspack/core@2.23.1
|
|
395
|
+
- @atlaspack/utils@2.18.2
|
|
396
|
+
- @atlaspack/query@2.14.26
|
|
397
|
+
- @atlaspack/reporter-bundle-stats@2.14.26
|
|
398
|
+
|
|
399
|
+
## 2.14.25
|
|
400
|
+
|
|
401
|
+
### Patch Changes
|
|
402
|
+
|
|
403
|
+
- Updated dependencies [[`7f5841c`](https://github.com/atlassian-labs/atlaspack/commit/7f5841c39df049f9546cccbeea2a7337e0337b45)]:
|
|
404
|
+
- @atlaspack/core@2.23.0
|
|
405
|
+
- @atlaspack/utils@2.18.1
|
|
406
|
+
- @atlaspack/query@2.14.25
|
|
407
|
+
- @atlaspack/reporter-bundle-stats@2.14.25
|
|
408
|
+
|
|
409
|
+
## 2.14.24
|
|
410
|
+
|
|
411
|
+
### Patch Changes
|
|
412
|
+
|
|
413
|
+
- Updated dependencies [[`23d561e`](https://github.com/atlassian-labs/atlaspack/commit/23d561e51e68b0c38fd1ff4e4fb173e5e7b01cf2)]:
|
|
414
|
+
- @atlaspack/utils@2.18.0
|
|
415
|
+
- @atlaspack/core@2.22.0
|
|
416
|
+
- @atlaspack/reporter-bundle-stats@2.14.24
|
|
417
|
+
- @atlaspack/query@2.14.24
|
|
418
|
+
|
|
419
|
+
## 2.14.23
|
|
420
|
+
|
|
421
|
+
### Patch Changes
|
|
422
|
+
|
|
423
|
+
- [#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
|
|
424
|
+
|
|
425
|
+
- Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94), [`43fdd22`](https://github.com/atlassian-labs/atlaspack/commit/43fdd223860fbc97af17d68c65419b97412cb888), [`12bee0e`](https://github.com/atlassian-labs/atlaspack/commit/12bee0e23f0464d7f6bd3e24fbe0d19c126d587d)]:
|
|
426
|
+
- @atlaspack/reporter-bundle-stats@2.14.23
|
|
427
|
+
- @atlaspack/utils@2.17.4
|
|
428
|
+
- @atlaspack/core@2.21.0
|
|
429
|
+
- @atlaspack/query@2.14.23
|
|
430
|
+
|
|
431
|
+
## 2.14.22
|
|
432
|
+
|
|
433
|
+
### Patch Changes
|
|
434
|
+
|
|
435
|
+
- Updated dependencies [[`069de47`](https://github.com/atlassian-labs/atlaspack/commit/069de478e64fb5889f6f2ce023eb510782767fbd)]:
|
|
436
|
+
- @atlaspack/core@2.20.0
|
|
437
|
+
- @atlaspack/utils@2.17.3
|
|
438
|
+
- @atlaspack/query@2.14.22
|
|
439
|
+
- @atlaspack/reporter-bundle-stats@2.14.22
|
|
440
|
+
|
|
441
|
+
## 2.14.21
|
|
442
|
+
|
|
443
|
+
### Patch Changes
|
|
444
|
+
|
|
445
|
+
- Updated dependencies [[`a0b959f`](https://github.com/atlassian-labs/atlaspack/commit/a0b959fbf61fc3f820ff03c7e8988945fe40a91a)]:
|
|
446
|
+
- @atlaspack/core@2.19.2
|
|
447
|
+
- @atlaspack/reporter-bundle-stats@2.14.21
|
|
448
|
+
- @atlaspack/utils@2.17.2
|
|
449
|
+
- @atlaspack/query@2.14.21
|
|
450
|
+
|
|
451
|
+
## 2.14.20
|
|
452
|
+
|
|
453
|
+
### Patch Changes
|
|
454
|
+
|
|
455
|
+
- Updated dependencies []:
|
|
456
|
+
- @atlaspack/core@2.19.1
|
|
457
|
+
- @atlaspack/utils@2.17.1
|
|
458
|
+
- @atlaspack/query@2.14.20
|
|
459
|
+
- @atlaspack/reporter-bundle-stats@2.14.20
|
|
460
|
+
|
|
461
|
+
## 2.14.19
|
|
462
|
+
|
|
463
|
+
### Patch Changes
|
|
464
|
+
|
|
465
|
+
- [#645](https://github.com/atlassian-labs/atlaspack/pull/645) [`de23e0c`](https://github.com/atlassian-labs/atlaspack/commit/de23e0ce49d5504fe3947ac26640a3d951087da3) Thanks [@alshdavid](https://github.com/alshdavid)! - Updated build system and added some extra test-specific code
|
|
466
|
+
|
|
467
|
+
- Updated dependencies [[`dbb4072`](https://github.com/atlassian-labs/atlaspack/commit/dbb40721ebeb45990a14ba04e6b44e7f836fb32d), [`c4415a4`](https://github.com/atlassian-labs/atlaspack/commit/c4415a455543d984ca28452c2cb87a794d22497c), [`f0f7c71`](https://github.com/atlassian-labs/atlaspack/commit/f0f7c7168a1d3d18c6f30d2daed611275692b7c5), [`de23e0c`](https://github.com/atlassian-labs/atlaspack/commit/de23e0ce49d5504fe3947ac26640a3d951087da3), [`18a57cf`](https://github.com/atlassian-labs/atlaspack/commit/18a57cf8a4789b2de5ad8e2676f317a26cc91417), [`a5ed1b4`](https://github.com/atlassian-labs/atlaspack/commit/a5ed1b414498560f393ff491af4da25b6e8dde56), [`3ba1aee`](https://github.com/atlassian-labs/atlaspack/commit/3ba1aee6a794a26b2f0255aaf6d003981532d0ae)]:
|
|
468
|
+
- @atlaspack/utils@2.17.0
|
|
469
|
+
- @atlaspack/core@2.19.0
|
|
470
|
+
- @atlaspack/reporter-bundle-stats@2.14.19
|
|
471
|
+
- @atlaspack/query@2.14.19
|
|
472
|
+
|
|
473
|
+
## 2.14.18
|
|
474
|
+
|
|
475
|
+
### Patch Changes
|
|
476
|
+
|
|
477
|
+
- Updated dependencies []:
|
|
478
|
+
- @atlaspack/core@2.18.8
|
|
479
|
+
- @atlaspack/utils@2.16.1
|
|
480
|
+
- @atlaspack/query@2.14.18
|
|
481
|
+
- @atlaspack/reporter-bundle-stats@2.14.18
|
|
482
|
+
|
|
483
|
+
## 2.14.17
|
|
484
|
+
|
|
485
|
+
### Patch Changes
|
|
486
|
+
|
|
487
|
+
- Updated dependencies [[`1ff31f1`](https://github.com/atlassian-labs/atlaspack/commit/1ff31f10391c48780c9fcfc243b4e828a1b285e0), [`e8a60ff`](https://github.com/atlassian-labs/atlaspack/commit/e8a60ffbea41caef265786bbf73349771760081c), [`30ee2cf`](https://github.com/atlassian-labs/atlaspack/commit/30ee2cfcd34cf2646ded0eda13fdb80a2a5de529)]:
|
|
488
|
+
- @atlaspack/core@2.18.7
|
|
489
|
+
- @atlaspack/utils@2.16.0
|
|
490
|
+
- @atlaspack/query@2.14.17
|
|
491
|
+
- @atlaspack/reporter-bundle-stats@2.14.17
|
|
492
|
+
|
|
493
|
+
## 2.14.16
|
|
494
|
+
|
|
495
|
+
### Patch Changes
|
|
496
|
+
|
|
497
|
+
- Updated dependencies [[`5ded263`](https://github.com/atlassian-labs/atlaspack/commit/5ded263c7f11b866e8885b81c73e20dd060b25be), [`74fd942`](https://github.com/atlassian-labs/atlaspack/commit/74fd94236ac697207082c4b755b079e56f5564fb)]:
|
|
498
|
+
- @atlaspack/core@2.18.6
|
|
499
|
+
- @atlaspack/utils@2.15.3
|
|
500
|
+
- @atlaspack/query@2.14.16
|
|
501
|
+
- @atlaspack/reporter-bundle-stats@2.14.16
|
|
502
|
+
|
|
503
|
+
## 2.14.15
|
|
504
|
+
|
|
505
|
+
### Patch Changes
|
|
506
|
+
|
|
507
|
+
- Updated dependencies [[`644b157`](https://github.com/atlassian-labs/atlaspack/commit/644b157dee72a871acc2d0facf0b87b8eea51956)]:
|
|
508
|
+
- @atlaspack/core@2.18.5
|
|
509
|
+
- @atlaspack/utils@2.15.2
|
|
510
|
+
- @atlaspack/query@2.14.15
|
|
511
|
+
- @atlaspack/reporter-bundle-stats@2.14.15
|
|
512
|
+
|
|
513
|
+
## 2.14.14
|
|
514
|
+
|
|
515
|
+
### Patch Changes
|
|
516
|
+
|
|
517
|
+
- Updated dependencies [[`ef3d622`](https://github.com/atlassian-labs/atlaspack/commit/ef3d6228f4e006702198a19c61e051d194d325cb), [`6b1f5ff`](https://github.com/atlassian-labs/atlaspack/commit/6b1f5fff68d7131fae075e14f4d2c02606dc6058), [`26aa9c5`](https://github.com/atlassian-labs/atlaspack/commit/26aa9c599d2be45ce1438a74c5fa22f39b9b554b), [`c8f7df4`](https://github.com/atlassian-labs/atlaspack/commit/c8f7df4eadfc4718040fceb065dae6e96a4051e7), [`0501255`](https://github.com/atlassian-labs/atlaspack/commit/05012550da35b05ce7d356a8cc29311e7f9afdca)]:
|
|
518
|
+
- @atlaspack/core@2.18.4
|
|
519
|
+
- @atlaspack/utils@2.15.1
|
|
520
|
+
- @atlaspack/query@2.14.14
|
|
521
|
+
- @atlaspack/reporter-bundle-stats@2.14.14
|
|
522
|
+
|
|
523
|
+
## 2.14.13
|
|
524
|
+
|
|
525
|
+
### Patch Changes
|
|
526
|
+
|
|
527
|
+
- Updated dependencies [[`e39c6cf`](https://github.com/atlassian-labs/atlaspack/commit/e39c6cf05f7e95ce5420dbcea66f401b1cbd397c)]:
|
|
528
|
+
- @atlaspack/utils@2.15.0
|
|
529
|
+
- @atlaspack/core@2.18.3
|
|
530
|
+
- @atlaspack/reporter-bundle-stats@2.14.13
|
|
531
|
+
- @atlaspack/query@2.14.13
|
|
532
|
+
|
|
533
|
+
## 2.14.12
|
|
534
|
+
|
|
535
|
+
### Patch Changes
|
|
536
|
+
|
|
537
|
+
- Updated dependencies []:
|
|
538
|
+
- @atlaspack/core@2.18.2
|
|
539
|
+
- @atlaspack/utils@2.14.11
|
|
540
|
+
- @atlaspack/query@2.14.12
|
|
541
|
+
- @atlaspack/reporter-bundle-stats@2.14.12
|
|
542
|
+
|
|
543
|
+
## 2.14.11
|
|
544
|
+
|
|
545
|
+
### Patch Changes
|
|
546
|
+
|
|
547
|
+
- Updated dependencies []:
|
|
548
|
+
- @atlaspack/core@2.18.1
|
|
549
|
+
- @atlaspack/query@2.14.11
|
|
550
|
+
- @atlaspack/reporter-bundle-stats@2.14.11
|
|
551
|
+
|
|
552
|
+
## 2.14.10
|
|
553
|
+
|
|
554
|
+
### Patch Changes
|
|
555
|
+
|
|
556
|
+
- Updated dependencies [[`51aba5f`](https://github.com/atlassian-labs/atlaspack/commit/51aba5fc0e49235ee06bbc3c376f48c3e7da5c4b), [`1e32d4e`](https://github.com/atlassian-labs/atlaspack/commit/1e32d4eae6b3af3968e8a0ef97d35b4347fd4196), [`0b2f6f5`](https://github.com/atlassian-labs/atlaspack/commit/0b2f6f55794d3ff6e2f5a41f963e7e5dd8ad9f8d), [`6dd4ccb`](https://github.com/atlassian-labs/atlaspack/commit/6dd4ccb753541de32322d881f973d571dd57e4ca)]:
|
|
557
|
+
- @atlaspack/core@2.18.0
|
|
558
|
+
- @atlaspack/reporter-bundle-stats@2.14.10
|
|
559
|
+
- @atlaspack/query@2.14.10
|
|
560
|
+
- @atlaspack/utils@2.14.10
|
|
561
|
+
|
|
562
|
+
## 2.14.9
|
|
563
|
+
|
|
564
|
+
### Patch Changes
|
|
565
|
+
|
|
566
|
+
- 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)]:
|
|
567
|
+
- @atlaspack/core@2.17.4
|
|
568
|
+
- @atlaspack/query@2.14.9
|
|
569
|
+
- @atlaspack/reporter-bundle-stats@2.14.9
|
|
570
|
+
- @atlaspack/utils@2.14.9
|
|
571
|
+
|
|
3
572
|
## 2.14.8
|
|
4
573
|
|
|
5
574
|
### Patch Changes
|
package/dist/cli.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.command = void 0;
|
|
7
|
+
const package_json_1 = require("../package.json");
|
|
8
|
+
const commander_1 = __importDefault(require("commander"));
|
|
9
|
+
const fs_1 = __importDefault(require("fs"));
|
|
10
|
+
const path_1 = __importDefault(require("path"));
|
|
11
|
+
const utils_1 = require("@atlaspack/utils");
|
|
12
|
+
const { loadGraphs, getBundleStats, PackagedBundleClass, } = require('./deep-imports.js');
|
|
13
|
+
// @ts-expect-error no types
|
|
14
|
+
async function run({ cacheDir, outDir }) {
|
|
15
|
+
// 1. load bundle graph and info via parcel~query
|
|
16
|
+
let { bundleGraph, bundleInfo } = await loadGraphs(cacheDir);
|
|
17
|
+
if (bundleGraph == null) {
|
|
18
|
+
console.error('Bundle Graph could not be found');
|
|
19
|
+
process.exit(1);
|
|
20
|
+
throw new Error();
|
|
21
|
+
}
|
|
22
|
+
if (bundleInfo == null) {
|
|
23
|
+
console.error('Bundle Info could not be found');
|
|
24
|
+
process.exit(1);
|
|
25
|
+
throw new Error();
|
|
26
|
+
}
|
|
27
|
+
// 2. generate stats files for each target
|
|
28
|
+
fs_1.default.mkdirSync(outDir, { recursive: true });
|
|
29
|
+
let projectRoot = process.cwd();
|
|
30
|
+
let parcelOptions = { projectRoot };
|
|
31
|
+
let bundlesByTarget = new utils_1.DefaultMap(() => []);
|
|
32
|
+
for (let bundle of bundleGraph.getBundles()) {
|
|
33
|
+
bundlesByTarget
|
|
34
|
+
.get(bundle.target.name)
|
|
35
|
+
.push(PackagedBundleClass.getWithInfo(bundle, bundleGraph, parcelOptions, bundleInfo.get(bundle.id)));
|
|
36
|
+
}
|
|
37
|
+
for (let [targetName, bundles] of bundlesByTarget) {
|
|
38
|
+
fs_1.default.writeFileSync(path_1.default.join(outDir, `${targetName}-stats.json`), JSON.stringify(getBundleStats(bundles, parcelOptions), null, 2));
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.command = new commander_1.default.Command()
|
|
42
|
+
.version(package_json_1.version, '-V, --version')
|
|
43
|
+
.description('Generate a stats report for a Parcel build')
|
|
44
|
+
.option('-v, --verbose', 'Print verbose output')
|
|
45
|
+
.option('-c, --cache-dir <path>', 'Directory to the parcel cache', '.parcel-cache')
|
|
46
|
+
.option('-o, --out-dir <path>', 'Directory to write the stats to', 'parcel-bundle-reports')
|
|
47
|
+
.action(run);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
module.exports = (process.env.ATLASPACK_BUILD_ENV === 'production' ||
|
|
4
|
+
process.env.ATLASPACK_REGISTER_USE_SRC !== 'true'
|
|
5
|
+
? {
|
|
6
|
+
// Split up require specifier to outsmart packages/dev/babel-register/babel-plugin-module-translate.js
|
|
7
|
+
loadGraphs: require('@atlaspack/query' + '/lib/index.js').loadGraphs,
|
|
8
|
+
getBundleStats: require('@atlaspack/reporter-bundle-stats' + '/lib/BundleStatsReporter.js').getBundleStats,
|
|
9
|
+
PackagedBundleClass: require('@atlaspack/core' + '/lib/public/Bundle.js').PackagedBundle,
|
|
10
|
+
}
|
|
11
|
+
: {
|
|
12
|
+
loadGraphs: require('@atlaspack/query/src/index.js').loadGraphs,
|
|
13
|
+
getBundleStats: require('@atlaspack/reporter-bundle-stats/src/BundleStatsReporter.js')
|
|
14
|
+
.getBundleStats,
|
|
15
|
+
PackagedBundleClass: require('@atlaspack/core/src/public/Bundle.js')
|
|
16
|
+
.PackagedBundle,
|
|
17
|
+
});
|
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_SOURCES === 'true' || process.env.ATLASPACK_BUILD_ENV === 'test' || process.env.ATLASPACK_SELF_BUILD) {
|
|
5
|
+
require('@atlaspack/babel-register');
|
|
6
|
+
}
|
|
4
7
|
const cli = require('./cli');
|
|
5
8
|
cli.command.parse();
|
package/lib/cli.js
CHANGED
|
@@ -33,13 +33,18 @@ function _utils() {
|
|
|
33
33
|
};
|
|
34
34
|
return data;
|
|
35
35
|
}
|
|
36
|
-
function _interopRequireDefault(
|
|
37
|
-
/* eslint-disable no-console, monorepo/no-internal-import */
|
|
36
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
37
|
+
/* eslint-disable no-console, monorepo/no-internal-import */
|
|
38
|
+
|
|
39
|
+
// @ts-expect-error invalid export
|
|
40
|
+
|
|
38
41
|
const {
|
|
39
42
|
loadGraphs,
|
|
40
43
|
getBundleStats,
|
|
41
44
|
PackagedBundleClass
|
|
42
45
|
} = require('./deep-imports.js');
|
|
46
|
+
|
|
47
|
+
// @ts-expect-error no types
|
|
43
48
|
async function run({
|
|
44
49
|
cacheDir,
|
|
45
50
|
outDir
|
|
@@ -65,8 +70,6 @@ async function run({
|
|
|
65
70
|
recursive: true
|
|
66
71
|
});
|
|
67
72
|
let projectRoot = process.cwd();
|
|
68
|
-
|
|
69
|
-
// $FlowFixMe[unclear-type]
|
|
70
73
|
let parcelOptions = {
|
|
71
74
|
projectRoot
|
|
72
75
|
};
|