3.0
Publish to npm / publish (push) Failing after 29s

This commit is contained in:
2026-04-08 01:07:10 +08:00
parent c100973590
commit d44938e456
17 changed files with 1574 additions and 1366 deletions
+44 -32
View File
@@ -1,46 +1,58 @@
{
"name": "@simcu/simapi",
"version": "1.0.1",
"description": "轻量 Vue3 HTTP 客户端库,基于 Axios + Pinia",
"main": "dist/simapi.umd.cjs",
"module": "dist/simapi.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "vite build",
"dev": "vite build --watch",
"types": "vue-tsc --declaration --emitDeclarationOnly",
"lint": "vue-tsc --noEmit"
},
"keywords": [
"vue3",
"pinia",
"http",
"axios",
"api",
"rest"
],
"version": "0.0.0-version-placeholder",
"description": "SimApi 统一前端 HTTP 客户端库,支持 Vue3 和常规 JS/TS 项目(基于原生 fetch",
"author": "simcu",
"license": "MIT",
"repository": {
"type": "git",
"url": "git@github.com:simcu/simapi-vue.git"
"url": "git@github.com:simcu/simapi-ts.git"
},
"keywords": [
"simapi",
"vue3",
"pinia",
"rxjs",
"http",
"fetch"
],
"files": [
"dist",
"simapi.core.ts",
"simapi.pinia.ts",
"README.md",
"package.json"
],
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/simapi.core.d.ts"
},
"./pinia": {
"import": "./dist/pinia.mjs",
"types": "./dist/simapi.pinia.d.ts"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/simapi.core.d.ts",
"scripts": {
"build": "npm run build:core && npm run build:pinia && npm run types",
"build:core": "vite build --config vite.core.config.ts",
"build:pinia": "vite build --config vite.pinia.config.ts",
"dev": "vite build --config vite.core.config.ts --watch",
"types": "tsc --declaration --emitDeclarationOnly --project tsconfig.build.json",
"lint": "tsc --noEmit"
},
"dependencies": {
"axios": "^1.6.0"
},
"peerDependencies": {
"vue": "^3.0.0",
"pinia": "^2.0.0"
"tslib": "^2.3.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.0",
"typescript": "^5.0.0",
"pinia": "^2.2.0",
"typescript": "~5.9.3",
"vite": "^5.0.0",
"vue": "^3.4.0",
"vue-tsc": "^2.0.0"
"vue": "^3.4.0"
}
}