@forge/bundler 6.1.18-next.3 → 6.1.18-next.5

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,19 @@
1
1
  # @forge/bundler
2
2
 
3
+ ## 6.1.18-next.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [c1526eb]
8
+ - @forge/cli-shared@8.15.1-next.4
9
+ - @forge/lint@5.14.1-next.4
10
+
11
+ ## 6.1.18-next.4
12
+
13
+ ### Patch Changes
14
+
15
+ - 475f9a7: Modify forge CLI bundler to conditionally include stats JSON file generation
16
+
3
17
  ## 6.1.18-next.3
4
18
 
5
19
  ### Patch Changes
@@ -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,aAAK,cAAc,GAAG,aAAa,GAAG,MAAM,CAAC,QAAQ,EAAE,mBAAmB,CAAC,CAAC;AAE5E,eAAO,MAAM,sBAAsB,gBAAiB,UAAU,EAAE,eAAe,YAAY,KAAG,cAyE7F,CAAC"}
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,aAAK,cAAc,GAAG,aAAa,GAAG,MAAM,CAAC,QAAQ,EAAE,mBAAmB,CAAC,CAAC;AAE5E,eAAO,MAAM,sBAAsB,gBAAiB,UAAU,EAAE,eAAe,YAAY,KAAG,cAgF7F,CAAC"}
@@ -34,8 +34,15 @@ const getNativeUiBuildConfig = (entrypoints, i18nConfig) => {
34
34
  new html_webpack_plugin_1.default({
35
35
  filename: 'index.html'
36
36
  }),
37
- new webpack_bundle_analyzer_1.BundleAnalyzerPlugin({ analyzerMode: 'disabled', generateStatsFile: true, logLevel: 'silent' })
38
- ],
37
+ process.env.FORGE_INSPECT_ARCHIVE
38
+ ? new webpack_bundle_analyzer_1.BundleAnalyzerPlugin({
39
+ analyzerMode: 'disabled',
40
+ generateStatsFile: true,
41
+ statsFilename: path_1.default.join(process.cwd(), '.forge_app_inspect_stats.json'),
42
+ logLevel: 'silent'
43
+ })
44
+ : null
45
+ ].filter(Boolean),
39
46
  resolve: {
40
47
  extensions: ['.ts', '.tsx', '.js', '.jsx', '.jpg', '.jpeg', '.png', '.gif', '.svg']
41
48
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bundler",
3
- "version": "6.1.18-next.3",
3
+ "version": "6.1.18-next.5",
4
4
  "description": "Default bundler for Forge apps",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "Atlassian",
@@ -21,9 +21,9 @@
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.15.1-next.3",
24
+ "@forge/cli-shared": "8.15.1-next.4",
25
25
  "@forge/i18n": "0.0.7",
26
- "@forge/lint": "5.14.1-next.3",
26
+ "@forge/lint": "5.14.1-next.4",
27
27
  "@forge/manifest": "12.1.0-next.2",
28
28
  "babel-loader": "^8.3.0",
29
29
  "cheerio": "^1.1.0",