@forge/bundler 7.0.2-next.3-experimental-c6a3916 → 7.0.2-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,25 +1,20 @@
1
1
  # @forge/bundler
2
2
 
3
- ## 7.0.2-next.3-experimental-c6a3916
3
+ ## 7.0.2-next.5
4
4
 
5
- ### Minor Changes
5
+ ### Patch Changes
6
6
 
7
- - 342098d: Implement server-side linter logic to prevent accidental major app version deployments
7
+ - Updated dependencies [d415c89]
8
+ - @forge/cli-shared@9.2.0-next.5
9
+ - @forge/lint@6.0.2-next.5
10
+
11
+ ## 7.0.2-next.4
8
12
 
9
13
  ### Patch Changes
10
14
 
11
- - 9cd0e0e: Update Forge CLI output rendering to incorporate pre-deployment API rules
12
- - Updated dependencies [4c5ba1c]
13
15
  - Updated dependencies [903d6c1]
14
- - Updated dependencies [9cd0e0e]
15
- - Updated dependencies [342098d]
16
- - Updated dependencies [757223b]
17
- - Updated dependencies [7195f29]
18
- - Updated dependencies [3252a62]
19
- - Updated dependencies [3991f92]
20
- - @forge/manifest@13.1.1-next.2-experimental-c6a3916
21
- - @forge/cli-shared@9.2.0-next.3-experimental-c6a3916
22
- - @forge/lint@6.0.2-next.3-experimental-c6a3916
16
+ - @forge/cli-shared@9.2.0-next.4
17
+ - @forge/lint@6.0.2-next.4
23
18
 
24
19
  ## 7.0.2-next.3
25
20
 
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,EAWf,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,CA0Df"}
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"}
package/out/lint.js CHANGED
@@ -18,19 +18,8 @@ async function runLinter(statsigService, logger = { info: console.log }, fileSys
18
18
  ...UIKitDirectories.map((directory) => fileSystemReader.recursiveReadDir(directory, exclude))
19
19
  ]);
20
20
  const UIKitFilesToLint = UIKitFilesByDirectory.reduce((allFiles, directoryFiles) => allFiles.concat(directoryFiles), []);
21
- const ui = new cli_shared_1.CommandLineUI(() => false, undefined, undefined, undefined, () => false);
22
- const createGraphQLClient = (auth) => {
23
- const minimalGraphQLRunner = new cli_shared_1.MinimalGraphQLRunner(auth, graphqlGateway, undefined);
24
- const graphQLRunner = new cli_shared_1.DebuggingGraphqlRunner(minimalGraphQLRunner, graphqlGateway, ui);
25
- return new cli_shared_1.MutationAwareGraphQLClient(graphQLRunner);
26
- };
27
- const userRepository = new cli_shared_1.UserRepositoryImpl(createGraphQLClient, ui);
28
- const credentialStore = (0, cli_shared_1.getCredentialStore)(ui, userRepository);
29
- const authenticator = new cli_shared_1.PersonalTokenAuthenticator(credentialStore);
30
- const graphqlGateway = (0, cli_shared_1.getGraphqlGateway)();
31
- const graphQLClient = createGraphQLClient(authenticator);
32
21
  try {
33
- const lintResults = await (0, lint_1.lint)([...filesToLint, ...UIKitFilesToLint], manifest, 'development', logger, statsigService, graphQLClient);
22
+ const lintResults = await (0, lint_1.lint)([...filesToLint, ...UIKitFilesToLint], manifest, 'development', logger, statsigService);
34
23
  if (lintResults.some((result) => result.size())) {
35
24
  logger.info('');
36
25
  (0, lint_1.reportLintResults)(logger, lintResults);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bundler",
3
- "version": "7.0.2-next.3-experimental-c6a3916",
3
+ "version": "7.0.2-next.5",
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.2.0-next.3-experimental-c6a3916",
24
+ "@forge/cli-shared": "9.2.0-next.5",
25
25
  "@forge/i18n": "1.0.0",
26
- "@forge/lint": "6.0.2-next.3-experimental-c6a3916",
27
- "@forge/manifest": "13.1.1-next.2-experimental-c6a3916",
26
+ "@forge/lint": "6.0.2-next.5",
27
+ "@forge/manifest": "13.1.1-next.2",
28
28
  "babel-loader": "^8.3.0",
29
29
  "cheerio": "^1.2.0",
30
30
  "cross-spawn": "^7.0.6",