@granite-js/plugin-core 0.1.28 → 0.1.30

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,18 @@
1
1
  # @granite-js/plugin-core
2
2
 
3
+ ## 0.1.30
4
+
5
+ ### Patch Changes
6
+
7
+ - @granite-js/utils@0.1.30
8
+
9
+ ## 0.1.29
10
+
11
+ ### Patch Changes
12
+
13
+ - ed4cdbf: support additional metro config options from granite.config.ts
14
+ - @granite-js/utils@0.1.29
15
+
3
16
  ## 0.1.28
4
17
 
5
18
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -457,6 +457,7 @@ type ReportableEvent = {
457
457
  status: WatcherStatus;
458
458
  };
459
459
  interface MetroConfig {
460
+ readonly projectRoot?: string;
460
461
  readonly watchFolders?: string[];
461
462
  readonly cacheStores?: any;
462
463
  readonly resolver?: Partial<ResolverConfig$1>;
@@ -490,6 +491,7 @@ interface AdditionalMetroConfig extends MetroConfig {
490
491
  reporter?: MetroConfig['reporter'];
491
492
  babelConfig?: babel.TransformOptions;
492
493
  transformSync?: (id: string, code: string) => string;
494
+ projectRoot?: MetroConfig['projectRoot'];
493
495
  }
494
496
 
495
497
  //#endregion
package/dist/index.d.ts CHANGED
@@ -457,6 +457,7 @@ type ReportableEvent = {
457
457
  status: WatcherStatus;
458
458
  };
459
459
  interface MetroConfig {
460
+ readonly projectRoot?: string;
460
461
  readonly watchFolders?: string[];
461
462
  readonly cacheStores?: any;
462
463
  readonly resolver?: Partial<ResolverConfig$1>;
@@ -490,6 +491,7 @@ interface AdditionalMetroConfig extends MetroConfig {
490
491
  reporter?: MetroConfig['reporter'];
491
492
  babelConfig?: babel.TransformOptions;
492
493
  transformSync?: (id: string, code: string) => string;
494
+ projectRoot?: MetroConfig['projectRoot'];
493
495
  }
494
496
 
495
497
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@granite-js/plugin-core",
3
3
  "type": "module",
4
- "version": "0.1.28",
4
+ "version": "0.1.30",
5
5
  "description": "The core plugin module for Granite",
6
6
  "scripts": {
7
7
  "prepack": "yarn build",
@@ -40,7 +40,7 @@
40
40
  "vitest": "^3.0.9"
41
41
  },
42
42
  "dependencies": {
43
- "@granite-js/utils": "0.1.28",
43
+ "@granite-js/utils": "0.1.30",
44
44
  "@swc/core": "1.5.24",
45
45
  "@types/babel__core": "^7",
46
46
  "@types/connect": "^3",