chore: finalize meta-package state after monorepo split

This commit is contained in:
2025-06-23 03:09:49 +03:00
parent baa64964ae
commit 1f7f8b41a0
10 changed files with 603 additions and 9252 deletions

View File

@@ -44,24 +44,3 @@ jobs:
run: |
git config --global user.name "fiximus"
git config --global user.email "189535814+fiximus@users.noreply.github.com"
- name: Bootstrap Lerna
run: yarn lerna:bootstrap:ci
- name: Auto Commit Changes
uses: stefanzweifel/git-auto-commit-action@3cc016cfc892e0844046da36fc68da4e525e081f # v6
with:
commit_message: 'chore: 🤖 bump versions and publish packages'
commit_options: '--no-verify'
- name: Bump Versions
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn lerna:version
- name: Publish Packages
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn lerna:publish

View File

@@ -1,12 +1,17 @@
# @ivuorinen/base-configs <!-- omit in toc -->
[![npm package][npm-badge]][npm-link] [![license MIT][license-badge]][license-link] [![ivuorinen's Code Style][style-badge]][style-link]
This is a meta package for all my base configs.
The main reason for this package is to make it easier to use these configs in other projects, and to update them all at once. No more pull requests to update all the configs one at a time!
[![license MIT][license-badge]][license-link] [![ivuorinen's Code Style][style-badge]][style-link]
> A collection of base configs for code quality and linting tools. Heavily based on `@demartini/base-configs`
## Table of Contents <!-- omit in toc -->
- [About](#about)
- [Usage](#usage)
- [Available Configurations](#available-configurations)
- [Badge](#badge)
@@ -14,28 +19,16 @@
- [Changelog](#changelog)
- [License](#license)
## About
This Monorepo provides a collection of shareable configurations for building, linting, testing, formatting, and releasing tools to make configurations consistent across projects and provide an easy configuration mechanism.
## Usage
Check the _`README`_ of each package in the [`packages`][packages-link] directory for specific usage instructions.
## Meta package
All of the linting rules can be installed by running the following command:
```bash
npm i -D @ivuorinen/base-configs
# npm
npm install @ivuorinen/base-configs --save-dev
# yarn
yarn add @ivuorinen/base-configs --dev
```
| Package | Version |
| ----------------------------------- | ------- |
| [@ivuorinen/base-configs][meta-npm] | [![@ivuorinen/base-configs][meta-badge]][meta-npm] |
You can find the meta package in [packages/base-configs](./packages/base-configs).
## Available Configurations
| Tool | Package | Version |
@@ -48,13 +41,13 @@ You can find the meta package in [packages/base-configs](./packages/base-configs
| [semantic-release][semantic-release-link] | [@ivuorinen/semantic-release-config][pkg-src] | [![@ivuorinen/semantic-release-config][semantic-release-badge]][semantic-release-npm] |
| [stylelint][stylelint-link] | [@ivuorinen/stylelint-config][pkg-stylelint] | [![@ivuorinen/stylelint-config][stylelint-badge]][stylelint-npm] |
[pkg-browserlist]: ./packages/browserslist-config
[pkg-commitlint]: ./packages/commitlint-config
[pkg-eslint]: ./packages/eslint-config
[pkg-markdownlint]: ./packages/markdownlint-config
[pkg-prettier]: ./packages/prettier-config
[pkg-src]: ./packages/semantic-release-config
[pkg-stylelint]: ./packages/stylelint-config
[pkg-browserlist]: https://www.npmjs.com/package/@ivuorinen/browserlist-config
[pkg-commitlint]: https://www.npmjs.com/package/@ivuorinen/commitlint-config
[pkg-eslint]: https://www.npmjs.com/package/@ivuorinen/eslint-config
[pkg-markdownlint]: https://www.npmjs.com/package/@ivuorinen/markdownlint-config
[pkg-prettier]: https://www.npmjs.com/package/@ivuorinen/prettier-config
[pkg-src]: https://www.npmjs.com/package/@ivuorinen/semantic-release-config
[pkg-stylelint]: https://www.npmjs.com/package/@ivuorinen/stylelint-config
## Badge
@@ -72,20 +65,18 @@ If you are interested in helping contribute, please take a look at our [contribu
## Changelog
See CHANGELOG for a human-readable history of changes in each package own folder.
See [CHANGELOG][changelog-link] for a human-readable history of changes.
## License
Distributed under the MIT License. See [LICENSE][license-link] for more information.
[changelog-link]: ./CHANGELOG.md
[contributing-link]: https://github.com/ivuorinen/.github/blob/main/CONTRIBUTING.md
[issue-link]: https://github.com/ivuorinen/base-configs/issues
[license-badge]: https://img.shields.io/github/license/ivuorinen/base-configs?style=flat-square&labelColor=292a44&color=663399
[license-link]: ./LICENSE
[packages-link]: ./packages
[pull-request-link]: https://github.com/ivuorinen/base-configs/pulls
[meta-badge]: https://img.shields.io/npm/v/@ivuorinen/base-configs?style=flat-square&labelColor=292a44&color=663399
[meta-npm]: https://www.npmjs.com/package/@ivuorinen/base-configs
[style-badge]: https://img.shields.io/badge/code_style-ivuorinen%E2%80%99s-663399.svg?labelColor=292a44&style=flat-square
[style-link]: https://github.com/ivuorinen/base-configs
[browserslist-badge]: https://img.shields.io/npm/v/@ivuorinen/browserslist-config?style=flat-square&labelColor=292a44&color=663399
@@ -109,3 +100,5 @@ Distributed under the MIT License. See [LICENSE][license-link] for more informat
[stylelint-badge]: https://img.shields.io/npm/v/@ivuorinen/stylelint-config?style=flat-square&labelColor=292a44&color=663399
[stylelint-link]: https://github.com/stylelint/stylelint
[stylelint-npm]: https://www.npmjs.com/package/@ivuorinen/stylelint-config
[npm-badge]: https://img.shields.io/npm/v/@ivuorinen/base-configs?style=flat-square&labelColor=292a44&color=663399
[npm-link]: https://www.npmjs.com/package/@ivuorinen/base-configs

View File

@@ -1,4 +1,4 @@
import ivuorinenConfig from '@ivuorinen/eslint-config';
import ivuorinenConfig from '@ivuorinen/eslint-config'
export default [
...ivuorinenConfig,
@@ -9,4 +9,4 @@ export default [
// "no-unused-vars": "warn"
}
}
];
]

View File

@@ -1,9 +1,8 @@
{
"private": true,
"name": "@ivuorinen/base-configs-meta",
"version": "1.0.0",
"name": "@ivuorinen/base-configs",
"version": "2.0.31",
"type": "module",
"description": "A collection of base configs for code quality and linting tools.",
"description": "ivuorinen's shareable configurations meta package",
"author": {
"name": "Ismo Vuorinen",
"url": "https://github.com/ivuorinen"
@@ -18,7 +17,10 @@
}
],
"engines": {
"node": "^20.9.0 || >=21.1.0"
"node": ">=20"
},
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/ivuorinen/base-configs#readme",
"keywords": [
@@ -37,26 +39,21 @@
"url": "https://github.com/ivuorinen/base-configs.git"
},
"scripts": {
"deps:dedupe": "lernaupdate --dedupe",
"deps:update": "lernaupdate",
"eslint:fix": "eslint '**/*.{js,tsx,ts,mjs,cjs}' --fix",
"eslint:report": "eslint '**/*.{js,tsx,ts,mjs,cjs}'",
"lerna:bootstrap:ci": "yarn --frozen-lockfile --ignore-engines",
"lerna:bootstrap": "yarn",
"lerna:publish": "lerna publish from-package",
"lerna:version": "lerna version",
"markdownlint:fix": "markdownlint '**/*.md' --fix",
"markdownlint:report": "markdownlint '**/*.md'",
"prettier:fix": "prettier '**/*.{js,tsx,ts,json,mjs,cjs}' --write",
"prettier:report": "prettier '**/*.{js,tsx,ts,json,mjs,cjs}' --check"
},
"devDependencies": {
"@ivuorinen/commitlint-config": "@ivuorinen/base-configs-commitlint",
"@ivuorinen/eslint-config": "@ivuorinen/base-configs-eslint",
"@ivuorinen/prettier-config": "@ivuorinen/base-configs-prettier",
"@ivuorinen/semantic-release-config": "@ivuorinen/base-configs-semantic-release",
"@ivuorinen/browserslist-config": "^0.4.4",
"@ivuorinen/commitlint-config": "^0.3.8",
"@ivuorinen/eslint-config": "^0.5.12",
"@ivuorinen/markdownlint-config": "^0.3.15",
"@ivuorinen/prettier-config": "^0.3.8",
"@ivuorinen/semantic-release-config": "^0.3.9",
"@types/node": "*",
"lerna": "^8.0.0",
"simple-git-hooks": "^2.8.1",
"typescript": ">=4.2.0"
},

View File

@@ -1,21 +0,0 @@
MIT License
Copyright (c) 2023 Ismo Vuorinen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -1,35 +0,0 @@
# @ivuorinen/base-configs <!-- omit in toc -->
[![npm package][npm-badge]][npm-link] [![license MIT][license-badge]][license-link] [![ivuorinen's Code Style][style-badge]][style-link]
This is a meta package for all my base configs.
You can find all the individual configs in the `packages` folder.
The main reason for this package is to make it easier to use these configs in other projects, and to update them all at once. No more pull requests to update all the configs one at a time!
## Installation
```bash
# npm
npm install @ivuorinen/base-configs --save-dev
# yarn
yarn add @ivuorinen/base-configs --dev
```
## Changelog
See [CHANGELOG][changelog-link] for a human-readable history of changes.
## License
MIT License. See [LICENSE][license-link] for more info.
[changelog-link]: ./CHANGELOG.md
[license-badge]: https://img.shields.io/github/license/ivuorinen/base-configs?style=flat-square&labelColor=292a44&color=663399
[license-link]: ./LICENSE
[npm-badge]: https://img.shields.io/npm/v/@ivuorinen/base-configs?style=flat-square&labelColor=292a44&color=663399
[npm-link]: https://www.npmjs.com/package/@ivuorinen/base-configs
[style-badge]: https://img.shields.io/badge/code_style-ivuorinen%E2%80%99s-663399.svg?labelColor=292a44&style=flat-square
[style-link]: https://github.com/ivuorinen/base-configs

View File

@@ -1,38 +0,0 @@
{
"name": "@ivuorinen/base-configs",
"version": "2.0.31",
"type": "module",
"description": "ivuorinen's shareable configurations meta package",
"author": {
"name": "Ismo Vuorinen",
"url": "https://github.com/ivuorinen"
},
"bugs": {
"url": "https://github.com/ivuorinen/base-configs/issues"
},
"engines": {
"node": ">=20"
},
"homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/base-configs#readme",
"keywords": [
"base-config",
"config",
"ivuorinen"
],
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ivuorinen/base-configs.git"
},
"dependencies": {
"@ivuorinen/browserslist-config": "^0.4.4",
"@ivuorinen/commitlint-config": "^0.3.8",
"@ivuorinen/eslint-config": "^0.5.12",
"@ivuorinen/markdownlint-config": "^0.3.15",
"@ivuorinen/prettier-config": "^0.3.8",
"@ivuorinen/semantic-release-config": "^0.3.9"
}
}

File diff suppressed because it is too large Load Diff

3039
yarn.lock

File diff suppressed because it is too large Load Diff