Compare commits

...

24 Commits

Author SHA1 Message Date
ivuorinen
007b29019e chore(release): publish
- @ivuorinen/base-configs@1.1.1
 - @ivuorinen/browserslist-config@0.2.2
 - @ivuorinen/commitlint-config@0.2.4
 - @ivuorinen/config-checker@1.1.2
 - @ivuorinen/eslint-config@0.3.4
 - @ivuorinen/markdownlint-config@0.2.2
 - @ivuorinen/prettier-config@0.2.2
 - @ivuorinen/semantic-release-config@0.2.2
 - @ivuorinen/stylelint-config@0.2.2
2023-10-31 09:23:11 +00:00
Ismo Vuorinen
58812035c1 chore(docs): improved readme 2023-10-31 11:22:41 +02:00
Ismo Vuorinen
1a47cca54c chore(docs): better readme 2023-10-31 11:22:11 +02:00
ivuorinen
33a338c347 chore(release): publish
- @ivuorinen/base-configs@1.1.0
 - @ivuorinen/browserslist-config@0.2.1
 - @ivuorinen/commitlint-config@0.2.3
 - @ivuorinen/config-checker@1.1.1
 - @ivuorinen/eslint-config@0.3.3
 - @ivuorinen/markdownlint-config@0.2.1
 - @ivuorinen/prettier-config@0.2.1
 - @ivuorinen/semantic-release-config@0.2.1
 - @ivuorinen/stylelint-config@0.2.1
2023-10-30 11:55:37 +00:00
Ismo Vuorinen
a980c0d342 chore(lint): lint all and remove extra files 2023-10-30 13:54:51 +02:00
Ismo Vuorinen
3a0a571fab chore(base-configs): lint files 2023-10-30 13:48:10 +02:00
Ismo Vuorinen
88dbe395d1 fix(base-configs): convert config from ES module 2023-10-30 13:41:56 +02:00
Ismo Vuorinen
ccce8ce539 chore(deps): upgrade root dependencies 2023-10-30 13:38:08 +02:00
Ismo Vuorinen
feddfcfdba feat(package): new pkg: @ivuorinen/base-configs (#121) 2023-10-30 13:31:47 +02:00
renovate[bot]
83d10c71dd chore(deps): update dependency eslint-plugin-prettier to v5 (#64) 2023-10-30 07:54:56 +02:00
renovate[bot]
15e815a53d fix(deps): update dependency prettier to v3 (#58) 2023-10-30 07:53:56 +02:00
ivuorinen
7701598952 chore(release): publish
- @ivuorinen/eslint-config@0.3.2
2023-10-29 22:55:33 +00:00
renovate[bot]
106f7555e3 fix(deps): update dependency eslint-plugin-jest to v27.6.0 (#120)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-30 00:54:57 +02:00
ivuorinen
da4723b217 chore(release): publish
- @ivuorinen/commitlint-config@0.2.2
2023-10-29 12:29:20 +00:00
renovate[bot]
1c2b5d6faf fix(deps): update dependency @commitlint/cli to v18.2.0 (#119) 2023-10-29 14:28:40 +02:00
ivuorinen
004dfeb14a chore(release): publish
- @ivuorinen/commitlint-config@0.2.1
2023-10-28 14:17:17 +00:00
renovate[bot]
3cbb85289a fix(deps): update commitlint monorepo to v18.1.0 (#118) 2023-10-28 17:16:42 +03:00
ivuorinen
030322915d chore(release): publish
- @ivuorinen/eslint-config@0.3.1
2023-10-27 12:38:28 +00:00
renovate[bot]
f1507a230f fix(deps): update dependency eslint-plugin-import to v2.29.0 (#117) 2023-10-27 15:37:45 +03:00
ivuorinen
f3a80ecd3e chore(release): publish
- @ivuorinen/browserslist-config@0.2.0
 - @ivuorinen/commitlint-config@0.2.0
 - @ivuorinen/eslint-config@0.3.0
 - @ivuorinen/markdownlint-config@0.2.0
 - @ivuorinen/prettier-config@0.2.0
 - @ivuorinen/semantic-release-config@0.2.0
 - @ivuorinen/stylelint-config@0.2.0
2023-10-25 20:10:05 +00:00
Ismo Vuorinen
9beafec486 feat: skip config creation if one already found (#110)
This commit introduces mechanism that'll check for common configuration file locations and respects the original file.
2023-10-25 23:09:15 +03:00
ivuorinen
56362dad96 chore(release): publish
- @ivuorinen/config-checker@1.1.0
2023-10-25 19:20:33 +00:00
Ismo Vuorinen
9d372493e8 feat(config-checker): new package: config-checker 2023-10-25 22:19:45 +03:00
Ismo Vuorinen
83e3823b9e chore(repo): updated lerna workspace 2023-10-24 12:30:37 +03:00
51 changed files with 7475 additions and 1057 deletions

View File

@@ -10,6 +10,7 @@ indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 120
[*.md]
max_line_length = off

View File

@@ -14,5 +14,6 @@
}
},
"npmClient": "yarn",
"packages": ["packages/*"]
"packages": ["packages/*"],
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}

View File

@@ -59,14 +59,14 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-sonarjs": "^0.21.0",
"eslint-plugin-unicorn": "^48.0.0",
"lerna": "^7.0.0",
"lerna-update-wizard": "^1.1.2",
"markdownlint-cli": "^0.37.0",
"prettier": "^2.8.0",
"prettier": "^3.0.0",
"simple-git-hooks": "^2.8.1"
}
}

View File

@@ -0,0 +1,17 @@
# Change Log
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.1.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.0...@ivuorinen/base-configs@1.1.1) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/base-configs
# 1.1.0 (2023-10-30)
### Bug Fixes
- **base-configs:** convert config from ES module ([88dbe39](https://github.com/ivuorinen/base-configs/commit/88dbe395d1843384edf97eab4ee5c43810deae4f))
### Features
- **package:** new pkg: @ivuorinen/base-configs ([#121](https://github.com/ivuorinen/base-configs/issues/121)) ([feddfcf](https://github.com/ivuorinen/base-configs/commit/feddfcfdba391f8ed4bf59589737a340401e4fba))

View File

@@ -0,0 +1,21 @@
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

@@ -0,0 +1,35 @@
# @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

@@ -0,0 +1,37 @@
{
"name": "@ivuorinen/base-configs",
"version": "1.1.1",
"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": ">=18"
},
"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.2.2",
"@ivuorinen/commitlint-config": "^0.2.4",
"@ivuorinen/eslint-config": "^0.3.4",
"@ivuorinen/markdownlint-config": "^0.2.2",
"@ivuorinen/prettier-config": "^0.2.2",
"@ivuorinen/semantic-release-config": "^0.2.2"
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -2,6 +2,20 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.1...@ivuorinen/browserslist-config@0.2.2) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/browserslist-config
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.0...@ivuorinen/browserslist-config@0.2.1) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/browserslist-config
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.12...@ivuorinen/browserslist-config@0.2.0) (2023-10-25)
### Features
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
## [0.1.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.11...@ivuorinen/browserslist-config@0.1.12) (2023-10-24)
**Note:** Version bump only for package @ivuorinen/browserslist-config

View File

@@ -1,6 +1,3 @@
'use strict'
module.exports = [
'defaults and fully supports es6-module',
'maintained node versions'
]
module.exports = ['defaults and fully supports es6-module', 'maintained node versions']

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/browserslist-config",
"version": "0.1.12",
"version": "0.2.2",
"description": "ivuorinen's shareable configuration for Browserslist.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,6 +36,7 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.2",
"browserslist": "4.22.1"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"

View File

@@ -2,9 +2,18 @@
const fs = require('fs')
const path = require('path')
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('browserslist')
if (foundConfig.length > 0) {
console.log('browserslist-config: Found existing browserslist config file, skipping creation.')
console.log('browserslist-config: If you want to create a new config file, please remove the existing one.')
console.log(`browserslist-config: Found config files at: ${foundConfig.join(', ')}`)
process.exit(0)
}
const filePath = path.join(process.env.INIT_CWD, '.browserslistrc')
const fileConfigObject = 'extends @ivuorinen/browserslist-config'
if (!fs.existsSync(filePath)) {

View File

@@ -2,6 +2,11 @@
# yarn lockfile v1
"@ivuorinen/config-checker@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.0.tgz#73a996445a917627cb558ea69f616978ff97da9d"
integrity sha512-YHQSF2yt4YZM0W9jdFXdPUB4X1AicweDJWSJtFw58GVI4+wI8+CJtoKL/Dmbn8F3B6H6gngQHwzENqw80Zsskg==
browserslist@4.22.1:
version "4.22.1"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.1.tgz#ba91958d1a59b87dab6fed8dfbcb3da5e2e9c619"

View File

@@ -2,6 +2,32 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.3...@ivuorinen/commitlint-config@0.2.4) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/commitlint-config
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.2...@ivuorinen/commitlint-config@0.2.3) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/commitlint-config
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.1...@ivuorinen/commitlint-config@0.2.2) (2023-10-29)
### Bug Fixes
- **deps:** update dependency @commitlint/cli to v18.2.0 ([#119](https://github.com/ivuorinen/base-configs/issues/119)) ([1c2b5d6](https://github.com/ivuorinen/base-configs/commit/1c2b5d6faf5d0e78754392c28b157ac58afc73e9))
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.0...@ivuorinen/commitlint-config@0.2.1) (2023-10-28)
### Bug Fixes
- **deps:** update commitlint monorepo to v18.1.0 ([#118](https://github.com/ivuorinen/base-configs/issues/118)) ([3cbb852](https://github.com/ivuorinen/base-configs/commit/3cbb85289a1599eed3d87927e1bd402520b4d74d))
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.1.14...@ivuorinen/commitlint-config@0.2.0) (2023-10-25)
### Features
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
## [0.1.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.1.13...@ivuorinen/commitlint-config@0.1.14) (2023-10-24)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/commitlint-config",
"version": "0.1.14",
"version": "0.2.4",
"description": "ivuorinen's shareable configuration for commitlint.",
"author": {
"name": "Ismo Vuorinen",
@@ -35,8 +35,9 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"@commitlint/cli": "18.0.0",
"@commitlint/config-conventional": "18.0.0"
"@commitlint/cli": "18.2.0",
"@commitlint/config-conventional": "18.1.0",
"@ivuorinen/config-checker": "^1.1.2"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

@@ -2,9 +2,18 @@
const fs = require('fs')
const path = require('path')
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('commitlint')
if (foundConfig.length > 0) {
console.log('commitlint-config: Found existing commitlint config file, skipping creation.')
console.log('commitlint-config: If you want to create a new config file, please remove the existing one.')
console.log(`commitlint-config: Found config files at: ${foundConfig.join(', ')}`)
process.exit(0)
}
const filePath = path.join(process.env.INIT_CWD, '.commitlintrc.json')
const fileConfigObject = {
extends: ['@ivuorinen/commitlint-config']
}

View File

@@ -24,211 +24,169 @@
chalk "^2.4.2"
js-tokens "^4.0.0"
"@commitlint/cli@18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-18.0.0.tgz#69455c429211aef1b058a2bd22c34eb840eb6730"
integrity sha512-0HuJB7VfxSqia0r+mZ9VLgTc5gPaRDiQtloLfwCBp63PvpFn2sZsidiZBbym3jDC6+P47HSuIdRRg3/JsCcBwA==
"@commitlint/cli@18.2.0":
version "18.2.0"
resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-18.2.0.tgz#c2dc8f0a834b5c4befa48cad6396f694f28d2b5f"
integrity sha512-F/DCG791kMFmWg5eIdogakuGeg4OiI2kD430ed1a1Hh3epvrJdeIAgcGADAMIOmF+m0S1+VlIYUKG2dvQQ1Izw==
dependencies:
"@commitlint/format" "^18.0.0"
"@commitlint/lint" "^18.0.0"
"@commitlint/load" "^18.0.0"
"@commitlint/read" "^18.0.0"
"@commitlint/types" "^18.0.0"
"@commitlint/format" "^18.1.0"
"@commitlint/lint" "^18.1.0"
"@commitlint/load" "^18.2.0"
"@commitlint/read" "^18.1.0"
"@commitlint/types" "^18.1.0"
execa "^5.0.0"
lodash.isfunction "^3.0.9"
resolve-from "5.0.0"
resolve-global "1.0.0"
yargs "^17.0.0"
"@commitlint/config-conventional@18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-18.0.0.tgz#3c7233334e7907dbc925b7fd03d9bc6c7aa776b3"
integrity sha512-XZW3MDwhMWwr7pf+jO5F18ohBwrJ8mt+1OPhkVyO8bYrY0dKPE5tPpdXlDt+JCFurl4VnUDPmu6xZ4/cKCH7cA==
"@commitlint/config-conventional@18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-18.1.0.tgz#f8f37b0de4090ebd3f9418672184814fab520205"
integrity sha512-8vvvtV3GOLEMHeKc8PjRL1lfP1Y4B6BG0WroFd9PJeRiOc3nFX1J0wlJenLURzl9Qus6YXVGWf+a/ZlbCKT3AA==
dependencies:
conventional-changelog-conventionalcommits "^7.0.2"
"@commitlint/config-validator@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/config-validator/-/config-validator-18.0.0.tgz#c48e86a16e6b2d7a717c23a7ed39a839a65fe769"
integrity sha512-PlXy5QZzQeMgQM7jb0odIhxsI6GWcbGgfy+Hkz5ap31KES/oJgtEvgD8pjg0Z9Ri296bT6zK3ts6brS0MAcMgg==
"@commitlint/config-validator@^18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/config-validator/-/config-validator-18.1.0.tgz#e717151ab99206bdf70d2b526a32e530cec72512"
integrity sha512-kbHkIuItXn93o2NmTdwi5Mk1ujyuSIysRE/XHtrcps/27GuUKEIqBJp6TdJ4Sq+ze59RlzYSHMKuDKZbfg9+uQ==
dependencies:
"@commitlint/types" "^18.0.0"
"@commitlint/types" "^18.1.0"
ajv "^8.11.0"
"@commitlint/ensure@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-18.0.0.tgz#877f723b65b9f4d6faa14b0380ffd350960c3bec"
integrity sha512-AhzK4ybWGVmO7lwC33dGujS0k2IZDNFiew80M1H2R5Ou7Qkqq7sbuMZoof+yjOQcqltYP4IHLd0YECZoGermvQ==
"@commitlint/ensure@^18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-18.1.0.tgz#3342fdaf42210166a6ca8779c0028298dd60b4b7"
integrity sha512-CkPzJ9UBumIo54VDcpmBlaVX81J++wzEhN3DJH9+6PaLeiIG+gkSx8t7C2gfwG7PaiW4HzQtdQlBN5ab+c4vFQ==
dependencies:
"@commitlint/types" "^18.0.0"
"@commitlint/types" "^18.1.0"
lodash.camelcase "^4.3.0"
lodash.kebabcase "^4.1.1"
lodash.snakecase "^4.1.1"
lodash.startcase "^4.4.0"
lodash.upperfirst "^4.3.1"
"@commitlint/execute-rule@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-18.0.0.tgz#4d0dc224b257e15e373bae098f5f55257a1aad28"
integrity sha512-eNUSaHajb+g3sgZeIrfc6cXNnKIkYN2SXtDVXuiE+hOa055T0bLdZK29gSd945JCztxPVwdOkPLDeLg3NfDubg==
"@commitlint/execute-rule@^18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-18.1.0.tgz#1dcacf8da1981dd2e6da76988fdac9f48cdccd46"
integrity sha512-w3Vt4K+O7+nSr9/gFSEfZ1exKUOPSlJaRpnk7Y+XowEhvwT7AIk1HNANH+gETf0zGZ020+hfiMW/Ome+SNCUsg==
"@commitlint/format@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/format/-/format-18.0.0.tgz#43b522e7e375c0becfceb4812abe0fa44c6f0b7e"
integrity sha512-etvUmOufihecdNm0r5+rCetrO2Yj7fSkJ4f0k8xOzqrrNdID9G/6iK14i/ufISBLSSy0XzsiiV+Rn9TX/cg46Q==
"@commitlint/format@^18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/format/-/format-18.1.0.tgz#fe0d03b47cf2eda98a5bd9819d595935f53576de"
integrity sha512-So/w217tGWMZZb1yXcUFNF2qFLyYtSVqbnGoMbX8a+JKcG4oB11Gc1adS0ssUOMivtiNpaLtkSHFynyiwtJtiQ==
dependencies:
"@commitlint/types" "^18.0.0"
"@commitlint/types" "^18.1.0"
chalk "^4.1.0"
"@commitlint/is-ignored@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-18.0.0.tgz#980fd497186e321c68d97ca49178afce726951d1"
integrity sha512-fAUOF4GlKTmreE5hxhLlVUcXd1aIexxn+edocbMSwOa4dcm8OoHbsLcDB/rhwXIK+jzK4DybCMCx1VaTeRC4SQ==
"@commitlint/is-ignored@^18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-18.1.0.tgz#f43501fcf853a35d5d1062c63694b2fbb88a72d6"
integrity sha512-fa1fY93J/Nx2GH6r6WOLdBOiL7x9Uc1N7wcpmaJ1C5Qs6P+rPSUTkofe2IOhSJIJoboHfAH6W0ru4xtK689t0Q==
dependencies:
"@commitlint/types" "^18.0.0"
"@commitlint/types" "^18.1.0"
semver "7.5.4"
"@commitlint/lint@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-18.0.0.tgz#81c923a22cb9c6151794a320fa32feef9a8bb14c"
integrity sha512-Vqg6sIPm7nELu/U4lEzKMdLYaELgwSySGZzKc2YjJxdJWyiQo0b1hfCpxXsWGdNBOt0+CM4eBAGoX/Kjq5AYNA==
"@commitlint/lint@^18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-18.1.0.tgz#fb4a93340224e44fff4b5e7fc703d1dac390a32e"
integrity sha512-LGB3eI5UYu5LLayibNrRM4bSbowr1z9uyqvp0c7+0KaSJi+xHxy/QEhb6fy4bMAtbXEvygY0sUu9HxSWg41rVQ==
dependencies:
"@commitlint/is-ignored" "^18.0.0"
"@commitlint/parse" "^18.0.0"
"@commitlint/rules" "^18.0.0"
"@commitlint/types" "^18.0.0"
"@commitlint/is-ignored" "^18.1.0"
"@commitlint/parse" "^18.1.0"
"@commitlint/rules" "^18.1.0"
"@commitlint/types" "^18.1.0"
"@commitlint/load@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-18.0.0.tgz#fb5fca987dc287dee14c36b8a80a082050c144bf"
integrity sha512-ocvMSkzNZCJ4yV673xjd4Y7sFVG/mg7S6yvL5ioM0OIG2XTbcCdzpmq+BeJcIwsRYU9g/b688yh7RDzGlbai6w==
"@commitlint/load@^18.2.0":
version "18.2.0"
resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-18.2.0.tgz#ca2428c306d0b7f5ae9bac91991efaa359ba0ad6"
integrity sha512-xjX3d3CRlOALwImhOsmLYZh14/+gW/KxsY7+bPKrzmGuFailf9K7ckhB071oYZVJdACnpY4hDYiosFyOC+MpAA==
dependencies:
"@commitlint/config-validator" "^18.0.0"
"@commitlint/execute-rule" "^18.0.0"
"@commitlint/resolve-extends" "^18.0.0"
"@commitlint/types" "^18.0.0"
"@commitlint/config-validator" "^18.1.0"
"@commitlint/execute-rule" "^18.1.0"
"@commitlint/resolve-extends" "^18.1.0"
"@commitlint/types" "^18.1.0"
"@types/node" "^18.11.9"
chalk "^4.1.0"
cosmiconfig "^8.0.0"
cosmiconfig-typescript-loader "^4.0.0"
cosmiconfig-typescript-loader "^5.0.0"
lodash.isplainobject "^4.0.6"
lodash.merge "^4.6.2"
lodash.uniq "^4.5.0"
resolve-from "^5.0.0"
ts-node "^10.8.1"
typescript "^5.2.2"
"@commitlint/message@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-18.0.0.tgz#17c8123b35027682ef5e050b54dc7c5e82e2190c"
integrity sha512-FJmEBn81RMEZrG1E1BxmjNoe/Rz918IeIGJRe5YXxM7IXboFhKS69rHPttNjKwSS038t6GUsRUJrAWqZnA6nCw==
"@commitlint/message@^18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-18.1.0.tgz#841f5b3a72922407ca3e3a1668568c2cf22e2cd0"
integrity sha512-8dT/jJg73wf3o2Mut/fqEDTpBYSIEVtX5PWyuY/0uviEYeheZAczFo/VMIkeGzhJJn1IrcvAwWsvJ1lVGY2I/w==
"@commitlint/parse@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-18.0.0.tgz#f56e29c5521f98156d3eb51bd7adf1b0472051bc"
integrity sha512-qbZYOCpIZzfFzV35s5ei3JkBG/8KUOyGYluAeaYIcYC9z0uKXEVK6O2F2P/KLvbTkgZ4Q9OOLDrrtoWzPb2pjg==
"@commitlint/parse@^18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-18.1.0.tgz#d5b019f47f090b0f82931a5ea1d5eeb0fc2a140e"
integrity sha512-23yv8uBweXWYn8bXk4PjHIsmVA+RkbqPh2h7irupBo2LthVlzMRc4LM6UStasScJ4OlXYYaWOmuP7jcExUF50Q==
dependencies:
"@commitlint/types" "^18.0.0"
"@commitlint/types" "^18.1.0"
conventional-changelog-angular "^6.0.0"
conventional-commits-parser "^5.0.0"
"@commitlint/read@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/read/-/read-18.0.0.tgz#e9acb501bf8c206174af5e36eca7248c979b8fb7"
integrity sha512-VclRvG+ZvHOjYP4rmKPfNwS7eSI5m68D/CPtT2do/D4EBljmLBwqCYVL1I/3y2E6Fbub1GfYoXiRHThd1cVlag==
"@commitlint/read@^18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/read/-/read-18.1.0.tgz#646dc66b0784f864f663b5ad82fabf8789fb41d8"
integrity sha512-rzfzoKUwxmvYO81tI5o1371Nwt3vhcQR36oTNfupPdU1jgSL3nzBIS3B93LcZh3IYKbCIMyMPN5WZ10BXdeoUg==
dependencies:
"@commitlint/top-level" "^18.0.0"
"@commitlint/types" "^18.0.0"
"@commitlint/top-level" "^18.1.0"
"@commitlint/types" "^18.1.0"
fs-extra "^11.0.0"
git-raw-commits "^2.0.11"
minimist "^1.2.6"
"@commitlint/resolve-extends@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-18.0.0.tgz#9b5b2751d32c35cb32f6545cb7bbbdeba46cabc1"
integrity sha512-MD9+6GSiWvqgdJtfos+1gqz+zmy2vV7TbUVz2ETZzpfECgmUZSZSYzyivivBAQK6feS71KxmMLL8+YFF9+FFRQ==
"@commitlint/resolve-extends@^18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-18.1.0.tgz#f134b679c3dfdd4006d2d6c9ace36237b7b0ffed"
integrity sha512-3mZpzOEJkELt7BbaZp6+bofJyxViyObebagFn0A7IHaLARhPkWTivXdjvZHS12nAORftv88Yhbh8eCPKfSvB7g==
dependencies:
"@commitlint/config-validator" "^18.0.0"
"@commitlint/types" "^18.0.0"
"@commitlint/config-validator" "^18.1.0"
"@commitlint/types" "^18.1.0"
import-fresh "^3.0.0"
lodash.mergewith "^4.6.2"
resolve-from "^5.0.0"
resolve-global "^1.0.0"
"@commitlint/rules@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-18.0.0.tgz#f82bef1bce196963abbd352e79bf90f358a273c0"
integrity sha512-J7xjMKC4H1hfZR8fmPPuV35wS8Vgy3YX9xIpfPJhsDnRk2BL/dyZjNEXPdvlbpvkNgkfIWi0A0IDtW1dDoViag==
"@commitlint/rules@^18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-18.1.0.tgz#772fe47c5ff78482881f5238b17f129027f06cdb"
integrity sha512-VJNQ674CRv4znI0DbsjZLVnn647J+BTxHGcrDIsYv7c99gW7TUGeIe5kL80G7l8+5+N0se8v9yn+Prr8xEy6Yw==
dependencies:
"@commitlint/ensure" "^18.0.0"
"@commitlint/message" "^18.0.0"
"@commitlint/to-lines" "^18.0.0"
"@commitlint/types" "^18.0.0"
"@commitlint/ensure" "^18.1.0"
"@commitlint/message" "^18.1.0"
"@commitlint/to-lines" "^18.1.0"
"@commitlint/types" "^18.1.0"
execa "^5.0.0"
"@commitlint/to-lines@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/to-lines/-/to-lines-18.0.0.tgz#d2c2c8c30fc03cf2562caaca36604891fa1ec1dc"
integrity sha512-HwwBvzXX+3x7XYvBrEKy69S9w/clUEL0gMwkXTtg5awUpvEvzmTz1FBE/5WIiUICyOGdH1NhV1WgKb7UwOnI4A==
"@commitlint/to-lines@^18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/to-lines/-/to-lines-18.1.0.tgz#6dc3784cd49843e05bc5939696aaa0cd2f4b58a1"
integrity sha512-aHIoSDjG0ckxPLYDpODUeSLbEKmF6Jrs1B5JIssbbE9eemBtXtjm9yzdiAx9ZXcwoHlhbTp2fbndDb3YjlvJag==
"@commitlint/top-level@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/top-level/-/top-level-18.0.0.tgz#08c763dfbdb6d87ebd4e3bf72859806f4cc21af6"
integrity sha512-6+jjZhe9pF7ioD9IR2HChteTh95KPXa7GUUV52e0YhEsFArkCnyhzSL72ko1c2Xad0sWNBL0e76mifi20wD/Bg==
"@commitlint/top-level@^18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/top-level/-/top-level-18.1.0.tgz#ddbfa15baecac424f3d64bf0a29eed9ac4e48eb1"
integrity sha512-1/USHlolIxJlsfLKecSXH+6PDojIvnzaJGPYwF7MtnTuuXCNQ4izkeqDsRuNMe9nU2VIKpK9OT8Q412kGNmgGw==
dependencies:
find-up "^5.0.0"
"@commitlint/types@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@commitlint/types/-/types-18.0.0.tgz#e4b86c605e0d94d10a7487848e505983f15a715b"
integrity sha512-FDzAdSm7kIir0NW0bZLENdrEgf/9Ihs1AAqE9DK9R+dRFby4ookkxPMaz7elZmG+e5rBl7hGrWJzJINqG9cDDg==
"@commitlint/types@^18.1.0":
version "18.1.0"
resolved "https://registry.yarnpkg.com/@commitlint/types/-/types-18.1.0.tgz#7d0d0227ee28b5bacbafa648601ee51e8604f03e"
integrity sha512-65vGxZmbs+2OVwEItxhp3Ul7X2m2LyLfifYI/NdPwRqblmuES2w2aIRhIjb7cwUIBHHSTT8WXj4ixVHQibmvLQ==
dependencies:
chalk "^4.1.0"
"@cspotcode/source-map-support@^0.8.0":
version "0.8.1"
resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1"
integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==
dependencies:
"@jridgewell/trace-mapping" "0.3.9"
"@jridgewell/resolve-uri@^3.0.3":
version "3.1.1"
resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz#c08679063f279615a3326583ba3a90d1d82cc721"
integrity sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==
"@jridgewell/sourcemap-codec@^1.4.10":
version "1.4.15"
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32"
integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==
"@jridgewell/trace-mapping@0.3.9":
version "0.3.9"
resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9"
integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==
dependencies:
"@jridgewell/resolve-uri" "^3.0.3"
"@jridgewell/sourcemap-codec" "^1.4.10"
"@tsconfig/node10@^1.0.7":
version "1.0.9"
resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2"
integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==
"@tsconfig/node12@^1.0.7":
version "1.0.11"
resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d"
integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==
"@tsconfig/node14@^1.0.0":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1"
integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==
"@tsconfig/node16@^1.0.2":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.4.tgz#0b92dcc0cc1c81f6f306a381f28e31b1a56536e9"
integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==
"@ivuorinen/config-checker@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.0.tgz#73a996445a917627cb558ea69f616978ff97da9d"
integrity sha512-YHQSF2yt4YZM0W9jdFXdPUB4X1AicweDJWSJtFw58GVI4+wI8+CJtoKL/Dmbn8F3B6H6gngQHwzENqw80Zsskg==
"@types/minimist@^1.2.0":
version "1.2.4"
@@ -253,16 +211,6 @@ JSONStream@^1.3.5:
jsonparse "^1.2.0"
through ">=2.2.7 <3"
acorn-walk@^8.1.1:
version "8.2.0"
resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1"
integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==
acorn@^8.4.1:
version "8.10.0"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5"
integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==
ajv@^8.11.0:
version "8.12.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1"
@@ -292,11 +240,6 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0:
dependencies:
color-convert "^2.0.1"
arg@^4.1.0:
version "4.1.3"
resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089"
integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==
argparse@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38"
@@ -413,10 +356,12 @@ conventional-commits-parser@^5.0.0:
meow "^12.0.1"
split2 "^4.0.0"
cosmiconfig-typescript-loader@^4.0.0:
version "4.4.0"
resolved "https://registry.yarnpkg.com/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.4.0.tgz#f3feae459ea090f131df5474ce4b1222912319f9"
integrity sha512-BabizFdC3wBHhbI4kJh0VkQP9GkBfoHPydD0COMce1nJ1kJAB3F2TmJ/I7diULBKtmEWSwEbuN/KDtgnmUUVmw==
cosmiconfig-typescript-loader@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-5.0.0.tgz#0d3becfe022a871f7275ceb2397d692e06045dc8"
integrity sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==
dependencies:
jiti "^1.19.1"
cosmiconfig@^8.0.0:
version "8.3.6"
@@ -428,11 +373,6 @@ cosmiconfig@^8.0.0:
parse-json "^5.2.0"
path-type "^4.0.0"
create-require@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333"
integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==
cross-spawn@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
@@ -460,11 +400,6 @@ decamelize@^1.1.0:
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==
diff@^4.0.1:
version "4.0.2"
resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d"
integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==
dot-prop@^5.1.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88"
@@ -683,6 +618,11 @@ isexe@^2.0.0:
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==
jiti@^1.19.1:
version "1.20.0"
resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.20.0.tgz#2d823b5852ee8963585c8dd8b7992ffc1ae83b42"
integrity sha512-3TV69ZbrvV6U5DfQimop50jE9Dl6J8O1ja1dvBbMba/sZ3YBEQqJ2VZRoQPVnhlzjNtU1vaXRZVrVjU4qtm8yA==
js-tokens@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
@@ -805,11 +745,6 @@ lru-cache@^6.0.0:
dependencies:
yallist "^4.0.0"
make-error@^1.1.1:
version "1.3.6"
resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2"
integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==
map-obj@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d"
@@ -1205,25 +1140,6 @@ trim-newlines@^3.0.0:
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144"
integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==
ts-node@^10.8.1:
version "10.9.1"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b"
integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==
dependencies:
"@cspotcode/source-map-support" "^0.8.0"
"@tsconfig/node10" "^1.0.7"
"@tsconfig/node12" "^1.0.7"
"@tsconfig/node14" "^1.0.0"
"@tsconfig/node16" "^1.0.2"
acorn "^8.4.1"
acorn-walk "^8.1.1"
arg "^4.1.0"
create-require "^1.1.0"
diff "^4.0.1"
make-error "^1.1.1"
v8-compile-cache-lib "^3.0.1"
yn "3.1.1"
type-fest@^0.18.0:
version "0.18.1"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.18.1.tgz#db4bc151a4a2cf4eebf9add5db75508db6cc841f"
@@ -1239,11 +1155,6 @@ type-fest@^0.8.1:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
typescript@^5.2.2:
version "5.2.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
universalify@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717"
@@ -1261,11 +1172,6 @@ util-deprecate@^1.0.1:
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==
v8-compile-cache-lib@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf"
integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==
validate-npm-package-license@^3.0.1:
version "3.0.4"
resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"
@@ -1323,11 +1229,6 @@ yargs@^17.0.0:
y18n "^5.0.5"
yargs-parser "^21.1.1"
yn@3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"
integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==
yocto-queue@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"

View File

@@ -0,0 +1,17 @@
# Change Log
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.1.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/config-checker@1.1.1...@ivuorinen/config-checker@1.1.2) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/config-checker
## [1.1.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/config-checker@1.1.0...@ivuorinen/config-checker@1.1.1) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/config-checker
# 1.1.0 (2023-10-25)
### Features
- **config-checker:** new package: config-checker ([9d37249](https://github.com/ivuorinen/base-configs/commit/9d372493e844694781877cd4853d87198590a0ad))

View File

@@ -0,0 +1,9 @@
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

@@ -0,0 +1,137 @@
# `@ivuorinen/config-checker` <!-- omit in toc -->
[![npm package][npm-badge]][npm-link] [![license MIT][license-badge]][license-link] [![ivuorinen's Code Style][style-badge]][style-link]
Check for existence of common configuration files in usually used locations.
## Installation
Install `this package` as a _`dependency`_:
```sh
# npm
npm install @ivuorinen/config-checker --save
# Yarn
yarn add @ivuorinen/config-checker
```
## Usage
This package is intended to be used in lifecycle events of other packages.
Configuration packages located in this repository use this tool to check for existence of configuration files, and if they exist, they will not create new ones.
### Real world example
For commitlint-config you can find the usage in the [commitlint-config postinstall.js][commitlint-postinstall-link] file.
Here's a snippet from the file:
```js
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('commitlint')
if (foundConfig.length > 0) {
console.log('commitlint-config: Found existing commitlint config file, skipping creation.')
console.log('commitlint-config: If you want to create a new config file, please remove the existing one.')
console.log(`commitlint-config: Found config files at: ${foundConfig.join(', ')}`)
process.exit(0)
}
```
### Locations scanned
| Searched configuration files |
| ----------------------------------- |
| `[module name]` |
| `[module name]`rc |
| `[module name]`rc.json |
| `[module name]`rc.yaml |
| `[module name]`rc.yml |
| `[module name]`rc.js |
| `[module name]`rc.ts |
| `[module name]`rc.mjs |
| `[module name]`rc.cjs |
| `[module name]`.jsonc |
| `[module name]`.yaml |
| `[module name]`.json |
| `[module name]`.config.js |
| `[module name]`.config.ts |
| `[module name]`.config.mjs |
| `[module name]`.config.cjs |
| .`[module name]` |
| .`[module name]`rc |
| .`[module name]`rc.json |
| .`[module name]`rc.yaml |
| .`[module name]`rc.yml |
| .`[module name]`rc.js |
| .`[module name]`rc.ts |
| .`[module name]`rc.mjs |
| .`[module name]`rc.cjs |
| .`[module name]`.jsonc |
| .`[module name]`.yaml |
| .`[module name]`.json |
| .`[module name]`.config.js |
| .`[module name]`.config.ts |
| .`[module name]`.config.mjs |
| .`[module name]`.config.cjs |
| .config/`[module name]` |
| .config/`[module name]`rc |
| .config/`[module name]`rc.json |
| .config/`[module name]`rc.yaml |
| .config/`[module name]`rc.yml |
| .config/`[module name]`rc.js |
| .config/`[module name]`rc.ts |
| .config/`[module name]`rc.mjs |
| .config/`[module name]`rc.cjs |
| .config/`[module name]`.jsonc |
| .config/`[module name]`.yaml |
| .config/`[module name]`.json |
| .config/`[module name]`.config.js |
| .config/`[module name]`.config.ts |
| .config/`[module name]`.config.mjs |
| .config/`[module name]`.config.cjs |
| .config/.`[module name]` |
| .config/.`[module name]`rc |
| .config/.`[module name]`rc.json |
| .config/.`[module name]`rc.yaml |
| .config/.`[module name]`rc.yml |
| .config/.`[module name]`rc.js |
| .config/.`[module name]`rc.ts |
| .config/.`[module name]`rc.mjs |
| .config/.`[module name]`rc.cjs |
| .config/.`[module name]`.jsonc |
| .config/.`[module name]`.yaml |
| .config/.`[module name]`.json |
| .config/.`[module name]`.config.js |
| .config/.`[module name]`.config.ts |
| .config/.`[module name]`.config.mjs |
| .config/.`[module name]`.config.cjs |
This list has been generated using `npm run generate-table`.
## Contributing
If you are interested in helping contribute, please take a look at our [contribution guidelines][contributing-link] and open an [issue][issue-link] or [pull request][pull-request-link].
## Changelog
See [CHANGELOG][changelog-link] for a human-readable history of changes.
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.
[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
[npm-badge]: https://img.shields.io/npm/v/@ivuorinen/config-checker?style=flat-square&labelColor=292a44&color=663399
[npm-link]: https://www.npmjs.com/package/@ivuorinen/config-checker
[pull-request-link]: https://github.com/ivuorinen/base-configs/pulls
[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
[commitlint-postinstall-link]: https://github.com/ivuorinen/base-configs/blob/main/packages/commitlint-config/scripts/postinstall.js

View File

@@ -0,0 +1,23 @@
'use strict'
const path = require('path')
const configChecker = require('..')
const assert = require('assert').strict
const configs = configChecker('test', path.join(__dirname, 'fixtures'))
/**
* Checks if an array contains a file.
*
* @param {string[]} configs - The array of configs to check.
* @param {string} file - The file to check for.
* @returns {boolean} - True if the array contains the file.
*/
function arrayContains(configs = [], file = '') {
return configs.some(config => config === file)
}
assert.ok(arrayContains(configs, '.testrc'))
assert.ok(arrayContains(configs, '.config/testrc.ts'))
console.info('configChecker tests passed')

View File

@@ -0,0 +1,19 @@
'use strict'
const configurationPaths = require('../lib/configuration-paths')
const configItems = configurationPaths('`[module name]`')
const longestLine = configItems.reduce((a, b) => (a.length > b.length ? a : b)).length
const mdTable = configItems.map(file => {
const diff = longestLine - file.length
return `| ${file}${' '.repeat(diff)} |`
})
console.log('# Configuration files\n')
const header = 'Searched configuration files'
console.log('| ' + header + ' '.repeat(longestLine - header.length) + ' |')
console.log('| ' + '-'.repeat(longestLine) + ' |')
mdTable.forEach(line => console.log(line))

View File

@@ -0,0 +1,31 @@
'use strict'
const fs = require('fs')
const path = require('path')
const process = require('process')
const configurationPaths = require('./configuration-paths')
/**
* Checks for the existence of a configuration file.
* @param {string} moduleName - The name of the module to check for.
* @param {string} pathPrefix - The prefix to add to the path.
* @returns {string[]} - The paths to the configuration files.
*/
const configChecker = (moduleName, pathPrefix = '') => {
let searchPath = process.env.INIT_CWD
if (pathPrefix.length > 0) {
searchPath = pathPrefix
}
const allFiles = configurationPaths(moduleName)
if (process.env.DEBUG) {
const filesWithPath = allFiles.map(file => path.join(searchPath, file))
console.log(filesWithPath)
}
// Look for config files in defined search path, and return found.
return allFiles.filter(file => fs.existsSync(path.join(searchPath, file)))
}
module.exports = configChecker

View File

@@ -0,0 +1,37 @@
'use strict'
const path = require('path')
/**
* Returns an array of configuration paths.
* @param {string} moduleName - The name of the module to check for.
* @returns {string[]} - The paths to the configuration files.
*/
function configurationPaths(moduleName) {
const filesPlain = [
moduleName,
`${moduleName}rc`,
`${moduleName}rc.json`,
`${moduleName}rc.yaml`,
`${moduleName}rc.yml`,
`${moduleName}rc.js`,
`${moduleName}rc.ts`,
`${moduleName}rc.mjs`,
`${moduleName}rc.cjs`,
`${moduleName}.jsonc`,
`${moduleName}.yaml`,
`${moduleName}.json`,
`${moduleName}.config.js`,
`${moduleName}.config.ts`,
`${moduleName}.config.mjs`,
`${moduleName}.config.cjs`
]
const filesDot = filesPlain.map(file => `.${file}`)
const bothFiles = filesPlain.concat(filesDot)
const filesInConfig = bothFiles.map(file => path.join('.config', file))
return bothFiles.concat(filesInConfig)
}
module.exports = configurationPaths

View File

@@ -0,0 +1,42 @@
{
"name": "@ivuorinen/config-checker",
"version": "1.1.2",
"description": "Checks the commonly used configuration locations for configuration files",
"keywords": [
"check-config",
"config",
"ivuorinen",
"config-checker",
"cosmicconfig",
"rcfile",
"rcfiles"
],
"author": {
"name": "Ismo Vuorinen",
"url": "https://github.com/ivuorinen"
},
"homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/config-checker#readme",
"license": "MIT",
"main": "lib/config-checker.js",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ivuorinen/base-configs.git"
},
"scripts": {
"test": "node ./__tests__/config-checker.test.js",
"generate-table": "node ./helpers/generate-md-table.js"
},
"bugs": {
"url": "https://github.com/ivuorinen/base-configs/issues"
}
}

View File

@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1

View File

@@ -2,6 +2,32 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.3.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.3...@ivuorinen/eslint-config@0.3.4) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/eslint-config
## [0.3.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.2...@ivuorinen/eslint-config@0.3.3) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/eslint-config
## [0.3.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.1...@ivuorinen/eslint-config@0.3.2) (2023-10-29)
### Bug Fixes
- **deps:** update dependency eslint-plugin-jest to v27.6.0 ([#120](https://github.com/ivuorinen/base-configs/issues/120)) ([106f755](https://github.com/ivuorinen/base-configs/commit/106f7555e31f2b98499fe36cf5b8dd50516e53d5))
## [0.3.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.0...@ivuorinen/eslint-config@0.3.1) (2023-10-27)
### Bug Fixes
- **deps:** update dependency eslint-plugin-import to v2.29.0 ([#117](https://github.com/ivuorinen/base-configs/issues/117)) ([f1507a2](https://github.com/ivuorinen/base-configs/commit/f1507a230fa41af9a48061848a3c92a667313193))
# [0.3.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.19...@ivuorinen/eslint-config@0.3.0) (2023-10-25)
### Features
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
## [0.2.19](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.18...@ivuorinen/eslint-config@0.2.19) (2023-10-24)
**Note:** Version bump only for package @ivuorinen/eslint-config

View File

@@ -7,11 +7,7 @@ module.exports = {
es2021: true,
node: true
},
extends: [
'plugin:promise/recommended',
'plugin:sonarjs/recommended',
'standard'
],
extends: ['plugin:promise/recommended', 'plugin:sonarjs/recommended', 'standard'],
parserOptions: {
ecmaVersion: 12
}

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/eslint-config",
"version": "0.2.19",
"version": "0.3.4",
"description": "ivuorinen's shareable configuration for ESLint.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,10 +36,11 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.2",
"eslint": "8.52.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-jest": "27.4.3",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jest": "27.6.0",
"eslint-plugin-n": "16.2.0",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-sonarjs": "0.21.0"

View File

@@ -2,9 +2,18 @@
const fs = require('fs')
const path = require('path')
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('eslint')
if (foundConfig.length > 0) {
console.log('eslint-config: Found existing eslint config file, skipping creation.')
console.log('eslint-config: If you want to create a new config file, please remove the existing one.')
console.log(`eslint-config: Found config files at: ${foundConfig.join(', ')}`)
process.exit(0)
}
const filePath = path.join(process.env.INIT_CWD, '.eslintrc.json')
const fileConfigObject = {
extends: ['@ivuorinen']
}

View File

@@ -58,6 +58,11 @@
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz#e5211452df060fa8522b55c7b3c0c4d1981cb044"
integrity sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==
"@ivuorinen/config-checker@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.0.tgz#73a996445a917627cb558ea69f616978ff97da9d"
integrity sha512-YHQSF2yt4YZM0W9jdFXdPUB4X1AicweDJWSJtFw58GVI4+wI8+CJtoKL/Dmbn8F3B6H6gngQHwzENqw80Zsskg==
"@nodelib/fs.scandir@2.1.5":
version "2.1.5"
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
@@ -192,7 +197,7 @@ array-buffer-byte-length@^1.0.0:
call-bind "^1.0.2"
is-array-buffer "^3.0.1"
array-includes@^3.1.6:
array-includes@^3.1.7:
version "3.1.7"
resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.7.tgz#8cd2e01b26f7a3086cbc87271593fe921c62abda"
integrity sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==
@@ -208,7 +213,7 @@ array-union@^2.1.0:
resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d"
integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==
array.prototype.findlastindex@^1.2.2:
array.prototype.findlastindex@^1.2.3:
version "1.2.3"
resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz#b37598438f97b579166940814e2c0493a4f50207"
integrity sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA==
@@ -219,7 +224,7 @@ array.prototype.findlastindex@^1.2.2:
es-shim-unscopables "^1.0.0"
get-intrinsic "^1.2.1"
array.prototype.flat@^1.3.1:
array.prototype.flat@^1.3.2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz#1476217df8cff17d72ee8f3ba06738db5b387d18"
integrity sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==
@@ -229,7 +234,7 @@ array.prototype.flat@^1.3.1:
es-abstract "^1.22.1"
es-shim-unscopables "^1.0.0"
array.prototype.flatmap@^1.3.1:
array.prototype.flatmap@^1.3.2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz#c9a7c6831db8e719d6ce639190146c24bbd3e527"
integrity sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==
@@ -470,7 +475,7 @@ eslint-config-standard@17.1.0:
resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-17.1.0.tgz#40ffb8595d47a6b242e07cbfd49dc211ed128975"
integrity sha512-IwHwmaBNtDK4zDHQukFDW5u/aTb8+meQWZvNFWkiGmbWjD6bqyuSSBxxXKkCftCUzc1zwCH2m/baCNDLGmuO5Q==
eslint-import-resolver-node@^0.3.7:
eslint-import-resolver-node@^0.3.9:
version "0.3.9"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz#d4eaac52b8a2e7c3cd1903eb00f7e053356118ac"
integrity sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==
@@ -494,33 +499,33 @@ eslint-plugin-es-x@^7.1.0:
"@eslint-community/eslint-utils" "^4.1.2"
"@eslint-community/regexpp" "^4.6.0"
eslint-plugin-import@2.28.1:
version "2.28.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.28.1.tgz#63b8b5b3c409bfc75ebaf8fb206b07ab435482c4"
integrity sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==
eslint-plugin-import@2.29.0:
version "2.29.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.29.0.tgz#8133232e4329ee344f2f612885ac3073b0b7e155"
integrity sha512-QPOO5NO6Odv5lpoTkddtutccQjysJuFxoPS7fAHO+9m9udNHvTCPSAMW9zGAYj8lAIdr40I8yPCdUYrncXtrwg==
dependencies:
array-includes "^3.1.6"
array.prototype.findlastindex "^1.2.2"
array.prototype.flat "^1.3.1"
array.prototype.flatmap "^1.3.1"
array-includes "^3.1.7"
array.prototype.findlastindex "^1.2.3"
array.prototype.flat "^1.3.2"
array.prototype.flatmap "^1.3.2"
debug "^3.2.7"
doctrine "^2.1.0"
eslint-import-resolver-node "^0.3.7"
eslint-import-resolver-node "^0.3.9"
eslint-module-utils "^2.8.0"
has "^1.0.3"
is-core-module "^2.13.0"
hasown "^2.0.0"
is-core-module "^2.13.1"
is-glob "^4.0.3"
minimatch "^3.1.2"
object.fromentries "^2.0.6"
object.groupby "^1.0.0"
object.values "^1.1.6"
object.fromentries "^2.0.7"
object.groupby "^1.0.1"
object.values "^1.1.7"
semver "^6.3.1"
tsconfig-paths "^3.14.2"
eslint-plugin-jest@27.4.3:
version "27.4.3"
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-27.4.3.tgz#7b2330a9e1819b66d06e66b45dfa8e8ef0c23f79"
integrity sha512-7S6SmmsHsgIm06BAGCAxL+ABd9/IB3MWkz2pudj6Qqor2y1qQpWPfuFU4SG9pWj4xDjF0e+D7Llh5useuSzAZw==
eslint-plugin-jest@27.6.0:
version "27.6.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-27.6.0.tgz#e5c0cf735b3c8cad0ef9db5b565b2fc99f5e55ed"
integrity sha512-MTlusnnDMChbElsszJvrwD1dN3x6nZl//s4JD23BxB6MgR66TZlL064su24xEIS3VACfAoHV1vgyMgPw8nkdng==
dependencies:
"@typescript-eslint/utils" "^5.10.0"
@@ -876,11 +881,6 @@ has-tostringtag@^1.0.0:
dependencies:
has-symbols "^1.0.2"
has@^1.0.3:
version "1.0.4"
resolved "https://registry.yarnpkg.com/has/-/has-1.0.4.tgz#2eb2860e000011dae4f1406a86fe80e530fb2ec6"
integrity sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==
hasown@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c"
@@ -957,7 +957,7 @@ is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7:
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055"
integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==
is-core-module@^2.12.1, is-core-module@^2.13.0:
is-core-module@^2.12.1, is-core-module@^2.13.0, is-core-module@^2.13.1:
version "2.13.1"
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384"
integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==
@@ -1181,7 +1181,7 @@ object.assign@^4.1.4:
has-symbols "^1.0.3"
object-keys "^1.1.1"
object.fromentries@^2.0.6:
object.fromentries@^2.0.7:
version "2.0.7"
resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.7.tgz#71e95f441e9a0ea6baf682ecaaf37fa2a8d7e616"
integrity sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==
@@ -1190,7 +1190,7 @@ object.fromentries@^2.0.6:
define-properties "^1.2.0"
es-abstract "^1.22.1"
object.groupby@^1.0.0:
object.groupby@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.1.tgz#d41d9f3c8d6c778d9cbac86b4ee9f5af103152ee"
integrity sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ==
@@ -1200,7 +1200,7 @@ object.groupby@^1.0.0:
es-abstract "^1.22.1"
get-intrinsic "^1.2.1"
object.values@^1.1.6:
object.values@^1.1.7:
version "1.1.7"
resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.7.tgz#617ed13272e7e1071b43973aa1655d9291b8442a"
integrity sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==

View File

@@ -2,6 +2,20 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.1...@ivuorinen/markdownlint-config@0.2.2) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/markdownlint-config
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.0...@ivuorinen/markdownlint-config@0.2.1) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/markdownlint-config
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.1.7...@ivuorinen/markdownlint-config@0.2.0) (2023-10-25)
### Features
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
## [0.1.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.1.6...@ivuorinen/markdownlint-config@0.1.7) (2023-10-24)
**Note:** Version bump only for package @ivuorinen/markdownlint-config

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/markdownlint-config",
"version": "0.1.7",
"version": "0.2.2",
"description": "ivuorinen's shareable configuration for markdownlint.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,6 +36,7 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.2",
"markdownlint-cli": "0.37.0"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"

View File

@@ -2,9 +2,18 @@
const fs = require('fs')
const path = require('path')
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('markdownlint')
if (foundConfig.length > 0) {
console.log('markdownlint-config: Found existing markdownlint config file, skipping creation.')
console.log('markdownlint-config: If you want to create a new config file, please remove the existing one.')
console.log(`markdownlint-config: Found config files at: ${foundConfig.join(', ')}`)
process.exit(0)
}
const filePath = path.join(process.env.INIT_CWD, '.markdownlint.json')
const fileConfigObject = {
extends: '@ivuorinen/markdownlint-config'
}

View File

@@ -14,6 +14,11 @@
wrap-ansi "^8.1.0"
wrap-ansi-cjs "npm:wrap-ansi@^7.0.0"
"@ivuorinen/config-checker@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.0.tgz#73a996445a917627cb558ea69f616978ff97da9d"
integrity sha512-YHQSF2yt4YZM0W9jdFXdPUB4X1AicweDJWSJtFw58GVI4+wI8+CJtoKL/Dmbn8F3B6H6gngQHwzENqw80Zsskg==
"@pkgjs/parseargs@^0.11.0":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"

View File

@@ -2,6 +2,22 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.1...@ivuorinen/prettier-config@0.2.2) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/prettier-config
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.0...@ivuorinen/prettier-config@0.2.1) (2023-10-30)
### Bug Fixes
- **deps:** update dependency prettier to v3 ([#58](https://github.com/ivuorinen/base-configs/issues/58)) ([15e815a](https://github.com/ivuorinen/base-configs/commit/15e815a53d46bb369cb2d7c0eb7b54474245afee))
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.1.2...@ivuorinen/prettier-config@0.2.0) (2023-10-25)
### Features
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
## [0.1.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.1.1...@ivuorinen/prettier-config@0.1.2) (2023-10-24)
**Note:** Version bump only for package @ivuorinen/prettier-config

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/prettier-config",
"version": "0.1.2",
"version": "0.2.2",
"description": "ivuorinen's shareable configuration for Prettier.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,7 +36,8 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"prettier": "2.8.8"
"@ivuorinen/config-checker": "^1.1.2",
"prettier": "3.0.3"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

@@ -2,9 +2,18 @@
const fs = require('fs')
const path = require('path')
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('prettier')
if (foundConfig.length > 0) {
console.log('prettier-config: Found existing prettier config file, skipping creation.')
console.log('prettier-config: If you want to create a new config file, please remove the existing one.')
console.log(`prettier-config: Found config files at: ${foundConfig.join(', ')}`)
process.exit(0)
}
const filePath = path.join(process.env.INIT_CWD, '.prettierrc.json')
const fileConfigObject = '@ivuorinen/prettier-config'
if (!fs.existsSync(filePath)) {

View File

@@ -2,7 +2,12 @@
# yarn lockfile v1
prettier@2.8.8:
version "2.8.8"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
"@ivuorinen/config-checker@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.0.tgz#73a996445a917627cb558ea69f616978ff97da9d"
integrity sha512-YHQSF2yt4YZM0W9jdFXdPUB4X1AicweDJWSJtFw58GVI4+wI8+CJtoKL/Dmbn8F3B6H6gngQHwzENqw80Zsskg==
prettier@3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.3.tgz#432a51f7ba422d1469096c0fdc28e235db8f9643"
integrity sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==

View File

@@ -2,6 +2,20 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.1...@ivuorinen/semantic-release-config@0.2.2) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/semantic-release-config
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.0...@ivuorinen/semantic-release-config@0.2.1) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/semantic-release-config
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.1.14...@ivuorinen/semantic-release-config@0.2.0) (2023-10-25)
### Features
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
## [0.1.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.1.13...@ivuorinen/semantic-release-config@0.1.14) (2023-10-24)
**Note:** Version bump only for package @ivuorinen/semantic-release-config

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/semantic-release-config",
"version": "0.1.14",
"version": "0.2.2",
"description": "ivuorinen's shareable configuration for semantic-release.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,6 +36,7 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.2",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"semantic-release": "22.0.5"

View File

@@ -2,9 +2,18 @@
const fs = require('fs')
const path = require('path')
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('release')
if (foundConfig.length > 0) {
console.log('semantic-release-config: Found existing semantic-release config file, skipping creation.')
console.log('semantic-release-config: If you want to create a new config file, please remove the existing one.')
console.log(`semantic-release-config: Found config files at: ${foundConfig.join(', ')}`)
process.exit(0)
}
const filePath = path.join(process.env.INIT_CWD, '.releaserc.json')
const fileConfigObject = {
extends: ['@ivuorinen/semantic-release-config']
}

View File

@@ -46,6 +46,11 @@
resolved "https://registry.yarnpkg.com/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz#291c227e93fd407a96ecd59879a35809120e432b"
integrity sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ==
"@ivuorinen/config-checker@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.0.tgz#73a996445a917627cb558ea69f616978ff97da9d"
integrity sha512-YHQSF2yt4YZM0W9jdFXdPUB4X1AicweDJWSJtFw58GVI4+wI8+CJtoKL/Dmbn8F3B6H6gngQHwzENqw80Zsskg==
"@nodelib/fs.scandir@2.1.5":
version "2.1.5"
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"

View File

@@ -2,6 +2,20 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.1...@ivuorinen/stylelint-config@0.2.2) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/stylelint-config
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.0...@ivuorinen/stylelint-config@0.2.1) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/stylelint-config
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.33...@ivuorinen/stylelint-config@0.2.0) (2023-10-25)
### Features
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
## [0.1.33](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.32...@ivuorinen/stylelint-config@0.1.33) (2023-10-24)
**Note:** Version bump only for package @ivuorinen/stylelint-config

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/stylelint-config",
"version": "0.1.33",
"version": "0.2.2",
"description": "ivuorinen's shareable configuration for stylelint.",
"author": {
"name": "Ismo Vuorinen",
@@ -37,6 +37,7 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.2",
"postcss": "^8.4.2",
"stylelint": "15.11.0",
"stylelint-config-recommended-scss": "13.0.0",

View File

@@ -2,9 +2,18 @@
const fs = require('fs')
const path = require('path')
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('stylelint')
if (foundConfig.length > 0) {
console.log('stylelint-config: Found existing stylelint config file, skipping creation.')
console.log('stylelint-config: If you want to create a new config file, please remove the existing one.')
console.log(`stylelint-config: Found config files at: ${foundConfig.join(', ')}`)
process.exit(0)
}
const filePath = path.join(process.env.INIT_CWD, '.stylelintrc.json')
const fileConfigObject = {
extends: ['@ivuorinen/stylelint-config/css']
}

View File

@@ -19,10 +19,7 @@ module.exports = {
'scss/dollar-variable-no-missing-interpolation': true,
'scss/dollar-variable-pattern': '^[a-z][a-z-\\d]*$',
'scss/media-feature-value-dollar-variable': null,
'scss/no-duplicate-dollar-variables': [
null,
{ ignoreInsideAtRules: ['if', 'mixin'] }
],
'scss/no-duplicate-dollar-variables': [null, { ignoreInsideAtRules: ['if', 'mixin'] }],
'scss/no-duplicate-mixins': true,
'scss/operator-no-newline-after': true,
'scss/operator-no-newline-before': true,

View File

@@ -44,6 +44,11 @@
resolved "https://registry.yarnpkg.com/@csstools/selector-specificity/-/selector-specificity-3.0.0.tgz#798622546b63847e82389e473fd67f2707d82247"
integrity sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==
"@ivuorinen/config-checker@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.0.tgz#73a996445a917627cb558ea69f616978ff97da9d"
integrity sha512-YHQSF2yt4YZM0W9jdFXdPUB4X1AicweDJWSJtFw58GVI4+wI8+CJtoKL/Dmbn8F3B6H6gngQHwzENqw80Zsskg==
"@nodelib/fs.scandir@2.1.5":
version "2.1.5"
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"

1930
yarn.lock

File diff suppressed because it is too large Load Diff