Skip to content

Commit 40446d6

Browse files
authored
Merge pull request #656 from arvinxx/beta
Beta
2 parents 4a35d43 + 6fdbc7f commit 40446d6

File tree

8 files changed

+54
-3
lines changed

8 files changed

+54
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ jobs:
4545
with:
4646
node-version: '16'
4747

48+
# npm 8 和 9 会在 `npm version` 时执行依赖树命令,进而报错退出
49+
# Refs: https://github.com/semantic-release/npm/issues/540
50+
- name: Setup npm 7
51+
run: npm i -g npm@7 --registry=https://registry.npmjs.org
52+
4853
- name: Install deps
4954
run: pnpm install
5055

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx ",
2424
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
2525
"release": "multi-semantic-release",
26+
"release:local": "multi-semantic-release --no-ci",
2627
"test": "jest",
2728
"test:coverage": "jest --coverage",
2829
"tsc": "tsc -p tsconfig-check.json"

packages/commitlint-config/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## <small>2.2.7-beta.1 (2022-12-24)</small>
4+
5+
* :arrow_up: chore: upgrade to father4 ([5ea649e](https://github.com/arvinxx/gitmoji-commit-workflow/commit/5ea649e))
6+
* :arrow_up: chore: upgrade to jest29 ([9aa126b](https://github.com/arvinxx/gitmoji-commit-workflow/commit/9aa126b))
7+
* :art: chore: reformat code with prettier ([809cbc9](https://github.com/arvinxx/gitmoji-commit-workflow/commit/809cbc9))
8+
* :art: chore: reformat package.json with prettier ([5176c18](https://github.com/arvinxx/gitmoji-commit-workflow/commit/5176c18))
9+
* :rotating_light: chore: fix lint ([647e88e](https://github.com/arvinxx/gitmoji-commit-workflow/commit/647e88e))
10+
11+
12+
13+
14+
15+
### Dependencies
16+
17+
* **commitlint-plugin-gitmoji:** upgraded to 2.2.1-beta.1
18+
319
## commitlint-config-gitmoji [2.2.6](https://github.com/arvinxx/gitmoji-commit-workflow/compare/[email protected]@2.2.6) (2022-10-09)
420

521

packages/commitlint-config/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commitlint-config-gitmoji",
3-
"version": "2.2.6",
3+
"version": "2.2.7-beta.1",
44
"description": "shareable commitlint config enforcing gitmoji commit message",
55
"keywords": [
66
"commitlint",
@@ -31,7 +31,7 @@
3131
"@commitlint/types": "^17",
3232
"@gitmoji/commit-types": "1.1.5",
3333
"@gitmoji/parser-opts": "1.3.1",
34-
"commitlint-plugin-gitmoji": "2.2.0"
34+
"commitlint-plugin-gitmoji": "2.2.1-beta.1"
3535
},
3636
"publishConfig": {
3737
"access": "public",

packages/commitlint-plugin/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## <small>2.2.1-beta.1 (2022-12-24)</small>
4+
5+
* :arrow_up: chore: upgrade to father4 ([5ea649e](https://github.com/arvinxx/commitlint-config-gitmoji/commit/5ea649e))
6+
* :arrow_up: chore: upgrade to jest29 ([9aa126b](https://github.com/arvinxx/commitlint-config-gitmoji/commit/9aa126b))
7+
* :art: chore: reformat code with prettier ([809cbc9](https://github.com/arvinxx/commitlint-config-gitmoji/commit/809cbc9))
8+
* :art: chore: reformat package.json with prettier ([5176c18](https://github.com/arvinxx/commitlint-config-gitmoji/commit/5176c18))
9+
* :memo: docs: Removed unnecesary documentation ([3d728e3](https://github.com/arvinxx/commitlint-config-gitmoji/commit/3d728e3))
10+
* :white_check_mark: test: fix test ([bf7ea1c](https://github.com/arvinxx/commitlint-config-gitmoji/commit/bf7ea1c))
11+
* :white_check_mark: test: fix test after upgrade ([30c897d](https://github.com/arvinxx/commitlint-config-gitmoji/commit/30c897d))
12+
* :wrench: chore: fix package.json ([7a2e102](https://github.com/arvinxx/commitlint-config-gitmoji/commit/7a2e102))
13+
* :zap: chore: Replaced fetching gitmoji.json for dependency ([cf1788f](https://github.com/arvinxx/commitlint-config-gitmoji/commit/cf1788f))
14+
* build(deps): bump dotenv from 8.5.1 to 9.0.0 ([1ff1169](https://github.com/arvinxx/commitlint-config-gitmoji/commit/1ff1169))
15+
316
# commitlint-plugin-gitmoji [2.2.0](https://github.com/arvinxx/commitlint-config-gitmoji/compare/[email protected]@2.2.0) (2021-05-04)
417

518

packages/commitlint-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commitlint-plugin-gitmoji",
3-
"version": "2.2.0",
3+
"version": "2.2.1-beta.1",
44
"description": "shareable commitlint plugin enforcing gitmoji commit rules",
55
"keywords": [
66
"commitlint",

packages/release-config/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,23 @@ shareable [semantic-release][semantic-release] configuration for gitmoji commit
66

77
## How to use
88

9+
### Basic Usage
10+
11+
```js
12+
// .releaserc.js
13+
module.exports = {
14+
extends: ['semantic-release-config-gitmoji'],
15+
};
16+
```
17+
18+
### Create your config
19+
920
```js
21+
const { createConfig } = require('semantic-release-config-gitmoji/lib/createConfig');
22+
23+
const config = createConfig({ monorepo: true });
1024

25+
module.exports = config;
1126
```
1227

1328
## License

packages/release-config/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"license": "MIT",
2222
"author": "Arvin Xu <[email protected]>",
2323
"main": "lib/index.js",
24+
"types": "lib/index.d.ts",
2425
"files": [
2526
"lib"
2627
],

0 commit comments

Comments
 (0)