@forge/bundler

7.3.0-next.27.3.0-next.3
~

Modified (4 files)

Index: package/out/lint.js
===================================================================
--- package/out/lint.js
+++ package/out/lint.js
@@ -11,9 +11,9 @@
     const exclude = [...(await (0, cli_shared_1.listGitIgnoreFiles)(fileSystemReader)), '.git', common_1.NODE_MODULES_DIR];
     const configFile = new cli_shared_1.ConfigFile(fileSystemReader, fileSystemWriter);
     const manifest = await configFile.readConfig();
     const UIKitResources = await configFile.getResources(['nativeUI']);
-    const UIKitDirectories = UIKitResources.map((resource) => path_1.default.dirname(resource.path));
+    const UIKitDirectories = UIKitResources.map((resource) => resource.entry ? resource.path : path_1.default.dirname(resource.path));
     const [filesToLint, ...UIKitFilesByDirectory] = await Promise.all([
         fileSystemReader.recursiveReadDir('./src', exclude),
         ...UIKitDirectories.map((directory) => fileSystemReader.recursiveReadDir(directory, exclude))
     ]);
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@forge/bundler",
-  "version": "7.3.0-next.2",
+  "version": "7.3.0-next.3",
   "description": "Default bundler for Forge apps",
   "license": "SEE LICENSE IN LICENSE.txt",
   "author": "Atlassian",
   "main": "out/index.js",
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,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"}
\ 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,CA6Cf"}
\ No newline at end of file
File too large for inline diff