create-packer 1.14.1 → 1.14.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-packer",
3
- "version": "1.14.1",
3
+ "version": "1.14.3",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/kevily/create-packer",
6
6
  "author": "1k <bug_zero@163.com>",
@@ -38,6 +38,7 @@
38
38
  "@testing-library/user-event": "14.4.3",
39
39
  "@types/jest": "29.5.1",
40
40
  "@types/lodash-es": "4.17.7",
41
+ "@types/node": "^18.16.0",
41
42
  "@types/react": "18.0.38",
42
43
  "@types/react-dom": "18.0.11",
43
44
  "@types/testing-library__jest-dom": "5.14.5",
@@ -1,11 +1,5 @@
1
1
  /// <reference types="vite/client" />
2
2
 
3
- declare module '*.vue' {
4
- import type { DefineComponent } from 'vue'
5
- const component: DefineComponent<{}, {}, any>
6
- export default component
7
- }
8
-
9
3
  interface ImportMetaEnv {
10
4
  readonly VITE_API_HOST: string
11
5
  // 更多环境变量...
@@ -1,7 +1,7 @@
1
+ import path from 'path'
1
2
  import { defineConfig } from 'vite'
2
3
  import react from '@vitejs/plugin-react'
3
4
  import eslint from 'vite-plugin-eslint'
4
- import path from 'path'
5
5
 
6
6
  // https://vitejs.dev/config/
7
7
  export default defineConfig(({ command }) => {