@forge/bundler 4.18.1-next.9 → 4.19.0-next.12
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 +33 -0
- package/out/config/common.d.ts +14 -0
- package/out/config/common.d.ts.map +1 -1
- package/out/config/common.js +19 -1
- package/out/config/nativeui.d.ts +2 -1
- package/out/config/nativeui.d.ts.map +1 -1
- package/out/config/nativeui.js +3 -1
- package/out/types.d.ts +3 -2
- package/out/types.d.ts.map +1 -1
- package/out/webpack.d.ts.map +1 -1
- package/out/webpack.js +2 -2
- package/package.json +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# @forge/bundler
|
|
2
2
|
|
|
3
|
+
## 4.19.0-next.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [ce41b8c]
|
|
8
|
+
- @forge/manifest@7.7.0-next.12
|
|
9
|
+
- @forge/cli-shared@5.5.0-next.12
|
|
10
|
+
- @forge/i18n@0.0.1-next.11
|
|
11
|
+
- @forge/lint@5.3.3-next.12
|
|
12
|
+
|
|
13
|
+
## 4.19.0-next.11
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- 1d04953: Update native UI bundler to support Forge i18n
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [bf34881]
|
|
22
|
+
- Updated dependencies [60a4b5b]
|
|
23
|
+
- Updated dependencies [c81fa57]
|
|
24
|
+
- @forge/manifest@7.7.0-next.11
|
|
25
|
+
- @forge/cli-shared@5.5.0-next.11
|
|
26
|
+
- @forge/i18n@0.0.1-next.10
|
|
27
|
+
- @forge/lint@5.3.3-next.11
|
|
28
|
+
|
|
29
|
+
## 4.18.1-next.10
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- @forge/cli-shared@5.5.0-next.10
|
|
34
|
+
- @forge/lint@5.3.3-next.10
|
|
35
|
+
|
|
3
36
|
## 4.18.1-next.9
|
|
4
37
|
|
|
5
38
|
### Patch Changes
|
package/out/config/common.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import { Configuration as WebpackConfig, ModuleOptions } from 'webpack';
|
|
2
3
|
import { Handler } from '@forge/cli-shared';
|
|
4
|
+
import { Translations } from '@forge/manifest';
|
|
3
5
|
export interface ConfigBuilder {
|
|
4
6
|
isWatchMode: boolean;
|
|
5
7
|
isDebugMode?: boolean;
|
|
@@ -20,6 +22,18 @@ declare type RequiredFields<T, F extends keyof T> = T & Required<Pick<T, F>>;
|
|
|
20
22
|
declare type CommonModuleOptions = RequiredFields<ModuleOptions, 'rules'>;
|
|
21
23
|
export declare type WebpackEntries = Record<string, string>;
|
|
22
24
|
export declare type CommonWebpackConfig = RequiredFields<WebpackConfig, 'module' | 'plugins' | 'output'> & Record<'module', CommonModuleOptions> & Record<'entry', WebpackEntries>;
|
|
25
|
+
export declare const geti18nRule: (i18nConfig: Translations) => {
|
|
26
|
+
test: RegExp;
|
|
27
|
+
include: string[];
|
|
28
|
+
type: string;
|
|
29
|
+
generator: {
|
|
30
|
+
filename: ({ module: { resource: i18nResourcePath } }: {
|
|
31
|
+
module: {
|
|
32
|
+
resource: string;
|
|
33
|
+
};
|
|
34
|
+
}) => string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
23
37
|
export declare const getCommonWebpackConfig: (entrypoints: EntryPoint[], config: ConfigBuilder) => CommonWebpackConfig;
|
|
24
38
|
export {};
|
|
25
39
|
//# 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,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C,GAC9F,MAAM,CAAC,QAAQ,EAAE,mBAAmB,CAAC,GACrC,MAAM,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;AAElC,eAAO,MAAM,WAAW,eAAgB,YAAY;;;;;+DAIe;YAAE,QAAQ;gBAAE,QAAQ,EAAE,MAAM,CAAA;aAAE,CAAA;SAAE;;CAalG,CAAC;AAEF,eAAO,MAAM,sBAAsB,gBAAiB,UAAU,EAAE,UAAU,aAAa,KAAG,mBAwGzF,CAAC"}
|
package/out/config/common.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getCommonWebpackConfig = exports.getDevToolConfig = exports.resolveStubPath = exports.resolveModulePath = exports.getEntryPoints = void 0;
|
|
3
|
+
exports.getCommonWebpackConfig = exports.geti18nRule = exports.getDevToolConfig = exports.resolveStubPath = exports.resolveModulePath = exports.getEntryPoints = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const path_1 = require("path");
|
|
6
6
|
const webpack_1 = tslib_1.__importDefault(require("webpack"));
|
|
7
7
|
const text_1 = require("../text");
|
|
8
8
|
const cli_shared_1 = require("@forge/cli-shared");
|
|
9
|
+
const i18n_1 = require("@forge/i18n");
|
|
9
10
|
const tsconfig_interactor_1 = require("../tsconfig-interactor");
|
|
10
11
|
function getEntryPoints(handlers) {
|
|
11
12
|
const entryPointMap = new Map();
|
|
@@ -38,6 +39,23 @@ const getDevToolConfig = (config) => {
|
|
|
38
39
|
return config.isDebugMode ? 'inline-source-map' : 'cheap-source-map';
|
|
39
40
|
};
|
|
40
41
|
exports.getDevToolConfig = getDevToolConfig;
|
|
42
|
+
const geti18nRule = (i18nConfig) => {
|
|
43
|
+
const i18nResources = i18nConfig.resources || [];
|
|
44
|
+
const i18nResourcesMap = new Map(i18nResources.map(({ key, path }) => [(0, path_1.resolve)(path), key]));
|
|
45
|
+
const getFilename = ({ module: { resource: i18nResourcePath } }) => {
|
|
46
|
+
const i18nResourceKey = i18nResourcesMap.get(i18nResourcePath);
|
|
47
|
+
return (0, path_1.join)(i18n_1.I18N_BUNDLE_FOLDER_NAME, `${i18nResourceKey}.json`);
|
|
48
|
+
};
|
|
49
|
+
return {
|
|
50
|
+
test: /\.json$/i,
|
|
51
|
+
include: Array.from(i18nResourcesMap.keys()),
|
|
52
|
+
type: 'asset/resource',
|
|
53
|
+
generator: {
|
|
54
|
+
filename: getFilename
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
exports.geti18nRule = geti18nRule;
|
|
41
59
|
const getCommonWebpackConfig = (entrypoints, config) => {
|
|
42
60
|
if (!require.main) {
|
|
43
61
|
throw new Error(text_1.Text.noExecutableFile);
|
package/out/config/nativeui.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Configuration as WebpackConfig } from 'webpack';
|
|
2
|
+
import { Translations } from '@forge/manifest';
|
|
2
3
|
import { EntryPoint } from './common';
|
|
3
|
-
export declare const getNativeUiBuildConfig: (entrypoints: EntryPoint[]) => WebpackConfig;
|
|
4
|
+
export declare const getNativeUiBuildConfig: (entrypoints: EntryPoint[], i18nConfig?: Translations) => WebpackConfig;
|
|
4
5
|
//# sourceMappingURL=nativeui.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nativeui.d.ts","sourceRoot":"","sources":["../../src/config/nativeui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,aAAa,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"nativeui.d.ts","sourceRoot":"","sources":["../../src/config/nativeui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,aAAa,EAAE,MAAM,SAAS,CAAC;AAKzD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAe,MAAM,UAAU,CAAC;AAEnD,eAAO,MAAM,sBAAsB,gBAAiB,UAAU,EAAE,eAAe,YAAY,KAAG,aAyE7F,CAAC"}
|
package/out/config/nativeui.js
CHANGED
|
@@ -6,7 +6,8 @@ const path_1 = require("path");
|
|
|
6
6
|
const webpack_bundle_analyzer_1 = require("webpack-bundle-analyzer");
|
|
7
7
|
const html_webpack_plugin_1 = tslib_1.__importDefault(require("html-webpack-plugin"));
|
|
8
8
|
const tmp_1 = tslib_1.__importDefault(require("tmp"));
|
|
9
|
-
const
|
|
9
|
+
const common_1 = require("./common");
|
|
10
|
+
const getNativeUiBuildConfig = (entrypoints, i18nConfig) => {
|
|
10
11
|
const resolvedEntryPoints = {};
|
|
11
12
|
for (const entrypoint of entrypoints) {
|
|
12
13
|
resolvedEntryPoints[entrypoint.name] = (0, path_1.resolve)(entrypoint.path);
|
|
@@ -44,6 +45,7 @@ const getNativeUiBuildConfig = (entrypoints) => {
|
|
|
44
45
|
target: 'web',
|
|
45
46
|
module: {
|
|
46
47
|
rules: [
|
|
48
|
+
...(i18nConfig ? [(0, common_1.geti18nRule)(i18nConfig)] : []),
|
|
47
49
|
{
|
|
48
50
|
test: /\.(jpe?g|png|gif|svg)$/i,
|
|
49
51
|
type: 'asset/resource'
|
package/out/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Logger } from '@forge/cli-shared';
|
|
2
|
+
import { Translations } from '@forge/manifest';
|
|
2
3
|
import { Compiler } from 'webpack';
|
|
3
4
|
import { EntryPoint } from './webpack';
|
|
4
5
|
export declare type BundledFiles = {
|
|
@@ -12,8 +13,8 @@ export interface BundlerOutput {
|
|
|
12
13
|
};
|
|
13
14
|
}
|
|
14
15
|
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<{
|
|
16
|
+
export declare type Bundler<EP = EntryPoint> = (logger: BundleLogger, appDirectory: string, endpointPath: EP[], i18nConfig?: Translations) => Promise<BundlerOutput>;
|
|
17
|
+
export declare type InDiskBundler = (logger: BundleLogger, entrypoints: EntryPoint[], i18nConfig?: Translations) => Promise<{
|
|
17
18
|
outputDir: string;
|
|
18
19
|
}>;
|
|
19
20
|
export declare type WatcherCallback = (err: Error | null, output?: BundlerOutput) => void;
|
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,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,
|
|
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,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ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,KAChB,cAAc,CAAC"}
|
package/out/webpack.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../src/webpack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,GAAG,EAAU,MAAM,OAAO,CAAC;AACxD,OAAO,OAAO,EAAE,EAAE,QAAQ,EAAE,aAAa,IAAI,aAAa,EAAE,MAAM,SAAS,CAAC;AAG5E,OAAO,EAAE,OAAO,EAAgB,OAAO,EAAkB,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACrH,OAAO,EAEL,gBAAgB,EAGhB,gBAAgB,EAGjB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../src/webpack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,GAAG,EAAU,MAAM,OAAO,CAAC;AACxD,OAAO,OAAO,EAAE,EAAE,QAAQ,EAAE,aAAa,IAAI,aAAa,EAAE,MAAM,SAAS,CAAC;AAG5E,OAAO,EAAE,OAAO,EAAgB,OAAO,EAAkB,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACrH,OAAO,EAEL,gBAAgB,EAGhB,gBAAgB,EAGjB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAA2B,UAAU,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtG,OAAO,EAKL,eAAe,EAChB,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,UAAU,EAAE,CAAC;AAQtB,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,YAAY,EACpB,GAAG,EAAE,KAAK,GAAG,IAAI,GAAG,SAAS,EAC7B,KAAK,EAAE,OAAO,CAAC,KAAK,GAAG,SAAS,GAC/B,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,CAkChC;AAYD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,mBAAmB,EAAE,UAAU,CAAC,EAAE,GAAG,GAAG,aAAa,CA6B9F;AAED,UAAU,eAAe;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,WAAW,kBAAmB,aAAa,YAAY,eAAe,KAAG,QAOrF,CAAC;AA6BF,eAAO,MAAM,SAAS,YAEZ,UAAU,+EAGjB,QAAQ,IAAI,CA+Bd,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,OAwBnB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,SAAS,UAAU,GAAG,UAAU,EAC9D,cAAc,EAAE,CAAC,WAAW,EAAE,EAAE,EAAE,EAAE,aAAa,EAAE,aAAa,KAAK,mBAAmB,GACvF,OAAO,CAAC,EAAE,CAAC,CA+Bb;AAED,eAAO,MAAM,iBAAiB,EAAE,MAAM,OAA6D,CAAC;AACpG,eAAO,MAAM,cAAc,EAAE,CAAC,eAAe,EAAE,eAAe,KAAK,OAAO,CAAC,mBAAmB,CACnC,CAAC;AAE5D,eAAO,MAAM,cAAc,EAAE,aAsB5B,CAAC"}
|
package/out/webpack.js
CHANGED
|
@@ -191,8 +191,8 @@ const getSandboxBundler = () => createBundler(sandbox_1.getSandboxedRuntimeBuild
|
|
|
191
191
|
exports.getSandboxBundler = getSandboxBundler;
|
|
192
192
|
const getNodeBundler = (wrapperProvider) => createBundler((0, node_1.getNodeRuntimeBuildConfig)(wrapperProvider));
|
|
193
193
|
exports.getNodeBundler = getNodeBundler;
|
|
194
|
-
const nativeUiBundle = (logger, entrypoints) => {
|
|
195
|
-
const config = (0, nativeui_1.getNativeUiBuildConfig)(entrypoints);
|
|
194
|
+
const nativeUiBundle = (logger, entrypoints, i18nConfig) => {
|
|
195
|
+
const config = (0, nativeui_1.getNativeUiBuildConfig)(entrypoints, i18nConfig);
|
|
196
196
|
const compiler = (0, exports.getCompiler)(config, { writeToDisk: true });
|
|
197
197
|
return new Promise((resolve, reject) => {
|
|
198
198
|
compiler.run((compilerError, stats) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/bundler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.19.0-next.12",
|
|
4
4
|
"description": "Default bundler for Forge apps",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Atlassian",
|
|
@@ -21,8 +21,10 @@
|
|
|
21
21
|
"@babel/preset-typescript": "^7.23.3",
|
|
22
22
|
"@forge/api": "3.9.2-next.0",
|
|
23
23
|
"@forge/babel-plugin-transform-ui": "1.1.18",
|
|
24
|
-
"@forge/cli-shared": "5.5.0-next.
|
|
25
|
-
"@forge/
|
|
24
|
+
"@forge/cli-shared": "5.5.0-next.12",
|
|
25
|
+
"@forge/i18n": "0.0.1-next.11",
|
|
26
|
+
"@forge/lint": "5.3.3-next.12",
|
|
27
|
+
"@forge/manifest": "7.7.0-next.12",
|
|
26
28
|
"@forge/util": "1.4.4",
|
|
27
29
|
"assert": "^2.1.0",
|
|
28
30
|
"babel-loader": "^8.3.0",
|