Skip to content

Commit dc4d10b

Browse files
chore: update semantic-release with git operations to keep version changes (#931)
1 parent f6884c4 commit dc4d10b

27 files changed

+307
-64
lines changed

.releaserc.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ plugins:
1919
- changelogTitle: "# Changelog\n\nAll notable changes to this project will be documented in this file."
2020
- - '@semantic-release/exec'
2121
- publishCmd: yarn lerna version ${nextRelease.version} --no-git-tag-version --no-push --yes --exact && echo "true" > .release-created
22+
- - '@semantic-release/git'
23+
- assets:
24+
- 'package.json'
25+
- 'lerna.json'
26+
- 'CHANGELOG.md'
27+
- 'packages/*/package.json'
28+
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
2229
- '@semantic-release/github'
2330

2431
preset: conventionalcommits

CHANGELOG.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
**Note:** Version bump only for package sa11y-monorepo
7+
18
# Changelog
29

310
All notable changes to this project will be documented in this file.
411

512
## [4.0.0](https://github.com/salesforce/sa11y/compare/v3.1.0...v4.0.0) (2022-10-20)
613

7-
814
### ⚠ BREAKING CHANGES
915

10-
* Explicitly supporting NodeJS 14.x and 16.x
11-
* `sa11y` will no longer support Node.js 12, which is EOL since 30 April 2022
16+
- Explicitly supporting NodeJS 14.x and 16.x
17+
- `sa11y` will no longer support Node.js 12, which is EOL since 30 April 2022
1218

1319
### Features
1420

15-
* remove support for Node.js 12 ([#116](https://github.com/salesforce/sa11y/issues/116)) ([43ade48](https://github.com/salesforce/sa11y/commit/43ade489bfab5d2c407b256117269475a3571fb7))
16-
* semantic release ([#227](https://github.com/salesforce/sa11y/issues/227)) ([6b7a180](https://github.com/salesforce/sa11y/commit/6b7a18045c0937469631c32759824dbeddc578cd))
17-
* tsconfig package for tsconfig.json ([#174](https://github.com/salesforce/sa11y/issues/174)) ([5ff2fd2](https://github.com/salesforce/sa11y/commit/5ff2fd20ef6671cb7eae579bcf6aeaf45f4b0c54))
18-
* webdriver7 ([#150](https://github.com/salesforce/sa11y/issues/150)) ([70dafc2](https://github.com/salesforce/sa11y/commit/70dafc2b376e754916c3814299148516a4c71037))
19-
21+
- remove support for Node.js 12 ([#116](https://github.com/salesforce/sa11y/issues/116)) ([43ade48](https://github.com/salesforce/sa11y/commit/43ade489bfab5d2c407b256117269475a3571fb7))
22+
- semantic release ([#227](https://github.com/salesforce/sa11y/issues/227)) ([6b7a180](https://github.com/salesforce/sa11y/commit/6b7a18045c0937469631c32759824dbeddc578cd))
23+
- tsconfig package for tsconfig.json ([#174](https://github.com/salesforce/sa11y/issues/174)) ([5ff2fd2](https://github.com/salesforce/sa11y/commit/5ff2fd20ef6671cb7eae579bcf6aeaf45f4b0c54))
24+
- webdriver7 ([#150](https://github.com/salesforce/sa11y/issues/150)) ([70dafc2](https://github.com/salesforce/sa11y/commit/70dafc2b376e754916c3814299148516a4c71037))
2025

2126
### Bug Fixes
2227

23-
* set package.json node engines ([#228](https://github.com/salesforce/sa11y/issues/228)) ([42de911](https://github.com/salesforce/sa11y/commit/42de911f2ed9802b9529bc304bce336db1909989))
28+
- set package.json node engines ([#228](https://github.com/salesforce/sa11y/issues/228)) ([42de911](https://github.com/salesforce/sa11y/commit/42de911f2ed9802b9529bc304bce336db1909989))
2429

2530
# Changelog
2631

lerna.json

Lines changed: 64 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "5.1.0",
3+
"version": "8.0.27",
44
"npmClient": "yarn",
55
"command": {
66
"publish": {
@@ -12,7 +12,69 @@
1212
}
1313
},
1414
"changelogPreset": {
15-
"name": "conventional-changelog-conventionalcommits"
15+
"name": "conventional-changelog-conventionalcommits",
16+
"issuePrefixes": ["#"],
17+
"types": [
18+
{
19+
"type": "feat",
20+
"section": "Features"
21+
},
22+
{
23+
"type": "feature",
24+
"section": "Features"
25+
},
26+
{
27+
"type": "fix",
28+
"section": "Bug Fixes"
29+
},
30+
{
31+
"type": "perf",
32+
"section": "Performance Improvements"
33+
},
34+
{
35+
"type": "revert",
36+
"section": "Reverts"
37+
},
38+
{
39+
"type": "docs",
40+
"section": "Documentation",
41+
"hidden": true
42+
},
43+
{
44+
"type": "style",
45+
"section": "Styles",
46+
"hidden": true
47+
},
48+
{
49+
"type": "chore",
50+
"section": "Miscellaneous Chores",
51+
"hidden": true
52+
},
53+
{
54+
"type": "refactor",
55+
"section": "Code Refactoring",
56+
"hidden": true
57+
},
58+
{
59+
"type": "test",
60+
"section": "Tests",
61+
"hidden": true
62+
},
63+
{
64+
"type": "build",
65+
"section": "Build System",
66+
"hidden": true
67+
},
68+
{
69+
"type": "ci",
70+
"section": "Continuous Integration",
71+
"hidden": true
72+
}
73+
],
74+
"issueUrlFormat": "{{host}}/{{owner}}/{{repository}}/issues/{{id}}",
75+
"commitUrlFormat": "{{host}}/{{owner}}/{{repository}}/commit/{{hash}}",
76+
"compareUrlFormat": "{{host}}/{{owner}}/{{repository}}/compare/{{previousTag}}...{{currentTag}}",
77+
"userUrlFormat": "{{host}}/{{user}}"
1678
},
1779
"conventional-commits": true
1880
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"@commitlint/config-conventional": "17.8.1",
6161
"@semantic-release/changelog": "6.0.3",
6262
"@semantic-release/exec": "7.1.0",
63+
"@semantic-release/git": "10.0.1",
6364
"@tsconfig/node24": "24.0.4",
6465
"@types/jest": "28.1.8",
6566
"@types/node": "15.14.9",

packages/assert/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [Change Log](#change-log)
6+
7+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
8+
9+
# Change Log
10+
11+
All notable changes to this project will be documented in this file.
12+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
13+
14+
**Note:** Version bump only for package @sa11y/assert

packages/assert/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sa11y/assert",
3-
"version": "5.1.0",
3+
"version": "8.0.27",
44
"description": "Provides assertAccessible API to check DOM for accessibility issues",
55
"license": "BSD-3-Clause",
66
"homepage": "https://github.com/salesforce/sa11y/tree/master/packages/assert#readme",
@@ -21,14 +21,14 @@
2121
"dist/**/*.d.ts*"
2222
],
2323
"dependencies": {
24-
"@sa11y/common": "5.1.0",
25-
"@sa11y/format": "5.1.0",
26-
"@sa11y/preset-rules": "5.1.0",
24+
"@sa11y/common": "8.0.27",
25+
"@sa11y/format": "8.0.27",
26+
"@sa11y/preset-rules": "8.0.27",
2727
"axe-core": "4.11.1"
2828
},
2929
"devDependencies": {
3030
"@jest/globals": "28.1.3",
31-
"@sa11y/test-utils": "5.1.0"
31+
"@sa11y/test-utils": "8.0.27"
3232
},
3333
"publishConfig": {
3434
"access": "public"

packages/browser-lib/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [Change Log](#change-log)
6+
7+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
8+
9+
# Change Log
10+
11+
All notable changes to this project will be documented in this file.
12+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
13+
14+
**Note:** Version bump only for package @sa11y/browser-lib

packages/browser-lib/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sa11y/browser-lib",
3-
"version": "5.1.0",
3+
"version": "8.0.27",
44
"description": "Provides a minified version of selected `@sa11y` libraries to be injected into a browser (using webdriver) and executed from integration testing workflows.",
55
"license": "BSD-3-Clause",
66
"homepage": "https://github.com/salesforce/sa11y/tree/master/packages/browser-lib#readme",
@@ -34,21 +34,21 @@
3434
"url": "https://github.com/salesforce/sa11y/issues"
3535
},
3636
"dependencies": {
37-
"@sa11y/format": "5.1.0",
38-
"@sa11y/preset-rules": "5.1.0",
37+
"@sa11y/format": "8.0.27",
38+
"@sa11y/preset-rules": "8.0.27",
3939
"axe-core": "4.11.1"
4040
},
4141
"devDependencies": {
4242
"@rollup/plugin-commonjs": "23.0.7",
4343
"@rollup/plugin-node-resolve": "15.3.1",
4444
"@rollup/plugin-replace": "5.0.7",
45-
"@sa11y/common": "5.1.0",
46-
"@sa11y/test-utils": "5.1.0",
45+
"@rollup/plugin-terser": "0.4.4",
46+
"@sa11y/common": "8.0.27",
47+
"@sa11y/test-utils": "8.0.27",
4748
"rollup": "3.29.5",
4849
"rollup-plugin-polyfill-node": "0.13.0",
4950
"rollup-plugin-progress": "1.1.2",
5051
"rollup-plugin-sizes": "1.1.0",
51-
"@rollup/plugin-terser": "0.4.4",
5252
"rollup-plugin-typescript2": "0.36.0"
5353
},
5454
"publishConfig": {

packages/common/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3+
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4+
5+
- [Change Log](#change-log)
6+
7+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
8+
9+
# Change Log
10+
11+
All notable changes to this project will be documented in this file.
12+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
13+
14+
**Note:** Version bump only for package @sa11y/common

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sa11y/common",
3-
"version": "5.1.0",
3+
"version": "8.0.27",
44
"description": "Common utilities, constants, error messages for @sa11y",
55
"license": "BSD-3-Clause",
66
"homepage": "https://github.com/salesforce/sa11y/tree/master/packages/common#readme",

0 commit comments

Comments
 (0)