chore: 移除 postinstall

pull/49/head
zjx0905 2023-04-17 19:50:32 +08:00
parent cbcc43ad77
commit b5730304ba
4 changed files with 5 additions and 6 deletions

View File

@ -27,7 +27,7 @@ jobs:
run: pnpm i
- name: Build Release Assets
run: pnpm build:asset
run: pnpm build:assets
- name: Create releaselog
run: pnpm releaselog

View File

@ -63,4 +63,4 @@ axios-miniprogram 是一款为小程序平台量身定制的轻量级请求库
## 未来计划
2023 年 6 月 1 日 起该库将不再内部支持第三方框架,内置的 uni-app 即将移除,您可以使用[适配器(https://axios-miniprogram.com/advanced/adapter)]兼容 uni-app。
2023 年 6 月 1 日 起该库将不再内部支持第三方框架,内置的 uni-app 即将移除,您依旧可以使用[适配器](https://axios-miniprogram.com/advanced/adapter)兼容 uni-app。

View File

@ -152,7 +152,7 @@ domain
});
```
- [domain.request(url, config?) | instance.request(config)](/basics/request)
- [domain.request(url, config?) | domain.request(config)](/basics/request)
- [domain.options(url, config?)](/method/OPTIONS)
- [domain.get(url, params?, config?)](/method/GET)
- [domain.head(url, params?, config?)](/method/HEAD)

View File

@ -27,7 +27,7 @@
"homepage": "https://axios-miniprogram.com",
"license": "MIT",
"scripts": {
"cz": "czg",
"cz": "simple-git-hooks && czg",
"build": "esno scripts/build.ts",
"build:assets": "esno scripts/build.assets.ts",
"watch": "pnpm build -a -w",
@ -43,8 +43,7 @@
"lint:fix": "pnpm lint --fix",
"docs:dev": "pnpm -C docs dev",
"docs:build": "pnpm -C docs build",
"docs:preview": "pnpm -C docs preview",
"postinstall": "simple-git-hooks"
"docs:preview": "pnpm -C docs preview"
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",