@forge/bundler 4.22.0-next.21 → 4.22.0-next.22
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 +12 -0
- package/out/runtime.d.ts.map +1 -1
- package/out/runtime.js +4 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @forge/bundler
|
|
2
2
|
|
|
3
|
+
## 4.22.0-next.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8410c2d: Configure Node bundler to support automated local wrapper testing
|
|
8
|
+
- Updated dependencies [e404ba0]
|
|
9
|
+
- @forge/i18n@0.0.5-next.1
|
|
10
|
+
- @forge/api@5.2.0-next.1
|
|
11
|
+
- @forge/cli-shared@6.8.0-next.21
|
|
12
|
+
- @forge/manifest@8.9.0-next.9
|
|
13
|
+
- @forge/lint@5.7.3-next.22
|
|
14
|
+
|
|
3
15
|
## 4.22.0-next.21
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/out/runtime.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,YAAY,EAGZ,aAAa,EAEd,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EACL,YAAY,EACZ,OAAO,EACP,WAAW,EAMZ,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAiB,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGpE,qBAAa,cAAe,SAAQ,cAAc;gBACpC,MAAM,EAAE,YAAY;IAI1B,SAAS,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAG9D;
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,YAAY,EAGZ,aAAa,EAEd,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EACL,YAAY,EACZ,OAAO,EACP,WAAW,EAMZ,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAiB,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGpE,qBAAa,cAAe,SAAQ,cAAc;gBACpC,MAAM,EAAE,YAAY;IAI1B,SAAS,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAG9D;AAyBD,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAErD;AAmLD,wBAAgB,cAAc,CAC5B,MAAM,EAAE,YAAY,EACpB,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,GAC3B,OAAO,CAET"}
|
package/out/runtime.js
CHANGED
|
@@ -23,6 +23,7 @@ class SandboxBundler extends webpack_2.WebpackBundler {
|
|
|
23
23
|
exports.SandboxBundler = SandboxBundler;
|
|
24
24
|
const NODE_RUNTIME_CODE_FILE = '__forge__.js';
|
|
25
25
|
const NODE_RUNTIME_BACKUP_WRAPPER_FILE = '__forge_wrapper__.cjs';
|
|
26
|
+
const NODE_RUNTIME_USE_LOCAL_WRAPPER_FILE = '__forge_use_local_wrapper.txt';
|
|
26
27
|
const NODE_RUNTIME_VERSION_FILE = 'runtime.json';
|
|
27
28
|
const NODE_WEBPACK_USER_CODE_DIR = 'bundled';
|
|
28
29
|
function userCodePath(entryKey) {
|
|
@@ -48,6 +49,9 @@ async function emitWrapperFiles(provider, entrypoints, emit, useSingleWrapper) {
|
|
|
48
49
|
await emit(`${entrypoint.name}.cjs`, entrypointScript.script);
|
|
49
50
|
}
|
|
50
51
|
}
|
|
52
|
+
if (process.env.FORGE_RUNTIME_PATH) {
|
|
53
|
+
await emit(NODE_RUNTIME_USE_LOCAL_WRAPPER_FILE, 'Local wrapper used');
|
|
54
|
+
}
|
|
51
55
|
await emit(NODE_RUNTIME_VERSION_FILE, JSON.stringify({ version: entrypointScript.version }, null, 2));
|
|
52
56
|
}
|
|
53
57
|
async function emitI18nFiles(i18nResourceBundle, emit) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/bundler",
|
|
3
|
-
"version": "4.22.0-next.
|
|
3
|
+
"version": "4.22.0-next.22",
|
|
4
4
|
"description": "Default bundler for Forge apps",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
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": "5.2.0-next.
|
|
22
|
+
"@forge/api": "5.2.0-next.1",
|
|
23
23
|
"@forge/babel-plugin-transform-ui": "1.1.21",
|
|
24
|
-
"@forge/cli-shared": "6.8.0-next.
|
|
25
|
-
"@forge/i18n": "0.0.5-next.
|
|
26
|
-
"@forge/lint": "5.7.3-next.
|
|
27
|
-
"@forge/manifest": "8.9.0-next.
|
|
24
|
+
"@forge/cli-shared": "6.8.0-next.21",
|
|
25
|
+
"@forge/i18n": "0.0.5-next.1",
|
|
26
|
+
"@forge/lint": "5.7.3-next.22",
|
|
27
|
+
"@forge/manifest": "8.9.0-next.9",
|
|
28
28
|
"@forge/util": "1.4.8",
|
|
29
29
|
"assert": "^2.1.0",
|
|
30
30
|
"babel-loader": "^8.3.0",
|