@granite-js/mpack 1.0.23 → 1.0.24

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,14 @@
1
1
  # @granite-js/mpack
2
2
 
3
+ ## 1.0.24
4
+
5
+ ### Patch Changes
6
+
7
+ - 49caba8: Fix monorepo root detection for nested workspace apps.
8
+ - Updated dependencies [e58d561]
9
+ - @granite-js/plugin-core@1.0.24
10
+ - @granite-js/utils@1.0.24
11
+
3
12
  ## 1.0.23
4
13
 
5
14
  ### Patch Changes
@@ -40,7 +40,7 @@ async function getMonorepoRoot(basePath) {
40
40
  }
41
41
  let curr = basePath;
42
42
  while (curr !== import_path.default.dirname(curr)) {
43
- if (await isWorkspace(basePath)) {
43
+ if (await isWorkspace(curr)) {
44
44
  return curr;
45
45
  }
46
46
  curr = import_path.default.dirname(curr);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@granite-js/mpack",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "A bundler for Granite apps",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -92,8 +92,8 @@
92
92
  "@babel/traverse": "7.28.5",
93
93
  "@babel/types": "7.28.5",
94
94
  "@fastify/middie": "8.3.0",
95
- "@granite-js/plugin-core": "1.0.23",
96
- "@granite-js/utils": "1.0.23",
95
+ "@granite-js/plugin-core": "1.0.24",
96
+ "@granite-js/utils": "1.0.24",
97
97
  "@react-native-community/cli-plugin-metro": "11.3.7",
98
98
  "@react-native-community/cli-server-api": "11.3.7",
99
99
  "@react-native-community/cli-tools": "11.3.7",