-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bc65b04
commit 757b985
Showing
12 changed files
with
825 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": [ | ||
"@changesets/changelog-github", | ||
{ | ||
"repo": "mengqiuleo/axios-plugin" | ||
} | ||
], | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "restricted", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# https://docs.github.com/en/actions/using-workflows/about-workflows | ||
# 整个工作流的名称 | ||
name: Release | ||
|
||
# 监听 main 分支的 push 事件(有更新时) | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
# 所有的 jobs | ||
jobs: | ||
# 定义一个名为 release 的 job | ||
release: | ||
# 指定运行所需要的虚拟机环境(必填) | ||
runs-on: ubuntu-latest | ||
# 定义步骤 | ||
steps: | ||
# https://github.com/actions/checkout | ||
# 拉取代码 | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
|
||
# https://github.com/actions/setup-node | ||
# 安装 node | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.x | ||
|
||
# https://github.com/pnpm/action-setup | ||
# 安装 pnpm | ||
- name: Setup Pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 9.x | ||
|
||
# https://pnpm.io/zh/cli/install#--frozen-lockfile | ||
# 如果缓存没有命中,安装依赖 | ||
- name: Install dependencies | ||
run: pnpm install --no-frozen-lockfile --ignore-scripts | ||
|
||
# https://github.com/changesets/action | ||
# 自动创建发布 PR 和 发布 npm | ||
- name: Create Release Pull Request or Publish to npm | ||
uses: changesets/action@v1 | ||
# 参数配置 | ||
with: | ||
publish: pnpm release | ||
version: pnpm change:version | ||
commit: 'chore: version packages' | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# @axios-plugin/core | ||
|
||
## 1.0.0 | ||
|
||
### Major Changes | ||
|
||
- refactor all packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# @axios-plugin/retry | ||
|
||
## 1.0.0 | ||
|
||
### Major Changes | ||
|
||
- refactor all packages | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies []: | ||
- @axios-plugin/core@1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# @axios-plugin/throttle | ||
|
||
## 1.0.0 | ||
|
||
### Major Changes | ||
|
||
- refactor all packages | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies []: | ||
- @axios-plugin/core@1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.