vite 5.0.0-beta.0 → 5.0.0-beta.2

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": "vite",
3
- "version": "5.0.0-beta.0",
3
+ "version": "5.0.0-beta.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Evan You",
@@ -28,6 +28,9 @@
28
28
  "types": "./client.d.ts"
29
29
  },
30
30
  "./dist/client/*": "./dist/client/*",
31
+ "./types/*": {
32
+ "types": "./types/*"
33
+ },
31
34
  "./package.json": "./package.json"
32
35
  },
33
36
  "files": [
@@ -62,7 +65,7 @@
62
65
  "devDependencies": {
63
66
  "@ampproject/remapping": "^2.2.1",
64
67
  "@babel/parser": "^7.22.7",
65
- "@babel/types": "^7.22.5",
68
+ "@babel/types": "^7.22.17",
66
69
  "@jridgewell/trace-mapping": "^0.3.18",
67
70
  "@rollup/plugin-alias": "^4.0.4",
68
71
  "@rollup/plugin-commonjs": "^25.0.3",
@@ -74,6 +77,7 @@
74
77
  "@types/escape-html": "^1.0.2",
75
78
  "@types/pnpapi": "^0.0.2",
76
79
  "acorn": "^8.10.0",
80
+ "acorn-import-assertions": "^1.9.0",
77
81
  "acorn-walk": "^8.2.0",
78
82
  "cac": "^6.7.14",
79
83
  "chokidar": "^3.5.3",
@@ -102,7 +106,7 @@
102
106
  "okie": "^1.0.1",
103
107
  "open": "^8.4.2",
104
108
  "parse5": "^7.1.2",
105
- "periscopic": "^3.1.0",
109
+ "periscopic": "^4.0.2",
106
110
  "picocolors": "^1.0.0",
107
111
  "picomatch": "^2.3.1",
108
112
  "postcss-import": "^15.1.0",
@@ -114,14 +118,14 @@
114
118
  "source-map-support": "^0.5.21",
115
119
  "strip-ansi": "^7.1.0",
116
120
  "strip-literal": "^1.3.0",
117
- "tsconfck": "^2.1.2",
121
+ "tsconfck": "^3.0.0-next.8",
118
122
  "tslib": "^2.6.1",
119
123
  "types": "link:./types",
120
124
  "ufo": "^1.2.0",
121
125
  "ws": "^8.13.0"
122
126
  },
123
127
  "peerDependencies": {
124
- "@types/node": ">= 14",
128
+ "@types/node": "^18.0.0 || >=20.0.0",
125
129
  "less": "*",
126
130
  "lightningcss": "^1.21.0",
127
131
  "sass": "*",
@@ -159,7 +163,7 @@
159
163
  "build-types": "run-s build-types-temp build-types-pre-patch build-types-roll build-types-post-patch build-types-check",
160
164
  "build-types-temp": "tsc --emitDeclarationOnly --outDir temp/node -p src/node",
161
165
  "build-types-pre-patch": "tsx scripts/prePatchTypes.ts",
162
- "build-types-roll": "api-extractor run && rimraf temp",
166
+ "build-types-roll": "tsx scripts/api-extractor.ts run && rimraf temp",
163
167
  "build-types-post-patch": "tsx scripts/postPatchTypes.ts",
164
168
  "build-types-check": "tsx scripts/checkBuiltTypes.ts && tsc --project tsconfig.check.json",
165
169
  "typecheck": "tsc --noEmit",