Skip to content

Commit 192ed74

Browse files
committed
add release-it
1 parent d512d39 commit 192ed74

File tree

3 files changed

+1464
-141
lines changed

3 files changed

+1464
-141
lines changed

.gitignore

Lines changed: 65 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,78 @@
1-
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
2-
3-
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,macos,linux,sass,vue,vuejs
4-
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,macos,linux,sass,vue,vuejs
5-
6-
### Linux ###
7-
*~
8-
9-
# temporary files which can be created if a process still has a handle open of a deleted file
10-
.fuse_hidden*
11-
12-
# KDE directory preferences
13-
.directory
14-
15-
# Linux trash folder which might appear on any partition or disk
16-
.Trash-*
17-
18-
# .nfs files are created when an open file is removed but is still being accessed
19-
.nfs*
20-
21-
### macOS ###
22-
# General
23-
.DS_Store
24-
.AppleDouble
25-
.LSOverride
26-
27-
# Icon must end with two \r
28-
Icon
29-
30-
# Thumbnails
1+
!.vscode/extensions.json
2+
!.vscode/launch.json
3+
!.vscode/settings.json
4+
!.vscode/tasks.json
315
._*
32-
33-
# Files that might appear in the root of a volume
6+
.apdisk
7+
.AppleDB
8+
.AppleDesktop
9+
.AppleDouble
10+
.cache
11+
.cache/
12+
.com.apple.timemachine.donotpresent
13+
.directory
3414
.DocumentRevisions-V100
15+
.DS_Store
16+
.dynamodb/
17+
.env
18+
.env.test
19+
.eslintcache
3520
.fseventsd
21+
.fuse_hidden*
22+
.fusebox/
23+
.grunt
24+
.history
25+
.lock-wscript
26+
.LSOverride
27+
.next
28+
.nfs*
29+
.node_repl_history
30+
.npm
31+
.npmrc
32+
.nuxt
33+
.nyc_output
34+
.rpt2_cache/
35+
.rts2_cache_cjs/
36+
.rts2_cache_es/
37+
.rts2_cache_umd/
38+
.serverless/
3639
.Spotlight-V100
3740
.TemporaryItems
41+
.tern-port
42+
.Trash-*
3843
.Trashes
3944
.VolumeIcon.icns
40-
.com.apple.timemachine.donotpresent
41-
42-
# Directories potentially created on remote AFP share
43-
.AppleDB
44-
.AppleDesktop
45-
Network Trash Folder
46-
Temporary Items
47-
.apdisk
48-
49-
### Sass ###
50-
.sass-cache/
51-
*.css.map
52-
*.sass.map
53-
*.scss.map
54-
55-
### VisualStudioCode ###
45+
.vscode-test
5646
.vscode/*
57-
!.vscode/settings.json
58-
!.vscode/tasks.json
59-
!.vscode/launch.json
60-
!.vscode/extensions.json
47+
.vuepress/dist
48+
.yarn-integrity
6149
*.code-workspace
62-
63-
### VisualStudioCode Patch ###
64-
# Ignore all local history of files
65-
.history
66-
67-
### Vuejs ###
68-
# Recommended template: Node.gitignore
69-
50+
*.lcov
51+
*.log
52+
*.pid
53+
*.pid.lock
54+
*.seed
55+
*.tgz
56+
*.tsbuildinfo
57+
*~
58+
bower_components
59+
build/Release
60+
coverage
61+
dist
62+
dist/
63+
docs/_book
64+
Icon
65+
jspm_packages/
66+
lerna-debug.log*
67+
lib-cov
68+
logs
69+
Network Trash Folder
7070
node_modules/
71-
#dist/
72-
73-
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,macos,linux,sass,vue,vuejs
74-
75-
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
76-
77-
# local env files
78-
.env.local
79-
.env.*.local
80-
81-
# Log files
8271
npm-debug.log*
72+
pids
73+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
74+
Temporary Items
75+
test/
76+
typings/
8377
yarn-debug.log*
8478
yarn-error.log*
85-
pnpm-debug.log*
86-
87-
# Editor directories and files
88-
.idea
89-
.vscode
90-
*.suo
91-
*.ntvs*
92-
*.njsproj
93-
*.sln
94-
*.sw?

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"scripts": {
1515
"dev": "rollup -c --watch",
1616
"build": "bili src/index.js; yarn todo",
17-
"todo": "leasot -x --reporter markdown 'src/**/*' > TODO.md"
17+
"todo": "leasot -x --reporter markdown 'src/**/*' > TODO.md",
18+
"release": "release-it"
1819
},
1920
"files": [
2021
"dist/*",
@@ -51,6 +52,7 @@
5152
"eslint-plugin-prettier": "^3.1.3",
5253
"eslint-plugin-vue": "^6.2.2",
5354
"prettier": "^2.0.5",
55+
"release-it": "^13.6.3",
5456
"rollup": "^2.18.1",
5557
"rollup-plugin-babel": "^4.4.0",
5658
"rollup-plugin-commonjs": "^9.3.0",

0 commit comments

Comments
 (0)