feat: update package name and improve build workflow for versioned releases

This commit is contained in:
2026-03-01 16:06:12 +08:00
parent eaa30795db
commit 33db721df7
2 changed files with 31 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
{
"name": "anisette-js",
"name": "@lbr77/anisette-js",
"version": "0.1.0",
"description": "High-level JavaScript/TypeScript API for Apple Anisette headers via WASM",
"type": "module",
@@ -8,8 +8,8 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./src/browser.ts",
"node": "./src/index.ts"
"default": "./src/index.ts",
"browser": "./src/browser.ts"
}
},
"files": [
@@ -26,5 +26,13 @@
},
"dependencies": {
"@types/node": "^25.3.2"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com",
"access": "restricted"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lbr77/anisette-js.git"
}
}