Skip to content

Commit 853232e

Browse files
committed
build: adjust release scripts
1 parent 3ac0ab9 commit 853232e

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

package.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
"name": "microlink.io",
99
"url": "https://microlink.io"
1010
},
11+
"contributors": [
12+
{
13+
"name": "Kiko Beats",
14+
"email": "josefrancisco.verdu@gmail.com"
15+
}
16+
],
1117
"repository": {
1218
"type": "git",
1319
"url": "git+https://github.com/microlinkhq/functions.git"
@@ -35,9 +41,9 @@
3541
"lerna": "latest",
3642
"nano-staged": "latest",
3743
"npm-check-updates": "latest",
38-
"standard": "latest",
3944
"prettier-standard": "latest",
4045
"simple-git-hooks": "latest",
46+
"standard": "latest",
4147
"standard-version": "latest"
4248
},
4349
"engines": {
@@ -46,10 +52,10 @@
4652
"scripts": {
4753
"clean": "pnpm -r exec -- rm -rf node_modules",
4854
"clean:build": "pnpm -r exec -- rm -rf dist",
49-
"contributors": "(pnpm -r exec finepack --parallel && git-authors-cli && finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true",
55+
"contributors": "(git-authors-cli && finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true",
5056
"lint": "standard",
5157
"prebuild": "npm run clean:build",
52-
"prerelease": "npm run update:check && npm run contributors && npm run build",
58+
"prerelease": "npm run update:check && npm run contributors",
5359
"pretest": "npm run lint",
5460
"release": "lerna publish --yes --sort --conventional-commits -m \"chore(release): %s\" --create-release github",
5561
"test": "pnpm -r run test",
@@ -71,13 +77,13 @@
7177
"finepack"
7278
]
7379
},
80+
"simple-git-hooks": {
81+
"commit-msg": "npx commitlint --edit",
82+
"pre-commit": "npx nano-staged"
83+
},
7484
"standard": {
7585
"ignore": [
7686
"packages/npm/dist"
7787
]
78-
},
79-
"simple-git-hooks": {
80-
"commit-msg": "npx commitlint --edit",
81-
"pre-commit": "npx nano-staged"
8288
}
8389
}

packages/npm/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
],
5656
"scripts": {
5757
"build": "rollup -c rollup.config.js",
58+
"version": "pnpm run build",
5859
"dev": "npm run build -- -w",
5960
"test": "nyc ava --verbose"
6061
},

0 commit comments

Comments
 (0)