Skip to content
This repository was archived by the owner on Nov 20, 2019. It is now read-only.

Commit 070bc1a

Browse files
author
Charlike Mike Reagent
committed
fix: tweaks
Signed-off-by: Charlike Mike Reagent <mameto2011@gmail.com>
1 parent c0b896b commit 070bc1a

File tree

4 files changed

+20
-15
lines changed

4 files changed

+20
-15
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,11 @@ jobtest: &jobtest
5555
name: Installing project dependencies
5656
command: yarn install --prefer-offline || yarn install
5757
- run:
58-
name: Linting and testing your project
59-
command: yarn global add nyc@latest && yarn run lint && yarn test
58+
name: Linting your project
59+
command: yarn run lint
60+
- run:
61+
name: Testing your project
62+
command: yarn global add nyc@latest && yarn test
6063
- save_cache:
6164
key: new-release-{{ checksum "yarn.lock" }}
6265
paths: node_modules

.gitkeep

Whitespace-only changes.

package.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
"scripts": {
77
"docs": "verb",
88
"lint": "eslint '**/*.js' --cache --fix --quiet --format codeframe",
9+
"test-only": "asia -r esm",
910
"test": "nyc asia",
10-
"commit": "yarn lint && yarn test && yarn dry",
11-
"dry": "git add -A && git status --porcelain && gitcommit -sS",
12-
"release": "node cli.js"
11+
"precommit": "yarn run lint && yarn run test-only",
12+
"commit": "yarn dry",
13+
"dry": "git add -A && git status --porcelain && gitcommit",
14+
"release": "tunnckocore-release"
1315
},
1416
"engines": {
1517
"node": "^8.11.0 || >=10.13.0"
@@ -28,17 +30,12 @@
2830
"index.js",
2931
"cli.js"
3032
],
31-
"bin": {
32-
"release": "cli.js",
33-
"new-release": "cli.js",
34-
"tunnckocore-release": "cli.js"
35-
},
3633
"main": "index.js",
3734
"module": "src/index.js",
3835
"typings": "src/index.d.ts",
39-
"version": "5.0.0",
36+
"version": "5.0.3",
4037
"repository": "tunnckoCoreLabs/new-release",
41-
"homepage": "https://github.com/tunnckoCore/release-cli",
38+
"homepage": "https://github.com/tunnckoCoreLabs/new-release",
4239
"author": "Charlike Mike Reagent (https://tunnckocore.com)",
4340
"publishConfig": {
4441
"access": "public",
@@ -76,5 +73,10 @@
7673
"new-release",
7774
"semantic-release"
7875
]
76+
},
77+
"bin": {
78+
"release": "cli.js",
79+
"new-release": "cli.js",
80+
"tunnckocore-release": "cli.js"
7981
}
8082
}

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2140,9 +2140,9 @@ p-try@^1.0.0:
21402140
integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=
21412141

21422142
parse-commit-message@^3.2.0:
2143-
version "3.2.0"
2144-
resolved "https://registry.yarnpkg.com/parse-commit-message/-/parse-commit-message-3.2.0.tgz#8065d006e9e4b273889130067ae435b8986508a6"
2145-
integrity sha512-LzkHT+I2cG+3v0iGnMNPda4qdZoTjiz40rOEdo7pd7gpE4YHXFDvF4dj2LuoMQX7Ykb3WlKZBfwLSKFHASvjGw==
2143+
version "3.2.1"
2144+
resolved "https://registry.yarnpkg.com/parse-commit-message/-/parse-commit-message-3.2.1.tgz#2c04524469df5c7f8d952205a112ba10fe64554b"
2145+
integrity sha512-Qis/J5olChQS7UG/sPDc4fYX/GQvc33a1kxwq+Md42CSCexczXA1C4IR3rOziriYxYhptyBdaT2r7hs897UTLQ==
21462146
dependencies:
21472147
collect-mentions "^1.0.2"
21482148
dedent "^0.7.0"

0 commit comments

Comments
 (0)