Skip to content

Commit 7f66ca8

Browse files
authored
feat: add python/uv-build route (#2)
* chore: remove yarn lock * chore: upgrade dependencies * chore: init node-server * refactor: reorganize routing and improve GitHub token handling * feat: update Octokit methods and enhance Python build handling * refactor: update transformBuilds to use array instead of object for transformed builds * feat: implement caching mechanism for Python SDK endpoints * feat: add FTP and pyenv endpoints with caching support * chore: update structure * feat: enhance error handling and assert function with HTTP status support
1 parent b7755ad commit 7f66ca8

18 files changed

Lines changed: 1089 additions & 517 deletions

.yarn/install-state.gz

-113 KB
Binary file not shown.

.yarnrc.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,44 @@
11
# version-vault
22

3+
## Usage
34
Get sdk versions
45

5-
## pyenv versions
6+
### pyenv versions
67

78
```sh
8-
curl https://version-vault.cdn.dog/pyenv-versions
9+
curl https://version-vault.cdn.dog/python/pyenv
910
```
11+
12+
## Development
13+
14+
Install dependencies:
15+
16+
```sh
17+
pnpm install
18+
```
19+
20+
### Node.js
21+
22+
Simply run:
23+
```sh
24+
pnpm run dev
25+
```
26+
27+
### Workers
28+
29+
Login to CloudFlare:
30+
31+
```sh
32+
pnpx wrangler login
33+
```
34+
35+
Create .env:
36+
```
37+
echo "GITHUB_TOKEN=$GITHUB_TOKEN" >> .env
38+
```
39+
40+
Run dev:
41+
42+
```sh
43+
pnpm run workers:dev
44+
```

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
1010
"workers:dev": "wrangler dev"
1111
},
1212
"devDependencies": {
13-
"@cloudflare/workers-types": "^4.20250109.0",
14-
"wrangler": "^3.105.1",
15-
"@opensumi/cfworker-builder": "^1.0.3"
13+
"@cloudflare/workers-types": "4.20251014.0",
14+
"@opensumi/cfworker-builder": "^1.0.3",
15+
"wrangler": "^4.43.0"
1616
},
1717
"dependencies": {
18-
"hono": "^4.6.18"
18+
"@hono/node-server": "^1.19.5",
19+
"hono": "^4.10.1",
20+
"tsx": "^4.20.6"
1921
}
2022
}

0 commit comments

Comments
 (0)