@forge/bundler 4.12.2-next.9 → 4.12.2

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 CHANGED
@@ -1,5 +1,193 @@
1
1
  # @forge/bundler
2
2
 
3
+ ## 4.12.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 40a9888: Bumping dependencies via Renovate:
8
+
9
+ - punycode
10
+
11
+ - 6b83205: Bumping dependencies via Renovate:
12
+
13
+ - memfs
14
+
15
+ - aec22e5: Bumping dependencies via Renovate:
16
+
17
+ - @atlassian/xen-test-util
18
+
19
+ - de5d202: Allow packaging extra files in Forge apps
20
+ - a7a66cf: Bumping dependencies via Renovate:
21
+
22
+ - @types/webpack-bundle-analyzer
23
+
24
+ - 7ce468b: Bumping dependencies via Renovate:
25
+
26
+ - @babel/core
27
+ - @babel/plugin-transform-optional-chaining
28
+ - @babel/preset-typescript
29
+ - @babel/traverse
30
+ - @babel/types
31
+
32
+ - 9df43f6: Bumping dependencies via Renovate:
33
+
34
+ - readable-stream
35
+ - @types/readable-stream
36
+
37
+ - 9d50860: Bumping dependencies via Renovate:
38
+
39
+ - @types/node
40
+
41
+ - Updated dependencies [fc1756d]
42
+ - Updated dependencies [eddaedf3]
43
+ - Updated dependencies [d192a8f]
44
+ - Updated dependencies [37d6fdb]
45
+ - Updated dependencies [f11f738]
46
+ - Updated dependencies [52646bd]
47
+ - Updated dependencies [3d3495d2]
48
+ - Updated dependencies [0fbf747]
49
+ - Updated dependencies [aec22e5]
50
+ - Updated dependencies [de5d202]
51
+ - Updated dependencies [e23c701]
52
+ - Updated dependencies [8330ad7d]
53
+ - Updated dependencies [f39f901]
54
+ - Updated dependencies [d86c7bb]
55
+ - Updated dependencies [7ce468b]
56
+ - Updated dependencies [ab7c204]
57
+ - Updated dependencies [2d50ea45]
58
+ - Updated dependencies [ed2cbc8]
59
+ - Updated dependencies [28fcd26]
60
+ - Updated dependencies [370a526]
61
+ - Updated dependencies [e534bed]
62
+ - Updated dependencies [7749635]
63
+ - Updated dependencies [9d50860]
64
+ - @forge/cli-shared@3.20.0
65
+ - @forge/lint@3.7.0
66
+ - @forge/babel-plugin-transform-ui@1.1.9
67
+ - @forge/node-runtime@0.3.0
68
+ - @forge/api@2.19.2
69
+
70
+ ## 4.12.2-next.23
71
+
72
+ ### Patch Changes
73
+
74
+ - @forge/cli-shared@3.20.0-next.18
75
+ - @forge/lint@3.7.0-next.20
76
+
77
+ ## 4.12.2-next.22
78
+
79
+ ### Patch Changes
80
+
81
+ - Updated dependencies [f39f9012]
82
+ - @forge/lint@3.7.0-next.19
83
+
84
+ ## 4.12.2-next.21
85
+
86
+ ### Patch Changes
87
+
88
+ - de5d2023: Allow packaging extra files in Forge apps
89
+ - Updated dependencies [de5d2023]
90
+ - @forge/cli-shared@3.20.0-next.17
91
+ - @forge/lint@3.6.8-next.18
92
+
93
+ ## 4.12.2-next.20
94
+
95
+ ### Patch Changes
96
+
97
+ - Updated dependencies [f11f7384]
98
+ - @forge/cli-shared@3.20.0-next.16
99
+ - @forge/lint@3.6.8-next.17
100
+
101
+ ## 4.12.2-next.19
102
+
103
+ ### Patch Changes
104
+
105
+ - 40a9888f: Bumping dependencies via Renovate:
106
+
107
+ - punycode
108
+
109
+ - 9df43f61: Bumping dependencies via Renovate:
110
+
111
+ - readable-stream
112
+ - @types/readable-stream
113
+
114
+ ## 4.12.2-next.18
115
+
116
+ ### Patch Changes
117
+
118
+ - Updated dependencies [28fcd26b]
119
+ - @forge/cli-shared@3.20.0-next.15
120
+ - @forge/lint@3.6.8-next.16
121
+
122
+ ## 4.12.2-next.17
123
+
124
+ ### Patch Changes
125
+
126
+ - Updated dependencies [77496359]
127
+ - @forge/cli-shared@3.20.0-next.14
128
+ - @forge/lint@3.6.8-next.15
129
+
130
+ ## 4.12.2-next.16
131
+
132
+ ### Patch Changes
133
+
134
+ - Updated dependencies [370a5262]
135
+ - @forge/cli-shared@3.19.1-next.13
136
+ - @forge/lint@3.6.8-next.14
137
+
138
+ ## 4.12.2-next.15
139
+
140
+ ### Patch Changes
141
+
142
+ - @forge/api@2.19.2-next.3
143
+ - @forge/lint@3.6.8-next.13
144
+ - @forge/cli-shared@3.19.1-next.12
145
+ - @forge/node-runtime@0.3.0-next.6
146
+
147
+ ## 4.12.2-next.14
148
+
149
+ ### Patch Changes
150
+
151
+ - 6b832057: Bumping dependencies via Renovate:
152
+
153
+ - memfs
154
+
155
+ ## 4.12.2-next.13
156
+
157
+ ### Patch Changes
158
+
159
+ - @forge/cli-shared@3.19.1-next.11
160
+ - @forge/lint@3.6.8-next.12
161
+
162
+ ## 4.12.2-next.12
163
+
164
+ ### Patch Changes
165
+
166
+ - Updated dependencies [ab7c204]
167
+ - @forge/cli-shared@3.19.1-next.10
168
+ - @forge/lint@3.6.8-next.11
169
+ - @forge/node-runtime@0.3.0-next.5
170
+
171
+ ## 4.12.2-next.11
172
+
173
+ ### Patch Changes
174
+
175
+ - aec22e5: Bumping dependencies via Renovate:
176
+
177
+ - @atlassian/xen-test-util
178
+
179
+ - Updated dependencies [aec22e5]
180
+ - @forge/cli-shared@3.19.1-next.9
181
+ - @forge/lint@3.6.8-next.10
182
+
183
+ ## 4.12.2-next.10
184
+
185
+ ### Patch Changes
186
+
187
+ - Updated dependencies [fc1756d]
188
+ - @forge/cli-shared@3.19.1-next.8
189
+ - @forge/lint@3.6.8-next.9
190
+
3
191
  ## 4.12.2-next.9
4
192
 
5
193
  ### Patch Changes
@@ -28,6 +28,6 @@ export declare class NetworkWrapperProvider implements WrapperProvider {
28
28
  }
29
29
  export declare const getWrapperProvider: ({ fileSystemReader }: {
30
30
  fileSystemReader: FileSystemReader;
31
- }) => Promise<LocalWrapperProvider | NetworkWrapperProvider>;
31
+ }) => LocalWrapperProvider | NetworkWrapperProvider;
32
32
  export declare const getNodeRuntimeBuildConfig: (wrapperProvider: WrapperProvider) => (entrypoints: FunctionsEntryPoint[], config: ConfigBuilder) => CommonWebpackConfig;
33
33
  //# sourceMappingURL=node.d.ts.map
@@ -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;AAIpD,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,MAAM,WAAW,eAAe;IAC9B,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC1C;AAED,qBAAa,oBAAqB,YAAW,eAAe;IAC9C,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAAhB,gBAAgB,EAAE,gBAAgB;IACzD,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC;CAO/C;AAED,qBAAa,sBAAuB,YAAW,eAAe;IAEhD,OAAO,CAAC,QAAQ,CAAC,MAAM;IADnC,OAAO,CAAC,OAAO,CAAqB;gBACP,MAAM,EAAE,MAAM;YAE7B,uBAAuB;IAS/B,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC;CAmC/C;AAED,eAAO,MAAM,kBAAkB;sBAAoD,gBAAgB;4DAMlG,CAAC;AAEF,eAAO,MAAM,yBAAyB,oBAClB,eAAe,mBACnB,mBAAmB,EAAE,UAAU,aAAa,KAAG,mBA6C5D,CAAC"}
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;AAIpD,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,MAAM,WAAW,eAAe;IAC9B,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC1C;AAED,qBAAa,oBAAqB,YAAW,eAAe;IAC9C,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAAhB,gBAAgB,EAAE,gBAAgB;IACzD,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC;CAO/C;AAED,qBAAa,sBAAuB,YAAW,eAAe;IAEhD,OAAO,CAAC,QAAQ,CAAC,MAAM;IADnC,OAAO,CAAC,OAAO,CAAqB;gBACP,MAAM,EAAE,MAAM;YAE7B,uBAAuB;IAS/B,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC;CAmC/C;AAED,eAAO,MAAM,kBAAkB;sBAA8C,gBAAgB;mDAM5F,CAAC;AAEF,eAAO,MAAM,yBAAyB,oBAClB,eAAe,mBACnB,mBAAmB,EAAE,UAAU,aAAa,KAAG,mBA6C5D,CAAC"}
@@ -80,7 +80,7 @@ class NetworkWrapperProvider {
80
80
  }
81
81
  }
82
82
  exports.NetworkWrapperProvider = NetworkWrapperProvider;
83
- const getWrapperProvider = async ({ fileSystemReader }) => {
83
+ const getWrapperProvider = ({ fileSystemReader }) => {
84
84
  if (process.env.FORGE_USE_LOCAL_WRAPPER === 'true') {
85
85
  return new LocalWrapperProvider(fileSystemReader);
86
86
  }
package/out/index.d.ts CHANGED
@@ -2,6 +2,6 @@ export { Bundler, InDiskBundler, Watcher, WatcherMonitor, BundlerOutput } from '
2
2
  export { getSandboxBundler, getNodeBundler, nativeUiBundle, watch, getCompiler, getInMemoryBundle, handleWebpackCompilationResult, runLinter } from './webpack';
3
3
  export { EntryPoint, FunctionsEntryPoint, getEntryPoints } from './config/common';
4
4
  export { getNativeUiBuildConfig } from './config/nativeui';
5
- export { getNodeRuntimeBuildConfig, getWrapperProvider } from './config/node';
5
+ export { getNodeRuntimeBuildConfig, getWrapperProvider, LocalWrapperProvider } from './config/node';
6
6
  export { getSandboxedRuntimeBuildConfig } from './config/sandbox';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACzF,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,KAAK,EACL,WAAW,EACX,iBAAiB,EACjB,8BAA8B,EAC9B,SAAS,EACV,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACzF,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,KAAK,EACL,WAAW,EACX,iBAAiB,EACjB,8BAA8B,EAC9B,SAAS,EACV,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACpG,OAAO,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC"}
package/out/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getSandboxedRuntimeBuildConfig = exports.getWrapperProvider = exports.getNodeRuntimeBuildConfig = exports.getNativeUiBuildConfig = exports.getEntryPoints = exports.runLinter = exports.handleWebpackCompilationResult = exports.getInMemoryBundle = exports.getCompiler = exports.watch = exports.nativeUiBundle = exports.getNodeBundler = exports.getSandboxBundler = void 0;
3
+ exports.getSandboxedRuntimeBuildConfig = exports.LocalWrapperProvider = exports.getWrapperProvider = exports.getNodeRuntimeBuildConfig = exports.getNativeUiBuildConfig = exports.getEntryPoints = exports.runLinter = exports.handleWebpackCompilationResult = exports.getInMemoryBundle = exports.getCompiler = exports.watch = exports.nativeUiBundle = exports.getNodeBundler = exports.getSandboxBundler = void 0;
4
4
  var webpack_1 = require("./webpack");
5
5
  Object.defineProperty(exports, "getSandboxBundler", { enumerable: true, get: function () { return webpack_1.getSandboxBundler; } });
6
6
  Object.defineProperty(exports, "getNodeBundler", { enumerable: true, get: function () { return webpack_1.getNodeBundler; } });
@@ -17,5 +17,6 @@ Object.defineProperty(exports, "getNativeUiBuildConfig", { enumerable: true, get
17
17
  var node_1 = require("./config/node");
18
18
  Object.defineProperty(exports, "getNodeRuntimeBuildConfig", { enumerable: true, get: function () { return node_1.getNodeRuntimeBuildConfig; } });
19
19
  Object.defineProperty(exports, "getWrapperProvider", { enumerable: true, get: function () { return node_1.getWrapperProvider; } });
20
+ Object.defineProperty(exports, "LocalWrapperProvider", { enumerable: true, get: function () { return node_1.LocalWrapperProvider; } });
20
21
  var sandbox_1 = require("./config/sandbox");
21
22
  Object.defineProperty(exports, "getSandboxedRuntimeBuildConfig", { enumerable: true, get: function () { return sandbox_1.getSandboxedRuntimeBuildConfig; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bundler",
3
- "version": "4.12.2-next.9",
3
+ "version": "4.12.2",
4
4
  "description": "Default bundler for Forge apps",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Atlassian",
@@ -19,11 +19,11 @@
19
19
  "@babel/plugin-transform-optional-chaining": "^7.23.0",
20
20
  "@babel/plugin-transform-react-jsx": "^7.22.15",
21
21
  "@babel/preset-typescript": "^7.23.0",
22
- "@forge/api": "2.19.2-next.2",
23
- "@forge/babel-plugin-transform-ui": "1.1.9-next.0",
24
- "@forge/cli-shared": "3.19.1-next.7",
25
- "@forge/lint": "3.6.8-next.8",
26
- "@forge/node-runtime": "0.3.0-next.4",
22
+ "@forge/api": "2.19.2",
23
+ "@forge/babel-plugin-transform-ui": "1.1.9",
24
+ "@forge/cli-shared": "3.20.0",
25
+ "@forge/lint": "3.7.0",
26
+ "@forge/node-runtime": "0.3.0",
27
27
  "@forge/util": "1.3.1",
28
28
  "assert": "^2.1.0",
29
29
  "babel-loader": "^8.3.0",
@@ -36,15 +36,15 @@
36
36
  "events": "^3.3.0",
37
37
  "html-webpack-plugin": "^5.5.3",
38
38
  "inherits": "^2.0.4",
39
- "memfs": "^3.5.3",
39
+ "memfs": "^4.5.0",
40
40
  "nock": "13.3.3",
41
41
  "node-fetch": "2.7.0",
42
42
  "os-browserify": "^0.3.0",
43
43
  "path-browserify": "^1.0.1",
44
44
  "process": "^0.11.10",
45
- "punycode": "^1.4.1",
45
+ "punycode": "^2.3.0",
46
46
  "querystring-browser": "^1.0.4",
47
- "readable-stream": "^3.6.2",
47
+ "readable-stream": "^4.4.2",
48
48
  "string_decoder": "^1.3.0",
49
49
  "text-encoder-lite": "^2.0.0",
50
50
  "timers-browserify": "^2.0.12",
@@ -58,12 +58,12 @@
58
58
  "whatwg-url": "^7.1.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@atlassian/xen-test-util": "^3.1.0",
62
- "@forge/runtime": "5.1.1-next.2",
61
+ "@atlassian/xen-test-util": "^3.1.1",
62
+ "@forge/runtime": "5.1.1",
63
63
  "@types/jest": "^29.5.5",
64
64
  "@types/node": "14.18.63",
65
65
  "@types/react": "^17.0.65",
66
- "@types/readable-stream": "^2.3.15",
66
+ "@types/readable-stream": "^4.0.3",
67
67
  "@types/webpack-bundle-analyzer": "^4.6.1",
68
68
  "@typescript-eslint/eslint-plugin": "^5.62.0",
69
69
  "@typescript-eslint/parser": "^5.62.0",