File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ root = true
2+
3+ [* ]
4+ charset = utf-8
5+ end_of_line = lf
6+ insert_final_newline = true
7+ indent_size = 2
8+ indent_style = space
Original file line number Diff line number Diff line change 1+ name : Publish
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - uses : actions/setup-node@v1
13+ with :
14+ node-version : ' 14.x'
15+ registry-url : ' https://registry.npmjs.org'
16+ - run : npm install
17+ - run : npm publish
18+ env :
19+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ .idea
12node_modules
23/package-lock.json
34/bin
Original file line number Diff line number Diff line change 77---
88
99```
10- npm install -g git+ssh://<git clone url>
10+ npm install -g semci
1111```
1212
1313Usage
Original file line number Diff line number Diff line change 11{
22 "name" : " semci" ,
3- "version" : " 0.1.0 " ,
3+ "version" : " 0.1.2 " ,
44 "description" : " Git helper to create semver commits and name branches accordingly" ,
55 "main" : " bin/index.js" ,
66 "bin" : {
77 "semci" : " bin/index.js"
88 },
99 "scripts" : {
1010 "test" : " echo \" Error: no test specified\" && exit 1" ,
11- "build" : " tsc && cp package.json bin/ && chmod +x bin/index.js"
11+ "prepare" : " npm run build" ,
12+ "build" : " rm -rf bin; tsc && cp package.json bin/ && chmod +x bin/index.js"
1213 },
13- "author" : " " ,
14- "license" : " ISC" ,
14+ "author" : " Benjamin Falk <lumio@lumio.at> (https://lumio.at/)" ,
15+ "bugs" : " https://github.com/lumio/semci/issues" ,
16+ "license" : " GPL-3.0-only" ,
17+ "files" : [
18+ " bin/**/*"
19+ ],
1520 "dependencies" : {
1621 "change-case" : " 3.1.0" ,
1722 "commander" : " 3.0.2" ,
2328 "@types/commander" : " 2.12.2" ,
2429 "@types/node" : " 14.0.14" ,
2530 "@types/prompts" : " 2.0.8" ,
31+ "ts-node" : " ^9.1.1" ,
2632 "typescript" : " 3.9.5"
2733 }
2834}
Original file line number Diff line number Diff line change 1919 "esModuleInterop" : true ,
2020 "skipLibCheck" : true ,
2121 "forceConsistentCasingInFileNames" : true
22- }
22+ },
23+ "include" : [" src/**/*" ]
2324}
You can’t perform that action at this time.
0 commit comments