@vite-env/core 0.6.1 → 0.6.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.
Files changed (1) hide show
  1. package/package.json +23 -11
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/vitejs/vite-plugin-registry/refs/heads/main/data/schema/extended-package-json.schema.json",
3
3
  "name": "@vite-env/core",
4
- "version": "0.6.1",
4
+ "version": "0.6.2",
5
5
  "description": "The env.ts layer for Vite — define once, validate everywhere, import with types",
6
6
  "keywords": [
7
7
  "dotenv",
8
8
  "env",
9
9
  "environment-variables",
10
- "rolldown",
11
10
  "standard-schema",
12
11
  "typescript",
13
12
  "validation",
@@ -136,8 +135,6 @@
136
135
  "scripts": {
137
136
  "build": "tsdown",
138
137
  "dev": "tsdown --watch",
139
- "postpack": "bun ../../scripts/rewrite-deps.ts restore",
140
- "prepack": "bun run build && bun ../../scripts/rewrite-deps.ts rewrite",
141
138
  "test": "vitest run",
142
139
  "typecheck": "tsc --noEmit"
143
140
  },
@@ -146,13 +143,13 @@
146
143
  "jiti": "^2.6.1"
147
144
  },
148
145
  "devDependencies": {
149
- "@types/node": "catalog:dev",
150
- "@vitest/coverage-v8": "catalog:dev",
151
- "tsdown": "catalog:dev",
152
- "typescript": "catalog:dev",
153
- "vite": "catalog:dev",
154
- "vitest": "catalog:dev",
155
- "zod": "catalog:dev"
146
+ "@types/node": "^25.9.2",
147
+ "@vitest/coverage-v8": "^4.1.8",
148
+ "tsdown": "^0.21.7",
149
+ "typescript": "^6.0.3",
150
+ "vite": "^8.0.8",
151
+ "vitest": "^4.1.8",
152
+ "zod": "^4.3.6"
156
153
  },
157
154
  "peerDependencies": {
158
155
  "vite": ">=8.0.0",
@@ -165,5 +162,20 @@
165
162
  },
166
163
  "engines": {
167
164
  "node": ">=20.19.0"
165
+ },
166
+ "compatiblePackages": {
167
+ "schemaVersion": 1,
168
+ "vite": {
169
+ "type": "compatible",
170
+ "versions": ">=8.0.0"
171
+ },
172
+ "rollup": {
173
+ "type": "incompatible",
174
+ "reason": "Uses Vite-specific hooks (configResolved, configureServer) and APIs (ResolvedConfig, Environment API) not available in standalone Rollup."
175
+ },
176
+ "rolldown": {
177
+ "type": "incompatible",
178
+ "reason": "Uses Vite-specific hooks (configResolved, configureServer) and APIs (ResolvedConfig, Environment API) not available in standalone Rolldown."
179
+ }
168
180
  }
169
181
  }