@forge/bundler

7.0.2-next.3-experimental-c6a39167.0.2-next.5
~

Modified (4 files)

Index: package/out/lint.js
===================================================================
--- package/out/lint.js
+++ package/out/lint.js
@@ -17,21 +17,10 @@
         fileSystemReader.recursiveReadDir('./src', exclude),
         ...UIKitDirectories.map((directory) => fileSystemReader.recursiveReadDir(directory, exclude))
     ]);
     const UIKitFilesToLint = UIKitFilesByDirectory.reduce((allFiles, directoryFiles) => allFiles.concat(directoryFiles), []);
-    const ui = new cli_shared_1.CommandLineUI(() => false, undefined, undefined, undefined, () => false);
-    const createGraphQLClient = (auth) => {
-        const minimalGraphQLRunner = new cli_shared_1.MinimalGraphQLRunner(auth, graphqlGateway, undefined);
-        const graphQLRunner = new cli_shared_1.DebuggingGraphqlRunner(minimalGraphQLRunner, graphqlGateway, ui);
-        return new cli_shared_1.MutationAwareGraphQLClient(graphQLRunner);
-    };
-    const userRepository = new cli_shared_1.UserRepositoryImpl(createGraphQLClient, ui);
-    const credentialStore = (0, cli_shared_1.getCredentialStore)(ui, userRepository);
-    const authenticator = new cli_shared_1.PersonalTokenAuthenticator(credentialStore);
-    const graphqlGateway = (0, cli_shared_1.getGraphqlGateway)();
-    const graphQLClient = createGraphQLClient(authenticator);
     try {
-        const lintResults = await (0, lint_1.lint)([...filesToLint, ...UIKitFilesToLint], manifest, 'development', logger, statsigService, graphQLClient);
+        const lintResults = await (0, lint_1.lint)([...filesToLint, ...UIKitFilesToLint], manifest, 'development', logger, statsigService);
         if (lintResults.some((result) => result.size())) {
             logger.info('');
             (0, lint_1.reportLintResults)(logger, lintResults);
         }
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@forge/bundler",
-  "version": "7.0.2-next.3-experimental-c6a3916",
+  "version": "7.0.2-next.5",
   "description": "Default bundler for Forge apps",
   "license": "SEE LICENSE IN LICENSE.txt",
   "author": "Atlassian",
   "main": "out/index.js",
@@ -20,12 +20,12 @@
     "@babel/plugin-transform-optional-chaining": "^7.23.4",
     "@babel/plugin-transform-react-jsx": "^7.23.4",
     "@babel/traverse": "^7.24.0",
     "@babel/types": "^7.24.0",
-    "@forge/cli-shared": "9.2.0-next.3-experimental-c6a3916",
+    "@forge/cli-shared": "9.2.0-next.5",
     "@forge/i18n": "1.0.0",
-    "@forge/lint": "6.0.2-next.3-experimental-c6a3916",
-    "@forge/manifest": "13.1.1-next.2-experimental-c6a3916",
+    "@forge/lint": "6.0.2-next.5",
+    "@forge/manifest": "13.1.1-next.2",
     "babel-loader": "^8.3.0",
     "cheerio": "^1.2.0",
     "cross-spawn": "^7.0.6",
     "fs-extra": "^11.2.0",
Index: package/out/lint.d.ts.map
===================================================================
--- package/out/lint.d.ts.map
+++ package/out/lint.d.ts.map
@@ -1,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"}
\ No newline at end of file
+{"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"}
\ No newline at end of file
File too large for inline diff