@shopify/cli-hydrogen 8.1.0 → 8.1.1

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.
@@ -1,5 +1,22 @@
1
1
  # skeleton
2
2
 
3
+ ## 2024.4.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix paths on Windows. ([#2243](https://github.com/Shopify/hydrogen/pull/2243)) by [@michenly](https://github.com/michenly)
8
+
9
+ - Updated dependencies [[`31452380`](https://github.com/Shopify/hydrogen/commit/31452380340e079cd4ec1f8c10cdab5e5313e921)]:
10
+ - @shopify/hydrogen@2024.4.5
11
+ - @shopify/cli-hydrogen@8.1.1
12
+
13
+ ## 2024.4.6
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [[`707afb96`](https://github.com/Shopify/hydrogen/commit/707afb96fd1ef64a59a14182f60ca61718b372d1)]:
18
+ - @shopify/hydrogen@2024.4.4
19
+
3
20
  ## 2024.4.5
4
21
 
5
22
  ### Patch Changes
@@ -2,7 +2,7 @@
2
2
  "name": "skeleton",
3
3
  "private": true,
4
4
  "sideEffects": false,
5
- "version": "2024.4.5",
5
+ "version": "2024.4.7",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "build": "shopify hydrogen build --codegen",
@@ -17,8 +17,8 @@
17
17
  "@remix-run/react": "^2.9.2",
18
18
  "@remix-run/server-runtime": "^2.9.2",
19
19
  "@shopify/cli": "3.60.0",
20
- "@shopify/cli-hydrogen": "^8.1.0",
21
- "@shopify/hydrogen": "2024.4.3",
20
+ "@shopify/cli-hydrogen": "^8.1.1",
21
+ "@shopify/hydrogen": "2024.4.5",
22
22
  "@shopify/remix-oxygen": "^2.0.4",
23
23
  "graphql": "^16.6.0",
24
24
  "graphql-tag": "^2.12.6",
@@ -1,4 +1,5 @@
1
1
  import { createRequire } from 'node:module';
2
+ import { pathToFileURL } from 'node:url';
2
3
  import { findUpAndReadPackageJson } from '@shopify/cli-kit/node/node-package-manager';
3
4
  import { joinPath, dirname } from '@shopify/cli-kit/node/path';
4
5
 
@@ -11,11 +12,11 @@ async function importVite(root) {
11
12
  dirname(vitePackageJson.path),
12
13
  viteNodeIndexFile
13
14
  );
14
- return import(viteNodePath);
15
+ return import(pathToFileURL(viteNodePath).href);
15
16
  }
16
17
  function importLocal(packageName, path) {
17
18
  const realPath = require2.resolve(packageName, { paths: [path] });
18
- return import(realPath);
19
+ return import(pathToFileURL(realPath).href);
19
20
  }
20
21
 
21
22
  export { importLocal, importVite };
@@ -1667,5 +1667,5 @@
1667
1667
  ]
1668
1668
  }
1669
1669
  },
1670
- "version": "8.1.0"
1670
+ "version": "8.1.1"
1671
1671
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "@shopify:registry": "https://registry.npmjs.org"
6
6
  },
7
- "version": "8.1.0",
7
+ "version": "8.1.1",
8
8
  "license": "MIT",
9
9
  "type": "module",
10
10
  "scripts": {