@forge/bundler 7.1.0-next.19 → 7.1.0-next.21

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,23 @@
1
1
  # @forge/bundler
2
2
 
3
+ ## 7.1.0-next.21
4
+
5
+ ### Minor Changes
6
+
7
+ - 342098d: Implement server-side linter logic to prevent accidental major app version deployments
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [342098d]
12
+ - @forge/cli-shared@9.3.0-next.19
13
+ - @forge/lint@6.1.0-next.21
14
+
15
+ ## 7.1.0-next.20
16
+
17
+ ### Patch Changes
18
+
19
+ - @forge/lint@6.0.3-next.20
20
+
3
21
  ## 7.1.0-next.19
4
22
 
5
23
  ### 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,CAqCf"}
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"}
package/out/lint.js CHANGED
@@ -19,7 +19,11 @@ async function runLinter(statsigService, logger = { info: console.log }, fileSys
19
19
  ]);
20
20
  const UIKitFilesToLint = UIKitFilesByDirectory.reduce((allFiles, directoryFiles) => allFiles.concat(directoryFiles), []);
21
21
  try {
22
- const lintResults = await (0, lint_1.lint)([...filesToLint, ...UIKitFilesToLint], manifest, 'development', logger, statsigService);
22
+ const lintResults = await (0, lint_1.lint)([...filesToLint, ...UIKitFilesToLint], manifest, 'development', logger, statsigService, {
23
+ linter: {
24
+ mode: 'client-side'
25
+ }
26
+ });
23
27
  if (lintResults.some((result) => result.size())) {
24
28
  logger.info('');
25
29
  (0, lint_1.reportLintResults)(logger, lintResults);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bundler",
3
- "version": "7.1.0-next.19",
3
+ "version": "7.1.0-next.21",
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": "9.3.0-next.18",
24
+ "@forge/cli-shared": "9.3.0-next.19",
25
25
  "@forge/i18n": "1.0.0",
26
- "@forge/lint": "6.0.3-next.19",
26
+ "@forge/lint": "6.1.0-next.21",
27
27
  "@forge/manifest": "13.3.0-next.10",
28
28
  "babel-loader": "^8.3.0",
29
29
  "cheerio": "^1.2.0",