|
1 | 1 | { |
2 | | - "name": "@rewritejs/sdk", |
| 2 | + "name": "@rewritetoday/sdk", |
| 3 | + "version": "1.0.0", |
| 4 | + "repository": { |
| 5 | + "type": "git", |
| 6 | + "url": "git+https://github.com/rewritetoday/node.git" |
| 7 | + }, |
| 8 | + "main": "./dist/index.js", |
3 | 9 | "module": "src/index.ts", |
4 | | - "type": "module", |
5 | | - "private": false, |
6 | | - "version": "1.0.1", |
7 | 10 | "devDependencies": { |
8 | 11 | "@biomejs/biome": "^2.4.2", |
9 | 12 | "@types/bun": "latest" |
10 | 13 | }, |
11 | 14 | "peerDependencies": { |
12 | 15 | "typescript": "^5.9.3" |
13 | 16 | }, |
14 | | - "dependencies": { |
15 | | - "@rewritejs/rest": "^1.0.2", |
16 | | - "@rewritejs/types": "^1.0.0" |
| 17 | + "description": "An ergonomic SDK to integrate with Rewrite in your workflow", |
| 18 | + "engines": { |
| 19 | + "node": ">=18", |
| 20 | + "bun": ">=1.0.0" |
17 | 21 | }, |
18 | | - "main": "./dist/index.js", |
19 | | - "types": "./dist/index.d.ts", |
20 | 22 | "files": [ |
21 | 23 | "dist" |
22 | 24 | ], |
|
26 | 28 | "url": "https://github.com/almeidazs" |
27 | 29 | } |
28 | 30 | ], |
| 31 | + "private": false, |
| 32 | + "publishConfig": { |
| 33 | + "access": "public" |
| 34 | + }, |
29 | 35 | "scripts": { |
30 | 36 | "test": "bun test", |
31 | 37 | "biome:check": "biome check --write .", |
32 | 38 | "build": "rm -rf dist && bun run scripts/version.ts && bun biome:check && bun build src/index.ts --outdir dist --target node && bun run types", |
33 | 39 | "types": "bunx tsc --emitDeclarationOnly", |
34 | 40 | "prepublishOnly": "bun run build" |
35 | 41 | }, |
36 | | - "engines": { |
37 | | - "node": ">=18", |
38 | | - "bun": ">=1.0.0" |
39 | | - }, |
40 | | - "repository": { |
41 | | - "type": "git", |
42 | | - "url": "git+https://github.com/rewritetoday/node.git" |
43 | | - }, |
44 | | - "publishConfig": { |
45 | | - "access": "public" |
46 | | - }, |
47 | | - "description": "An ergonomic SDK to integrate with Rewrite in your workflow" |
| 42 | + "type": "module", |
| 43 | + "types": "./dist/index.d.ts", |
| 44 | + "dependencies": { |
| 45 | + "@rewritetoday/rest": "^1.0.0", |
| 46 | + "@rewritetoday/types": "^1.0.0" |
| 47 | + } |
48 | 48 | } |
0 commit comments