mirror of
https://github.com/ryanwtf7/hianime-api.git
synced 2026-04-17 13:31:44 +00:00
fix: rename ghcr package to hianime-v2 and implement vercel bubbling
This commit is contained in:
2
.github/workflows/package.yml
vendored
2
.github/workflows/package.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ghcr.io/${{ github.repository }}
|
||||
images: ghcr.io/${{ github.repository_owner }}/hianime-api
|
||||
tags: |
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hianime-api",
|
||||
"version": "2.0.1",
|
||||
"version": "2.1.0",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -23,7 +23,8 @@
|
||||
"test:ui": "vitest --ui",
|
||||
"test:jest": "NODE_OPTIONS='--experimental-vm-modules' jest",
|
||||
"test:all": "bun run test && bun run test:jest",
|
||||
"clean": "rm -rf dist node_modules/.cache"
|
||||
"clean": "rm -rf dist node_modules/.cache",
|
||||
"vercel-build": "bun build api/index.ts --outfile api/index.js --target node"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hono/node-server": "^1.8.2",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/(.*)",
|
||||
"destination": "/api"
|
||||
"destination": "/api/index.js"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user