Skip to content

Commit

Permalink
Merge pull request #60 from conventional-changelog/master
Browse files Browse the repository at this point in the history
[pull] master from conventional-changelog:master
  • Loading branch information
ammar-ahmed-butt authored Oct 4, 2024
2 parents e481976 + f55521d commit e5b01eb
Show file tree
Hide file tree
Showing 103 changed files with 2,498 additions and 1,601 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

75 changes: 0 additions & 75 deletions .eslintrc.cjs

This file was deleted.

6 changes: 4 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,17 @@ yarn clean
yarn install
yarn build
yarn test
npx lerna publish --conventional-commits --dist-tag [`next` | `[release-vXX(BRANCH)]`] --otp <one-time password>
npx lerna publish --conventional-commits --dist-tag [`next` | `next` | `[release-vXX(BRANCH)]`] --otp <one-time password>
```

If for some reason this stops in between, you can manually publish missing packages like this:

```sh
npm publish <package-name> --tag [`next` | `[release-vXX(BRANCH)]`] --otp <one-time password>
npm publish <package-name> --tag [`latest` | `next` | `[release-vXX(BRANCH)]`] --otp <one-time password>
```

Depending on the state of the packages you might need to run `npm pack` in each failed package and then publish it.

#### Publishing (new) packages for the first time

```sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
type=ref,event=branch
type=sha,prefix=,format=short
- name: Build and push container image
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile.ci
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 18.20.2
nodejs 18.20.4
16 changes: 16 additions & 0 deletions @alias/commitlint-config-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [19.5.0](https://github.com/conventional-changelog/commitlint/compare/v19.4.1...v19.5.0) (2024-09-11)

**Note:** Version bump only for package commitlint-config-angular





## [19.4.1](https://github.com/conventional-changelog/commitlint/compare/v19.4.0...v19.4.1) (2024-08-28)

**Note:** Version bump only for package commitlint-config-angular





# [19.3.0](https://github.com/conventional-changelog/commitlint/compare/v19.2.2...v19.3.0) (2024-04-23)

**Note:** Version bump only for package commitlint-config-angular
Expand Down
6 changes: 3 additions & 3 deletions @alias/commitlint-config-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "commitlint-config-angular",
"type": "module",
"version": "19.3.0",
"version": "19.5.0",
"description": "Shareable commitlint config enforcing the angular commit convention",
"files": [
"index.js"
Expand Down Expand Up @@ -31,10 +31,10 @@
"node": ">=v18"
},
"dependencies": {
"@commitlint/config-angular": "^19.3.0"
"@commitlint/config-angular": "^19.5.0"
},
"devDependencies": {
"@commitlint/utils": "^19.0.0"
"@commitlint/utils": "^19.5.0"
},
"gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749"
}
8 changes: 8 additions & 0 deletions @alias/commitlint-config-lerna-scopes/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [19.5.0](https://github.com/conventional-changelog/commitlint/compare/v19.4.1...v19.5.0) (2024-09-11)

**Note:** Version bump only for package commitlint-config-lerna-scopes





# [19.0.0](https://github.com/conventional-changelog/commitlint/compare/v18.6.2...v19.0.0) (2024-02-27)


Expand Down
6 changes: 3 additions & 3 deletions @alias/commitlint-config-lerna-scopes/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "commitlint-config-lerna-scopes",
"type": "module",
"version": "19.0.0",
"version": "19.5.0",
"description": "Shareable commitlint config enforcing lerna package names as scopes",
"files": [
"index.js"
Expand Down Expand Up @@ -31,10 +31,10 @@
"node": ">=v18"
},
"dependencies": {
"@commitlint/config-lerna-scopes": "^19.0.0"
"@commitlint/config-lerna-scopes": "^19.5.0"
},
"devDependencies": {
"@commitlint/utils": "^19.0.0"
"@commitlint/utils": "^19.5.0"
},
"gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc"
}
8 changes: 8 additions & 0 deletions @alias/commitlint-config-nx-scopes/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [19.5.0](https://github.com/conventional-changelog/commitlint/compare/v19.4.1...v19.5.0) (2024-09-11)

**Note:** Version bump only for package commitlint-config-nx-scopes





## [19.3.1](https://github.com/conventional-changelog/commitlint/compare/v19.3.0...v19.3.1) (2024-05-13)

**Note:** Version bump only for package commitlint-config-nx-scopes
Expand Down
6 changes: 3 additions & 3 deletions @alias/commitlint-config-nx-scopes/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "commitlint-config-nx-scopes",
"type": "module",
"version": "19.3.1",
"version": "19.5.0",
"description": "Shareable commitlint config enforcing nx project names as scopes",
"files": [
"index.js"
Expand Down Expand Up @@ -31,10 +31,10 @@
"node": ">=v18"
},
"dependencies": {
"@commitlint/config-nx-scopes": "^19.3.1"
"@commitlint/config-nx-scopes": "^19.5.0"
},
"devDependencies": {
"@commitlint/utils": "^19.0.0"
"@commitlint/utils": "^19.5.0"
},
"gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc"
}
16 changes: 16 additions & 0 deletions @alias/commitlint-config-patternplate/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [19.5.0](https://github.com/conventional-changelog/commitlint/compare/v19.4.1...v19.5.0) (2024-09-11)

**Note:** Version bump only for package commitlint-config-patternplate





## [19.4.1](https://github.com/conventional-changelog/commitlint/compare/v19.4.0...v19.4.1) (2024-08-28)

**Note:** Version bump only for package commitlint-config-patternplate





# [19.3.0](https://github.com/conventional-changelog/commitlint/compare/v19.2.2...v19.3.0) (2024-04-23)

**Note:** Version bump only for package commitlint-config-patternplate
Expand Down
6 changes: 3 additions & 3 deletions @alias/commitlint-config-patternplate/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "commitlint-config-patternplate",
"type": "module",
"version": "19.3.0",
"version": "19.5.0",
"description": "Lint your commits, patternplate-style",
"files": [
"index.js"
Expand Down Expand Up @@ -31,10 +31,10 @@
"node": ">=v18"
},
"dependencies": {
"@commitlint/config-patternplate": "^19.3.0"
"@commitlint/config-patternplate": "^19.5.0"
},
"devDependencies": {
"@commitlint/utils": "^19.0.0"
"@commitlint/utils": "^19.5.0"
},
"gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749"
}
16 changes: 16 additions & 0 deletions @alias/commitlint/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [19.5.0](https://github.com/conventional-changelog/commitlint/compare/v19.4.1...v19.5.0) (2024-09-11)

**Note:** Version bump only for package commitlint





## [19.4.1](https://github.com/conventional-changelog/commitlint/compare/v19.4.0...v19.4.1) (2024-08-28)

**Note:** Version bump only for package commitlint





# [19.4.0](https://github.com/conventional-changelog/commitlint/compare/v19.3.1...v19.4.0) (2024-08-07)

**Note:** Version bump only for package commitlint
Expand Down
17 changes: 11 additions & 6 deletions @alias/commitlint/cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {createRequire} from 'module';
import path from 'path';
import {fileURLToPath} from 'url';

import {execa} from 'execa';
import {x} from 'tinyexec';
import {fix} from '@commitlint/test';

const require = createRequire(import.meta.url);
Expand All @@ -13,12 +13,17 @@ const __dirname = path.resolve(fileURLToPath(import.meta.url), '..');
const bin = require.resolve('./cli.js');

function cli(args, options, input) {
const c = execa(bin, args, {
cwd: options.cwd,
env: options.env,
input: input,
const result = x(bin, args, {
nodeOptions: {
cwd: options.cwd,
env: options.env,
},
});
return c.catch((err) => err);

result.process.stdin.write(input);
result.process.stdin.end();

return result;
}

const fixBootstrap = (fixture) => fix.bootstrap(fixture, __dirname);
Expand Down
12 changes: 6 additions & 6 deletions @alias/commitlint/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "commitlint",
"type": "module",
"version": "19.4.0",
"version": "19.5.0",
"description": "Lint your commit messages",
"files": [
"cli.js"
Expand Down Expand Up @@ -36,13 +36,13 @@
},
"license": "MIT",
"dependencies": {
"@commitlint/cli": "^19.4.0",
"@commitlint/types": "^19.0.3"
"@commitlint/cli": "^19.5.0",
"@commitlint/types": "^19.5.0"
},
"devDependencies": {
"@commitlint/test": "^19.0.0",
"@commitlint/utils": "^19.0.0",
"execa": "^8.0.1"
"@commitlint/test": "^19.5.0",
"@commitlint/utils": "^19.5.0",
"tinyexec": "^0.3.0"
},
"gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc"
}
19 changes: 19 additions & 0 deletions @commitlint/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [19.5.0](https://github.com/conventional-changelog/commitlint/compare/v19.4.1...v19.5.0) (2024-09-11)


### Features

* **cli:** use special errorCode for missing rules/config [#4142](https://github.com/conventional-changelog/commitlint/issues/4142) ([#4143](https://github.com/conventional-changelog/commitlint/issues/4143)) ([d7070d8](https://github.com/conventional-changelog/commitlint/commit/d7070d8a4905da7834a018825b37d52c2dd29f62))





## [19.4.1](https://github.com/conventional-changelog/commitlint/compare/v19.4.0...v19.4.1) (2024-08-28)

**Note:** Version bump only for package @commitlint/cli





# [19.4.0](https://github.com/conventional-changelog/commitlint/compare/v19.3.1...v19.4.0) (2024-08-07)


Expand Down
Loading

0 comments on commit e5b01eb

Please sign in to comment.