Skip to content

Commit 6052512

Browse files
committed
chore: release v1.0.0
1 parent 4ed93af commit 6052512

File tree

2 files changed

+37
-6
lines changed

2 files changed

+37
-6
lines changed

.github/workflows/npm.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Publishing to NPM
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v1
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: 12
14+
- run: npm install
15+
- id: publish
16+
uses: JS-DevTools/npm-publish@v1
17+
with:
18+
token: ${{ secrets.NPM_TOKEN }}
19+
- if: steps.publish.outputs.type != 'none'
20+
run: |
21+
echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"

package.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,28 @@
11
{
22
"name": "eslint-plugin-check-file",
3-
"version": "0.0.0",
4-
"description": "ESLint rules for consistent filename and folder",
3+
"version": "1.0.0",
4+
"description": "ESLint rules for consistent filename and folder. Allows you to enforce a consistent naming pattern for the filename and folder",
55
"keywords": [
66
"eslint",
77
"eslintplugin",
88
"eslint-plugin",
99
"folder",
1010
"path",
1111
"file",
12-
"filename"
12+
"filename",
13+
"glob-matching",
14+
"naming-conventions"
1315
],
14-
"author": "Duke Luo <dukeluo@outlook.com>",
16+
"repository": {
17+
"type": "git",
18+
"url": "git+https://github.com/DukeLuo/eslint-plugin-check-file.git"
19+
},
20+
"author": "Duke Luo <dukeluo@outlook.com> (https://dukeluo.me)",
21+
"license": "Apache-2.0",
22+
"bugs": {
23+
"url": "https://github.com/DukeLuo/eslint-plugin-check-file/issues"
24+
},
25+
"homepage": "https://github.com/DukeLuo/eslint-plugin-check-file",
1526
"main": "lib/index.js",
1627
"scripts": {
1728
"lint": "eslint .",
@@ -36,6 +47,5 @@
3647
},
3748
"peerDependencies": {
3849
"eslint": ">=6"
39-
},
40-
"license": "Apache-2.0"
50+
}
4151
}

0 commit comments

Comments
 (0)