@vite-hub/env 0.0.1 → 0.0.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,48 +1,39 @@
1
1
  {
2
2
  "name": "@vite-hub/env",
3
- "version": "0.0.1",
4
- "description": "Safe build and runtime environment variables for Vite and Nitro.",
5
- "author": "onmax <maximogarciamtnez@gmail.com>",
6
- "license": "Apache-2.0",
3
+ "version": "0.0.2",
4
+ "description": "Safe build and runtime environment variables for ViteHub.",
5
+ "keywords": [
6
+ "env",
7
+ "environment-variables",
8
+ "runtime-config",
9
+ "vite",
10
+ "vitehub"
11
+ ],
7
12
  "homepage": "https://github.com/vite-hub/vitehub#readme",
13
+ "bugs": "https://github.com/vite-hub/vitehub/issues",
14
+ "license": "Apache-2.0",
15
+ "author": "onmax <maximogarciamtnez@gmail.com>",
8
16
  "repository": {
9
17
  "type": "git",
10
18
  "url": "git+https://github.com/vite-hub/vitehub.git",
11
19
  "directory": "packages/env"
12
20
  },
13
- "bugs": "https://github.com/vite-hub/vitehub/issues",
14
- "keywords": [
15
- "vitehub",
16
- "vite",
17
- "nitro",
18
- "env",
19
- "environment-variables",
20
- "runtime-config"
21
+ "files": [
22
+ "dist",
23
+ "package.json"
21
24
  ],
22
- "sideEffects": false,
23
25
  "type": "module",
26
+ "sideEffects": false,
24
27
  "types": "./dist/index.d.ts",
25
28
  "exports": {
26
29
  ".": {
27
30
  "types": "./dist/index.d.ts",
28
31
  "import": "./dist/index.js"
29
32
  },
30
- "./nitro": {
31
- "types": "./dist/nitro.d.ts",
32
- "import": "./dist/nitro.js"
33
- },
34
- "./nuxt": {
35
- "types": "./dist/nuxt.d.ts",
36
- "import": "./dist/nuxt.js"
37
- },
38
33
  "./presets": {
39
34
  "types": "./dist/presets.d.ts",
40
35
  "import": "./dist/presets.js"
41
36
  },
42
- "./runtime/server": {
43
- "types": "./dist/runtime/server.d.ts",
44
- "import": "./dist/runtime/server.js"
45
- },
46
37
  "./schema": {
47
38
  "types": "./dist/schema.d.ts",
48
39
  "import": "./dist/schema.js"
@@ -51,6 +42,10 @@
51
42
  "types": "./dist/secret.d.ts",
52
43
  "import": "./dist/secret.js"
53
44
  },
45
+ "./server": {
46
+ "types": "./dist/server.d.ts",
47
+ "import": "./dist/server.js"
48
+ },
54
49
  "./virtual": {
55
50
  "types": "./dist/virtual.d.ts",
56
51
  "import": "./dist/virtual.js"
@@ -61,40 +56,32 @@
61
56
  },
62
57
  "./package.json": "./package.json"
63
58
  },
64
- "files": [
65
- "dist",
66
- "package.json"
67
- ],
68
59
  "dependencies": {
69
- "@nuxt/kit": "^4.4.6"
60
+ "@vite-hub/runtime": "0.0.2"
61
+ },
62
+ "devDependencies": {
63
+ "publint": "^0.3.21",
64
+ "typescript": "^6.0.3",
65
+ "vite": "^8.0.8",
66
+ "vite-plus": "^0.1.24",
67
+ "vitest": "^4.1.4",
68
+ "@vite-hub/internal": "0.0.1"
70
69
  },
71
70
  "peerDependencies": {
72
- "nitro": "^3.0.0-0",
73
- "vite": ">=6.0.0"
71
+ "vite": ">=8.0.0"
74
72
  },
75
73
  "peerDependenciesMeta": {
76
- "nitro": {
77
- "optional": true
78
- },
79
74
  "vite": {
80
75
  "optional": true
81
76
  }
82
77
  },
83
- "devDependencies": {
84
- "@nuxt/schema": "^4.4.6",
85
- "nitro": "3.0.260311-beta",
86
- "publint": "^0.3.15",
87
- "tsdown": "^0.21.8",
88
- "tsx": "^4.21.0",
89
- "typescript": "^6.0.2",
90
- "vite": "^8.0.8",
91
- "vitest": "^4.1.4",
92
- "@vite-hub/internal": "0.0.1"
78
+ "engines": {
79
+ "node": ">=24.0.0"
93
80
  },
94
81
  "scripts": {
95
- "build": "tsdown --tsconfig tsconfig.build.json",
96
- "dev": "tsdown --watch",
82
+ "build": "vp pack",
83
+ "dev": "vp pack --watch",
97
84
  "typecheck": "tsc --noEmit -p ./tsconfig.json",
98
- "test": "pnpm --filter @vite-hub/env build && vitest run"
85
+ "test": "vp run -t @vite-hub/env#build && vp test"
99
86
  }
100
87
  }