Compare commits

..

25 Commits

Author SHA1 Message Date
ivuorinen
e9ed699b22 chore(release): publish
- @ivuorinen/base-configs@2.0.14
 - @ivuorinen/markdownlint-config@0.3.9
2024-11-25 09:39:35 +00:00
dependabot[bot]
15fdad7617 chore(deps): bump smol-toml from 1.3.0 to 1.3.1 (#309)
Bumps [smol-toml](https://github.com/squirrelchat/smol-toml) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/squirrelchat/smol-toml/releases)
- [Commits](https://github.com/squirrelchat/smol-toml/commits)

---
updated-dependencies:
- dependency-name: smol-toml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 11:39:02 +02:00
ivuorinen
dfdd897dd3 chore(release): publish
- @ivuorinen/base-configs@2.0.13
2024-11-25 05:05:24 +00:00
332f9942b2 fix: add {commitlint,semantic-release}-config 2024-11-25 07:04:44 +02:00
dependabot[bot]
d4c995edf3 chore(deps): bump tar from 6.2.0 to 6.2.1 in /packages/base-configs (#308)
Bumps [tar](https://github.com/isaacs/node-tar) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.0...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 03:44:52 +02:00
ivuorinen
8932008ecd chore: 🤖 bump versions and publish packages 2024-11-25 01:41:44 +00:00
40505b88ab feat: drop workspaces, use fs packages to cleanup
# Conflicts:
#	yarn.lock
2024-11-25 03:40:55 +02:00
ivuorinen
afea47bfc1 chore(release): publish
- @ivuorinen/base-configs@2.0.12
 - @ivuorinen/browserslist-config@0.4.1
 - @ivuorinen/commitlint-config@0.3.7
 - @ivuorinen/config-checker@1.1.9
 - @ivuorinen/eslint-config@0.5.8
 - @ivuorinen/markdownlint-config@0.3.8
 - @ivuorinen/prettier-config@0.3.7
 - @ivuorinen/semantic-release-config@0.3.8
 - @ivuorinen/stylelint-config@0.3.7
2024-11-25 01:35:58 +00:00
ivuorinen
de5c773be1 chore: 🤖 bump versions and publish packages 2024-11-25 01:35:55 +00:00
Ismo Vuorinen
6d6f4582dd feat!: ESLint 9 Fixes (#307)
* chore: update postinstall scripts
* chore(lint): eslint automated fixes
* feat!: drop standard, sonarjs to work with eslint9

- This config allows arrow functions.

BREAKING CHANGES:

- Switches to eslint-config-eslint from eslint-config-standard.
- Also drops eslint-plugins-sonarjs because it doesn't work well
  with eslint9, and wants eslint8 and related plugins.
- Switches from eslint-plugin-prettier to eslint-config-prettier.
2024-11-25 03:35:13 +02:00
ivuorinen
006dc9b947 chore(release): publish
- @ivuorinen/base-configs@2.0.11
 - @ivuorinen/markdownlint-config@0.3.7
2024-11-24 15:44:46 +00:00
renovate[bot]
adb8a9f577 fix(deps): update markdownlint-cli to 0.43.0 (#306)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-24 17:44:05 +02:00
ivuorinen
7fac921a4e chore(release): publish
- @ivuorinen/base-configs@2.0.10
 - @ivuorinen/commitlint-config@0.3.6
 - @ivuorinen/eslint-config@0.5.7
 - @ivuorinen/markdownlint-config@0.3.6
 - @ivuorinen/prettier-config@0.3.6
 - @ivuorinen/semantic-release-config@0.3.7
 - @ivuorinen/stylelint-config@0.3.6
2024-11-24 14:48:45 +00:00
Ismo Vuorinen
ceaa09922f feat!: update minimum node to v20 (#305)
* feat!: update min node to v20
* fix(eslint-config): update node to ^20.9 || >=21.1
2024-11-24 16:48:02 +02:00
a77f390a4d chore: add nvmrc for node version control 2024-11-24 15:41:34 +02:00
ivuorinen
a37eb8517e chore(release): publish
- @ivuorinen/base-configs@2.0.9
 - @ivuorinen/browserslist-config@0.4.0
2024-11-24 13:38:08 +00:00
3dbff768c8 feat: bump node engine to >=20 2024-11-24 15:36:46 +02:00
ivuorinen
1704a33926 chore(release): publish
- @ivuorinen/base-configs@2.0.8
 - @ivuorinen/commitlint-config@0.3.5
 - @ivuorinen/eslint-config@0.5.6
 - @ivuorinen/markdownlint-config@0.3.5
 - @ivuorinen/semantic-release-config@0.3.6
 - @ivuorinen/stylelint-config@0.3.5
2024-11-16 17:59:23 +00:00
dependabot[bot]
81c0b5218f chore(deps): bump cross-spawn from 7.0.3 to 7.0.5 (#303) 2024-11-16 19:58:43 +02:00
ivuorinen
61815ad0b5 chore(release): publish
- @ivuorinen/base-configs@2.0.7
 - @ivuorinen/browserslist-config@0.3.4
 - @ivuorinen/commitlint-config@0.3.4
 - @ivuorinen/config-checker@1.1.8
 - @ivuorinen/eslint-config@0.5.5
 - @ivuorinen/markdownlint-config@0.3.4
 - @ivuorinen/prettier-config@0.3.5
 - @ivuorinen/semantic-release-config@0.3.5
 - @ivuorinen/stylelint-config@0.3.4
2024-11-16 12:29:25 +00:00
ivuorinen
9311ee188d chore: 🤖 bump versions and publish packages 2024-11-16 12:29:22 +00:00
Ismo Vuorinen
cbb17540f3 fix: upgrade browserslist from 4.24.0 to 4.24.2 (#302)
Snyk has created this PR to upgrade browserslist from 4.24.0 to 4.24.2.

See this package in yarn:
browserslist

See this project in Snyk:
https://app.snyk.io/org/ivuorinen/project/636c3afe-f35f-4647-9bbc-c47b268c564e?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-11-16 14:28:45 +02:00
renovate[bot]
554f651a8f feat(github-action): update actions/setup-node ( v4.0.4 → v4.1.0 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-26 12:14:37 +00:00
renovate[bot]
f9b4d64a61 fix(github-action): update actions/checkout ( v4.2.1 → v4.2.2 ) (#300) 2024-10-25 11:56:20 +03:00
renovate[bot]
3bb966a603 fix(github-action): update actions/cache ( v4.1.1 → v4.1.2 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 03:27:10 +00:00
45 changed files with 5337 additions and 5633 deletions

View File

@@ -24,7 +24,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4.2.1 uses: actions/checkout@v4.2.2
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL

View File

@@ -16,12 +16,12 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4.2.1 uses: actions/checkout@v4.2.2
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Setup Node.js Environment - name: Setup Node.js Environment
uses: actions/setup-node@v4.0.4 uses: actions/setup-node@v4.1.0
with: with:
always-auth: true always-auth: true
node-version: 20 node-version: 20
@@ -29,7 +29,7 @@ jobs:
scope: '@ivuorinen' scope: '@ivuorinen'
- name: Cache Node Modules - name: Cache Node Modules
uses: actions/cache@v4.1.1 uses: actions/cache@v4.1.2
id: cache id: cache
with: with:
path: node_modules path: node_modules

View File

@@ -17,12 +17,12 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4.2.1 uses: actions/checkout@v4.2.2
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Setup Node.js Environment - name: Setup Node.js Environment
uses: actions/setup-node@v4.0.4 uses: actions/setup-node@v4.1.0
with: with:
always-auth: true always-auth: true
node-version: 20 node-version: 20
@@ -30,7 +30,7 @@ jobs:
scope: '@ivuorinen' scope: '@ivuorinen'
- name: Cache Node Modules - name: Cache Node Modules
uses: actions/cache@v4.1.1 uses: actions/cache@v4.1.2
id: cache id: cache
with: with:
path: node_modules path: node_modules

1
.nvmrc Normal file
View File

@@ -0,0 +1 @@
22.11.0

View File

@@ -1,6 +1,6 @@
{ {
"private": true, "private": true,
"name": "@ivuorinen/base-configs", "name": "@ivuorinen/base-configs-meta",
"version": "1.0.0", "version": "1.0.0",
"type": "module", "type": "module",
"description": "A collection of base configs for code quality and linting tools.", "description": "A collection of base configs for code quality and linting tools.",
@@ -18,7 +18,7 @@
} }
], ],
"engines": { "engines": {
"node": ">= 18" "node": "^20.9.0 || >=21.1.0"
}, },
"homepage": "https://github.com/ivuorinen/base-configs#readme", "homepage": "https://github.com/ivuorinen/base-configs#readme",
"keywords": [ "keywords": [
@@ -36,14 +36,11 @@
"type": "git", "type": "git",
"url": "https://github.com/ivuorinen/base-configs.git" "url": "https://github.com/ivuorinen/base-configs.git"
}, },
"workspaces": [
"packages/*"
],
"scripts": { "scripts": {
"deps:dedupe": "lernaupdate --dedupe", "deps:dedupe": "lernaupdate --dedupe",
"deps:update": "lernaupdate", "deps:update": "lernaupdate",
"eslint:fix": "eslint --format=pretty '**/*.{js,tsx,ts,mjs,cjs}' --fix", "eslint:fix": "eslint '**/*.{js,tsx,ts,mjs,cjs}' --fix",
"eslint:report": "eslint --format=pretty '**/*.{js,tsx,ts,mjs,cjs}'", "eslint:report": "eslint '**/*.{js,tsx,ts,mjs,cjs}'",
"lerna:bootstrap:ci": "yarn --frozen-lockfile --ignore-engines", "lerna:bootstrap:ci": "yarn --frozen-lockfile --ignore-engines",
"lerna:bootstrap": "yarn", "lerna:bootstrap": "yarn",
"lerna:publish": "lerna publish from-package", "lerna:publish": "lerna publish from-package",
@@ -54,27 +51,14 @@
"prettier:report": "prettier '**/*.{js,tsx,ts,json,mjs,cjs}' --check" "prettier:report": "prettier '**/*.{js,tsx,ts,json,mjs,cjs}' --check"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^19.0.0", "@ivuorinen/commitlint-config": "file:packages/commitlint-config",
"@commitlint/config-conventional": "^19.0.0", "@ivuorinen/eslint-config": "file:packages/eslint-config",
"eslint": "^9.0.0", "@ivuorinen/prettier-config": "file:packages/prettier-config",
"eslint-config-prettier": "^9.0.0", "@ivuorinen/semantic-release-config": "file:packages/semantic-release-config",
"eslint-config-standard": "^17.0.0", "@types/node": "*",
"eslint-formatter-pretty": "^6.0.0", "typescript": ">=4.2.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^17.0.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^7.0.0",
"eslint-plugin-sonarjs": "^2.0.0",
"eslint-plugin-unicorn": "^56.0.0",
"lerna": "^8.0.0", "lerna": "^8.0.0",
"lerna-update-wizard": "^1.1.2",
"markdownlint-cli": "^0.42.0",
"prettier": "^3.0.0",
"simple-git-hooks": "^2.8.1" "simple-git-hooks": "^2.8.1"
}, },
"packageManager": "yarn@1.22.22+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca", "packageManager": "yarn@1.22.22+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca"
"dependencies": {
"@types/node": "*",
"typescript": ">=4"
}
} }

View File

@@ -1,6 +1,49 @@
# Change Log # Change Log
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [2.0.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@2.0.13...@ivuorinen/base-configs@2.0.14) (2024-11-25)
**Note:** Version bump only for package @ivuorinen/base-configs
## [2.0.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@2.0.12...@ivuorinen/base-configs@2.0.13) (2024-11-25)
**Note:** Version bump only for package @ivuorinen/base-configs
## 2.0.12 (2024-11-25)
**Note:** Version bump only for package @ivuorinen/base-configs
## [2.0.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@2.0.10...@ivuorinen/base-configs@2.0.11) (2024-11-24)
**Note:** Version bump only for package @ivuorinen/base-configs
## [2.0.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@2.0.9...@ivuorinen/base-configs@2.0.10) (2024-11-24)
**Note:** Version bump only for package @ivuorinen/base-configs
## [2.0.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@2.0.8...@ivuorinen/base-configs@2.0.9) (2024-11-24)
**Note:** Version bump only for package @ivuorinen/base-configs
## [2.0.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@2.0.7...@ivuorinen/base-configs@2.0.8) (2024-11-16)
**Note:** Version bump only for package @ivuorinen/base-configs
## 2.0.7 (2024-11-16)
### Bug Fixes
- upgrade browserslist from 4.24.0 to 4.24.2 ([#302](https://github.com/ivuorinen/base-configs/issues/302)) ([cbb1754](https://github.com/ivuorinen/base-configs/commit/cbb17540f3cd7fc81f0032e557568c65ed0a9744))
## 2.0.6 (2024-10-20) ## 2.0.6 (2024-10-20)

View File

@@ -1,6 +1,6 @@
{ {
"name": "@ivuorinen/base-configs", "name": "@ivuorinen/base-configs",
"version": "2.0.6", "version": "2.0.14",
"type": "module", "type": "module",
"description": "ivuorinen's shareable configurations meta package", "description": "ivuorinen's shareable configurations meta package",
"author": { "author": {
@@ -11,7 +11,7 @@
"url": "https://github.com/ivuorinen/base-configs/issues" "url": "https://github.com/ivuorinen/base-configs/issues"
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=20"
}, },
"homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/base-configs#readme", "homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/base-configs#readme",
"keywords": [ "keywords": [
@@ -28,11 +28,11 @@
"url": "git+https://github.com/ivuorinen/base-configs.git" "url": "git+https://github.com/ivuorinen/base-configs.git"
}, },
"dependencies": { "dependencies": {
"@ivuorinen/browserslist-config": "^0.3.3", "@ivuorinen/browserslist-config": "^0.4.1",
"@ivuorinen/commitlint-config": "^0.3.3", "@ivuorinen/commitlint-config": "^0.3.7",
"@ivuorinen/eslint-config": "^0.5.4", "@ivuorinen/eslint-config": "^0.5.8",
"@ivuorinen/markdownlint-config": "^0.3.3", "@ivuorinen/markdownlint-config": "^0.3.9",
"@ivuorinen/prettier-config": "^0.3.4", "@ivuorinen/prettier-config": "^0.3.7",
"@ivuorinen/semantic-release-config": "^0.3.4" "@ivuorinen/semantic-release-config": "^0.3.8"
} }
} }

File diff suppressed because it is too large Load Diff

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. All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 0.4.1 (2024-11-25)
**Note:** Version bump only for package @ivuorinen/browserslist-config
# [0.4.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.3.4...@ivuorinen/browserslist-config@0.4.0) (2024-11-24)
### Features
- bump node engine to >=20 ([3dbff76](https://github.com/ivuorinen/base-configs/commit/3dbff768c882dc12d01ac8eed6c70ae545db0e76))
## 0.3.4 (2024-11-16)
### Bug Fixes
- upgrade browserslist from 4.24.0 to 4.24.2 ([#302](https://github.com/ivuorinen/base-configs/issues/302)) ([cbb1754](https://github.com/ivuorinen/base-configs/commit/cbb17540f3cd7fc81f0032e557568c65ed0a9744))
## 0.3.3 (2024-10-20) ## 0.3.3 (2024-10-20)
### Bug Fixes ### Bug Fixes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@ivuorinen/browserslist-config", "name": "@ivuorinen/browserslist-config",
"version": "0.3.3", "version": "0.4.1",
"description": "ivuorinen's shareable configuration for Browserslist.", "description": "ivuorinen's shareable configuration for Browserslist.",
"type": "module", "type": "module",
"author": { "author": {
@@ -11,7 +11,7 @@
"url": "https://github.com/ivuorinen/base-configs/issues" "url": "https://github.com/ivuorinen/base-configs/issues"
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=20"
}, },
"files": [ "files": [
"index.cjs", "index.cjs",
@@ -43,8 +43,8 @@
"postinstall": "node scripts/postinstall.cjs" "postinstall": "node scripts/postinstall.cjs"
}, },
"dependencies": { "dependencies": {
"@ivuorinen/config-checker": "^1.1.7", "@ivuorinen/config-checker": "^1.1.9",
"browserslist": "^4.24.0" "browserslist": "^4.24.2"
}, },
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230" "gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
} }

View File

@@ -1,9 +1,10 @@
'use strict' 'use strict'
const fs = require('fs') /* eslint no-console: "off", n/no-process-exit: "off" -- CLI app that gives users feedback */
const path = require('path')
// noinspection NpmUsedModulesInstalled const fs = require('node:fs')
const process = require('process') const path = require('node:path')
const process = require('node:process')
const checkConfig = require('@ivuorinen/config-checker') const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('browserslist') const foundConfig = checkConfig('browserslist')

View File

@@ -2,30 +2,30 @@
# yarn lockfile v1 # yarn lockfile v1
"@ivuorinen/config-checker@^1": "@ivuorinen/config-checker@^1.1.7":
version "1.1.5" version "1.1.7"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.5.tgz#f5e374b473e4c9b7f6c54e5b0d5a98b8720b6dce" resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.7.tgz#50664797603293b2c1f5755e1eec91aa5fbe52d8"
integrity sha512-xkKXbZAdeboB7MsjGClE/6em98huy6kwxqM4OYsXeVS+uHYhVm07Owoz5xVraMMl3uaRkqsz/lfv7OCCeq+U3A== integrity sha512-5Ih0K++hGXydJKZuB1WQv6F9qXDtQvAbOu7QqG50NNrwhs9qr0a5LXKxSy3rbPYDvGu4iHBUaf4jI1fvkFqKGw==
browserslist@^4.24.0: browserslist@^4.24.2:
version "4.24.0" version "4.24.2"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.24.0.tgz#a1325fe4bc80b64fda169629fc01b3d6cecd38d4" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.24.2.tgz#f5845bc91069dbd55ee89faf9822e1d885d16580"
integrity sha512-Rmb62sR1Zpjql25eSanFGEhAxcFwfA1K0GuQcLoaJBAcENegrQut3hYdhXFF1obQfiDyqIW/cLM5HSJ/9k884A== integrity sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==
dependencies: dependencies:
caniuse-lite "^1.0.30001663" caniuse-lite "^1.0.30001669"
electron-to-chromium "^1.5.28" electron-to-chromium "^1.5.41"
node-releases "^2.0.18" node-releases "^2.0.18"
update-browserslist-db "^1.1.0" update-browserslist-db "^1.1.1"
caniuse-lite@^1.0.30001663: caniuse-lite@^1.0.30001669:
version "1.0.30001669" version "1.0.30001680"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001669.tgz#fda8f1d29a8bfdc42de0c170d7f34a9cf19ed7a3" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001680.tgz#5380ede637a33b9f9f1fc6045ea99bd142f3da5e"
integrity sha512-DlWzFDJqstqtIVx1zeSpIMLjunf5SmwOw0N2Ck/QSQdS8PLS4+9HrLaYei4w8BIAL7IB/UEDu889d8vhCTPA0w== integrity sha512-rPQy70G6AGUMnbwS1z6Xg+RkHYPAi18ihs47GH0jcxIG7wArmPgY3XbS2sRdBbxJljp3thdT8BIqv9ccCypiPA==
electron-to-chromium@^1.5.28: electron-to-chromium@^1.5.41:
version "1.5.41" version "1.5.62"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.41.tgz#eae1ba6c49a1a61d84cf8263351d3513b2bcc534" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.62.tgz#8289468414b0b0b3e9180ef619a763555debe612"
integrity sha512-dfdv/2xNjX0P8Vzme4cfzHqnPm5xsZXwsolTYr0eyW18IUmNyG08vL+fttvinTfhKfIKdRoqkDIC9e9iWQCNYQ== integrity sha512-t8c+zLmJHa9dJy96yBZRXGQYoiCEnHYgFwn1asvSPZSUdVxnB62A4RASd7k41ytG3ErFBA0TpHlKg9D9SQBmLg==
escalade@^3.2.0: escalade@^3.2.0:
version "3.2.0" version "3.2.0"
@@ -42,7 +42,7 @@ picocolors@^1.1.0:
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b"
integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==
update-browserslist-db@^1.1.0: update-browserslist-db@^1.1.1:
version "1.1.1" version "1.1.1"
resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz#80846fba1d79e82547fb661f8d141e0945755fe5" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz#80846fba1d79e82547fb661f8d141e0945755fe5"
integrity sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A== integrity sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==

View File

@@ -2,6 +2,24 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 0.3.7 (2024-11-25)
**Note:** Version bump only for package @ivuorinen/commitlint-config
## [0.3.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.3.5...@ivuorinen/commitlint-config@0.3.6) (2024-11-24)
**Note:** Version bump only for package @ivuorinen/commitlint-config
## [0.3.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.3.4...@ivuorinen/commitlint-config@0.3.5) (2024-11-16)
**Note:** Version bump only for package @ivuorinen/commitlint-config
## 0.3.4 (2024-11-16)
### Bug Fixes
- upgrade browserslist from 4.24.0 to 4.24.2 ([#302](https://github.com/ivuorinen/base-configs/issues/302)) ([cbb1754](https://github.com/ivuorinen/base-configs/commit/cbb17540f3cd7fc81f0032e557568c65ed0a9744))
## 0.3.3 (2024-10-20) ## 0.3.3 (2024-10-20)
### Bug Fixes ### Bug Fixes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@ivuorinen/commitlint-config", "name": "@ivuorinen/commitlint-config",
"version": "0.3.3", "version": "0.3.7",
"type": "module", "type": "module",
"description": "ivuorinen's shareable configuration for commitlint.", "description": "ivuorinen's shareable configuration for commitlint.",
"author": { "author": {
@@ -11,7 +11,7 @@
"url": "https://github.com/ivuorinen/base-configs/issues" "url": "https://github.com/ivuorinen/base-configs/issues"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">=20"
}, },
"main": "index.cjs", "main": "index.cjs",
"module": "wrapper.mjs", "module": "wrapper.mjs",
@@ -44,7 +44,7 @@
"dependencies": { "dependencies": {
"@commitlint/cli": "^19", "@commitlint/cli": "^19",
"@commitlint/config-conventional": "^19", "@commitlint/config-conventional": "^19",
"@ivuorinen/config-checker": "^1.1.7" "@ivuorinen/config-checker": "^1.1.9"
}, },
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230" "gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
} }

View File

@@ -1,9 +1,11 @@
'use strict' 'use strict'
const fs = require('fs') /* eslint no-console: "off", n/no-process-exit: "off", no-undefined: "off" -- CLI app that gives users feedback */
const path = require('path')
const fs = require('node:fs')
const path = require('node:path')
// noinspection NpmUsedModulesInstalled // noinspection NpmUsedModulesInstalled
const process = require('process') const process = require('node:process')
const checkConfig = require('@ivuorinen/config-checker') const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('commitlint') const foundConfig = checkConfig('commitlint')

View File

@@ -347,15 +347,6 @@ cosmiconfig@^9.0.0:
js-yaml "^4.1.0" js-yaml "^4.1.0"
parse-json "^5.2.0" parse-json "^5.2.0"
cross-spawn@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
dependencies:
path-key "^3.1.0"
shebang-command "^2.0.0"
which "^2.0.1"
dargs@^8.0.0: dargs@^8.0.0:
version "8.1.0" version "8.1.0"
resolved "https://registry.yarnpkg.com/dargs/-/dargs-8.1.0.tgz#a34859ea509cbce45485e5aa356fef70bfcc7272" resolved "https://registry.yarnpkg.com/dargs/-/dargs-8.1.0.tgz#a34859ea509cbce45485e5aa356fef70bfcc7272"

View File

@@ -2,6 +2,16 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.1.9 (2024-11-25)
**Note:** Version bump only for package @ivuorinen/config-checker
## 1.1.8 (2024-11-16)
### Bug Fixes
- upgrade browserslist from 4.24.0 to 4.24.2 ([#302](https://github.com/ivuorinen/base-configs/issues/302)) ([cbb1754](https://github.com/ivuorinen/base-configs/commit/cbb17540f3cd7fc81f0032e557568c65ed0a9744))
## 1.1.7 (2024-10-20) ## 1.1.7 (2024-10-20)
### Bug Fixes ### Bug Fixes

View File

@@ -1,19 +1,18 @@
'use strict' /* eslint no-console: "off" -- CLI app that gives users feedback */
const path = require('path') const path = require('node:path')
const configChecker = require('..') const configChecker = require('..')
const assert = require('assert').strict const assert = require('node:assert').strict
const configs = configChecker('test', path.join(__dirname, 'fixtures')) const configs = configChecker('test', path.join(__dirname, 'fixtures'))
/** /**
* Checks if an array contains a file. * Checks if an array contains a file.
* * @param {string[]} c The array of configs to check.
* @param {string[]} configs - The array of configs to check. * @param {string} file The file to check for.
* @param {string} file - The file to check for.
* @returns {boolean} - True if the array contains the file. * @returns {boolean} - True if the array contains the file.
*/ */
const arrayContains = (configs = [], file = '') => configs.some(config => config === file) const arrayContains = (c = [], file = '') => c.includes(file)
assert.ok(arrayContains(configs, '.testrc')) assert.ok(arrayContains(configs, '.testrc'))
assert.ok(arrayContains(configs, '.config/testrc.ts')) assert.ok(arrayContains(configs, '.config/testrc.ts'))

View File

@@ -1,4 +1,4 @@
'use strict' /* eslint no-console: "off" -- This is a cli app that generates cli output */
const configurationPaths = require('../lib/configuration-paths') const configurationPaths = require('../lib/configuration-paths')
@@ -13,7 +13,7 @@ const mdTable = configItems.map(file => {
console.log('# Configuration files\n') console.log('# Configuration files\n')
const header = 'Searched configuration files' const header = 'Searched configuration files'
console.log('| ' + header + ' '.repeat(longestLine - header.length) + ' |') console.log(`| ${header}${' '.repeat(longestLine - header.length)} |`)
console.log('| ' + '-'.repeat(longestLine) + ' |') console.log(`| ${'-'.repeat(longestLine)} |`)
mdTable.forEach(line => console.log(line)) mdTable.forEach(line => console.log(line))

View File

@@ -1,15 +1,15 @@
'use strict' /* eslint no-console: "off", n/no-process-exit: "off" -- CLI app that gives users feedback */
const fs = require('fs') const fs = require('node:fs')
const path = require('path') const path = require('node:path')
// noinspection NpmUsedModulesInstalled // noinspection NpmUsedModulesInstalled
const process = require('process') const process = require('node:process')
const configurationPaths = require('./configuration-paths') const configurationPaths = require('./configuration-paths')
/** /**
* Checks for the existence of a configuration file. * Checks for the existence of a configuration file.
* @param {string} moduleName - The name of the module to check for. * @param {string} moduleName The name of the module to check for.
* @param {string} pathPrefix - The prefix to add to the path. * @param {string} pathPrefix The prefix to add to the path.
* @returns {string[]} - The paths to the configuration files. * @returns {string[]} - The paths to the configuration files.
*/ */
const configChecker = (moduleName, pathPrefix = '') => { const configChecker = (moduleName, pathPrefix = '') => {

View File

@@ -1,10 +1,8 @@
'use strict' const path = require('node:path')
const path = require('path')
/** /**
* Returns an array of configuration paths. * Returns an array of configuration paths.
* @param {string} moduleName - The name of the module to check for. * @param {string} moduleName The name of the module to check for.
* @returns {string[]} - The paths to the configuration files. * @returns {string[]} - The paths to the configuration files.
*/ */
const configurationPaths = moduleName => { const configurationPaths = moduleName => {

View File

@@ -1,6 +1,6 @@
{ {
"name": "@ivuorinen/config-checker", "name": "@ivuorinen/config-checker",
"version": "1.1.7", "version": "1.1.9",
"description": "Checks the commonly used configuration locations for configuration files", "description": "Checks the commonly used configuration locations for configuration files",
"keywords": [ "keywords": [
"check-config", "check-config",

View File

@@ -2,6 +2,24 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 0.5.8 (2024-11-25)
**Note:** Version bump only for package @ivuorinen/eslint-config
## [0.5.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.5.6...@ivuorinen/eslint-config@0.5.7) (2024-11-24)
**Note:** Version bump only for package @ivuorinen/eslint-config
## [0.5.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.5.5...@ivuorinen/eslint-config@0.5.6) (2024-11-16)
**Note:** Version bump only for package @ivuorinen/eslint-config
## 0.5.5 (2024-11-16)
### Bug Fixes
- upgrade browserslist from 4.24.0 to 4.24.2 ([#302](https://github.com/ivuorinen/base-configs/issues/302)) ([cbb1754](https://github.com/ivuorinen/base-configs/commit/cbb17540f3cd7fc81f0032e557568c65ed0a9744))
## 0.5.4 (2024-10-20) ## 0.5.4 (2024-10-20)
### Bug Fixes ### Bug Fixes

View File

@@ -26,7 +26,7 @@ npm install @ivuorinen/eslint-config --save-dev
yarn add @ivuorinen/eslint-config --dev yarn add @ivuorinen/eslint-config --dev
``` ```
After installing it, a _`.eslintrc.json`_ file will be created automatically in the project's root folder with the following configuration: After installing it, a _`eslint.config.mjs`_ file will be created automatically in the project's root folder with the following configuration:
```json ```json
{ {

View File

@@ -1,16 +1,32 @@
'use strict'
const globals = require('globals') const globals = require('globals')
const configEslint = require('eslint-config-eslint')
const configPrettier = require('eslint-config-prettier')
const pluginImport = require('eslint-plugin-import')
const pluginJs = require('@eslint/js') const pluginJs = require('@eslint/js')
const standard = require('eslint-config-standard')
const pluginN = require('eslint-plugin-n') const pluginN = require('eslint-plugin-n')
const pluginPromise = require('eslint-plugin-promise') const pluginPromise = require('eslint-plugin-promise')
const pluginImport = require('eslint-plugin-import')
const pluginPrettier = require('eslint-plugin-prettier')
const pluginSonarJS = require('eslint-plugin-sonarjs')
/** /**
* @type { import("eslint").Linter.Config[] } config eslint configuration. * @type { import("eslint").Linter.Config[] } config eslint configuration.
*/ */
module.exports = [ module.exports = [
...configEslint,
{
linterOptions: {
reportUnusedDisableDirectives: 'warn'
},
rules: {
'func-style': [
'error',
'declaration',
{
allowArrowFunctions: true
}
]
}
},
{ {
files: ['**/*.{js,mjs,cjs}'], files: ['**/*.{js,mjs,cjs}'],
languageOptions: { languageOptions: {
@@ -30,12 +46,10 @@ module.exports = [
plugins: { plugins: {
n: pluginN, n: pluginN,
import: pluginImport, import: pluginImport,
promise: pluginPromise, promise: pluginPromise
prettier: pluginPrettier, }
sonarjs: pluginSonarJS
},
rules: standard.rules
}, },
configPrettier,
{ {
ignores: ['coverage/', 'dist/', 'lib/', 'node_modules/'] ignores: ['coverage/', 'dist/', 'lib/', 'node_modules/']
} }

View File

@@ -1,3 +1,5 @@
'use strict'
const jest = require('eslint-plugin-jest') const jest = require('eslint-plugin-jest')
/** /**

View File

@@ -1,6 +1,6 @@
{ {
"name": "@ivuorinen/eslint-config", "name": "@ivuorinen/eslint-config",
"version": "0.5.4", "version": "0.5.8",
"description": "ivuorinen's shareable configuration for ESLint.", "description": "ivuorinen's shareable configuration for ESLint.",
"author": { "author": {
"name": "Ismo Vuorinen", "name": "Ismo Vuorinen",
@@ -10,7 +10,7 @@
"url": "https://github.com/ivuorinen/base-configs/issues" "url": "https://github.com/ivuorinen/base-configs/issues"
}, },
"engines": { "engines": {
"node": ">=18" "node": "^20.9.0 || >=21.1.0"
}, },
"type": "module", "type": "module",
"main": "index.cjs", "main": "index.cjs",
@@ -52,16 +52,16 @@
}, },
"dependencies": { "dependencies": {
"@eslint/js": "^9", "@eslint/js": "^9",
"@ivuorinen/config-checker": "^1.1.7", "@ivuorinen/config-checker": "^1.1.9",
"eslint": "^9", "eslint": "^9.15.0",
"eslint-config-eslint": "^11",
"eslint-config-prettier": "^9", "eslint-config-prettier": "^9",
"eslint-config-standard": "^17",
"eslint-plugin-import": "^2", "eslint-plugin-import": "^2",
"eslint-plugin-jest": "^28", "eslint-plugin-jest": "^28",
"eslint-plugin-n": "^17", "eslint-plugin-n": "^17",
"eslint-plugin-promise": "^7", "eslint-plugin-promise": "^7",
"eslint-plugin-sonarjs": "^2", "globals": "^15",
"globals": "^15" "typescript": ">=4.2.0"
}, },
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230" "gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
} }

View File

@@ -1,9 +1,10 @@
'use strict' 'use strict'
const fs = require('fs') /* eslint no-console: "off", n/no-process-exit: "off" -- CLI app that gives users feedback */
const path = require('path')
// noinspection NpmUsedModulesInstalled const fs = require('node:fs')
const process = require('process') const path = require('node:path')
const process = require('node:process')
const checkConfig = require('@ivuorinen/config-checker') const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('eslint') const foundConfig = checkConfig('eslint')

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,39 @@
# Change Log # Change Log
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.3.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.3.8...@ivuorinen/markdownlint-config@0.3.9) (2024-11-25)
**Note:** Version bump only for package @ivuorinen/markdownlint-config
## 0.3.8 (2024-11-25)
**Note:** Version bump only for package @ivuorinen/markdownlint-config
## [0.3.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.3.6...@ivuorinen/markdownlint-config@0.3.7) (2024-11-24)
### Bug Fixes
- **deps:** update markdownlint-cli to 0.43.0 ([#306](https://github.com/ivuorinen/base-configs/issues/306)) ([adb8a9f](https://github.com/ivuorinen/base-configs/commit/adb8a9f577622af91b6d6c6a1add3c9d22b3e48e))
## [0.3.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.3.5...@ivuorinen/markdownlint-config@0.3.6) (2024-11-24)
**Note:** Version bump only for package @ivuorinen/markdownlint-config
## [0.3.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.3.4...@ivuorinen/markdownlint-config@0.3.5) (2024-11-16)
**Note:** Version bump only for package @ivuorinen/markdownlint-config
## 0.3.4 (2024-11-16)
### Bug Fixes
- upgrade browserslist from 4.24.0 to 4.24.2 ([#302](https://github.com/ivuorinen/base-configs/issues/302)) ([cbb1754](https://github.com/ivuorinen/base-configs/commit/cbb17540f3cd7fc81f0032e557568c65ed0a9744))
## 0.3.3 (2024-10-20) ## 0.3.3 (2024-10-20)

View File

@@ -1,6 +1,6 @@
{ {
"name": "@ivuorinen/markdownlint-config", "name": "@ivuorinen/markdownlint-config",
"version": "0.3.3", "version": "0.3.9",
"type": "module", "type": "module",
"description": "ivuorinen's shareable configuration for markdownlint.", "description": "ivuorinen's shareable configuration for markdownlint.",
"author": { "author": {
@@ -11,7 +11,7 @@
"url": "https://github.com/ivuorinen/base-configs/issues" "url": "https://github.com/ivuorinen/base-configs/issues"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">=20"
}, },
"files": [ "files": [
"index.json", "index.json",
@@ -37,8 +37,8 @@
"postinstall": "node scripts/postinstall.cjs" "postinstall": "node scripts/postinstall.cjs"
}, },
"dependencies": { "dependencies": {
"@ivuorinen/config-checker": "^1.1.7", "@ivuorinen/config-checker": "^1.1.9",
"markdownlint-cli": "^0.42.0" "markdownlint-cli": "^0.43.0"
}, },
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230" "gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
} }

View File

@@ -1,9 +1,11 @@
'use strict' 'use strict'
const fs = require('fs') /* eslint no-console: "off", n/no-process-exit: "off", no-undefined: "off" -- CLI app that gives users feedback */
const path = require('path')
const fs = require('node:fs')
const path = require('node:path')
// noinspection NpmUsedModulesInstalled // noinspection NpmUsedModulesInstalled
const process = require('process') const process = require('node:process')
const checkConfig = require('@ivuorinen/config-checker') const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('markdownlint') const foundConfig = checkConfig('markdownlint')

View File

@@ -14,10 +14,10 @@
wrap-ansi "^8.1.0" wrap-ansi "^8.1.0"
wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" wrap-ansi-cjs "npm:wrap-ansi@^7.0.0"
"@ivuorinen/config-checker@^1": "@ivuorinen/config-checker@^1.1.9":
version "1.1.5" version "1.1.9"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.5.tgz#f5e374b473e4c9b7f6c54e5b0d5a98b8720b6dce" resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.9.tgz#2e7f936a2cc2f80d7d0c7d6eb2e7e7901165e4a4"
integrity sha512-xkKXbZAdeboB7MsjGClE/6em98huy6kwxqM4OYsXeVS+uHYhVm07Owoz5xVraMMl3uaRkqsz/lfv7OCCeq+U3A== integrity sha512-/tbIA5hmM5VpUpYN+5Uvl/rEAViJI7mT1nm3rq9iWn4gBL2doe+aVP9hAtqZvv7A8Fn8KeOx/dw0rM0Tzmd11A==
ansi-regex@^5.0.1: ansi-regex@^5.0.1:
version "5.0.1" version "5.0.1"
@@ -76,9 +76,9 @@ commander@~12.1.0:
integrity sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA== integrity sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==
cross-spawn@^7.0.0: cross-spawn@^7.0.0:
version "7.0.3" version "7.0.6"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==
dependencies: dependencies:
path-key "^3.1.0" path-key "^3.1.0"
shebang-command "^2.0.0" shebang-command "^2.0.0"
@@ -117,11 +117,6 @@ foreground-child@^3.1.0:
cross-spawn "^7.0.0" cross-spawn "^7.0.0"
signal-exit "^4.0.1" signal-exit "^4.0.1"
get-stdin@~9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-9.0.0.tgz#3983ff82e03d56f1b2ea0d3e60325f39d703a575"
integrity sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA==
glob@~11.0.0: glob@~11.0.0:
version "11.0.0" version "11.0.0"
resolved "https://registry.yarnpkg.com/glob/-/glob-11.0.0.tgz#6031df0d7b65eaa1ccb9b29b5ced16cea658e77e" resolved "https://registry.yarnpkg.com/glob/-/glob-11.0.0.tgz#6031df0d7b65eaa1ccb9b29b5ced16cea658e77e"
@@ -202,35 +197,34 @@ markdown-it@14.1.0:
punycode.js "^2.3.1" punycode.js "^2.3.1"
uc.micro "^2.1.0" uc.micro "^2.1.0"
markdownlint-cli@^0.42.0: markdownlint-cli@^0.43.0:
version "0.42.0" version "0.43.0"
resolved "https://registry.yarnpkg.com/markdownlint-cli/-/markdownlint-cli-0.42.0.tgz#45d2264ba3e0237a354bb620a80ca83572da3181" resolved "https://registry.yarnpkg.com/markdownlint-cli/-/markdownlint-cli-0.43.0.tgz#c2538cb12d305ba3c61dbbdd3c45c01b9dcd9737"
integrity sha512-AjkzhhZa3TmEGi/CE2Wpmny69x1IrzqK2gPB0k8SmNMRgnSAJfyEO5FgZdWTHtJ6Nrdv5FWt5c4C5pkG6Dk30A== integrity sha512-6vwurKK4B21eyYzwgX6ph13cZS7hE6LZfcS8QyD722CyxVD2RtAvbZK2p7k+FZbbKORulEuwl+hJaEq1l6/hoQ==
dependencies: dependencies:
commander "~12.1.0" commander "~12.1.0"
get-stdin "~9.0.0"
glob "~11.0.0" glob "~11.0.0"
ignore "~6.0.2" ignore "~6.0.2"
js-yaml "^4.1.0" js-yaml "^4.1.0"
jsonc-parser "~3.3.1" jsonc-parser "~3.3.1"
jsonpointer "5.0.1" jsonpointer "5.0.1"
markdownlint "~0.35.0" markdownlint "~0.36.1"
minimatch "~10.0.1" minimatch "~10.0.1"
run-con "~1.3.2" run-con "~1.3.2"
smol-toml "~1.3.0" smol-toml "~1.3.1"
markdownlint-micromark@0.1.10: markdownlint-micromark@0.1.12:
version "0.1.10" version "0.1.12"
resolved "https://registry.yarnpkg.com/markdownlint-micromark/-/markdownlint-micromark-0.1.10.tgz#a77a1a70adad9eac18ff412baf36a0c2189875d7" resolved "https://registry.yarnpkg.com/markdownlint-micromark/-/markdownlint-micromark-0.1.12.tgz#8fc055f4588039654e5af75f1b9fc492da64c76a"
integrity sha512-no5ZfdqAdWGxftCLlySHSgddEjyW4kui4z7amQcGsSKfYC5v/ou+8mIQVyg9KQMeEZLNtz9OPDTj7nnTnoR4FQ== integrity sha512-RlB6EwMGgc0sxcIhOQ2+aq7Zw1V2fBnzbXKGgYK/mVWdT7cz34fteKSwfYeo4rL6+L/q2tyC9QtD/PgZbkdyJQ==
markdownlint@~0.35.0: markdownlint@~0.36.1:
version "0.35.0" version "0.36.1"
resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.35.0.tgz#8189347fef3550045de78a96c52a7f45c2a4f91e" resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.36.1.tgz#86491d35ad6eda89e1290404850a574da3e64490"
integrity sha512-wgp8yesWjFBL7bycA3hxwHRdsZGJhjhyP1dSxKVKrza0EPFYtn+mHtkVy6dvP1kGSjovyG5B8yNP6Frj0UFUJg== integrity sha512-s73fU2CQN7WCgjhaQUQ8wYESQNzGRNOKDd+3xgVqu8kuTEhmwepd/mxOv1LR2oV046ONrTLBFsM7IoKWNvmy5g==
dependencies: dependencies:
markdown-it "14.1.0" markdown-it "14.1.0"
markdownlint-micromark "0.1.10" markdownlint-micromark "0.1.12"
mdurl@^2.0.0: mdurl@^2.0.0:
version "2.0.0" version "2.0.0"
@@ -304,10 +298,10 @@ signal-exit@^4.0.1:
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04"
integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==
smol-toml@~1.3.0: smol-toml@~1.3.1:
version "1.3.0" version "1.3.1"
resolved "https://registry.yarnpkg.com/smol-toml/-/smol-toml-1.3.0.tgz#5200e251fffadbb72570c84e9776d2a3eca48143" resolved "https://registry.yarnpkg.com/smol-toml/-/smol-toml-1.3.1.tgz#d9084a9e212142e3cab27ef4e2b8e8ba620bfe15"
integrity sha512-tWpi2TsODPScmi48b/OQZGi2lgUmBCHy6SZrhi/FdnnHiU1GwebbCfuQuxsC3nHaLwtYeJGPrDZDIeodDOc4pA== integrity sha512-tEYNll18pPKHroYSmLLrksq233j021G0giwW7P3D24jC54pQ5W5BXMsQ/Mvw1OJCmEYDgY+lrzT+3nNUtoNfXQ==
"string-width-cjs@npm:string-width@^4.2.0": "string-width-cjs@npm:string-width@^4.2.0":
version "4.2.3" version "4.2.3"

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. All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 0.3.7 (2024-11-25)
**Note:** Version bump only for package @ivuorinen/prettier-config
## [0.3.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.3.5...@ivuorinen/prettier-config@0.3.6) (2024-11-24)
**Note:** Version bump only for package @ivuorinen/prettier-config
## 0.3.5 (2024-11-16)
### Bug Fixes
- upgrade browserslist from 4.24.0 to 4.24.2 ([#302](https://github.com/ivuorinen/base-configs/issues/302)) ([cbb1754](https://github.com/ivuorinen/base-configs/commit/cbb17540f3cd7fc81f0032e557568c65ed0a9744))
## 0.3.4 (2024-10-20) ## 0.3.4 (2024-10-20)
### Bug Fixes ### Bug Fixes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@ivuorinen/prettier-config", "name": "@ivuorinen/prettier-config",
"version": "0.3.4", "version": "0.3.7",
"type": "module", "type": "module",
"description": "ivuorinen's shareable configuration for Prettier.", "description": "ivuorinen's shareable configuration for Prettier.",
"author": { "author": {
@@ -11,7 +11,7 @@
"url": "https://github.com/ivuorinen/base-configs/issues" "url": "https://github.com/ivuorinen/base-configs/issues"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">=20"
}, },
"main": "index.cjs", "main": "index.cjs",
"module": "wrapper.mjs", "module": "wrapper.mjs",
@@ -43,7 +43,7 @@
"postinstall": "node scripts/postinstall.cjs" "postinstall": "node scripts/postinstall.cjs"
}, },
"dependencies": { "dependencies": {
"@ivuorinen/config-checker": "^1.1.7", "@ivuorinen/config-checker": "^1.1.9",
"prettier": "^3" "prettier": "^3"
}, },
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230" "gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"

View File

@@ -1,9 +1,11 @@
'use strict' 'use strict'
const fs = require('fs') /* eslint no-console: "off", n/no-process-exit: "off", no-undefined: "off" -- CLI app that gives users feedback */
const path = require('path')
const fs = require('node:fs')
const path = require('node:path')
// noinspection NpmUsedModulesInstalled // noinspection NpmUsedModulesInstalled
const process = require('process') const process = require('node:process')
const checkConfig = require('@ivuorinen/config-checker') const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('prettier') const foundConfig = checkConfig('prettier')

View File

@@ -2,6 +2,24 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 0.3.8 (2024-11-25)
**Note:** Version bump only for package @ivuorinen/semantic-release-config
## [0.3.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.3.6...@ivuorinen/semantic-release-config@0.3.7) (2024-11-24)
**Note:** Version bump only for package @ivuorinen/semantic-release-config
## [0.3.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.3.5...@ivuorinen/semantic-release-config@0.3.6) (2024-11-16)
**Note:** Version bump only for package @ivuorinen/semantic-release-config
## 0.3.5 (2024-11-16)
### Bug Fixes
- upgrade browserslist from 4.24.0 to 4.24.2 ([#302](https://github.com/ivuorinen/base-configs/issues/302)) ([cbb1754](https://github.com/ivuorinen/base-configs/commit/cbb17540f3cd7fc81f0032e557568c65ed0a9744))
## 0.3.4 (2024-10-20) ## 0.3.4 (2024-10-20)
### Bug Fixes ### Bug Fixes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@ivuorinen/semantic-release-config", "name": "@ivuorinen/semantic-release-config",
"version": "0.3.4", "version": "0.3.8",
"description": "ivuorinen's shareable configuration for semantic-release.", "description": "ivuorinen's shareable configuration for semantic-release.",
"author": { "author": {
"name": "Ismo Vuorinen", "name": "Ismo Vuorinen",
@@ -10,7 +10,7 @@
"url": "https://github.com/ivuorinen/base-configs/issues" "url": "https://github.com/ivuorinen/base-configs/issues"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">=20"
}, },
"files": [ "files": [
"index.cjs", "index.cjs",
@@ -43,7 +43,7 @@
"postinstall": "node scripts/postinstall.cjs" "postinstall": "node scripts/postinstall.cjs"
}, },
"dependencies": { "dependencies": {
"@ivuorinen/config-checker": "^1.1.7", "@ivuorinen/config-checker": "^1.1.9",
"@semantic-release/changelog": "^6", "@semantic-release/changelog": "^6",
"@semantic-release/git": "^10", "@semantic-release/git": "^10",
"semantic-release": "^24" "semantic-release": "^24"

View File

@@ -1,9 +1,11 @@
'use strict' 'use strict'
const fs = require('fs') /* eslint no-console: "off", n/no-process-exit: "off", no-undefined: "off" -- CLI app that gives users feedback */
const path = require('path')
const fs = require('node:fs')
const path = require('node:path')
// noinspection NpmUsedModulesInstalled // noinspection NpmUsedModulesInstalled
const process = require('process') const process = require('node:process')
const checkConfig = require('@ivuorinen/config-checker') const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('release') const foundConfig = checkConfig('release')

View File

@@ -1099,15 +1099,6 @@ cosmiconfig@^9.0.0:
js-yaml "^4.1.0" js-yaml "^4.1.0"
parse-json "^5.2.0" parse-json "^5.2.0"
cross-spawn@^7.0.0, cross-spawn@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
dependencies:
path-key "^3.1.0"
shebang-command "^2.0.0"
which "^2.0.1"
crypto-random-string@^4.0.0: crypto-random-string@^4.0.0:
version "4.0.0" version "4.0.0"
resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-4.0.0.tgz#5a3cc53d7dd86183df5da0312816ceeeb5bb1fc2" resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-4.0.0.tgz#5a3cc53d7dd86183df5da0312816ceeeb5bb1fc2"

View File

@@ -2,6 +2,24 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 0.3.7 (2024-11-25)
**Note:** Version bump only for package @ivuorinen/stylelint-config
## [0.3.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.3.5...@ivuorinen/stylelint-config@0.3.6) (2024-11-24)
**Note:** Version bump only for package @ivuorinen/stylelint-config
## [0.3.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.3.4...@ivuorinen/stylelint-config@0.3.5) (2024-11-16)
**Note:** Version bump only for package @ivuorinen/stylelint-config
## 0.3.4 (2024-11-16)
### Bug Fixes
- upgrade browserslist from 4.24.0 to 4.24.2 ([#302](https://github.com/ivuorinen/base-configs/issues/302)) ([cbb1754](https://github.com/ivuorinen/base-configs/commit/cbb17540f3cd7fc81f0032e557568c65ed0a9744))
## 0.3.3 (2024-10-20) ## 0.3.3 (2024-10-20)
### Bug Fixes ### Bug Fixes

View File

@@ -1,6 +1,6 @@
{ {
"name": "@ivuorinen/stylelint-config", "name": "@ivuorinen/stylelint-config",
"version": "0.3.3", "version": "0.3.7",
"type": "module", "type": "module",
"description": "ivuorinen's shareable configuration for stylelint.", "description": "ivuorinen's shareable configuration for stylelint.",
"author": { "author": {
@@ -11,7 +11,7 @@
"url": "https://github.com/ivuorinen/base-configs/issues" "url": "https://github.com/ivuorinen/base-configs/issues"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">=20"
}, },
"main": "css/index.cjs", "main": "css/index.cjs",
"module": "css/index.mjs", "module": "css/index.mjs",
@@ -53,7 +53,7 @@
"postinstall": "node scripts/postinstall.cjs" "postinstall": "node scripts/postinstall.cjs"
}, },
"dependencies": { "dependencies": {
"@ivuorinen/config-checker": "^1.1.7", "@ivuorinen/config-checker": "^1.1.9",
"postcss": "^8", "postcss": "^8",
"stylelint": "^16", "stylelint": "^16",
"stylelint-config-recommended-scss": "^14", "stylelint-config-recommended-scss": "^14",

View File

@@ -1,9 +1,11 @@
'use strict' 'use strict'
const fs = require('fs') /* eslint no-console: "off", n/no-process-exit: "off", no-undefined: "off" -- CLI app that gives users feedback */
const path = require('path')
const fs = require('node:fs')
const path = require('node:path')
// noinspection NpmUsedModulesInstalled // noinspection NpmUsedModulesInstalled
const process = require('process') const process = require('node:process')
const checkConfig = require('@ivuorinen/config-checker') const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('stylelint') const foundConfig = checkConfig('stylelint')

View File

@@ -223,15 +223,6 @@ cosmiconfig@^9.0.0:
js-yaml "^4.1.0" js-yaml "^4.1.0"
parse-json "^5.2.0" parse-json "^5.2.0"
cross-spawn@^7.0.0:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
dependencies:
path-key "^3.1.0"
shebang-command "^2.0.0"
which "^2.0.1"
css-functions-list@^3.2.1: css-functions-list@^3.2.1:
version "3.2.1" version "3.2.1"
resolved "https://registry.yarnpkg.com/css-functions-list/-/css-functions-list-3.2.1.tgz#2eb205d8ce9f9ce74c5c1d7490b66b77c45ce3ea" resolved "https://registry.yarnpkg.com/css-functions-list/-/css-functions-list-3.2.1.tgz#2eb205d8ce9f9ce74c5c1d7490b66b77c45ce3ea"

3988
yarn.lock

File diff suppressed because it is too large Load Diff