@forge/bundler 7.3.0-next.1 → 7.3.0-next.10-experimental-e03cc85

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,106 @@
1
1
  # @forge/bundler
2
2
 
3
+ ## 7.3.0-next.10-experimental-e03cc85
4
+
5
+ ### Minor Changes
6
+
7
+ - a68050a: Removed the TypeScript bundler EAP. Use manual packaging instead, running `tsc` or another compiler yourself.
8
+
9
+ ### Patch Changes
10
+
11
+ - 349eb09: Fixed `forge lint` scanning the parent directory of UI Kit resources that use an `entry` map, which could crash with out-of-memory or stack overflow errors.
12
+ - Updated dependencies [0b5d453]
13
+ - Updated dependencies [1456635]
14
+ - Updated dependencies [0746937]
15
+ - Updated dependencies [0700ef3]
16
+ - Updated dependencies [e17be5e]
17
+ - Updated dependencies [a29bf94]
18
+ - Updated dependencies [f08d968]
19
+ - Updated dependencies [272d0f3]
20
+ - Updated dependencies [a68050a]
21
+ - Updated dependencies [2aaf0c4]
22
+ - Updated dependencies [f3dfbe6]
23
+ - @forge/cli-shared@9.8.0-next.9-experimental-e03cc85
24
+ - @forge/manifest@13.7.0-next.6-experimental-e03cc85
25
+ - @forge/lint@6.3.1-next.9-experimental-e03cc85
26
+
27
+ ## 7.3.0-next.10
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [0b5d453]
32
+ - @forge/cli-shared@9.8.0-next.9
33
+ - @forge/manifest@13.7.0-next.6
34
+ - @forge/lint@6.3.1-next.9
35
+
36
+ ## 7.3.0-next.9
37
+
38
+ ### Patch Changes
39
+
40
+ - Updated dependencies [f3dfbe6]
41
+ - @forge/manifest@13.7.0-next.5
42
+ - @forge/cli-shared@9.8.0-next.8
43
+ - @forge/lint@6.3.1-next.8
44
+
45
+ ## 7.3.0-next.8
46
+
47
+ ### Patch Changes
48
+
49
+ - Updated dependencies [a29bf94]
50
+ - @forge/manifest@13.7.0-next.4
51
+ - @forge/cli-shared@9.8.0-next.7
52
+ - @forge/lint@6.3.1-next.7
53
+
54
+ ## 7.3.0-next.7
55
+
56
+ ### Patch Changes
57
+
58
+ - Updated dependencies [f08d968]
59
+ - @forge/cli-shared@9.8.0-next.6
60
+ - @forge/lint@6.3.1-next.6
61
+
62
+ ## 7.3.0-next.6
63
+
64
+ ### Patch Changes
65
+
66
+ - Updated dependencies [272d0f3]
67
+ - Updated dependencies [2aaf0c4]
68
+ - @forge/manifest@13.7.0-next.3
69
+ - @forge/cli-shared@9.8.0-next.5
70
+ - @forge/lint@6.3.1-next.5
71
+
72
+ ## 7.3.0-next.5
73
+
74
+ ### Patch Changes
75
+
76
+ - Updated dependencies [0746937]
77
+ - @forge/manifest@13.7.0-next.2
78
+ - @forge/cli-shared@9.8.0-next.4
79
+ - @forge/lint@6.3.1-next.4
80
+
81
+ ## 7.3.0-next.4
82
+
83
+ ### Patch Changes
84
+
85
+ - Updated dependencies [e17be5e]
86
+ - @forge/manifest@13.7.0-next.1
87
+ - @forge/cli-shared@9.8.0-next.3
88
+ - @forge/lint@6.3.1-next.3
89
+
90
+ ## 7.3.0-next.3
91
+
92
+ ### Patch Changes
93
+
94
+ - 349eb09: Fixed `forge lint` scanning the parent directory of UI Kit resources that use an `entry` map, which could crash with out-of-memory or stack overflow errors.
95
+
96
+ ## 7.3.0-next.2
97
+
98
+ ### Patch Changes
99
+
100
+ - Updated dependencies [1456635]
101
+ - @forge/cli-shared@9.8.0-next.2
102
+ - @forge/lint@6.3.1-next.2
103
+
3
104
  ## 7.3.0-next.1
4
105
 
5
106
  ### Patch Changes
package/out/lint.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../src/lint.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,gBAAgB,EAGhB,gBAAgB,EAEhB,cAAc,EACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA2B,UAAU,EAAE,MAAM,aAAa,CAAC;AAIlE,wBAAsB,SAAS,CAC7B,cAAc,EAAE,cAAc,EAE9B,MAAM,GAAE,UAAkC,EAC1C,gBAAgB,mBAAyB,EACzC,gBAAgB,mBAAyB,GACxC,OAAO,CAAC,IAAI,CAAC,CA0Cf"}
1
+ {"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../src/lint.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,gBAAgB,EAGhB,gBAAgB,EAEhB,cAAc,EACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA2B,UAAU,EAAE,MAAM,aAAa,CAAC;AAIlE,wBAAsB,SAAS,CAC7B,cAAc,EAAE,cAAc,EAE9B,MAAM,GAAE,UAAkC,EAC1C,gBAAgB,mBAAyB,EACzC,gBAAgB,mBAAyB,GACxC,OAAO,CAAC,IAAI,CAAC,CA6Cf"}
package/out/lint.js CHANGED
@@ -12,7 +12,7 @@ async function runLinter(statsigService, logger = { info: console.log }, fileSys
12
12
  const configFile = new cli_shared_1.ConfigFile(fileSystemReader, fileSystemWriter);
13
13
  const manifest = await configFile.readConfig();
14
14
  const UIKitResources = await configFile.getResources(['nativeUI']);
15
- const UIKitDirectories = UIKitResources.map((resource) => path_1.default.dirname(resource.path));
15
+ const UIKitDirectories = UIKitResources.map((resource) => resource.entry ? resource.path : path_1.default.dirname(resource.path));
16
16
  const [filesToLint, ...UIKitFilesByDirectory] = await Promise.all([
17
17
  fileSystemReader.recursiveReadDir('./src', exclude),
18
18
  ...UIKitDirectories.map((directory) => fileSystemReader.recursiveReadDir(directory, exclude))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bundler",
3
- "version": "7.3.0-next.1",
3
+ "version": "7.3.0-next.10-experimental-e03cc85",
4
4
  "description": "Default bundler for Forge apps",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "Atlassian",
@@ -21,10 +21,10 @@
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": "9.8.0-next.1",
24
+ "@forge/cli-shared": "9.8.0-next.9-experimental-e03cc85",
25
25
  "@forge/i18n": "1.0.0",
26
- "@forge/lint": "6.3.1-next.1",
27
- "@forge/manifest": "13.7.0-next.0",
26
+ "@forge/lint": "6.3.1-next.9-experimental-e03cc85",
27
+ "@forge/manifest": "13.7.0-next.6-experimental-e03cc85",
28
28
  "babel-loader": "^8.3.0",
29
29
  "cheerio": "^1.2.0",
30
30
  "chokidar": "^4.0.3",
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@atlassian/xen-test-util": "^4.2.0",
43
- "@forge/runtime": "7.0.0",
43
+ "@forge/runtime": "7.0.1-next.0-experimental-e03cc85",
44
44
  "@types/jest": "^29.5.14",
45
45
  "@types/node": "20.19.1",
46
46
  "@types/react": "^18.2.64",