@vercel/v0 0.0.1-alpha.1

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 ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@vercel/v0",
3
+ "version": "0.0.1-alpha.1",
4
+ "description": "Official v0 SDK for programmatic access to v0.app",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "license": "MIT",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/vercel/v0.git",
12
+ "directory": "packages/cloud-sdk"
13
+ },
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "keywords": [
18
+ "v0",
19
+ "vercel",
20
+ "ai",
21
+ "sdk",
22
+ "api"
23
+ ],
24
+ "type": "module",
25
+ "main": "./dist/index.js",
26
+ "module": "./dist/index.js",
27
+ "types": "./dist/index.d.ts",
28
+ "exports": {
29
+ ".": {
30
+ "import": {
31
+ "types": "./dist/index.d.ts",
32
+ "default": "./dist/index.js"
33
+ },
34
+ "require": {
35
+ "types": "./dist/index.d.cts",
36
+ "default": "./dist/index.cjs"
37
+ }
38
+ }
39
+ },
40
+ "scripts": {
41
+ "dev": "tsup --watch",
42
+ "build": "tsup && pnpm build:types",
43
+ "build:types": "dts-bundle-generator -o dist/index.d.ts src/index.ts --project tsconfig.json --no-check && cp dist/index.d.ts dist/index.d.cts",
44
+ "type-check": "tsc --noEmit",
45
+ "clean": "rimraf dist",
46
+ "pub:beta": "pnpm build && pnpm publish --no-git-checks --access public --tag beta",
47
+ "pub:next": "pnpm build && pnpm publish --no-git-checks --access public --tag next",
48
+ "pub:release": "pnpm build && pnpm publish --access public"
49
+ },
50
+ "dependencies": {
51
+ "zod": "4.3.5"
52
+ },
53
+ "devDependencies": {
54
+ "@internal/shared": "workspace:*",
55
+ "@typescript/native-preview": "7.0.0-dev.20251211.1",
56
+ "dts-bundle-generator": "^9.5.1",
57
+ "rimraf": "^5.0.1",
58
+ "tsconfig": "workspace:*",
59
+ "tsup": "^6.6.3",
60
+ "typescript": "5.9.3"
61
+ },
62
+ "peerDependencies": {
63
+ "zod": ">=3.0.0"
64
+ },
65
+ "peerDependenciesMeta": {
66
+ "zod": {
67
+ "optional": true
68
+ }
69
+ }
70
+ }