@forge/bundler 4.12.2-next.20 → 4.12.2-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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @forge/bundler
2
2
 
3
+ ## 4.12.2-next.22
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [f39f9012]
8
+ - @forge/lint@3.7.0-next.19
9
+
10
+ ## 4.12.2-next.21
11
+
12
+ ### Patch Changes
13
+
14
+ - de5d2023: Allow packaging extra files in Forge apps
15
+ - Updated dependencies [de5d2023]
16
+ - @forge/cli-shared@3.20.0-next.17
17
+ - @forge/lint@3.6.8-next.18
18
+
3
19
  ## 4.12.2-next.20
4
20
 
5
21
  ### 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,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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.20",
3
+ "version": "4.12.2-next.22",
4
4
  "description": "Default bundler for Forge apps",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Atlassian",
@@ -21,8 +21,8 @@
21
21
  "@babel/preset-typescript": "^7.23.0",
22
22
  "@forge/api": "2.19.2-next.3",
23
23
  "@forge/babel-plugin-transform-ui": "1.1.9-next.0",
24
- "@forge/cli-shared": "3.20.0-next.16",
25
- "@forge/lint": "3.6.8-next.17",
24
+ "@forge/cli-shared": "3.20.0-next.17",
25
+ "@forge/lint": "3.7.0-next.19",
26
26
  "@forge/node-runtime": "0.3.0-next.6",
27
27
  "@forge/util": "1.3.1",
28
28
  "assert": "^2.1.0",