@forge/bundler 4.14.4-next.9 → 4.15.0
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 +213 -0
- package/out/config/common.d.ts +6 -6
- package/out/config/common.d.ts.map +1 -1
- package/out/config/node.d.ts +1 -1
- package/out/config/node.d.ts.map +1 -1
- package/out/stubs/http-sandbox-impl.d.ts +2 -2
- package/out/stubs/http-sandbox-impl.d.ts.map +1 -1
- package/out/types.d.ts +7 -7
- package/out/types.d.ts.map +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,218 @@
|
|
|
1
1
|
# @forge/bundler
|
|
2
2
|
|
|
3
|
+
## 4.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- bfb4b87: Downgrade Typescript version so it fixes out of memory issues on big repos
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 97257f5: Bumping dependencies via Renovate:
|
|
12
|
+
|
|
13
|
+
- @types/react
|
|
14
|
+
|
|
15
|
+
- 73e1aac: Bumping dependencies via Renovate:
|
|
16
|
+
|
|
17
|
+
- nock
|
|
18
|
+
|
|
19
|
+
- 0344667: Bumping dependencies via Renovate:
|
|
20
|
+
|
|
21
|
+
- readable-stream
|
|
22
|
+
- @types/readable-stream
|
|
23
|
+
|
|
24
|
+
- ea2f814: Bumping dependencies via Renovate:
|
|
25
|
+
|
|
26
|
+
- prettier
|
|
27
|
+
|
|
28
|
+
- df6db2a: Bumping dependencies via Renovate:
|
|
29
|
+
|
|
30
|
+
- eslint-plugin-prettier
|
|
31
|
+
|
|
32
|
+
- a0e5f61: Bumping dependencies via Renovate:
|
|
33
|
+
|
|
34
|
+
- @babel/core
|
|
35
|
+
- @babel/traverse
|
|
36
|
+
|
|
37
|
+
- 66723ca: Bumping dependencies via Renovate:
|
|
38
|
+
|
|
39
|
+
- eslint-config-prettier
|
|
40
|
+
|
|
41
|
+
- 2293dd6: Bumping dependencies via Renovate:
|
|
42
|
+
|
|
43
|
+
- eslint
|
|
44
|
+
- @types/eslint
|
|
45
|
+
|
|
46
|
+
- aca5a8b: Bumping dependencies via Renovate:
|
|
47
|
+
|
|
48
|
+
- html-webpack-plugin
|
|
49
|
+
|
|
50
|
+
- Updated dependencies [dc0ca5d]
|
|
51
|
+
- Updated dependencies [5067ba2]
|
|
52
|
+
- Updated dependencies [1fcc797]
|
|
53
|
+
- Updated dependencies [73e1aac]
|
|
54
|
+
- Updated dependencies [b3245a7]
|
|
55
|
+
- Updated dependencies [ace184d]
|
|
56
|
+
- Updated dependencies [c714732]
|
|
57
|
+
- Updated dependencies [3e01b20]
|
|
58
|
+
- Updated dependencies [44f1456]
|
|
59
|
+
- Updated dependencies [0fdcbb8]
|
|
60
|
+
- Updated dependencies [a0e5f61]
|
|
61
|
+
- Updated dependencies [579c6a2]
|
|
62
|
+
- Updated dependencies [b04283b]
|
|
63
|
+
- Updated dependencies [f3ca9bf]
|
|
64
|
+
- Updated dependencies [bfb4b87]
|
|
65
|
+
- Updated dependencies [680e21f]
|
|
66
|
+
- Updated dependencies [b9f4db9]
|
|
67
|
+
- Updated dependencies [2293dd6]
|
|
68
|
+
- Updated dependencies [aca5a8b]
|
|
69
|
+
- Updated dependencies [16a7cf5]
|
|
70
|
+
- @forge/cli-shared@3.23.0
|
|
71
|
+
- @forge/api@3.0.0
|
|
72
|
+
- @forge/node-runtime@0.5.0
|
|
73
|
+
- @forge/util@1.4.0
|
|
74
|
+
- @forge/lint@4.0.2
|
|
75
|
+
- @forge/babel-plugin-transform-ui@1.1.15
|
|
76
|
+
|
|
77
|
+
## 4.15.0-next.23
|
|
78
|
+
|
|
79
|
+
### Minor Changes
|
|
80
|
+
|
|
81
|
+
- bfb4b87: Downgrade Typescript version so it fixes out of memory issues on big repos
|
|
82
|
+
|
|
83
|
+
### Patch Changes
|
|
84
|
+
|
|
85
|
+
- Updated dependencies [bfb4b87]
|
|
86
|
+
- @forge/node-runtime@0.5.0-next.11
|
|
87
|
+
- @forge/cli-shared@3.23.0-next.13
|
|
88
|
+
- @forge/lint@4.0.2-next.15
|
|
89
|
+
|
|
90
|
+
## 4.14.4-next.22
|
|
91
|
+
|
|
92
|
+
### Patch Changes
|
|
93
|
+
|
|
94
|
+
- Updated dependencies [1fcc797]
|
|
95
|
+
- @forge/cli-shared@3.23.0-next.12
|
|
96
|
+
- @forge/lint@4.0.2-next.14
|
|
97
|
+
|
|
98
|
+
## 4.14.4-next.21
|
|
99
|
+
|
|
100
|
+
### Patch Changes
|
|
101
|
+
|
|
102
|
+
- Updated dependencies [44f1456]
|
|
103
|
+
- @forge/cli-shared@3.23.0-next.11
|
|
104
|
+
- @forge/lint@4.0.2-next.13
|
|
105
|
+
- @forge/node-runtime@0.5.0-next.10
|
|
106
|
+
|
|
107
|
+
## 4.14.4-next.20
|
|
108
|
+
|
|
109
|
+
### Patch Changes
|
|
110
|
+
|
|
111
|
+
- Updated dependencies [0fdcbb8]
|
|
112
|
+
- @forge/lint@4.0.2-next.12
|
|
113
|
+
|
|
114
|
+
## 4.14.4-next.19
|
|
115
|
+
|
|
116
|
+
### Patch Changes
|
|
117
|
+
|
|
118
|
+
- Updated dependencies [3e01b20]
|
|
119
|
+
- @forge/cli-shared@3.23.0-next.10
|
|
120
|
+
- @forge/lint@4.0.2-next.11
|
|
121
|
+
|
|
122
|
+
## 4.14.4-next.18
|
|
123
|
+
|
|
124
|
+
### Patch Changes
|
|
125
|
+
|
|
126
|
+
- 73e1aac: Bumping dependencies via Renovate:
|
|
127
|
+
|
|
128
|
+
- nock
|
|
129
|
+
|
|
130
|
+
- Updated dependencies [73e1aac]
|
|
131
|
+
- @forge/api@3.0.0-next.7
|
|
132
|
+
- @forge/node-runtime@0.5.0-next.9
|
|
133
|
+
|
|
134
|
+
## 4.14.4-next.17
|
|
135
|
+
|
|
136
|
+
### Patch Changes
|
|
137
|
+
|
|
138
|
+
- 66723ca: Bumping dependencies via Renovate:
|
|
139
|
+
|
|
140
|
+
- eslint-config-prettier
|
|
141
|
+
|
|
142
|
+
## 4.14.4-next.16
|
|
143
|
+
|
|
144
|
+
### Patch Changes
|
|
145
|
+
|
|
146
|
+
- df6db2a: Bumping dependencies via Renovate:
|
|
147
|
+
|
|
148
|
+
- eslint-plugin-prettier
|
|
149
|
+
|
|
150
|
+
- 2293dd6: Bumping dependencies via Renovate:
|
|
151
|
+
|
|
152
|
+
- eslint
|
|
153
|
+
- @types/eslint
|
|
154
|
+
|
|
155
|
+
- Updated dependencies [2293dd6]
|
|
156
|
+
- @forge/lint@4.0.2-next.10
|
|
157
|
+
|
|
158
|
+
## 4.14.4-next.15
|
|
159
|
+
|
|
160
|
+
### Patch Changes
|
|
161
|
+
|
|
162
|
+
- Updated dependencies [b9f4db9]
|
|
163
|
+
- @forge/cli-shared@3.23.0-next.9
|
|
164
|
+
- @forge/lint@4.0.2-next.9
|
|
165
|
+
|
|
166
|
+
## 4.14.4-next.14
|
|
167
|
+
|
|
168
|
+
### Patch Changes
|
|
169
|
+
|
|
170
|
+
- Updated dependencies [c714732]
|
|
171
|
+
- @forge/cli-shared@3.23.0-next.8
|
|
172
|
+
- @forge/lint@4.0.2-next.8
|
|
173
|
+
- @forge/api@3.0.0-next.6
|
|
174
|
+
- @forge/node-runtime@0.5.0-next.8
|
|
175
|
+
|
|
176
|
+
## 4.14.4-next.13
|
|
177
|
+
|
|
178
|
+
### Patch Changes
|
|
179
|
+
|
|
180
|
+
- @forge/cli-shared@3.23.0-next.7
|
|
181
|
+
- @forge/lint@4.0.2-next.7
|
|
182
|
+
|
|
183
|
+
## 4.14.4-next.12
|
|
184
|
+
|
|
185
|
+
### Patch Changes
|
|
186
|
+
|
|
187
|
+
- Updated dependencies [dc0ca5d]
|
|
188
|
+
- Updated dependencies [5067ba2]
|
|
189
|
+
- @forge/cli-shared@3.23.0-next.6
|
|
190
|
+
- @forge/lint@4.0.2-next.6
|
|
191
|
+
|
|
192
|
+
## 4.14.4-next.11
|
|
193
|
+
|
|
194
|
+
### Patch Changes
|
|
195
|
+
|
|
196
|
+
- Updated dependencies [b04283b]
|
|
197
|
+
- @forge/api@3.0.0-next.5
|
|
198
|
+
- @forge/node-runtime@0.5.0-next.7
|
|
199
|
+
- @forge/cli-shared@3.23.0-next.5
|
|
200
|
+
- @forge/lint@4.0.2-next.5
|
|
201
|
+
|
|
202
|
+
## 4.14.4-next.10
|
|
203
|
+
|
|
204
|
+
### Patch Changes
|
|
205
|
+
|
|
206
|
+
- ea2f814: Bumping dependencies via Renovate:
|
|
207
|
+
|
|
208
|
+
- prettier
|
|
209
|
+
|
|
210
|
+
- Updated dependencies [16a7cf5]
|
|
211
|
+
- @forge/api@3.0.0-next.4
|
|
212
|
+
- @forge/cli-shared@3.23.0-next.4
|
|
213
|
+
- @forge/lint@4.0.2-next.4
|
|
214
|
+
- @forge/node-runtime@0.5.0-next.6
|
|
215
|
+
|
|
3
216
|
## 4.14.4-next.9
|
|
4
217
|
|
|
5
218
|
### Patch Changes
|
package/out/config/common.d.ts
CHANGED
|
@@ -5,21 +5,21 @@ export interface ConfigBuilder {
|
|
|
5
5
|
isDebugMode?: boolean;
|
|
6
6
|
appDirectory: string;
|
|
7
7
|
}
|
|
8
|
-
export type EntryPoint = {
|
|
8
|
+
export declare type EntryPoint = {
|
|
9
9
|
name: string;
|
|
10
10
|
path: string;
|
|
11
11
|
};
|
|
12
|
-
export type FunctionsEntryPoint = EntryPoint & {
|
|
12
|
+
export declare type FunctionsEntryPoint = EntryPoint & {
|
|
13
13
|
functions: string[];
|
|
14
14
|
};
|
|
15
15
|
export declare function getEntryPoints(handlers: Handler[]): FunctionsEntryPoint[];
|
|
16
16
|
export declare const resolveModulePath: (moduleName: string) => string;
|
|
17
17
|
export declare function resolveStubPath(stubName: string): string;
|
|
18
18
|
export declare const getDevToolConfig: (config: ConfigBuilder) => string;
|
|
19
|
-
type RequiredFields<T, F extends keyof T> = T & Required<Pick<T, F>>;
|
|
20
|
-
type CommonModuleOptions = RequiredFields<ModuleOptions, 'rules'>;
|
|
21
|
-
export type WebpackEntries = Record<string, string>;
|
|
22
|
-
export type CommonWebpackConfig = RequiredFields<WebpackConfig, 'module' | 'plugins' | 'output'> & Record<'module', CommonModuleOptions> & Record<'entry', WebpackEntries>;
|
|
19
|
+
declare type RequiredFields<T, F extends keyof T> = T & Required<Pick<T, F>>;
|
|
20
|
+
declare type CommonModuleOptions = RequiredFields<ModuleOptions, 'rules'>;
|
|
21
|
+
export declare type WebpackEntries = Record<string, string>;
|
|
22
|
+
export declare type CommonWebpackConfig = RequiredFields<WebpackConfig, 'module' | 'plugins' | 'output'> & Record<'module', CommonModuleOptions> & Record<'entry', WebpackEntries>;
|
|
23
23
|
export declare const getCommonWebpackConfig: (entrypoints: EntryPoint[], config: ConfigBuilder) => CommonWebpackConfig;
|
|
24
24
|
export {};
|
|
25
25
|
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/config/common.ts"],"names":[],"mappings":"AACA,OAAgB,EAAE,aAAa,IAAI,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAEjF,OAAO,EAAE,OAAO,EAAoB,MAAM,mBAAmB,CAAC;AAG9D,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/config/common.ts"],"names":[],"mappings":"AACA,OAAgB,EAAE,aAAa,IAAI,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAEjF,OAAO,EAAE,OAAO,EAAoB,MAAM,mBAAmB,CAAC;AAG9D,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,oBAAY,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,oBAAY,mBAAmB,GAAG,UAAU,GAAG;IAC7C,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAEF,wBAAgB,cAAc,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,mBAAmB,EAAE,CAiBzE;AAED,eAAO,MAAM,iBAAiB,eAAgB,MAAM,KAAG,MAEtD,CAAC;AAEF,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAExD;AAED,eAAO,MAAM,gBAAgB,WAAY,aAAa,KAAG,MASxD,CAAC;AAEF,aAAK,cAAc,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AACrE,aAAK,mBAAmB,GAAG,cAAc,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;AAClE,oBAAY,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AACpD,oBAAY,mBAAmB,GAAG,cAAc,CAAC,aAAa,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC,GAC9F,MAAM,CAAC,QAAQ,EAAE,mBAAmB,CAAC,GACrC,MAAM,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;AAElC,eAAO,MAAM,sBAAsB,gBAAiB,UAAU,EAAE,UAAU,aAAa,KAAG,mBAyGzF,CAAC"}
|
package/out/config/node.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare class WrapperNetworkError extends BaseError {
|
|
|
12
12
|
export declare class ParseWrapperCDNIndexError extends BaseError {
|
|
13
13
|
constructor(message: string, requestId: string | undefined);
|
|
14
14
|
}
|
|
15
|
-
export type WrapperScript = {
|
|
15
|
+
export declare type WrapperScript = {
|
|
16
16
|
script: string;
|
|
17
17
|
version: string;
|
|
18
18
|
};
|
package/out/config/node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/config/node.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EAGpB,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,SAAS,EAAuB,MAAM,mBAAmB,CAAC;AAGhG,eAAO,MAAM,wBAAwB,iBAAiB,CAAC;AACvD,eAAO,MAAM,0BAA0B,YAAY,CAAC;AACpD,eAAO,MAAM,yBAAyB,iBAAiB,CAAC;AAIxD,qBAAa,yBAA0B,SAAQ,SAAS;;CAIvD;AAED,qBAAa,mBAAoB,SAAQ,SAAS;gBACpC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM;CAGhD;AAED,qBAAa,yBAA0B,SAAQ,SAAS;gBAC1C,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,SAAS;CAG3D;AAED,
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/config/node.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EAGpB,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,SAAS,EAAuB,MAAM,mBAAmB,CAAC;AAGhG,eAAO,MAAM,wBAAwB,iBAAiB,CAAC;AACvD,eAAO,MAAM,0BAA0B,YAAY,CAAC;AACpD,eAAO,MAAM,yBAAyB,iBAAiB,CAAC;AAIxD,qBAAa,yBAA0B,SAAQ,SAAS;;CAIvD;AAED,qBAAa,mBAAoB,SAAQ,SAAS;gBACpC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM;CAGhD;AAED,qBAAa,yBAA0B,SAAQ,SAAS;gBAC1C,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,SAAS;CAG3D;AAED,oBAAY,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,qBAAqB,IAAI,OAAO,CAAC,aAAa,CAAC,CAAC;CACjD;AAED,qBAAa,oBAAqB,YAAW,eAAe;IAC9C,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAAhB,gBAAgB,EAAE,gBAAgB;IACzD,qBAAqB,IAAI,OAAO,CAAC,aAAa,CAAC;CAUtD;AAED,qBAAa,sBAAuB,YAAW,eAAe;IAEhD,OAAO,CAAC,QAAQ,CAAC,MAAM;IADnC,OAAO,CAAC,OAAO,CAA4B;gBACd,MAAM,EAAE,MAAM;YAE7B,uBAAuB;IAS/B,qBAAqB,IAAI,OAAO,CAAC,aAAa,CAAC;CAuCtD;AAED,eAAO,MAAM,kBAAkB;sBAA8C,gBAAgB;mDAM5F,CAAC;AAEF,eAAO,MAAM,yBAAyB,oBAClB,eAAe,mBACnB,mBAAmB,EAAE,UAAU,aAAa,KAAG,mBA4D5D,CAAC"}
|
|
@@ -6,8 +6,8 @@ import { RequestOptions } from 'https';
|
|
|
6
6
|
import { Writable } from 'readable-stream';
|
|
7
7
|
import { URL } from 'url';
|
|
8
8
|
import { FetchOptions } from '@forge/api';
|
|
9
|
-
type HttpCallback = (res: IncomingMessage) => void;
|
|
10
|
-
type HttpArg = RequestOptions | string | URL | HttpCallback;
|
|
9
|
+
declare type HttpCallback = (res: IncomingMessage) => void;
|
|
10
|
+
declare type HttpArg = RequestOptions | string | URL | HttpCallback;
|
|
11
11
|
export declare const isHttpRequestOptions: (options: HttpArg) => options is RequestOptions;
|
|
12
12
|
interface ChainableOptions {
|
|
13
13
|
timeout?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-sandbox-impl.d.ts","sourceRoot":"","sources":["../../src/stubs/http-sandbox-impl.ts"],"names":[],"mappings":";;;AAGA,OAAO,EAAuB,eAAe,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAY,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,OAAO,EAAe,YAAY,EAAS,MAAM,YAAY,CAAC;AAE9D,
|
|
1
|
+
{"version":3,"file":"http-sandbox-impl.d.ts","sourceRoot":"","sources":["../../src/stubs/http-sandbox-impl.ts"],"names":[],"mappings":";;;AAGA,OAAO,EAAuB,eAAe,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAY,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,OAAO,EAAe,YAAY,EAAS,MAAM,YAAY,CAAC;AAE9D,aAAK,YAAY,GAAG,CAAC,GAAG,EAAE,eAAe,KAAK,IAAI,CAAC;AAEnD,aAAK,OAAO,GAAG,cAAc,GAAG,MAAM,GAAG,GAAG,GAAG,YAAY,CAAC;AAQ5D,eAAO,MAAM,oBAAoB,YAAa,OAAO,8BACJ,CAAC;AAYlD,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;CACH;AAED,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,OAAO,CAAC,OAAO,CAAW;IAC1B,OAAO,CAAC,gBAAgB,CAAmB;gBAE/B,OAAO,EAAE,cAAc,GAAG,MAAM,GAAG,GAAG,EAAE,QAAQ,CAAC,EAAE,YAAY;IAapE,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO;IAM/C,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO;YAQlD,KAAK;IAqBZ,MAAM,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI;IAe3F,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,cAAc,GAAG,MAAM,GAAG,GAAG,GAAG,MAAM;IAiBvE,MAAM,CAAC,uBAAuB,CAC5B,OAAO,EAAE,cAAc,GAAG,MAAM,GAAG,GAAG,EACtC,gBAAgB,EAAE,gBAAgB,GACjC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,YAAY,CAAA;KAAE;IAuBtC,KAAK;CAGN"}
|
package/out/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Logger } from '@forge/cli-shared';
|
|
2
2
|
import { Compiler } from 'webpack';
|
|
3
3
|
import { EntryPoint } from './webpack';
|
|
4
|
-
export type BundledFiles = {
|
|
4
|
+
export declare type BundledFiles = {
|
|
5
5
|
[filename: string]: string;
|
|
6
6
|
};
|
|
7
7
|
export interface BundlerOutput {
|
|
@@ -11,15 +11,15 @@ export interface BundlerOutput {
|
|
|
11
11
|
[key: string]: any;
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
|
-
export type BundleLogger = Pick<Logger, 'info' | 'warn'>;
|
|
15
|
-
export type Bundler<EP = EntryPoint> = (logger: BundleLogger, appDirectory: string, endpointPath: EP[]) => Promise<BundlerOutput>;
|
|
16
|
-
export type InDiskBundler = (logger: BundleLogger, entrypoints: EntryPoint[]) => Promise<{
|
|
14
|
+
export declare type BundleLogger = Pick<Logger, 'info' | 'warn'>;
|
|
15
|
+
export declare type Bundler<EP = EntryPoint> = (logger: BundleLogger, appDirectory: string, endpointPath: EP[]) => Promise<BundlerOutput>;
|
|
16
|
+
export declare type InDiskBundler = (logger: BundleLogger, entrypoints: EntryPoint[]) => Promise<{
|
|
17
17
|
outputDir: string;
|
|
18
18
|
}>;
|
|
19
|
-
export type WatcherCallback = (err: Error | null, output?: BundlerOutput) => void;
|
|
19
|
+
export declare type WatcherCallback = (err: Error | null, output?: BundlerOutput) => void;
|
|
20
20
|
export interface WatcherMonitor {
|
|
21
21
|
stop(): void;
|
|
22
22
|
}
|
|
23
|
-
export type WatchRun = (compiler: Compiler, ...args: any[]) => void;
|
|
24
|
-
export type Watcher = (logger: Logger, endpointPath: EntryPoint[], isDebugMode: boolean, callback: WatcherCallback, watchRun?: WatchRun) => WatcherMonitor;
|
|
23
|
+
export declare type WatchRun = (compiler: Compiler, ...args: any[]) => void;
|
|
24
|
+
export declare type Watcher = (logger: Logger, endpointPath: EntryPoint[], isDebugMode: boolean, callback: WatcherCallback, watchRun?: WatchRun) => WatcherMonitor;
|
|
25
25
|
//# sourceMappingURL=types.d.ts.map
|
package/out/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAIvC,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAIvC,oBAAY,YAAY,GAAG;IAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAE1D,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,QAAQ,CAAC,EAAE;QACT,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;CACH;AAED,oBAAY,YAAY,GAAG,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAEzD,oBAAY,OAAO,CAAC,EAAE,GAAG,UAAU,IAAI,CACrC,MAAM,EAAE,YAAY,EACpB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,EAAE,EAAE,KACf,OAAO,CAAC,aAAa,CAAC,CAAC;AAC5B,oBAAY,aAAa,GAAG,CAAC,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,KAAK,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAEhH,oBAAY,eAAe,GAAG,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI,EAAE,MAAM,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;AAClF,MAAM,WAAW,cAAc;IAC7B,IAAI,IAAI,IAAI,CAAC;CACd;AAED,oBAAY,QAAQ,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;AAEpE,oBAAY,OAAO,GAAG,CACpB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,UAAU,EAAE,EAC1B,WAAW,EAAE,OAAO,EACpB,QAAQ,EAAE,eAAe,EACzB,QAAQ,CAAC,EAAE,QAAQ,KAChB,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/bundler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.15.0",
|
|
4
4
|
"description": "Default bundler for Forge apps",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Atlassian",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"@babel/plugin-transform-optional-chaining": "^7.23.4",
|
|
20
20
|
"@babel/plugin-transform-react-jsx": "^7.23.4",
|
|
21
21
|
"@babel/preset-typescript": "^7.23.3",
|
|
22
|
-
"@forge/api": "3.0.0
|
|
23
|
-
"@forge/babel-plugin-transform-ui": "1.1.15
|
|
24
|
-
"@forge/cli-shared": "3.23.0
|
|
25
|
-
"@forge/lint": "4.0.2
|
|
26
|
-
"@forge/node-runtime": "0.5.0
|
|
27
|
-
"@forge/util": "1.4.0
|
|
22
|
+
"@forge/api": "3.0.0",
|
|
23
|
+
"@forge/babel-plugin-transform-ui": "1.1.15",
|
|
24
|
+
"@forge/cli-shared": "3.23.0",
|
|
25
|
+
"@forge/lint": "4.0.2",
|
|
26
|
+
"@forge/node-runtime": "0.5.0",
|
|
27
|
+
"@forge/util": "1.4.0",
|
|
28
28
|
"assert": "^2.1.0",
|
|
29
29
|
"babel-loader": "^8.3.0",
|
|
30
30
|
"browserify-zlib": "^0.2.0",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"html-webpack-plugin": "^5.6.0",
|
|
38
38
|
"inherits": "^2.0.4",
|
|
39
39
|
"memfs": "^4.6.0",
|
|
40
|
-
"nock": "13.
|
|
40
|
+
"nock": "13.4.0",
|
|
41
41
|
"node-fetch": "2.7.0",
|
|
42
42
|
"os-browserify": "^0.3.0",
|
|
43
43
|
"path-browserify": "^1.0.1",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"timers-browserify": "^2.0.12",
|
|
51
51
|
"tmp": "^0.2.1",
|
|
52
52
|
"ts-loader": "^9.5.1",
|
|
53
|
-
"typescript": "
|
|
53
|
+
"typescript": "4.8.4",
|
|
54
54
|
"url": "^0.11.3",
|
|
55
55
|
"util": "^0.12.5",
|
|
56
56
|
"webpack": "5.89.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@atlassian/xen-test-util": "^3.1.3",
|
|
62
|
-
"@forge/runtime": "5.3.0
|
|
62
|
+
"@forge/runtime": "5.3.0",
|
|
63
63
|
"@types/jest": "^29.5.11",
|
|
64
64
|
"@types/node": "14.18.63",
|
|
65
65
|
"@types/react": "^18.2.46",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"@types/webpack-bundle-analyzer": "^4.6.2",
|
|
68
68
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
69
69
|
"@typescript-eslint/parser": "^5.62.0",
|
|
70
|
-
"eslint": "^8.
|
|
71
|
-
"eslint-config-prettier": "^9.
|
|
72
|
-
"eslint-plugin-prettier": "^5.
|
|
70
|
+
"eslint": "^8.56.0",
|
|
71
|
+
"eslint-config-prettier": "^9.1.0",
|
|
72
|
+
"eslint-plugin-prettier": "^5.1.2",
|
|
73
73
|
"jest-matcher-specific-error": "^1.0.0",
|
|
74
|
-
"prettier": "3.1.
|
|
74
|
+
"prettier": "3.1.1"
|
|
75
75
|
},
|
|
76
76
|
"engines": {
|
|
77
77
|
"node": ">=12.13.1"
|