@forge/bundler 6.2.0-next.9 → 6.2.1-experimental-04cc2b9
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 +208 -0
- package/out/common.js +4 -4
- package/out/config/common.d.ts +6 -7
- package/out/config/common.d.ts.map +1 -1
- package/out/config/common.js +2 -2
- package/out/config/nativeui.d.ts +1 -1
- package/out/config/nativeui.d.ts.map +1 -1
- package/out/config/nativeui.js +2 -1
- package/out/dependencies.d.ts +1 -1
- package/out/dependencies.d.ts.map +1 -1
- package/out/dependencies.js +1 -2
- package/out/lint.js +1 -2
- package/out/metadata.js +1 -2
- package/out/runtime.js +3 -3
- package/out/types.d.ts +8 -8
- package/out/types.d.ts.map +1 -1
- package/out/types.js +3 -3
- package/out/typescript.d.ts +1 -3
- package/out/typescript.d.ts.map +1 -1
- package/out/webpack.d.ts +2 -2
- package/out/webpack.d.ts.map +1 -1
- package/out/webpack.js +3 -3
- package/out/wrapper-provider.d.ts +1 -1
- package/out/wrapper-provider.d.ts.map +1 -1
- package/package.json +17 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,213 @@
|
|
|
1
1
|
# @forge/bundler
|
|
2
2
|
|
|
3
|
+
## 6.2.1-experimental-04cc2b9
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- d9ef926: Adds support for TypeScript 5
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 561f8f4: Remove "storage" module from "@forge/api"
|
|
12
|
+
- Updated dependencies [c3b96b3]
|
|
13
|
+
- Updated dependencies [814b8fe]
|
|
14
|
+
- Updated dependencies [561f8f4]
|
|
15
|
+
- Updated dependencies [d9ef926]
|
|
16
|
+
- Updated dependencies [bb903a8]
|
|
17
|
+
- Updated dependencies [c1acc55]
|
|
18
|
+
- Updated dependencies [6adb226]
|
|
19
|
+
- Updated dependencies [5b67e61]
|
|
20
|
+
- @forge/cli-shared@8.24.0-experimental-04cc2b9
|
|
21
|
+
- @forge/manifest@12.9.0-experimental-04cc2b9
|
|
22
|
+
- @forge/i18n@0.0.7-experimental-04cc2b9
|
|
23
|
+
- @forge/lint@5.19.2-experimental-04cc2b9
|
|
24
|
+
|
|
25
|
+
## 6.2.1
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- 5beb8ad: Add multi-entry resource bundling support for worker runtime
|
|
30
|
+
- Updated dependencies [ccdcfc3]
|
|
31
|
+
- Updated dependencies [22145f6]
|
|
32
|
+
- Updated dependencies [4fcd78e]
|
|
33
|
+
- Updated dependencies [2415638]
|
|
34
|
+
- Updated dependencies [8197e66]
|
|
35
|
+
- Updated dependencies [8f4ff0a]
|
|
36
|
+
- Updated dependencies [723fab8]
|
|
37
|
+
- Updated dependencies [4493006]
|
|
38
|
+
- Updated dependencies [5beb8ad]
|
|
39
|
+
- Updated dependencies [f1f11f0]
|
|
40
|
+
- Updated dependencies [b7b1f36]
|
|
41
|
+
- Updated dependencies [ee691bf]
|
|
42
|
+
- Updated dependencies [9f3add6]
|
|
43
|
+
- @forge/manifest@12.9.0
|
|
44
|
+
- @forge/cli-shared@8.24.0
|
|
45
|
+
- @forge/lint@5.19.2
|
|
46
|
+
|
|
47
|
+
## 6.2.1-next.9
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- Updated dependencies [ee691bf]
|
|
52
|
+
- @forge/manifest@12.9.0-next.6
|
|
53
|
+
- @forge/cli-shared@8.24.0-next.8
|
|
54
|
+
- @forge/lint@5.19.2-next.9
|
|
55
|
+
|
|
56
|
+
## 6.2.1-next.8
|
|
57
|
+
|
|
58
|
+
### Patch Changes
|
|
59
|
+
|
|
60
|
+
- Updated dependencies [2415638]
|
|
61
|
+
- Updated dependencies [8f4ff0a]
|
|
62
|
+
- @forge/cli-shared@8.24.0-next.7
|
|
63
|
+
- @forge/lint@5.19.2-next.8
|
|
64
|
+
|
|
65
|
+
## 6.2.1-next.7
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- Updated dependencies [8197e66]
|
|
70
|
+
- @forge/manifest@12.9.0-next.5
|
|
71
|
+
- @forge/cli-shared@8.23.1-next.6
|
|
72
|
+
- @forge/lint@5.19.2-next.7
|
|
73
|
+
|
|
74
|
+
## 6.2.1-next.6
|
|
75
|
+
|
|
76
|
+
### Patch Changes
|
|
77
|
+
|
|
78
|
+
- Updated dependencies [4493006]
|
|
79
|
+
- @forge/manifest@12.9.0-next.4
|
|
80
|
+
- @forge/cli-shared@8.23.1-next.5
|
|
81
|
+
- @forge/lint@5.19.2-next.6
|
|
82
|
+
|
|
83
|
+
## 6.2.1-next.5
|
|
84
|
+
|
|
85
|
+
### Patch Changes
|
|
86
|
+
|
|
87
|
+
- Updated dependencies [22145f6]
|
|
88
|
+
- @forge/cli-shared@8.23.1-next.4
|
|
89
|
+
- @forge/lint@5.19.2-next.5
|
|
90
|
+
|
|
91
|
+
## 6.2.1-next.4
|
|
92
|
+
|
|
93
|
+
### Patch Changes
|
|
94
|
+
|
|
95
|
+
- Updated dependencies [723fab8]
|
|
96
|
+
- Updated dependencies [9f3add6]
|
|
97
|
+
- @forge/manifest@12.9.0-next.3
|
|
98
|
+
- @forge/cli-shared@8.23.1-next.3
|
|
99
|
+
- @forge/lint@5.19.2-next.4
|
|
100
|
+
|
|
101
|
+
## 6.2.1-next.3
|
|
102
|
+
|
|
103
|
+
### Patch Changes
|
|
104
|
+
|
|
105
|
+
- Updated dependencies [b7b1f36]
|
|
106
|
+
- @forge/manifest@12.8.1-next.2
|
|
107
|
+
- @forge/cli-shared@8.23.1-next.2
|
|
108
|
+
- @forge/lint@5.19.2-next.3
|
|
109
|
+
|
|
110
|
+
## 6.2.1-next.2
|
|
111
|
+
|
|
112
|
+
### Patch Changes
|
|
113
|
+
|
|
114
|
+
- Updated dependencies [4fcd78e]
|
|
115
|
+
- @forge/lint@5.19.2-next.2
|
|
116
|
+
|
|
117
|
+
## 6.2.1-next.1
|
|
118
|
+
|
|
119
|
+
### Patch Changes
|
|
120
|
+
|
|
121
|
+
- 5beb8ad: Add multi-entry resource bundling support for worker runtime
|
|
122
|
+
- Updated dependencies [5beb8ad]
|
|
123
|
+
- Updated dependencies [f1f11f0]
|
|
124
|
+
- @forge/manifest@12.8.1-next.1
|
|
125
|
+
- @forge/cli-shared@8.23.1-next.1
|
|
126
|
+
- @forge/lint@5.19.2-next.1
|
|
127
|
+
|
|
128
|
+
## 6.2.1-next.0
|
|
129
|
+
|
|
130
|
+
### Patch Changes
|
|
131
|
+
|
|
132
|
+
- Updated dependencies [ccdcfc3]
|
|
133
|
+
- @forge/manifest@12.8.1-next.0
|
|
134
|
+
- @forge/cli-shared@8.23.1-next.0
|
|
135
|
+
- @forge/lint@5.19.2-next.0
|
|
136
|
+
|
|
137
|
+
## 6.2.0
|
|
138
|
+
|
|
139
|
+
### Minor Changes
|
|
140
|
+
|
|
141
|
+
- ef0434d: Added support for multi-entry resources in UI Kit applications, enabling developers to define multiple entry points within a single resource.
|
|
142
|
+
|
|
143
|
+
### Patch Changes
|
|
144
|
+
|
|
145
|
+
- Updated dependencies [30060eb]
|
|
146
|
+
- Updated dependencies [1eded6e]
|
|
147
|
+
- Updated dependencies [0e45239]
|
|
148
|
+
- Updated dependencies [e6a3ab2]
|
|
149
|
+
- Updated dependencies [cf7000f]
|
|
150
|
+
- Updated dependencies [369bc9b]
|
|
151
|
+
- Updated dependencies [d660fb0]
|
|
152
|
+
- Updated dependencies [3bbb9da]
|
|
153
|
+
- Updated dependencies [84d9930]
|
|
154
|
+
- Updated dependencies [e7b0684]
|
|
155
|
+
- Updated dependencies [2c85db9]
|
|
156
|
+
- Updated dependencies [f7c39e1]
|
|
157
|
+
- Updated dependencies [8d90f4f]
|
|
158
|
+
- Updated dependencies [808adbd]
|
|
159
|
+
- Updated dependencies [e2113b4]
|
|
160
|
+
- Updated dependencies [a885062]
|
|
161
|
+
- Updated dependencies [bf76c3c]
|
|
162
|
+
- Updated dependencies [ef0434d]
|
|
163
|
+
- Updated dependencies [55991a3]
|
|
164
|
+
- Updated dependencies [e5b5031]
|
|
165
|
+
- Updated dependencies [2e44a71]
|
|
166
|
+
- Updated dependencies [489c6d0]
|
|
167
|
+
- Updated dependencies [c775d3d]
|
|
168
|
+
- Updated dependencies [c99451e]
|
|
169
|
+
- Updated dependencies [f80e7b3]
|
|
170
|
+
- @forge/cli-shared@8.23.0
|
|
171
|
+
- @forge/manifest@12.8.0
|
|
172
|
+
- @forge/lint@5.19.1
|
|
173
|
+
|
|
174
|
+
## 6.2.0-next.13
|
|
175
|
+
|
|
176
|
+
### Patch Changes
|
|
177
|
+
|
|
178
|
+
- Updated dependencies [489c6d0]
|
|
179
|
+
- @forge/manifest@12.8.0-next.10
|
|
180
|
+
- @forge/cli-shared@8.23.0-next.13
|
|
181
|
+
- @forge/lint@5.19.1-next.13
|
|
182
|
+
|
|
183
|
+
## 6.2.0-next.12
|
|
184
|
+
|
|
185
|
+
### Patch Changes
|
|
186
|
+
|
|
187
|
+
- Updated dependencies [e2113b4]
|
|
188
|
+
- @forge/cli-shared@8.23.0-next.12
|
|
189
|
+
- @forge/lint@5.19.1-next.12
|
|
190
|
+
|
|
191
|
+
## 6.2.0-next.11
|
|
192
|
+
|
|
193
|
+
### Patch Changes
|
|
194
|
+
|
|
195
|
+
- Updated dependencies [369bc9b]
|
|
196
|
+
- Updated dependencies [e5b5031]
|
|
197
|
+
- @forge/cli-shared@8.23.0-next.11
|
|
198
|
+
- @forge/manifest@12.8.0-next.9
|
|
199
|
+
- @forge/lint@5.19.1-next.11
|
|
200
|
+
|
|
201
|
+
## 6.2.0-next.10
|
|
202
|
+
|
|
203
|
+
### Patch Changes
|
|
204
|
+
|
|
205
|
+
- Updated dependencies [3bbb9da]
|
|
206
|
+
- Updated dependencies [bf76c3c]
|
|
207
|
+
- @forge/cli-shared@8.23.0-next.10
|
|
208
|
+
- @forge/manifest@12.8.0-next.8
|
|
209
|
+
- @forge/lint@5.19.1-next.10
|
|
210
|
+
|
|
3
211
|
## 6.2.0-next.9
|
|
4
212
|
|
|
5
213
|
### Patch Changes
|
package/out/common.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.NODE_MODULES_DIR = exports.SOURCE_DIR = void 0;
|
|
4
|
+
exports.getOutputDir = getOutputDir;
|
|
5
|
+
exports.getEntryPoints = getEntryPoints;
|
|
6
|
+
exports.createEntryPointsForResource = createEntryPointsForResource;
|
|
4
7
|
const tslib_1 = require("tslib");
|
|
5
8
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
6
9
|
const cli_shared_1 = require("@forge/cli-shared");
|
|
@@ -8,7 +11,6 @@ function getOutputDir(args) {
|
|
|
8
11
|
const outputDir = args.watchMode === 'debug' ? path_1.default.resolve(cli_shared_1.TUNNEL_BUNDLE_DIRECTORY) : (0, cli_shared_1.tmpDir)('dist');
|
|
9
12
|
return outputDir;
|
|
10
13
|
}
|
|
11
|
-
exports.getOutputDir = getOutputDir;
|
|
12
14
|
exports.SOURCE_DIR = 'src';
|
|
13
15
|
exports.NODE_MODULES_DIR = 'node_modules';
|
|
14
16
|
function getEntryPoints(handlers) {
|
|
@@ -18,7 +20,6 @@ function getEntryPoints(handlers) {
|
|
|
18
20
|
path: path_1.default.resolve(exports.SOURCE_DIR, module)
|
|
19
21
|
}));
|
|
20
22
|
}
|
|
21
|
-
exports.getEntryPoints = getEntryPoints;
|
|
22
23
|
function createEntryPointsForResource(resourceKey, resourcePath, entry) {
|
|
23
24
|
if (entry && Object.keys(entry).length > 0) {
|
|
24
25
|
return Object.entries(entry).map(([entryKey, entryFile]) => ({
|
|
@@ -29,4 +30,3 @@ function createEntryPointsForResource(resourceKey, resourcePath, entry) {
|
|
|
29
30
|
}
|
|
30
31
|
return [{ name: resourceKey, path: resourcePath }];
|
|
31
32
|
}
|
|
32
|
-
exports.createEntryPointsForResource = createEntryPointsForResource;
|
package/out/config/common.d.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { Configuration as WebpackConfig, ModuleOptions } from 'webpack';
|
|
3
2
|
import { Translations } from '@forge/manifest';
|
|
4
3
|
import { BundlerArgs } from '../types';
|
|
5
4
|
export declare const resolveModulePath: (moduleName: string) => string;
|
|
6
5
|
export declare function resolveStubPath(stubName: string): string;
|
|
7
|
-
export declare const getDevToolConfig: ({ watchMode }: Pick<BundlerArgs,
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
export
|
|
6
|
+
export declare const getDevToolConfig: ({ watchMode }: Pick<BundlerArgs, "watchMode">) => string;
|
|
7
|
+
export type RequiredFields<T, F extends keyof T> = T & Required<Pick<T, F>>;
|
|
8
|
+
export type CommonOutputOptions = RequiredFields<Required<WebpackConfig>['output'], 'path'>;
|
|
9
|
+
type CommonModuleOptions = RequiredFields<ModuleOptions, 'rules'>;
|
|
10
|
+
export type WebpackEntries = Record<string, string>;
|
|
11
|
+
export type CommonWebpackConfig = RequiredFields<WebpackConfig, 'module' | 'plugins'> & Record<'output', CommonOutputOptions> & Record<'module', CommonModuleOptions> & Record<'entry', WebpackEntries>;
|
|
13
12
|
export declare const geti18nRule: (i18nConfig: Translations) => {
|
|
14
13
|
test: RegExp;
|
|
15
14
|
include: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/config/common.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/config/common.ts"],"names":[],"mappings":"AAEA,OAAgB,EAAE,aAAa,IAAI,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAIjF,OAAO,EAAE,YAAY,EAAE,MAAM,i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getCommonWebpackConfig = exports.geti18nRule = exports.getDevToolConfig = exports.
|
|
3
|
+
exports.getCommonWebpackConfig = exports.geti18nRule = exports.getDevToolConfig = exports.resolveModulePath = void 0;
|
|
4
|
+
exports.resolveStubPath = resolveStubPath;
|
|
4
5
|
const tslib_1 = require("tslib");
|
|
5
6
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
6
7
|
const webpack_1 = tslib_1.__importDefault(require("webpack"));
|
|
@@ -16,7 +17,6 @@ exports.resolveModulePath = resolveModulePath;
|
|
|
16
17
|
function resolveStubPath(stubName) {
|
|
17
18
|
return (0, exports.resolveModulePath)(`../stubs/${stubName}`);
|
|
18
19
|
}
|
|
19
|
-
exports.resolveStubPath = resolveStubPath;
|
|
20
20
|
const getDevToolConfig = ({ watchMode }) => {
|
|
21
21
|
if (!watchMode) {
|
|
22
22
|
return 'source-map';
|
package/out/config/nativeui.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Configuration as WebpackConfig } from 'webpack';
|
|
|
2
2
|
import { Translations } from '@forge/manifest';
|
|
3
3
|
import { EntryPoint } from '../types';
|
|
4
4
|
import { CommonOutputOptions } from './common';
|
|
5
|
-
|
|
5
|
+
type NativeUIConfig = WebpackConfig & Record<'output', CommonOutputOptions>;
|
|
6
6
|
export declare const getNativeUiBuildConfig: (entrypoints: EntryPoint[], i18nConfig?: Translations) => NativeUIConfig;
|
|
7
7
|
export declare const getNativeUiWorkerBuildConfig: (entrypoints: EntryPoint[], i18nConfig?: Translations, baseOutputDir?: string) => NativeUIConfig;
|
|
8
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nativeui.d.ts","sourceRoot":"","sources":["../../src/config/nativeui.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,IAAI,aAAa,EAAE,MAAM,SAAS,CAAC;AAIzD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAe,MAAM,UAAU,CAAC;AAE5D,
|
|
1
|
+
{"version":3,"file":"nativeui.d.ts","sourceRoot":"","sources":["../../src/config/nativeui.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,IAAI,aAAa,EAAE,MAAM,SAAS,CAAC;AAIzD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAe,MAAM,UAAU,CAAC;AAE5D,KAAK,cAAc,GAAG,aAAa,GAAG,MAAM,CAAC,QAAQ,EAAE,mBAAmB,CAAC,CAAC;AAgE5E,eAAO,MAAM,sBAAsB,GAAI,aAAa,UAAU,EAAE,EAAE,aAAa,YAAY,KAAG,cAiD7F,CAAC;AAEF,eAAO,MAAM,4BAA4B,GACvC,aAAa,UAAU,EAAE,EACzB,aAAa,YAAY,EACzB,gBAAgB,MAAM,KACrB,cA6CF,CAAC"}
|
package/out/config/nativeui.js
CHANGED
|
@@ -105,7 +105,8 @@ exports.getNativeUiBuildConfig = getNativeUiBuildConfig;
|
|
|
105
105
|
const getNativeUiWorkerBuildConfig = (entrypoints, i18nConfig, baseOutputDir) => {
|
|
106
106
|
const resolvedEntryPoints = {};
|
|
107
107
|
for (const entrypoint of entrypoints) {
|
|
108
|
-
|
|
108
|
+
const outputEntryName = entrypoint.isMultiEntry ? entrypoint.name : 'main';
|
|
109
|
+
resolvedEntryPoints[outputEntryName] = path_1.default.resolve(entrypoint.path);
|
|
109
110
|
}
|
|
110
111
|
return {
|
|
111
112
|
...baseNativeUiConfig,
|
package/out/dependencies.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependencies.d.ts","sourceRoot":"","sources":["../src/dependencies.ts"],"names":[],"mappings":"AAwDA,
|
|
1
|
+
{"version":3,"file":"dependencies.d.ts","sourceRoot":"","sources":["../src/dependencies.ts"],"names":[],"mappings":"AAwDA,KAAK,eAAe,GAAG;IACrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAaF,wBAAsB,0BAA0B,CAC9C,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,eAAe,GACxB,OAAO,CAAC,IAAI,CAAC,CAuBf"}
|
package/out/dependencies.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.copyProductionDependencies =
|
|
3
|
+
exports.copyProductionDependencies = copyProductionDependencies;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const fs_1 = require("fs");
|
|
6
6
|
const promises_1 = require("fs/promises");
|
|
@@ -52,4 +52,3 @@ async function copyProductionDependencies(moduleDir, target, options) {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
exports.copyProductionDependencies = copyProductionDependencies;
|
package/out/lint.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.runLinter =
|
|
3
|
+
exports.runLinter = runLinter;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
6
6
|
const cli_shared_1 = require("@forge/cli-shared");
|
|
@@ -32,4 +32,3 @@ async function runLinter(statsigService, logger = { info: console.log }, fileSys
|
|
|
32
32
|
logger.info(cli_shared_1.Text.tunnel.lintFailed + '\n');
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
exports.runLinter = runLinter;
|
package/out/metadata.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getMetadata =
|
|
3
|
+
exports.getMetadata = getMetadata;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const promises_1 = require("fs/promises");
|
|
6
6
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
@@ -114,4 +114,3 @@ async function getMetadata(logger, appDirectory, files) {
|
|
|
114
114
|
const collector = new MetadataCollector(logger, appDirectory);
|
|
115
115
|
return collector.collect({ files });
|
|
116
116
|
}
|
|
117
|
-
exports.getMetadata = getMetadata;
|
package/out/runtime.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.NODE_RUNTIME_CODE_FILE = void 0;
|
|
4
|
+
exports.userCodePath = userCodePath;
|
|
5
|
+
exports.getNodeBundler = getNodeBundler;
|
|
4
6
|
const tslib_1 = require("tslib");
|
|
5
7
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
6
8
|
const promises_1 = tslib_1.__importDefault(require("fs/promises"));
|
|
@@ -20,7 +22,6 @@ const NODE_WEBPACK_USER_CODE_DIR = 'bundled';
|
|
|
20
22
|
function userCodePath(entryKey) {
|
|
21
23
|
return path_1.default.join(path_1.default.dirname(entryKey), NODE_WEBPACK_USER_CODE_DIR, path_1.default.basename(entryKey));
|
|
22
24
|
}
|
|
23
|
-
exports.userCodePath = userCodePath;
|
|
24
25
|
async function emitWrapperFiles(provider, emit) {
|
|
25
26
|
const wrapper = await provider.getNodeRuntimeWrapper();
|
|
26
27
|
const loader = await provider.getNodeRuntimeLoader();
|
|
@@ -127,4 +128,3 @@ class ConfigBundler {
|
|
|
127
128
|
function getNodeBundler(logger, wrapperProvider, configReader, statsigService) {
|
|
128
129
|
return new ConfigBundler(logger, wrapperProvider, configReader, statsigService);
|
|
129
130
|
}
|
|
130
|
-
exports.getNodeBundler = getNodeBundler;
|
package/out/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I18nResourceBundle, UserError } from '@forge/cli-shared';
|
|
2
2
|
import { Translations } from '@forge/manifest';
|
|
3
|
-
export
|
|
3
|
+
export type BundlerMetadata = {
|
|
4
4
|
modules?: string[];
|
|
5
5
|
jsFiles: number;
|
|
6
6
|
tsFiles: number;
|
|
@@ -16,33 +16,33 @@ export interface BundlerOutput {
|
|
|
16
16
|
outputDir: string;
|
|
17
17
|
metadata?: BundlerMetadata;
|
|
18
18
|
}
|
|
19
|
-
export
|
|
20
|
-
export
|
|
19
|
+
export type BundlerWatchMode = 'watch' | 'debug';
|
|
20
|
+
export type EntryPoint = {
|
|
21
21
|
name: string;
|
|
22
22
|
path: string;
|
|
23
23
|
isMultiEntry?: boolean;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type BundlerArgs = {
|
|
26
26
|
appDirectory: string;
|
|
27
27
|
entryPoints: EntryPoint[];
|
|
28
28
|
watchMode?: BundlerWatchMode;
|
|
29
29
|
i18nConfig?: Translations;
|
|
30
30
|
i18nResourceBundle?: I18nResourceBundle;
|
|
31
31
|
};
|
|
32
|
-
export
|
|
32
|
+
export type BundlerWatchArgs = BundlerArgs & Required<Pick<BundlerArgs, 'watchMode'>> & {
|
|
33
33
|
successMessage: string;
|
|
34
34
|
};
|
|
35
|
-
export
|
|
35
|
+
export type BundlerWatch = {
|
|
36
36
|
onBuildWillStart: () => Promise<void>;
|
|
37
37
|
onBuildFinished: ((err: null, result: BundlerOutput) => Promise<void>) & ((err: Error) => Promise<void>);
|
|
38
38
|
};
|
|
39
39
|
export interface WatcherMonitor {
|
|
40
40
|
stop(): void;
|
|
41
41
|
}
|
|
42
|
-
export
|
|
42
|
+
export type BundlerWatchOutput = WatcherMonitor & {
|
|
43
43
|
result: BundlerOutput;
|
|
44
44
|
};
|
|
45
|
-
export
|
|
45
|
+
export type Bundler = {
|
|
46
46
|
bundle(args: BundlerArgs): Promise<BundlerOutput>;
|
|
47
47
|
watch(args: BundlerWatchArgs, watch: BundlerWatch): Promise<BundlerWatchOutput>;
|
|
48
48
|
};
|
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,kBAAkB,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,OAAO,CAAC;IACb,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,wBAAgB,aAAa,IAAI,eAAe,CAS/C;AAED,wBAAgB,aAAa,CAAC,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,eAAe,GAAG,eAAe,CAarG;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC5B;AAED,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,OAAO,CAAC;AAEjD,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,WAAW,GACxC,QAAQ,CAAC,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC,GAAG;IACzC,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEJ,MAAM,MAAM,YAAY,GAAG;IACzB,gBAAgB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACtC,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,aAAa,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;CAC1G,CAAC;AAEF,MAAM,WAAW,cAAc;IAC7B,IAAI,IAAI,IAAI,CAAC;CACd;AAED,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG;IAChD,MAAM,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,MAAM,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAClD,KAAK,CAAC,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACjF,CAAC;AAEF,qBAAa,YAAa,SAAQ,SAAS;CAAG"}
|
package/out/types.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BundlerError =
|
|
3
|
+
exports.BundlerError = void 0;
|
|
4
|
+
exports.emptyMetadata = emptyMetadata;
|
|
5
|
+
exports.mergeMetadata = mergeMetadata;
|
|
4
6
|
const cli_shared_1 = require("@forge/cli-shared");
|
|
5
7
|
function emptyMetadata() {
|
|
6
8
|
return {
|
|
@@ -12,7 +14,6 @@ function emptyMetadata() {
|
|
|
12
14
|
errors: 0
|
|
13
15
|
};
|
|
14
16
|
}
|
|
15
|
-
exports.emptyMetadata = emptyMetadata;
|
|
16
17
|
function mergeMetadata(metadata1, metadata2) {
|
|
17
18
|
return {
|
|
18
19
|
...((metadata1.modules || metadata2.modules) && {
|
|
@@ -27,7 +28,6 @@ function mergeMetadata(metadata1, metadata2) {
|
|
|
27
28
|
bundler: metadata1.bundler || metadata2.bundler
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
|
-
exports.mergeMetadata = mergeMetadata;
|
|
31
31
|
class BundlerError extends cli_shared_1.UserError {
|
|
32
32
|
}
|
|
33
33
|
exports.BundlerError = BundlerError;
|
package/out/typescript.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
1
|
import { ChildProcessByStdio } from 'child_process';
|
|
4
2
|
import { Readable } from 'stream';
|
|
5
3
|
import { Logger } from '@forge/cli-shared';
|
|
6
4
|
import { Bundler, BundlerOutput, BundlerArgs, BundlerWatch, BundlerWatchArgs, BundlerWatchOutput } from './types';
|
|
7
|
-
|
|
5
|
+
type OutputProcess = ChildProcessByStdio<null, Readable, null>;
|
|
8
6
|
export declare abstract class TypeScriptBundler implements Bundler {
|
|
9
7
|
protected readonly logger: Logger;
|
|
10
8
|
constructor(logger: Logger);
|
package/out/typescript.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../src/typescript.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../src/typescript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAIpD,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAIlC,OAAO,EAA4B,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAKrE,OAAO,EACL,OAAO,EACP,aAAa,EACb,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAEnB,MAAM,SAAS,CAAC;AAGjB,KAAK,aAAa,GAAG,mBAAmB,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;AA6B/D,8BAAsB,iBAAkB,YAAW,OAAO;IAC5C,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM;gBAAd,MAAM,EAAE,MAAM;IAE7C,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,GAAG,aAAa;IAwB5E,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;cAWnC,SAAS,CAAC,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAkBlG,MAAM,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,aAAa,CAAC;IA6BjD,KAAK,CAAC,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,kBAAkB,CAAC;CA2DtF"}
|
package/out/webpack.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ import { CommonOutputOptions } from './config/common';
|
|
|
4
4
|
import { Bundler, BundlerOutput, BundlerArgs, BundlerWatch, BundlerWatchArgs, BundlerWatchOutput } from './types';
|
|
5
5
|
export declare function handleWebpackCompilationResult(logger: Logger, err: Error | null | undefined, stats: Pick<webpack.Stats, 'hasErrors' | 'hasWarnings' | 'toJson'> | undefined): asserts stats is webpack.Stats;
|
|
6
6
|
export declare function getCompiler(config: webpack.Configuration): webpack.Compiler;
|
|
7
|
-
export
|
|
7
|
+
export type ConfigWithOutput = webpack.Configuration & {
|
|
8
8
|
output: CommonOutputOptions;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type Configs = [ConfigWithOutput, ...ConfigWithOutput[]];
|
|
11
11
|
export declare abstract class WebpackBundler implements Bundler {
|
|
12
12
|
protected readonly logger: Logger;
|
|
13
13
|
constructor(logger: Logger);
|
package/out/webpack.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../src/webpack.ts"],"names":[],"mappings":"AAEA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,MAAM,EAA4B,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAGtD,OAAO,EACL,OAAO,EAEP,aAAa,EACb,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAGnB,MAAM,SAAS,CAAC;AAEjB,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,KAAK,GAAG,IAAI,GAAG,SAAS,EAC7B,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,GAAG,QAAQ,CAAC,GAAG,SAAS,GAC7E,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,CAkChC;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC,QAAQ,CAE3E;AAqBD,
|
|
1
|
+
{"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../src/webpack.ts"],"names":[],"mappings":"AAEA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,MAAM,EAA4B,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAGtD,OAAO,EACL,OAAO,EAEP,aAAa,EACb,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,CAAC;IAWjD,KAAK,CAAC,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,kBAAkB,CAAC;CA2CtF"}
|
package/out/webpack.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebpackBundler =
|
|
3
|
+
exports.WebpackBundler = void 0;
|
|
4
|
+
exports.handleWebpackCompilationResult = handleWebpackCompilationResult;
|
|
5
|
+
exports.getCompiler = getCompiler;
|
|
4
6
|
const tslib_1 = require("tslib");
|
|
5
7
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
6
8
|
const webpack_1 = tslib_1.__importDefault(require("webpack"));
|
|
@@ -34,11 +36,9 @@ function handleWebpackCompilationResult(logger, err, stats) {
|
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
|
-
exports.handleWebpackCompilationResult = handleWebpackCompilationResult;
|
|
38
39
|
function getCompiler(config) {
|
|
39
40
|
return (0, webpack_1.default)(config);
|
|
40
41
|
}
|
|
41
|
-
exports.getCompiler = getCompiler;
|
|
42
42
|
function getNodeModuleNames(stats) {
|
|
43
43
|
const { modules } = stats.toJson({ modules: true });
|
|
44
44
|
if (modules) {
|
|
@@ -8,7 +8,7 @@ export declare class WrapperNetworkError extends BaseError {
|
|
|
8
8
|
export declare class ParseWrapperCDNIndexError extends BaseError {
|
|
9
9
|
constructor(message: string, requestId: string | undefined);
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type RuntimeScript = {
|
|
12
12
|
script: string;
|
|
13
13
|
source: string;
|
|
14
14
|
version: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrapper-provider.d.ts","sourceRoot":"","sources":["../src/wrapper-provider.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,SAAS,EAGT,cAAc,EACf,MAAM,mB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CAGjE;AAED,qBAAa,sBAAuB,YAAW,eAAe;IAKhD,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,cAAc;IAJ7D,OAAO,CAAC,OAAO,CAA4B;IAC3C,OAAO,CAAC,MAAM,CAA4B;IAC1C,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;gBAEM,cAAc,EAAE,cAAc;YAI/C,sBAAsB;IAgBpC,OAAO,CAAC,cAAc,CAoCpB;IAEI,qBAAqB,IAAI,OAAO,CAAC,aAAa,CAAC;IAO/C,oBAAoB,IAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC;CAQjE;AAED,eAAO,MAAM,kBAAkB,GAAI,sCAGhC;IACD,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,cAAc,EAAE,cAAc,CAAC;CAChC,kDAQA,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/bundler",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.1-experimental-04cc2b9",
|
|
4
4
|
"description": "Default bundler for Forge apps",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "Atlassian",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@babel/plugin-transform-react-jsx": "^7.23.4",
|
|
22
22
|
"@babel/traverse": "^7.24.0",
|
|
23
23
|
"@babel/types": "^7.24.0",
|
|
24
|
-
"@forge/cli-shared": "8.
|
|
25
|
-
"@forge/i18n": "0.0.7",
|
|
26
|
-
"@forge/lint": "5.19.
|
|
27
|
-
"@forge/manifest": "12.
|
|
24
|
+
"@forge/cli-shared": "8.24.0-experimental-04cc2b9",
|
|
25
|
+
"@forge/i18n": "0.0.7-experimental-04cc2b9",
|
|
26
|
+
"@forge/lint": "5.19.2-experimental-04cc2b9",
|
|
27
|
+
"@forge/manifest": "12.9.0-experimental-04cc2b9",
|
|
28
28
|
"babel-loader": "^8.3.0",
|
|
29
29
|
"cheerio": "^1.1.0",
|
|
30
30
|
"cross-spawn": "^7.0.6",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"tmp": "^0.2.3",
|
|
36
36
|
"ts-loader": "^9.5.2",
|
|
37
37
|
"type-fest": "4.10.2",
|
|
38
|
-
"typescript": "
|
|
38
|
+
"typescript": "5.9.2",
|
|
39
39
|
"webpack": "^5.99.9",
|
|
40
40
|
"webpack-bundle-analyzer": "^4.10.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@atlassian/xen-test-util": "^4.2.0",
|
|
44
|
-
"@forge/runtime": "6.1.3",
|
|
44
|
+
"@forge/runtime": "6.1.3-experimental-04cc2b9",
|
|
45
45
|
"@types/cross-spawn": "^6.0.6",
|
|
46
46
|
"@types/fs-extra": "^11.0.4",
|
|
47
47
|
"@types/jest": "^29.5.14",
|
|
@@ -55,12 +55,21 @@
|
|
|
55
55
|
"eslint-plugin-prettier": "^5.1.3",
|
|
56
56
|
"glob": "^13.0.0",
|
|
57
57
|
"jest-matcher-specific-error": "^1.0.0",
|
|
58
|
-
"prettier": "3.2.5"
|
|
58
|
+
"prettier": "3.2.5",
|
|
59
|
+
"typescript": "5.9.2"
|
|
59
60
|
},
|
|
60
61
|
"engines": {
|
|
61
62
|
"node": ">=12.13.1"
|
|
62
63
|
},
|
|
63
64
|
"publishConfig": {
|
|
64
65
|
"registry": "https://packages.atlassian.com/api/npm/npm-public/"
|
|
66
|
+
},
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"typescript": ">=5.0.0"
|
|
69
|
+
},
|
|
70
|
+
"peerDependenciesMeta": {
|
|
71
|
+
"typescript": {
|
|
72
|
+
"optional": true
|
|
73
|
+
}
|
|
65
74
|
}
|
|
66
75
|
}
|