Skip to content

Commit

Permalink
feat(BREAKING): remove npm publish
Browse files Browse the repository at this point in the history
BREAKING CHANGE: remove npm publish

```diff
- npm install @axetroy/whatchanged -g
```
  • Loading branch information
axetroy committed Oct 3, 2021
1 parent 4282414 commit 307a4ad
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 183 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,3 @@ jobs:
args: release --rm-dist --release-notes=./release.md
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Prepare publish
env:
GITHUB_REF: ${{ github.ref }}
run: |
cp README.md ./npm/README.md
cp release.md ./npm/CHANGELOG.md
cp LICENSE ./npm/LICENSE
node ./npm/scripts/bump.js
- name: Publish to NPM
uses: JS-DevTools/npm-publish@v1
with:
package: ./npm/package.json
token: ${{ secrets.NPM_TOKEN }}
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,6 @@ SOURCE CODE:

### Installation

#### Install via npm

```bash
# install in global
npm install -g @whatchanged-community/whatchanged
# run the command once
npx @whatchanged-community/whatchanged
```

#### Install via shell

If you are using Linux/macOS. you can install it with the following command:
Expand Down
11 changes: 1 addition & 10 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
特性:

- [x] 跨平台支持
- [x] 生成 本地/远程 的git仓库
- [x] 生成 本地/远程 的 git 仓库
- [x] 内置预设的生成模板
- [x] 自定义模版文件
- [x] 常规的 commit 解析器
Expand Down Expand Up @@ -120,15 +120,6 @@ SOURCE CODE:

### 安装

#### 通过 npm 安装

```bash
# install in global
npm install -g @whatchanged-community/whatchanged
# run the command once
npx @whatchanged-community/whatchanged
```

#### 通过 shell 安装

如果你使用的是 Linux/macOS,你可以通过以下命令进行安装
Expand Down
4 changes: 0 additions & 4 deletions npm/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions npm/.npmignore

This file was deleted.

30 changes: 0 additions & 30 deletions npm/bin/whatchanged

This file was deleted.

Empty file removed npm/download/.gitkeep
Empty file.
26 changes: 0 additions & 26 deletions npm/package.json

This file was deleted.

14 changes: 0 additions & 14 deletions npm/scripts/bump.js

This file was deleted.

68 changes: 0 additions & 68 deletions npm/scripts/postinstall.js

This file was deleted.

0 comments on commit 307a4ad

Please sign in to comment.