Skip to content

Commit dce9314

Browse files
committed
fix: add GitHub labeler configuration and update package metadata
- Introduced a new `labeler-config.yml` file to automate labeling of pull requests based on package changes. - Updated `package.json` to include a post-install script for generating the labeler configuration. - Enhanced `pnpm-lock.yaml` and `pnpm-workspace.yaml` with updated dependencies. - Added new scripts for generating package images and cleaning up empty packages. - Updated README files across multiple packages to include new images and descriptions. - Added SVG assets for package overview images.
1 parent 6a09793 commit dce9314

File tree

24 files changed

+1296
-237
lines changed

24 files changed

+1296
-237
lines changed

.github/assets/anolilab.svg

Lines changed: 1 addition & 0 deletions
Loading

.github/assets/package_og.jpg

402 KB
Loading

.github/workflows/labeler.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
2+
3+
name: "Labeler"
4+
5+
on: # yamllint disable-line rule:truthy
6+
- "pull_request_target"
7+
8+
jobs:
9+
triage:
10+
runs-on: "ubuntu-latest"
11+
permissions:
12+
contents: "read"
13+
pull-requests: "write"
14+
steps:
15+
- uses: "actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9" # v5.0.0
16+
with:
17+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
18+
configuration-path: "labeler-config.yml"

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ Check the README for each package within the `packages` directory for specific u
2222

2323
## Featured Packages
2424

25-
| Package | Version | Description |
26-
|-----------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
27-
| [multi-semantic-release](packages/multi-semantic-release/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/multi-semantic-release?style=flat-square&labelColor=292a44&color=663399&label=v) | A hacky semantic-release for monorepos based on qiwi/multi-semantic-release | | |
28-
| [rc](packages/rc/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/rc?style=flat-square&labelColor=292a44&color=663399&label=v) | This module provides a utility function to load rc configuration settings from various sources, including environment variables, default values, and configuration files located in multiple standard directories. It merges these settings into a single configuration object. | | |
29-
| [semantic-release-pnpm](packages/semantic-release-pnpm/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/semantic-release-pnpm?style=flat-square&labelColor=292a44&color=663399&label=v) | Semantic-release plugin to publish a npm package with pnpm | | |
30-
| [semantic-release-preset](packages/semantic-release-preset/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/semantic-release-preset?style=flat-square&labelColor=292a44&color=663399&label=v) | semantic-release is a fully automated version management and package publishing library |
31-
| [semantic-release-clean-package-json](packages/semantic-release-clean-package-json/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/semantic-release-clean-package-json?style=flat-square&labelColor=292a44&color=663399&label=v) | A semantic-release plugin to clean and optimize package.json files before publishing |
25+
<!-- START_TABLE_PLACEHOLDER -->
26+
| Package | Version | Description |
27+
| ---------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
28+
| [@anolilab/multi-semantic-release](packages/multi-semantic-release/README.md) | [![npm](https://img.shields.io/npm/v/%40anolilab%2Fmulti-semantic-release?style=flat-square&labelColor=292a44&color=663399&label=v)](https://www.npmjs.com/package/%40anolilab%2Fmulti-semantic-release) | A multi semantic release tool for a monorepo. |
29+
| [@anolilab/rc](packages/rc/README.md) | [![npm](https://img.shields.io/npm/v/%40anolilab%2Frc?style=flat-square&labelColor=292a44&color=663399&label=v)](https://www.npmjs.com/package/%40anolilab%2Frc) | The runtime configuration loader. |
30+
| [@anolilab/semantic-release-clean-package-json](packages/semantic-release-clean-package-json/README.md) | [![npm](https://img.shields.io/npm/v/%40anolilab%2Fsemantic-release-clean-package-json?style=flat-square&labelColor=292a44&color=663399&label=v)](https://www.npmjs.com/package/%40anolilab%2Fsemantic-release-clean-package-json) | Clean package.json before publish by removing unnecessary properties. |
31+
| [@anolilab/semantic-release-pnpm](packages/semantic-release-pnpm/README.md) | [![npm](https://img.shields.io/npm/v/%40anolilab%2Fsemantic-release-pnpm?style=flat-square&labelColor=292a44&color=663399&label=v)](https://www.npmjs.com/package/%40anolilab%2Fsemantic-release-pnpm) | Semantic-release plugin to publish a npm package with pnpm. |
32+
| [@anolilab/semantic-release-preset](packages/semantic-release-preset/README.md) | [![npm](https://img.shields.io/npm/v/%40anolilab%2Fsemantic-release-preset?style=flat-square&labelColor=292a44&color=663399&label=v)](https://www.npmjs.com/package/%40anolilab%2Fsemantic-release-preset) | Semantic-release predefined presets. |
33+
<!-- END_TABLE_PLACEHOLDER -->
3234

3335
## How We Version
3436

labeler-config.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
"package: multi-semantic-release":
2+
- changed-files:
3+
- any-glob-to-any-file: "packages/multi-semantic-release/**/*"
4+
"package: rc":
5+
- changed-files:
6+
- any-glob-to-any-file: "packages/rc/**/*"
7+
"package: semantic-release-clean-package-json":
8+
- changed-files:
9+
- any-glob-to-any-file: "packages/semantic-release-clean-package-json/**/*"
10+
"package: semantic-release-pnpm":
11+
- changed-files:
12+
- any-glob-to-any-file: "packages/semantic-release-pnpm/**/*"
13+
"package: semantic-release-preset":
14+
- changed-files:
15+
- any-glob-to-any-file: "packages/semantic-release-preset/**/*"
16+
"documentation":
17+
- changed-files:
18+
- any-glob-to-any-file: "docs/**/*"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"clean": "nx run-many --target=clean --all --parallel && rimraf ./node_modules",
1818
"graph": "nx dep-graph",
1919
"preinstall": "node verify-node-version.cjs && npx only-allow pnpm",
20+
"postinstall": "(is-ci || husky || exit 0) && node scripts/generate-labeler-config.js && node scripts/list-packages.js",
2021
"lint": "pnpm run lint:prettier && pnpm run lint:eslint",
2122
"lint:affected:eslint": "nx affected --target=lint:eslint --parallel --nxBail",
2223
"lint:affected:eslint:fix": "nx affected --target=lint:eslint:fix --parallel --nxBail",
@@ -37,7 +38,6 @@
3738
"lint:types": "nx run-many --target=lint:types --all --parallel",
3839
"nx": "nx",
3940
"plop": "plop",
40-
"prepare": "is-ci || husky install || exit 0",
4141
"sort-package-json": "sort-package-json packages/**/package.json apps/**/package.json ./package.json",
4242
"test": "nx run-many --target=test --all --parallel",
4343
"test:affected": "nx affected --target=test --parallel --nxBail",
@@ -79,7 +79,7 @@
7979
"typescript": "catalog:tsc",
8080
"vitest": "catalog:test"
8181
},
82-
"packageManager": "pnpm@10.24.0",
82+
"packageManager": "pnpm@10.25.0",
8383
"engines": {
8484
"node": "^22.14.0 || >= 24.10.0"
8585
}

packages/multi-semantic-release/README.md

Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
1-
<div align="center">
1+
<!-- START_PACKAGE_OG_IMAGE_PLACEHOLDER -->
2+
3+
<a href="https://github.com/anolilab/semantic-release" align="center">
4+
5+
<img src="__assets__/package-og.svg" alt="multi-semantic-release" />
26

3-
<img src="https://github.com/anolilab/semantic-release/blob/main/.github/logo.svg" alt="Logo" width="200">
7+
</a>
48

5-
<h1>Multi Semantic Release</h1>
9+
<h3 align="center">A multi semantic release tool for a monorepo.</h3>
610

7-
hacky [semantic-release](https://github.com/semantic-release/semantic-release) for monorepos based on [qiwi/multi-semantic-release](https://github.com/qiwi/multi-semantic-release)
11+
<!-- END_PACKAGE_OG_IMAGE_PLACEHOLDER -->
812

9-
[![npm-image]][npm-url] [![license-image]][license-url]
13+
<br />
14+
15+
<div align="center">
16+
17+
[![typescript-image][typescript-badge]][typescript-url]
18+
[![mit licence][license-badge]][license]
19+
[![npm downloads][npm-downloads-badge]][npm-downloads]
20+
[![Chat][chat-badge]][chat]
21+
[![PRs Welcome][prs-welcome-badge]][prs-welcome]
1022

1123
</div>
1224

@@ -22,6 +34,8 @@ hacky [semantic-release](https://github.com/semantic-release/semantic-release) f
2234

2335
---
2436

37+
Hacky [semantic-release](https://github.com/semantic-release/semantic-release) for monorepos based on [qiwi/multi-semantic-release](https://github.com/qiwi/multi-semantic-release)
38+
2539
This fork of [dhoub/multi-semantic-release](https://github.com/dhoulb/multi-semantic-release) replaces [`setImmediate` loops](https://github.com/dhoulb/multi-semantic-release/blob/561a8e66133d422d88008c32c479d1148876aba4/lib/wait.js#L13)
2640
and [`execa.sync` hooks](https://github.com/dhoulb/multi-semantic-release/blob/561a8e66133d422d88008c32c479d1148876aba4/lib/execaHook.js#L5) with event-driven flow and finally makes possible to run the most release operations in parallel.
2741
🎉 🎉 🎉
@@ -490,11 +504,24 @@ If you would like to help take a look at the [list of issues](https://github.com
490504
- [dhoub/multi-semantic-release](https://github.com/dhoulb/multi-semantic-release)
491505
- [qiwi/multi-semantic-release](https://github.com/qiwi/multi-semantic-release)
492506

507+
## Made with ❤️ at Anolilab
508+
509+
This is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Anolilab](https://www.anolilab.com/open-source) is a Development and AI Studio. Contact us at [[email protected]](mailto:[email protected]) if you need any help with these technologies or just want to say hi!
510+
493511
## License
494512

495513
[0BSD](./LICENSE.md)
496514

497-
[license-image]: https://img.shields.io/npm/l/@anolilab/multi-semantic-release?color=blueviolet&style=for-the-badge
498-
[license-url]: LICENSE.md "license"
499-
[npm-image]: https://img.shields.io/npm/v/@anolilab/multi-semantic-release/latest.svg?style=for-the-badge&logo=npm
500-
[npm-url]: https://www.npmjs.com/package/@anolilab/multi-semantic-releasv/latest "npm"
515+
<!-- badges -->
516+
517+
[license-badge]: https://img.shields.io/npm/l/@anolilab/multi-semantic-release?style=for-the-badge
518+
[license]: https://github.com/anolilab/multi-semantic-release/blob/main/LICENSE
519+
[npm-downloads-badge]: https://img.shields.io/npm/dm/@anolilab/multi-semantic-release?style=for-the-badge
520+
[npm-downloads]: https://www.npmjs.com/package/@anolilab/multi-semantic-release
521+
[prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
522+
[prs-welcome]: https://github.com/anolilab/multi-semantic-release/blob/main/.github/CONTRIBUTING.md
523+
[chat-badge]: https://img.shields.io/discord/902465130518949899.svg?style=for-the-badge
524+
[chat]: https://discord.gg/TtFJY8xkFK
525+
[typescript-badge]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
526+
[typescript-url]: https://www.typescriptlang.org/
527+
[license-url]: LICENSE.md

packages/multi-semantic-release/__assets__/package-og.svg

Lines changed: 16 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)