From 9681d8651f529f68ae0e3cc7cde54aff94f02c3a Mon Sep 17 00:00:00 2001 From: "Alexis H. Munsayac" Date: Sat, 3 Feb 2024 17:17:21 +0800 Subject: [PATCH] Fix types --- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- src/index.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index c95a2a9..9cffc42 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "@types/babel__core": "^7.20.4", "babel-preset-solid": "^1.8.4", "merge-anything": "^5.1.7", - "solid-refresh": "^0.7.0", + "solid-refresh": "^0.7.1", "vitefu": "^0.2.5" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3b0d9fe..b035dba 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,8 +21,8 @@ dependencies: specifier: ^5.1.7 version: 5.1.7 solid-refresh: - specifier: ^0.7.0 - version: 0.7.0(solid-js@1.8.5) + specifier: ^0.7.1 + version: 0.7.1(solid-js@1.8.5) vitefu: specifier: ^0.2.5 version: 0.2.5(vite@5.0.0) @@ -2503,8 +2503,8 @@ packages: csstype: 3.1.3 seroval: 0.12.4 - /solid-refresh@0.7.0(solid-js@1.8.5): - resolution: {integrity: sha512-npG8PN2M4JBJoao6KCK0UisjDViClW7V/8GoezJyV3W12GXCMPy1okpLWBr9qvbsuwhCRL1s1rKFlPOaQw6XNg==} + /solid-refresh@0.7.1(solid-js@1.8.5): + resolution: {integrity: sha512-0TNopABT/dfMOdgJg3uaGXz+QzDDV8gDA6ws5PlYyK9C1mOX5YSL2f1J1MbqrGSKyt5jquGctazD3O4B0HLI5A==} peerDependencies: solid-js: ^1.3 dependencies: diff --git a/src/index.ts b/src/index.ts index d257712..8a9c732 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,7 @@ import { mergeAndConcat } from 'merge-anything'; import { createRequire } from 'module'; import solidRefresh from 'solid-refresh/babel'; // TODO use proper path -import type { Options as RefreshOptions } from 'solid-refresh/dist/types/src/babel/core/types'; +import type { Options as RefreshOptions } from 'solid-refresh/babel'; import { createFilter } from 'vite'; import type { Alias, AliasOptions, Plugin, FilterPattern } from 'vite'; import { crawlFrameworkPkgs } from 'vitefu';