Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Commit daae06d

Browse files
committed
feat(backend): generate typescript sdk (#520)
Fixes RVTEE-654
1 parent 2bf993a commit daae06d

File tree

11 files changed

+508
-552
lines changed

11 files changed

+508
-552
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "rivet-sdk",
3+
"version": "1.0.0",
4+
"repository": {
5+
"type": "git",
6+
"url": "https://github.com/rivet-gg/rivet.git"
7+
},
8+
"scripts": {
9+
"build": "tsup",
10+
"prepare": "npm run build"
11+
},
12+
13+
"devDependencies": {
14+
"typescript": "^4.0 || ^5.0",
15+
"tsup": "^8.3.0"
16+
},
17+
18+
"tsup": {
19+
"entry": ["src/index.ts"],
20+
"format": ["esm", "cjs", "iife"],
21+
"sourcemap": true,
22+
"dts": true
23+
},
24+
25+
"files": ["dist"],
26+
"main": "./dist/index.js",
27+
"module": "./dist/index.mjs",
28+
"types": "./dist/index.d.ts",
29+
"browser": "./dist/index.global.js",
30+
"exports": {
31+
".": {
32+
"types": "./dist/index.d.ts",
33+
"import": "./dist/index.mjs",
34+
"require": "./dist/index.js"
35+
}
36+
}
37+
}

packages/backend/dynamic/sdk/typescript/runtime.ts

-304
This file was deleted.

0 commit comments

Comments
 (0)