Compare commits

...

67 Commits

Author SHA1 Message Date
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
ivuorinen
a703eea763 chore(release): publish
- @ivuorinen/base-configs@2.0.6
 - @ivuorinen/browserslist-config@0.3.3
 - @ivuorinen/commitlint-config@0.3.3
 - @ivuorinen/config-checker@1.1.7
 - @ivuorinen/eslint-config@0.5.4
 - @ivuorinen/markdownlint-config@0.3.3
 - @ivuorinen/prettier-config@0.3.4
 - @ivuorinen/semantic-release-config@0.3.4
 - @ivuorinen/stylelint-config@0.3.3
2024-10-20 22:11:40 +00:00
ivuorinen
086cb1a2e3 chore: 🤖 bump versions and publish packages 2024-10-20 22:11:37 +00:00
Ismo Vuorinen
a99c55aab7 fix: upgrade browserslist from 4.23.3 to 4.24.0 (#297)
Snyk has created this PR to upgrade browserslist from 4.23.3 to 4.24.0.

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-10-21 01:11:00 +03:00
ivuorinen
2a2dde0080 chore(release): publish
- @ivuorinen/base-configs@2.0.5
 - @ivuorinen/browserslist-config@0.3.2
 - @ivuorinen/commitlint-config@0.3.2
 - @ivuorinen/config-checker@1.1.6
 - @ivuorinen/eslint-config@0.5.3
 - @ivuorinen/markdownlint-config@0.3.2
 - @ivuorinen/prettier-config@0.3.3
 - @ivuorinen/semantic-release-config@0.3.3
 - @ivuorinen/stylelint-config@0.3.2
2024-10-19 23:15:50 +00:00
ivuorinen
c7e2486c7c chore: 🤖 bump versions and publish packages 2024-10-19 23:15:47 +00:00
Ismo Vuorinen
f57190d55c fix: upgrade markdownlint-cli from 0.41.0 to 0.42.0 (#298) 2024-10-20 02:15:12 +03:00
renovate[bot]
3449c495cc fix(github-action): update actions/cache ( v4.1.0 → v4.1.1 ) (#296) 2024-10-10 12:52:52 +03:00
renovate[bot]
5405ab1a24 fix(github-action): update actions/checkout ( v4.2.0 → v4.2.1 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-09 03:08:01 +00:00
renovate[bot]
321542d309 chore(deps): update eslint-plugin-unicorn to 56.0.0 (#294) 2024-10-07 08:28:04 +03:00
renovate[bot]
41e71bbc3c feat(github-action): update actions/cache ( v4.0.2 → v4.1.0 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-06 04:40:24 +00:00
renovate[bot]
443fd6623b chore(deps): update markdownlint-cli to 0.42.0 (#292) 2024-09-28 16:24:18 +03:00
renovate[bot]
02c930d54a feat(github-action): update actions/checkout ( v4.1.7 → v4.2.0 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 00:43:38 +00:00
renovate[bot]
bfe244e635 fix(github-action): update actions/setup-node ( v4.0.3 → v4.0.4 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 02:14:22 +00:00
Ismo Vuorinen
e4d9416737 chore(docs): update readme and add the meta pkg 2024-09-17 15:35:49 +03:00
Ismo Vuorinen
f293ddbe74 chore(deps): upgrade yarn packages 2024-09-17 15:23:33 +03:00
ivuorinen
e34f502182 chore(release): publish
- @ivuorinen/base-configs@2.0.4
 - @ivuorinen/semantic-release-config@0.3.2
2024-09-17 12:19:27 +00:00
Ismo Vuorinen
c016fcbfda fix(config): add wrapper.mjs to included files 2024-09-17 15:18:34 +03:00
ivuorinen
3fd61969d9 chore(release): publish
- @ivuorinen/base-configs@2.0.3
 - @ivuorinen/prettier-config@0.3.2
2024-09-17 12:16:32 +00:00
Ismo Vuorinen
ef5641f13b fix(config): add wrapper.mjs to included files 2024-09-17 15:15:34 +03:00
ivuorinen
963ff4fd63 chore(release): publish
- @ivuorinen/base-configs@2.0.2
 - @ivuorinen/browserslist-config@0.3.1
 - @ivuorinen/commitlint-config@0.3.1
 - @ivuorinen/eslint-config@0.5.2
 - @ivuorinen/markdownlint-config@0.3.1
 - @ivuorinen/prettier-config@0.3.1
 - @ivuorinen/semantic-release-config@0.3.1
 - @ivuorinen/stylelint-config@0.3.1
2024-08-28 07:36:19 +00:00
085c3cedbe chore(deps): loosen constraints, upgrade packages 2024-08-28 10:35:37 +03:00
ivuorinen
fe6d36c906 chore(release): publish
- @ivuorinen/base-configs@2.0.1
 - @ivuorinen/eslint-config@0.5.1
2024-08-26 19:09:30 +00:00
renovate[bot]
987baa6272 fix(deps): update eslint-plugin-sonarjs to 2.0.0 (#289) 2024-08-26 22:08:47 +03:00
ivuorinen
48856d9c71 chore(release): publish
- @ivuorinen/base-configs@2.0.0
 - @ivuorinen/browserslist-config@0.3.0
 - @ivuorinen/commitlint-config@0.3.0
 - @ivuorinen/config-checker@1.1.5
 - @ivuorinen/eslint-config@0.5.0
 - @ivuorinen/markdownlint-config@0.3.0
 - @ivuorinen/prettier-config@0.3.0
 - @ivuorinen/semantic-release-config@0.3.0
 - @ivuorinen/stylelint-config@0.3.0
2024-08-21 14:51:07 +00:00
Ismo Vuorinen
12ea3688ad feat!: module & commonjs in prettier
BREAKING CHANGE: support module, and commonjs types
2024-08-21 17:50:05 +03:00
Ismo Vuorinen
02e4f4779c feat!: module & commonjs in base-configs
BREAKING CHANGE: support module, and commonjs types
2024-08-21 17:45:12 +03:00
Ismo Vuorinen
ad9ed820d6 feat!: upgrade to eslint 9, update configs
BREAKING CHANGE: this changes the configuration format,
also adds support for module, and commonjs types
2024-08-21 17:44:50 +03:00
Ismo Vuorinen
93ea840406 feat!: module & commonjs in browserslist
BREAKING CHANGE: support module, and commonjs types
2024-08-21 17:38:30 +03:00
Ismo Vuorinen
2de156e2c0 feat!: module & commonjs in commitlint
BREAKING CHANGE: support module, and commonjs types
2024-08-21 17:37:06 +03:00
Ismo Vuorinen
ca479deb20 feat!: module & commonjs in markdownlint
BREAKING CHANGE: support module, and commonjs types
2024-08-21 17:36:22 +03:00
Ismo Vuorinen
8d3dbd89e8 feat!: module & commonjs in prettier
BREAKING CHANGE: support module, and commonjs types
2024-08-21 17:36:04 +03:00
Ismo Vuorinen
57fbf1fd1f feat!: module & commonjs in semantic-release
BREAKING CHANGE: support module, and commonjs types
2024-08-21 17:35:36 +03:00
Ismo Vuorinen
e4aed31ef9 feat!: module & commonjs in stylelint
BREAKING CHANGE: support module, and commonjs types
2024-08-21 17:35:13 +03:00
Ismo Vuorinen
ce9de621f6 chore: tweaks and cleanup 2024-08-21 17:23:59 +03:00
ivuorinen
cc63a2d1d7 chore(release): publish
- @ivuorinen/base-configs@1.1.106
 - @ivuorinen/semantic-release-config@0.2.24
2024-08-21 05:52:14 +00:00
renovate[bot]
2c5432954a fix(deps): update semantic-release to 24.1.0 (#288) 2024-08-21 08:51:37 +03:00
ivuorinen
241244169c chore(release): publish
- @ivuorinen/stylelint-config@0.2.37
2024-08-19 08:01:33 +00:00
renovate[bot]
3b552d1ae1 fix(deps): update stylelint to 16.8.2 (#287) 2024-08-19 08:19:24 +03:00
4da529746e fix(deps): update dependencies 2024-08-16 15:12:12 +03:00
ivuorinen
d515c3e499 chore(release): publish
- @ivuorinen/base-configs@1.1.105
 - @ivuorinen/eslint-config@0.4.48
2024-08-12 23:37:15 +00:00
renovate[bot]
ba3b6cc2d8 fix(deps): update eslint to 9.9.0 (#286)
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-08-13 02:36:39 +03:00
ivuorinen
47088feff6 chore(release): publish
- @ivuorinen/base-configs@1.1.104
 - @ivuorinen/commitlint-config@0.2.24
2024-08-10 18:55:58 +00:00
renovate[bot]
4080152296 fix(deps): update @commitlint/cli to 19.4.0 (#285) 2024-08-10 21:55:21 +03:00
ivuorinen
28430ef6a7 chore(release): publish
- @ivuorinen/stylelint-config@0.2.36
2024-08-07 21:39:10 +00:00
renovate[bot]
5d6d89fdeb fix(deps): update stylelint-scss to 6.5.0 (#284) 2024-08-08 00:38:34 +03:00
ivuorinen
05b25840c1 chore(release): publish
- @ivuorinen/base-configs@1.1.103
 - @ivuorinen/browserslist-config@0.2.10
2024-08-04 14:46:53 +00:00
renovate[bot]
232225b186 fix(deps): update browserslist to 4.23.3 (#283)
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-08-04 17:46:00 +03:00
ivuorinen
cc183f538a chore(release): publish
- @ivuorinen/stylelint-config@0.2.35
2024-08-02 11:23:31 +00:00
renovate[bot]
338e7e343d fix(deps): update stylelint to 16.8.1 (#282) 2024-08-02 14:22:55 +03:00
ivuorinen
d9090c667e chore(release): publish
- @ivuorinen/base-configs@1.1.102
 - @ivuorinen/eslint-config@0.4.47
2024-07-29 23:12:50 +00:00
renovate[bot]
72b0871beb fix(deps): update eslint to 9.8.0 (#281) 2024-07-30 02:12:14 +03:00
renovate[bot]
aa6bcc6cd4 chore(deps): update eslint-plugin-unicorn to 55.0.0 (#280)
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-07-28 02:55:20 +03:00
ivuorinen
2b705cec7b chore(release): publish
- @ivuorinen/base-configs@1.1.101
 - @ivuorinen/eslint-config@0.4.46
2024-07-27 13:18:06 +00:00
renovate[bot]
6f7f3e9cfe fix(deps): update eslint-plugin-promise to 7.0.0 (#279) 2024-07-27 16:17:28 +03:00
Ismo Vuorinen
bc0e9dcdbc chore(meta): update renovate.json 2024-07-23 03:49:22 +03:00
ivuorinen
031f27257a chore(release): publish
- @ivuorinen/base-configs@1.1.100
 - @ivuorinen/prettier-config@0.2.16
2024-07-16 20:05:36 +00:00
renovate[bot]
03e8a97e2b fix(deps): update prettier to 3.3.3 (#277)
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-07-16 23:04:55 +03:00
ivuorinen
951cdb5014 chore(release): publish
- @ivuorinen/stylelint-config@0.2.34
2024-07-16 15:29:27 +00:00
renovate[bot]
b5e55bf888 fix(deps): update stylelint to 16.7.0 (#275)
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-07-16 18:28:52 +03:00
ivuorinen
b3123d3745 chore(release): publish
- @ivuorinen/base-configs@1.1.99
 - @ivuorinen/eslint-config@0.4.45
2024-07-16 07:21:08 +00:00
renovate[bot]
e1c45b82eb fix(deps): update eslint to 9.7.0 (#276)
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-07-16 10:20:22 +03:00
68 changed files with 3490 additions and 963 deletions

View File

@@ -1 +0,0 @@
node_modules/

View File

@@ -1,3 +0,0 @@
{
"extends": ["./packages/eslint-config"]
}

View File

@@ -1,4 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>ivuorinen/.github:renovate-config"]
"extends": ["github>ivuorinen/renovate-config"]
}

View File

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

View File

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

View File

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

11
.gitignore vendored
View File

@@ -1,15 +1,14 @@
node_modules
packages/**/.browserslistrc
packages/**/.commitlintrc.json
packages/**/.eslintrc.json
packages/**/.*rc
packages/**/.*rc.json
packages/**/.markdownlint.json
packages/**/.prettierrc.json
packages/**/.releaserc.json
packages/**/.stylelintrc.json
packages/**/*.config.*
packages/**/.*.config.*
!packages/browserslist-config/.browserslistrc
!packages/commitlint-config/.commitlintrc.json
!packages/eslint-config/.eslintrc.json
!packages/eslint-config/eslint.config.*
!packages/markdownlint-config/.markdownlint.json
!packages/prettier-config/.prettierrc.json
!packages/release-config/.releaserc.json

View File

@@ -1 +1,2 @@
node_modules/
/.nx/workspace-data

View File

@@ -22,10 +22,24 @@ This Monorepo provides a collection of shareable configurations for building, li
Check the _`README`_ of each package in the [`packages`][packages-link] directory for specific usage instructions.
## Meta package
All of the linting rules can be installed by running the following command:
```bash
npm i -D @ivuorinen/base-configs
```
| Package | Version |
| ----------------------------------- | ------- |
| [@ivuorinen/base-configs][meta-npm] | [![@ivuorinen/base-configs][meta-badge]][meta-npm] |
You can find the meta package in [packages/base-configs](./packages/base-configs).
## Available Configurations
| Tool | Package | Version |
| ----------------------------------------- | -------------------------------------------------- | ------------------------------------------------------------------------------------- |
|-------------------------------------------|----------------------------------------------------|---------------------------------------------------------------------------------------|
| [Browserslist][browserslist-link] | [@ivuorinen/browserslist-config][pkg-browserlist] | [![@ivuorinen/browserslist-config][browserslist-badge]][browserslist-npm] |
| [CommitLint][commitlint-link] | [@ivuorinen/commitlint-config][pkg-commitlint] | [![@ivuorinen/commitlint-config][commitlint-badge]][commitlint-npm] |
| [ESLint][eslint-link] | [@ivuorinen/eslint-config][pkg-eslint] | [![@ivuorinen/eslint-config][eslint-badge]][eslint-npm] |
@@ -58,19 +72,20 @@ If you are interested in helping contribute, please take a look at our [contribu
## Changelog
See [CHANGELOG][changelog-link] for a human-readable history of changes.
See CHANGELOG for a human-readable history of changes in each package own folder.
## License
Distributed under the MIT License. See [LICENSE][license-link] for more information.
[changelog-link]: ./CHANGELOG.md
[contributing-link]: https://github.com/ivuorinen/.github/blob/main/CONTRIBUTING.md
[issue-link]: https://github.com/ivuorinen/base-configs/issues
[license-badge]: https://img.shields.io/github/license/ivuorinen/base-configs?style=flat-square&labelColor=292a44&color=663399
[license-link]: ./LICENSE
[packages-link]: ./packages
[pull-request-link]: https://github.com/ivuorinen/base-configs/pulls
[meta-badge]: https://img.shields.io/npm/v/@ivuorinen/base-configs?style=flat-square&labelColor=292a44&color=663399
[meta-npm]: https://www.npmjs.com/package/@ivuorinen/base-configs
[style-badge]: https://img.shields.io/badge/code_style-ivuorinen%E2%80%99s-663399.svg?labelColor=292a44&style=flat-square
[style-link]: https://github.com/ivuorinen/base-configs
[browserslist-badge]: https://img.shields.io/npm/v/@ivuorinen/browserslist-config?style=flat-square&labelColor=292a44&color=663399

2
eslint.config.mjs Normal file
View File

@@ -0,0 +1,2 @@
import config from './packages/eslint-config/wrapper.mjs'
export default config

View File

@@ -2,6 +2,7 @@
"private": true,
"name": "@ivuorinen/base-configs",
"version": "1.0.0",
"type": "module",
"description": "A collection of base configs for code quality and linting tools.",
"author": {
"name": "Ismo Vuorinen",
@@ -41,16 +42,16 @@
"scripts": {
"deps:dedupe": "lernaupdate --dedupe",
"deps:update": "lernaupdate",
"eslint:fix": "eslint --format=pretty '**/*.{js,tsx,ts}' --fix",
"eslint:report": "eslint --format=pretty '**/*.{js,tsx,ts}'",
"eslint:fix": "eslint --format=pretty '**/*.{js,tsx,ts,mjs,cjs}' --fix",
"eslint:report": "eslint --format=pretty '**/*.{js,tsx,ts,mjs,cjs}'",
"lerna:bootstrap:ci": "yarn --frozen-lockfile --ignore-engines",
"lerna:bootstrap": "yarn",
"lerna:publish": "lerna publish from-package",
"lerna:version": "lerna version",
"markdownlint:fix": "markdownlint '**/*.md' --fix",
"markdownlint:report": "markdownlint '**/*.md'",
"prettier:fix": "prettier '**/*.{js,tsx,ts,json}' --write",
"prettier:report": "prettier '**/*.{js,tsx,ts,json}' --check"
"prettier:fix": "prettier '**/*.{js,tsx,ts,json,mjs,cjs}' --write",
"prettier:report": "prettier '**/*.{js,tsx,ts,json,mjs,cjs}' --check"
},
"devDependencies": {
"@commitlint/cli": "^19.0.0",
@@ -62,12 +63,12 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^17.0.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-sonarjs": "^1.0.0",
"eslint-plugin-unicorn": "^54.0.0",
"eslint-plugin-promise": "^7.0.0",
"eslint-plugin-sonarjs": "^2.0.0",
"eslint-plugin-unicorn": "^56.0.0",
"lerna": "^8.0.0",
"lerna-update-wizard": "^1.1.2",
"markdownlint-cli": "^0.41.0",
"markdownlint-cli": "^0.42.0",
"prettier": "^3.0.0",
"simple-git-hooks": "^2.8.1"
},

View File

@@ -2,6 +2,80 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 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)
### Bug Fixes
- upgrade browserslist from 4.23.3 to 4.24.0 ([#297](https://github.com/ivuorinen/base-configs/issues/297)) ([a99c55a](https://github.com/ivuorinen/base-configs/commit/a99c55aab760142b5d77ad80ce5d44b25dde17d7))
## 2.0.5 (2024-10-19)
### Bug Fixes
- upgrade markdownlint-cli from 0.41.0 to 0.42.0 ([#298](https://github.com/ivuorinen/base-configs/issues/298)) ([f57190d](https://github.com/ivuorinen/base-configs/commit/f57190d55c27101f66583cc0000733b2707c1e5f))
## [2.0.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@2.0.3...@ivuorinen/base-configs@2.0.4) (2024-09-17)
**Note:** Version bump only for package @ivuorinen/base-configs
## [2.0.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@2.0.2...@ivuorinen/base-configs@2.0.3) (2024-09-17)
**Note:** Version bump only for package @ivuorinen/base-configs
## [2.0.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@2.0.1...@ivuorinen/base-configs@2.0.2) (2024-08-28)
**Note:** Version bump only for package @ivuorinen/base-configs
## [2.0.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@2.0.0...@ivuorinen/base-configs@2.0.1) (2024-08-26)
**Note:** Version bump only for package @ivuorinen/base-configs
# [2.0.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.106...@ivuorinen/base-configs@2.0.0) (2024-08-21)
- feat!: module & commonjs in base-configs ([02e4f47](https://github.com/ivuorinen/base-configs/commit/02e4f4779c79e5e179b3fb31b9a642d9ec96f862))
### BREAKING CHANGES
- support module, and commonjs types
## [1.1.106](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.105...@ivuorinen/base-configs@1.1.106) (2024-08-21)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.105](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.104...@ivuorinen/base-configs@1.1.105) (2024-08-12)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.104](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.103...@ivuorinen/base-configs@1.1.104) (2024-08-10)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.103](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.102...@ivuorinen/base-configs@1.1.103) (2024-08-04)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.102](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.101...@ivuorinen/base-configs@1.1.102) (2024-07-29)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.101](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.100...@ivuorinen/base-configs@1.1.101) (2024-07-27)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.100](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.99...@ivuorinen/base-configs@1.1.100) (2024-07-16)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.99](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.98...@ivuorinen/base-configs@1.1.99) (2024-07-16)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.98](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.97...@ivuorinen/base-configs@1.1.98) (2024-07-13)
**Note:** Version bump only for package @ivuorinen/base-configs

View File

@@ -1,6 +1,7 @@
{
"name": "@ivuorinen/base-configs",
"version": "1.1.98",
"version": "2.0.7",
"type": "module",
"description": "ivuorinen's shareable configurations meta package",
"author": {
"name": "Ismo Vuorinen",
@@ -27,12 +28,11 @@
"url": "git+https://github.com/ivuorinen/base-configs.git"
},
"dependencies": {
"@ivuorinen/browserslist-config": "^0.2.9",
"@ivuorinen/commitlint-config": "^0.2.23",
"@ivuorinen/eslint-config": "^0.4.44",
"@ivuorinen/markdownlint-config": "^0.2.9",
"@ivuorinen/prettier-config": "^0.2.15",
"@ivuorinen/semantic-release-config": "^0.2.23",
"eslint-plugin-n": "^17.0.0"
"@ivuorinen/browserslist-config": "^0.3.4",
"@ivuorinen/commitlint-config": "^0.3.4",
"@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"
}
}

View File

@@ -2,6 +2,42 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 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)
### Bug Fixes
- upgrade browserslist from 4.23.3 to 4.24.0 ([#297](https://github.com/ivuorinen/base-configs/issues/297)) ([a99c55a](https://github.com/ivuorinen/base-configs/commit/a99c55aab760142b5d77ad80ce5d44b25dde17d7))
## 0.3.2 (2024-10-19)
### Bug Fixes
- upgrade markdownlint-cli from 0.41.0 to 0.42.0 ([#298](https://github.com/ivuorinen/base-configs/issues/298)) ([f57190d](https://github.com/ivuorinen/base-configs/commit/f57190d55c27101f66583cc0000733b2707c1e5f))
## [0.3.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.3.0...@ivuorinen/browserslist-config@0.3.1) (2024-08-28)
**Note:** Version bump only for package @ivuorinen/browserslist-config
# [0.3.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.10...@ivuorinen/browserslist-config@0.3.0) (2024-08-21)
- feat!: module & commonjs in browserslist ([93ea840](https://github.com/ivuorinen/base-configs/commit/93ea8404064e62c720460b2d808fc9d39a00ec31))
### BREAKING CHANGES
- support module, and commonjs types
## [0.2.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.9...@ivuorinen/browserslist-config@0.2.10) (2024-08-04)
### Bug Fixes
- **deps:** update browserslist to 4.23.3 ([#283](https://github.com/ivuorinen/base-configs/issues/283)) ([232225b](https://github.com/ivuorinen/base-configs/commit/232225b186c3a8cf2e0f4f0d50b4c198ebdacfee))
## [0.2.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.8...@ivuorinen/browserslist-config@0.2.9) (2024-07-13)
### Bug Fixes

View File

@@ -1,7 +1,8 @@
{
"name": "@ivuorinen/browserslist-config",
"version": "0.2.9",
"version": "0.3.4",
"description": "ivuorinen's shareable configuration for Browserslist.",
"type": "module",
"author": {
"name": "Ismo Vuorinen",
"url": "https://github.com/ivuorinen"
@@ -13,9 +14,16 @@
"node": ">=18"
},
"files": [
"index.js",
"index.cjs",
"wrapper.mjs",
"scripts/*"
],
"main": "index.cjs",
"module": "wrapper.mjs",
"exports": {
"import": "./wrapper.mjs",
"require": "./index.cjs"
},
"homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/browserslist-config#readme",
"keywords": [
"browserslist-config",
@@ -24,7 +32,6 @@
"ivuorinen"
],
"license": "MIT",
"main": "index.js",
"publishConfig": {
"access": "public"
},
@@ -33,11 +40,11 @@
"url": "https://github.com/ivuorinen/base-configs.git"
},
"scripts": {
"postinstall": "node scripts/postinstall.js"
"postinstall": "node scripts/postinstall.cjs"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.4",
"browserslist": "4.23.2"
"@ivuorinen/config-checker": "^1.1.8",
"browserslist": "^4.24.2"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

@@ -2,6 +2,7 @@
const fs = require('fs')
const path = require('path')
// noinspection NpmUsedModulesInstalled
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('browserslist')

View File

@@ -0,0 +1,2 @@
import config from './index.cjs'
export default config

View File

@@ -2,50 +2,50 @@
# yarn lockfile v1
"@ivuorinen/config-checker@^1.1.2":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.2.tgz#1a7c4dd683129532998f5b682cd95e4daf176acf"
integrity sha512-Gb1o2jM0ZqKUa0UTk6yTDbEnC9xGT104EzL0q4x0dW8fLFFQNTp4NrWmpUS90He5m0GNcN5QBo7QPZdGlwUz1Q==
"@ivuorinen/config-checker@^1.1.7":
version "1.1.7"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.7.tgz#50664797603293b2c1f5755e1eec91aa5fbe52d8"
integrity sha512-5Ih0K++hGXydJKZuB1WQv6F9qXDtQvAbOu7QqG50NNrwhs9qr0a5LXKxSy3rbPYDvGu4iHBUaf4jI1fvkFqKGw==
browserslist@4.23.0:
version "4.23.0"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.0.tgz#8f3acc2bbe73af7213399430890f86c63a5674ab"
integrity sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==
browserslist@^4.24.2:
version "4.24.2"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.24.2.tgz#f5845bc91069dbd55ee89faf9822e1d885d16580"
integrity sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==
dependencies:
caniuse-lite "^1.0.30001587"
electron-to-chromium "^1.4.668"
node-releases "^2.0.14"
update-browserslist-db "^1.0.13"
caniuse-lite "^1.0.30001669"
electron-to-chromium "^1.5.41"
node-releases "^2.0.18"
update-browserslist-db "^1.1.1"
caniuse-lite@^1.0.30001587:
version "1.0.30001587"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001587.tgz#a0bce920155fa56a1885a69c74e1163fc34b4881"
integrity sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==
caniuse-lite@^1.0.30001669:
version "1.0.30001680"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001680.tgz#5380ede637a33b9f9f1fc6045ea99bd142f3da5e"
integrity sha512-rPQy70G6AGUMnbwS1z6Xg+RkHYPAi18ihs47GH0jcxIG7wArmPgY3XbS2sRdBbxJljp3thdT8BIqv9ccCypiPA==
electron-to-chromium@^1.4.668:
version "1.4.673"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.673.tgz#1f077d9a095761804aec7ec6346c3f4b69b56534"
integrity sha512-zjqzx4N7xGdl5468G+vcgzDhaHkaYgVcf9MqgexcTqsl2UHSCmOj/Bi3HAprg4BZCpC7HyD8a6nZl6QAZf72gw==
electron-to-chromium@^1.5.41:
version "1.5.62"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.62.tgz#8289468414b0b0b3e9180ef619a763555debe612"
integrity sha512-t8c+zLmJHa9dJy96yBZRXGQYoiCEnHYgFwn1asvSPZSUdVxnB62A4RASd7k41ytG3ErFBA0TpHlKg9D9SQBmLg==
escalade@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"
integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==
escalade@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5"
integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==
node-releases@^2.0.14:
version "2.0.14"
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.14.tgz#2ffb053bceb8b2be8495ece1ab6ce600c4461b0b"
integrity sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==
node-releases@^2.0.18:
version "2.0.18"
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.18.tgz#f010e8d35e2fe8d6b2944f03f70213ecedc4ca3f"
integrity sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==
picocolors@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c"
integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==
picocolors@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b"
integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==
update-browserslist-db@^1.0.13:
version "1.0.13"
resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz#3c5e4f5c083661bd38ef64b6328c26ed6c8248c4"
integrity sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==
update-browserslist-db@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz#80846fba1d79e82547fb661f8d141e0945755fe5"
integrity sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==
dependencies:
escalade "^3.1.1"
picocolors "^1.0.0"
escalade "^3.2.0"
picocolors "^1.1.0"

View File

@@ -2,6 +2,42 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 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)
### Bug Fixes
- upgrade browserslist from 4.23.3 to 4.24.0 ([#297](https://github.com/ivuorinen/base-configs/issues/297)) ([a99c55a](https://github.com/ivuorinen/base-configs/commit/a99c55aab760142b5d77ad80ce5d44b25dde17d7))
## 0.3.2 (2024-10-19)
### Bug Fixes
- upgrade markdownlint-cli from 0.41.0 to 0.42.0 ([#298](https://github.com/ivuorinen/base-configs/issues/298)) ([f57190d](https://github.com/ivuorinen/base-configs/commit/f57190d55c27101f66583cc0000733b2707c1e5f))
## [0.3.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.3.0...@ivuorinen/commitlint-config@0.3.1) (2024-08-28)
**Note:** Version bump only for package @ivuorinen/commitlint-config
# [0.3.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.24...@ivuorinen/commitlint-config@0.3.0) (2024-08-21)
- feat!: module & commonjs in commitlint ([2de156e](https://github.com/ivuorinen/base-configs/commit/2de156e2c0f474fe19d23cc2b4b9b6eaba97e258))
### BREAKING CHANGES
- support module, and commonjs types
## [0.2.24](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.23...@ivuorinen/commitlint-config@0.2.24) (2024-08-10)
### Bug Fixes
- **deps:** update @commitlint/cli to 19.4.0 ([#285](https://github.com/ivuorinen/base-configs/issues/285)) ([4080152](https://github.com/ivuorinen/base-configs/commit/4080152296ed9febc2c6dbf4cc41183a9ce319f8))
## 0.2.23 (2024-07-02)
### Bug Fixes

View File

@@ -1,6 +1,7 @@
{
"name": "@ivuorinen/commitlint-config",
"version": "0.2.23",
"version": "0.3.4",
"type": "module",
"description": "ivuorinen's shareable configuration for commitlint.",
"author": {
"name": "Ismo Vuorinen",
@@ -12,8 +13,15 @@
"engines": {
"node": ">= 18"
},
"main": "index.cjs",
"module": "wrapper.mjs",
"exports": {
"import": "./wrapper.mjs",
"require": "./index.js"
},
"files": [
"index.js",
"index.cjs",
"wrapper.mjs",
"scripts/*"
],
"homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/commitlint-config#readme",
@@ -23,7 +31,6 @@
"config"
],
"license": "MIT",
"main": "index.js",
"publishConfig": {
"access": "public"
},
@@ -32,14 +39,12 @@
"url": "https://github.com/ivuorinen/base-configs.git"
},
"scripts": {
"postinstall": "node scripts/postinstall.js"
"postinstall": "node scripts/postinstall.cjs"
},
"dependencies": {
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@ivuorinen/config-checker": "^1.1.4",
"@types/node": "*",
"typescript": ">=4"
"@commitlint/cli": "^19",
"@commitlint/config-conventional": "^19",
"@ivuorinen/config-checker": "^1.1.8"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

@@ -2,6 +2,7 @@
const fs = require('fs')
const path = require('path')
// noinspection NpmUsedModulesInstalled
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('commitlint')

View File

@@ -0,0 +1,2 @@
import config from './index.cjs'
export default config

View File

@@ -2,6 +2,28 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 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)
### Bug Fixes
- upgrade browserslist from 4.23.3 to 4.24.0 ([#297](https://github.com/ivuorinen/base-configs/issues/297)) ([a99c55a](https://github.com/ivuorinen/base-configs/commit/a99c55aab760142b5d77ad80ce5d44b25dde17d7))
## 1.1.6 (2024-10-19)
### Bug Fixes
- upgrade markdownlint-cli from 0.41.0 to 0.42.0 ([#298](https://github.com/ivuorinen/base-configs/issues/298)) ([f57190d](https://github.com/ivuorinen/base-configs/commit/f57190d55c27101f66583cc0000733b2707c1e5f))
## [1.1.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/config-checker@1.1.4...@ivuorinen/config-checker@1.1.5) (2024-08-21)
**Note:** Version bump only for package @ivuorinen/config-checker
## 1.1.4 (2024-07-02)
### Bug Fixes

View File

@@ -24,7 +24,7 @@ Configuration packages located in this repository use this tool to check for exi
### Real world example
For commitlint-config you can find the usage in the [commitlint-config postinstall.js][commitlint-postinstall-link] file.
For commitlint-config you can find the usage in the [commitlint-config postinstall.cjs][commitlint-postinstall-link] file.
Here's a snippet from the file:
@@ -44,7 +44,7 @@ if (foundConfig.length > 0) {
### Locations scanned
| Searched configuration files |
| ----------------------------------- |
|-------------------------------------|
| `[module name]` |
| `[module name]`rc |
| `[module name]`rc.json |
@@ -122,13 +122,13 @@ 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.
This project is licensed under the MIT License - see the [LICENSE.md][license-link] 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
[license-link]: ./LICENSE.md
[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

View File

@@ -13,9 +13,7 @@ const configs = configChecker('test', path.join(__dirname, 'fixtures'))
* @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)
}
const arrayContains = (configs = [], file = '') => configs.some(config => config === file)
assert.ok(arrayContains(configs, '.testrc'))
assert.ok(arrayContains(configs, '.config/testrc.ts'))

View File

@@ -2,6 +2,7 @@
const fs = require('fs')
const path = require('path')
// noinspection NpmUsedModulesInstalled
const process = require('process')
const configurationPaths = require('./configuration-paths')

View File

@@ -7,7 +7,7 @@ const path = require('path')
* @param {string} moduleName - The name of the module to check for.
* @returns {string[]} - The paths to the configuration files.
*/
function configurationPaths(moduleName) {
const configurationPaths = moduleName => {
const filesPlain = [
moduleName,
`${moduleName}rc`,

View File

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

View File

@@ -1,5 +0,0 @@
{
"extends": [
"@ivuorinen"
]
}

View File

@@ -2,6 +2,66 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 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)
### Bug Fixes
- upgrade browserslist from 4.23.3 to 4.24.0 ([#297](https://github.com/ivuorinen/base-configs/issues/297)) ([a99c55a](https://github.com/ivuorinen/base-configs/commit/a99c55aab760142b5d77ad80ce5d44b25dde17d7))
## 0.5.3 (2024-10-19)
### Bug Fixes
- upgrade markdownlint-cli from 0.41.0 to 0.42.0 ([#298](https://github.com/ivuorinen/base-configs/issues/298)) ([f57190d](https://github.com/ivuorinen/base-configs/commit/f57190d55c27101f66583cc0000733b2707c1e5f))
## [0.5.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.5.1...@ivuorinen/eslint-config@0.5.2) (2024-08-28)
**Note:** Version bump only for package @ivuorinen/eslint-config
## [0.5.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.5.0...@ivuorinen/eslint-config@0.5.1) (2024-08-26)
### Bug Fixes
- **deps:** update eslint-plugin-sonarjs to 2.0.0 ([#289](https://github.com/ivuorinen/base-configs/issues/289)) ([987baa6](https://github.com/ivuorinen/base-configs/commit/987baa6272b68aaab4aa34ca86892c1dd06fea77))
# [0.5.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.48...@ivuorinen/eslint-config@0.5.0) (2024-08-21)
- feat!: upgrade to eslint 9, update configs ([ad9ed82](https://github.com/ivuorinen/base-configs/commit/ad9ed820d606e7fe484b7b5f553b5dc13277f037))
### BREAKING CHANGES
- this changes the configuration format, also adds support for module, and commonjs types
## [0.4.48](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.47...@ivuorinen/eslint-config@0.4.48) (2024-08-12)
### Bug Fixes
- **deps:** update eslint to 9.9.0 ([#286](https://github.com/ivuorinen/base-configs/issues/286)) ([ba3b6cc](https://github.com/ivuorinen/base-configs/commit/ba3b6cc2d81e058e863ee3b138f7d77a6be373e4))
## [0.4.47](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.46...@ivuorinen/eslint-config@0.4.47) (2024-07-29)
### Bug Fixes
- **deps:** update eslint to 9.8.0 ([#281](https://github.com/ivuorinen/base-configs/issues/281)) ([72b0871](https://github.com/ivuorinen/base-configs/commit/72b0871beb452e408b460e5d2804085affef9dc4))
## [0.4.46](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.45...@ivuorinen/eslint-config@0.4.46) (2024-07-27)
### Bug Fixes
- **deps:** update eslint-plugin-promise to 7.0.0 ([#279](https://github.com/ivuorinen/base-configs/issues/279)) ([6f7f3e9](https://github.com/ivuorinen/base-configs/commit/6f7f3e9cfee3428eb723cbad79828741ecb13748))
## [0.4.45](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.44...@ivuorinen/eslint-config@0.4.45) (2024-07-16)
### Bug Fixes
- **deps:** update eslint to 9.7.0 ([#276](https://github.com/ivuorinen/base-configs/issues/276)) ([e1c45b8](https://github.com/ivuorinen/base-configs/commit/e1c45b82eb617edb7edd075f9218e07504ba63c2))
## 0.4.44 (2024-07-02)
### Bug Fixes

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

@@ -68,7 +68,7 @@ Distributed under the MIT License. See [LICENSE][license-link] for more informat
[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
[license-link]: ./LICENSE.md
[npm-badge]: https://img.shields.io/npm/v/@ivuorinen/eslint-config?style=flat-square&labelColor=292a44&color=663399
[npm-link]: https://www.npmjs.com/package/@ivuorinen/eslint-config
[pull-request-link]: https://github.com/ivuorinen/base-configs/pulls

View File

@@ -0,0 +1,2 @@
import config from './wrapper.mjs'
export default config

View File

@@ -0,0 +1,42 @@
const globals = require('globals')
const pluginJs = require('@eslint/js')
const standard = require('eslint-config-standard')
const pluginN = require('eslint-plugin-n')
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.
*/
module.exports = [
{
files: ['**/*.{js,mjs,cjs}'],
languageOptions: {
globals: {
...globals.browser,
...globals.commonjs,
...globals.es2021,
...globals.node
},
parserOptions: {
ecmaVersion: 12
}
}
},
pluginJs.configs.recommended,
{
plugins: {
n: pluginN,
import: pluginImport,
promise: pluginPromise,
prettier: pluginPrettier,
sonarjs: pluginSonarJS
},
rules: standard.rules
},
{
ignores: ['coverage/', 'dist/', 'lib/', 'node_modules/']
}
]

View File

@@ -1,14 +0,0 @@
'use strict'
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
node: true
},
extends: ['plugin:promise/recommended', 'plugin:sonarjs/recommended', 'standard', 'prettier'],
parserOptions: {
ecmaVersion: 12
}
}

View File

@@ -0,0 +1,26 @@
const jest = require('eslint-plugin-jest')
/**
* eslint configuration for jest.
* @type { import('eslint').Linter.Config[] } config
*/
module.exports = [
{
files: ['**/*.{js,mjs,cjs}'],
languageOptions: {
globals: {
...jest.globals
}
}
},
jest.configs['flat/recommended'],
jest.configs['flat/style'],
{
rules: {
...jest.rules['flat/recommended'].rules
},
plugins: {
jest
}
}
]

View File

@@ -1,9 +0,0 @@
'use strict'
module.exports = {
env: {
'jest/globals': true
},
extends: ['plugin:jest/recommended', 'plugin:jest/style', 'prettier'],
plugins: ['jest']
}

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/eslint-config",
"version": "0.4.44",
"version": "0.5.5",
"description": "ivuorinen's shareable configuration for ESLint.",
"author": {
"name": "Ismo Vuorinen",
@@ -12,8 +12,24 @@
"engines": {
"node": ">=18"
},
"type": "module",
"main": "index.cjs",
"module": "wrapper.mjs",
"exports": {
".": {
"import": "./wrapper.mjs",
"require": "./index.cjs"
},
"./jest": {
"import": "./wrapper-jest.mjs",
"require": "./jest.cjs"
}
},
"files": [
"index.js",
"index.cjs",
"jest.cjs",
"wrapper.mjs",
"wrapper-jest.mjs",
"scripts/*"
],
"homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/eslint-config#readme",
@@ -24,7 +40,6 @@
"ivuorinen"
],
"license": "MIT",
"main": "index.js",
"publishConfig": {
"access": "public"
},
@@ -33,18 +48,20 @@
"url": "https://github.com/ivuorinen/base-configs.git"
},
"scripts": {
"postinstall": "node scripts/postinstall.js"
"postinstall": "node scripts/postinstall.cjs"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.4",
"eslint": "9.6.0",
"@eslint/js": "^9",
"@ivuorinen/config-checker": "^1.1.8",
"eslint": "^9",
"eslint-config-prettier": "^9",
"eslint-config-standard": "^17",
"eslint-plugin-import": "^2",
"eslint-plugin-jest": "^28",
"eslint-plugin-n": "^17",
"eslint-plugin-promise": "^6",
"eslint-plugin-sonarjs": "^1"
"eslint-plugin-promise": "^7",
"eslint-plugin-sonarjs": "^2",
"globals": "^15"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

@@ -2,6 +2,7 @@
const fs = require('fs')
const path = require('path')
// noinspection NpmUsedModulesInstalled
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('eslint')
@@ -13,11 +14,21 @@ if (foundConfig.length > 0) {
process.exit(0)
}
const filePath = path.join(process.env.INIT_CWD, '.eslintrc.json')
const fileConfigObject = {
extends: ['@ivuorinen']
}
const filePath = path.join(process.env.INIT_CWD, 'eslint.config.mjs')
const fileConfig = `import ivuorinenConfig from '@ivuorinen/eslint-config';
export default [
...ivuorinenConfig,
// your modifications
{
rules: {
// "no-unused-vars": "warn"
}
}
];
`
if (!fs.existsSync(filePath)) {
fs.writeFileSync(filePath, JSON.stringify(fileConfigObject, undefined, 2))
fs.writeFileSync(filePath, fileConfig)
}

View File

@@ -0,0 +1,2 @@
import config from './jest.cjs'
export default config

View File

@@ -0,0 +1,2 @@
import config from './index.cjs'
export default config

View File

@@ -1,3 +1,3 @@
{
"extends": "@ivuorinen/markdownlint-config"
}
}

View File

@@ -2,6 +2,36 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 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)
### Bug Fixes
- upgrade browserslist from 4.23.3 to 4.24.0 ([#297](https://github.com/ivuorinen/base-configs/issues/297)) ([a99c55a](https://github.com/ivuorinen/base-configs/commit/a99c55aab760142b5d77ad80ce5d44b25dde17d7))
## 0.3.2 (2024-10-19)
### Bug Fixes
- upgrade markdownlint-cli from 0.41.0 to 0.42.0 ([#298](https://github.com/ivuorinen/base-configs/issues/298)) ([f57190d](https://github.com/ivuorinen/base-configs/commit/f57190d55c27101f66583cc0000733b2707c1e5f))
## [0.3.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.3.0...@ivuorinen/markdownlint-config@0.3.1) (2024-08-28)
**Note:** Version bump only for package @ivuorinen/markdownlint-config
# [0.3.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.9...@ivuorinen/markdownlint-config@0.3.0) (2024-08-21)
- feat!: module & commonjs in markdownlint ([ca479de](https://github.com/ivuorinen/base-configs/commit/ca479deb20f65f048f128b284c2f178ca9e90ea2))
### BREAKING CHANGES
- support module, and commonjs types
## 0.2.9 (2024-07-02)
### Bug Fixes

View File

@@ -1,6 +1,7 @@
{
"name": "@ivuorinen/markdownlint-config",
"version": "0.2.9",
"version": "0.3.4",
"type": "module",
"description": "ivuorinen's shareable configuration for markdownlint.",
"author": {
"name": "Ismo Vuorinen",
@@ -33,11 +34,11 @@
"url": "https://github.com/ivuorinen/base-configs.git"
},
"scripts": {
"postinstall": "node scripts/postinstall.js"
"postinstall": "node scripts/postinstall.cjs"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.4",
"markdownlint-cli": "0.41.0"
"@ivuorinen/config-checker": "^1.1.8",
"markdownlint-cli": "^0.42.0"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

@@ -2,6 +2,7 @@
const fs = require('fs')
const path = require('path')
// noinspection NpmUsedModulesInstalled
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('markdownlint')

View File

@@ -14,15 +14,10 @@
wrap-ansi "^8.1.0"
wrap-ansi-cjs "npm:wrap-ansi@^7.0.0"
"@ivuorinen/config-checker@^1.1.2":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.2.tgz#1a7c4dd683129532998f5b682cd95e4daf176acf"
integrity sha512-Gb1o2jM0ZqKUa0UTk6yTDbEnC9xGT104EzL0q4x0dW8fLFFQNTp4NrWmpUS90He5m0GNcN5QBo7QPZdGlwUz1Q==
"@pkgjs/parseargs@^0.11.0":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
"@ivuorinen/config-checker@^1":
version "1.1.5"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.5.tgz#f5e374b473e4c9b7f6c54e5b0d5a98b8720b6dce"
integrity sha512-xkKXbZAdeboB7MsjGClE/6em98huy6kwxqM4OYsXeVS+uHYhVm07Owoz5xVraMMl3uaRkqsz/lfv7OCCeq+U3A==
ansi-regex@^5.0.1:
version "5.0.1"
@@ -75,10 +70,10 @@ color-name@~1.1.4:
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
commander@~11.1.0:
version "11.1.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-11.1.0.tgz#62fdce76006a68e5c1ab3314dc92e800eb83d906"
integrity sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==
commander@~12.1.0:
version "12.1.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-12.1.0.tgz#01423b36f501259fdaac4d0e4d60c96c991585d3"
integrity sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==
cross-spawn@^7.0.0:
version "7.0.3"
@@ -127,21 +122,22 @@ get-stdin@~9.0.0:
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-9.0.0.tgz#3983ff82e03d56f1b2ea0d3e60325f39d703a575"
integrity sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA==
glob@~10.3.10:
version "10.3.10"
resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.10.tgz#0351ebb809fd187fe421ab96af83d3a70715df4b"
integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==
glob@~11.0.0:
version "11.0.0"
resolved "https://registry.yarnpkg.com/glob/-/glob-11.0.0.tgz#6031df0d7b65eaa1ccb9b29b5ced16cea658e77e"
integrity sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==
dependencies:
foreground-child "^3.1.0"
jackspeak "^2.3.5"
minimatch "^9.0.1"
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
path-scurry "^1.10.1"
jackspeak "^4.0.1"
minimatch "^10.0.0"
minipass "^7.1.2"
package-json-from-dist "^1.0.0"
path-scurry "^2.0.0"
ignore@~5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.0.tgz#67418ae40d34d6999c95ff56016759c718c82f78"
integrity sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==
ignore@~6.0.2:
version "6.0.2"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-6.0.2.tgz#77cccb72a55796af1b6d2f9eb14fa326d24f4283"
integrity sha512-InwqeHHN2XpumIkMvpl/DCJVrAHgCsG5+cn1XlnLWGwtZBm8QJfSusItfrwx81CTp5agNZqpKU2J/ccC5nGT4A==
ini@~4.1.0:
version "4.1.1"
@@ -158,14 +154,12 @@ isexe@^2.0.0:
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==
jackspeak@^2.3.5:
version "2.3.6"
resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8"
integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==
jackspeak@^4.0.1:
version "4.0.2"
resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-4.0.2.tgz#11f9468a3730c6ff6f56823a820d7e3be9bef015"
integrity sha512-bZsjR/iRjl1Nk1UkjGpAzLNfQtzuijhn2g+pbZb98HQ1Gk8vM9hfbxeMBP+M2/UUdwj0RqGG3mlvk2MsAqwvEw==
dependencies:
"@isaacs/cliui" "^8.0.2"
optionalDependencies:
"@pkgjs/parseargs" "^0.11.0"
js-yaml@^4.1.0:
version "4.1.0"
@@ -174,10 +168,15 @@ js-yaml@^4.1.0:
dependencies:
argparse "^2.0.1"
jsonc-parser@~3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.1.tgz#031904571ccf929d7670ee8c547545081cb37f1a"
integrity sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==
jsonc-parser@~3.3.1:
version "3.3.1"
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.3.1.tgz#f2a524b4f7fd11e3d791e559977ad60b98b798b4"
integrity sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==
jsonpointer@5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-5.0.1.tgz#2110e0af0900fd37467b5907ecd13a7884a1b559"
integrity sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==
linkify-it@^5.0.0:
version "5.0.0"
@@ -186,60 +185,62 @@ linkify-it@^5.0.0:
dependencies:
uc.micro "^2.0.0"
"lru-cache@^9.1.1 || ^10.0.0":
version "10.0.1"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.0.1.tgz#0a3be479df549cca0e5d693ac402ff19537a6b7a"
integrity sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==
lru-cache@^11.0.0:
version "11.0.1"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-11.0.1.tgz#3a732fbfedb82c5ba7bca6564ad3f42afcb6e147"
integrity sha512-CgeuL5uom6j/ZVrg7G/+1IXqRY8JXX4Hghfy5YE0EhoYQWvndP1kufu58cmZLNIDKnRhZrXfdS9urVWx98AipQ==
markdown-it@14.0.0:
version "14.0.0"
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-14.0.0.tgz#b4b2ddeb0f925e88d981f84c183b59bac9e3741b"
integrity sha512-seFjF0FIcPt4P9U39Bq1JYblX0KZCjDLFFQPHpL5AzHpqPEKtosxmdq/LTVZnjfH7tjt9BxStm+wXcDBNuYmzw==
markdown-it@14.1.0:
version "14.1.0"
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-14.1.0.tgz#3c3c5992883c633db4714ccb4d7b5935d98b7d45"
integrity sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==
dependencies:
argparse "^2.0.1"
entities "^4.4.0"
linkify-it "^5.0.0"
mdurl "^2.0.0"
punycode.js "^2.3.1"
uc.micro "^2.0.0"
uc.micro "^2.1.0"
markdownlint-cli@0.39.0:
version "0.39.0"
resolved "https://registry.yarnpkg.com/markdownlint-cli/-/markdownlint-cli-0.39.0.tgz#74378c314c793702c637184b78263ee4ebba7e33"
integrity sha512-ZuFN7Xpsbn1Nbp0YYkeLOfXOMOfLQBik2lKRy8pVI/llmKQ2uW7x+8k5OMgF6o7XCsTDSYC/OOmeJ+3qplvnJQ==
markdownlint-cli@^0.42.0:
version "0.42.0"
resolved "https://registry.yarnpkg.com/markdownlint-cli/-/markdownlint-cli-0.42.0.tgz#45d2264ba3e0237a354bb620a80ca83572da3181"
integrity sha512-AjkzhhZa3TmEGi/CE2Wpmny69x1IrzqK2gPB0k8SmNMRgnSAJfyEO5FgZdWTHtJ6Nrdv5FWt5c4C5pkG6Dk30A==
dependencies:
commander "~11.1.0"
commander "~12.1.0"
get-stdin "~9.0.0"
glob "~10.3.10"
ignore "~5.3.0"
glob "~11.0.0"
ignore "~6.0.2"
js-yaml "^4.1.0"
jsonc-parser "~3.2.1"
markdownlint "~0.33.0"
minimatch "~9.0.3"
jsonc-parser "~3.3.1"
jsonpointer "5.0.1"
markdownlint "~0.35.0"
minimatch "~10.0.1"
run-con "~1.3.2"
smol-toml "~1.3.0"
markdownlint-micromark@0.1.8:
version "0.1.8"
resolved "https://registry.yarnpkg.com/markdownlint-micromark/-/markdownlint-micromark-0.1.8.tgz#d39297e9988169a846cda1ca99df86f982ae69ba"
integrity sha512-1ouYkMRo9/6gou9gObuMDnvZM8jC/ly3QCFQyoSPCS2XV1ZClU0xpKbL1Ar3bWWRT1RnBZkWUEiNKrI2CwiBQA==
markdownlint-micromark@0.1.10:
version "0.1.10"
resolved "https://registry.yarnpkg.com/markdownlint-micromark/-/markdownlint-micromark-0.1.10.tgz#a77a1a70adad9eac18ff412baf36a0c2189875d7"
integrity sha512-no5ZfdqAdWGxftCLlySHSgddEjyW4kui4z7amQcGsSKfYC5v/ou+8mIQVyg9KQMeEZLNtz9OPDTj7nnTnoR4FQ==
markdownlint@~0.33.0:
version "0.33.0"
resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.33.0.tgz#cc3852b2c54d5b0193710c6fdf97c5fbde7e322a"
integrity sha512-4lbtT14A3m0LPX1WS/3d1m7Blg+ZwiLq36WvjQqFGsX3Gik99NV+VXp/PW3n+Q62xyPdbvGOCfjPqjW+/SKMig==
markdownlint@~0.35.0:
version "0.35.0"
resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.35.0.tgz#8189347fef3550045de78a96c52a7f45c2a4f91e"
integrity sha512-wgp8yesWjFBL7bycA3hxwHRdsZGJhjhyP1dSxKVKrza0EPFYtn+mHtkVy6dvP1kGSjovyG5B8yNP6Frj0UFUJg==
dependencies:
markdown-it "14.0.0"
markdownlint-micromark "0.1.8"
markdown-it "14.1.0"
markdownlint-micromark "0.1.10"
mdurl@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-2.0.0.tgz#80676ec0433025dd3e17ee983d0fe8de5a2237e0"
integrity sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==
minimatch@^9.0.1, minimatch@~9.0.3:
version "9.0.3"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825"
integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==
minimatch@^10.0.0, minimatch@~10.0.1:
version "10.0.1"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.0.1.tgz#ce0521856b453c86e25f2c4c0d03e6ff7ddc440b"
integrity sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==
dependencies:
brace-expansion "^2.0.1"
@@ -248,23 +249,28 @@ minimist@^1.2.8:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
"minipass@^5.0.0 || ^6.0.2 || ^7.0.0":
version "7.0.4"
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c"
integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==
minipass@^7.1.2:
version "7.1.2"
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707"
integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==
package-json-from-dist@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505"
integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==
path-key@^3.1.0:
version "3.1.1"
resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"
integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
path-scurry@^1.10.1:
version "1.10.1"
resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698"
integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==
path-scurry@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-2.0.0.tgz#9f052289f23ad8bf9397a2a0425e7b8615c58580"
integrity sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==
dependencies:
lru-cache "^9.1.1 || ^10.0.0"
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
lru-cache "^11.0.0"
minipass "^7.1.2"
punycode.js@^2.3.1:
version "2.3.1"
@@ -298,8 +304,21 @@ signal-exit@^4.0.1:
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04"
integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0:
name string-width-cjs
smol-toml@~1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/smol-toml/-/smol-toml-1.3.0.tgz#5200e251fffadbb72570c84e9776d2a3eca48143"
integrity sha512-tWpi2TsODPScmi48b/OQZGi2lgUmBCHy6SZrhi/FdnnHiU1GwebbCfuQuxsC3nHaLwtYeJGPrDZDIeodDOc4pA==
"string-width-cjs@npm:string-width@^4.2.0":
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
dependencies:
emoji-regex "^8.0.0"
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.1"
string-width@^4.1.0:
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -317,8 +336,14 @@ string-width@^5.0.1, string-width@^5.1.2:
emoji-regex "^9.2.2"
strip-ansi "^7.0.1"
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
name strip-ansi-cjs
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
dependencies:
ansi-regex "^5.0.1"
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -342,6 +367,11 @@ uc.micro@^2.0.0:
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-2.0.0.tgz#84b3c335c12b1497fd9e80fcd3bfa7634c363ff1"
integrity sha512-DffL94LsNOccVn4hyfRe5rdKa273swqeA5DJpMOeFmEn1wCDc7nAbbB0gXlgBCL7TNzeTv6G7XVWzan7iJtfig==
uc.micro@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-2.1.0.tgz#f8d3f7d0ec4c3dea35a7e3c8efa4cb8b45c9e7ee"
integrity sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==
which@^2.0.1:
version "2.0.2"
resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"

View File

@@ -1 +1 @@
"@ivuorinen/prettier-config"
"@ivuorinen/prettier-config"

View File

@@ -2,6 +2,50 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 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)
### Bug Fixes
- upgrade browserslist from 4.23.3 to 4.24.0 ([#297](https://github.com/ivuorinen/base-configs/issues/297)) ([a99c55a](https://github.com/ivuorinen/base-configs/commit/a99c55aab760142b5d77ad80ce5d44b25dde17d7))
## 0.3.3 (2024-10-19)
### Bug Fixes
- upgrade markdownlint-cli from 0.41.0 to 0.42.0 ([#298](https://github.com/ivuorinen/base-configs/issues/298)) ([f57190d](https://github.com/ivuorinen/base-configs/commit/f57190d55c27101f66583cc0000733b2707c1e5f))
## [0.3.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.3.1...@ivuorinen/prettier-config@0.3.2) (2024-09-17)
### Bug Fixes
- **config:** add wrapper.mjs to included files ([ef5641f](https://github.com/ivuorinen/base-configs/commit/ef5641f13bc6a71e539174ae89d46e3fafa060c9))
## [0.3.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.3.0...@ivuorinen/prettier-config@0.3.1) (2024-08-28)
**Note:** Version bump only for package @ivuorinen/prettier-config
# [0.3.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.16...@ivuorinen/prettier-config@0.3.0) (2024-08-21)
- feat!: module & commonjs in prettier ([12ea368](https://github.com/ivuorinen/base-configs/commit/12ea3688ad61ea5b21762225b9b41b30a1995198))
- feat!: module & commonjs in prettier ([8d3dbd8](https://github.com/ivuorinen/base-configs/commit/8d3dbd89e8dbaaa2df12eb9900fdf0cfa566a65c))
### BREAKING CHANGES
- support module, and commonjs types
- support module, and commonjs types
## [0.2.16](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.15...@ivuorinen/prettier-config@0.2.16) (2024-07-16)
### Bug Fixes
- **deps:** update prettier to 3.3.3 ([#277](https://github.com/ivuorinen/base-configs/issues/277)) ([03e8a97](https://github.com/ivuorinen/base-configs/commit/03e8a97e2b0d3a35e49969d100df16b7f7aaa89d))
## 0.2.15 (2024-07-02)
### Bug Fixes

View File

@@ -1,6 +1,7 @@
{
"name": "@ivuorinen/prettier-config",
"version": "0.2.15",
"version": "0.3.5",
"type": "module",
"description": "ivuorinen's shareable configuration for Prettier.",
"author": {
"name": "Ismo Vuorinen",
@@ -12,8 +13,15 @@
"engines": {
"node": ">= 18"
},
"main": "index.cjs",
"module": "wrapper.mjs",
"exports": {
"import": "./wrapper.mjs",
"require": "./index.cjs"
},
"files": [
"index.js",
"index.cjs",
"wrapper.mjs",
"scripts/*"
],
"homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/prettier-config#readme",
@@ -24,7 +32,6 @@
"prettier"
],
"license": "MIT",
"main": "index.js",
"publishConfig": {
"access": "public"
},
@@ -33,11 +40,11 @@
"url": "https://github.com/ivuorinen/base-configs.git"
},
"scripts": {
"postinstall": "node scripts/postinstall.js"
"postinstall": "node scripts/postinstall.cjs"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.4",
"prettier": "3.3.2"
"@ivuorinen/config-checker": "^1.1.8",
"prettier": "^3"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

@@ -2,6 +2,7 @@
const fs = require('fs')
const path = require('path')
// noinspection NpmUsedModulesInstalled
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('prettier')

View File

@@ -0,0 +1,2 @@
import config from './index.cjs'
export default config

View File

@@ -2,6 +2,48 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 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)
### Bug Fixes
- upgrade browserslist from 4.23.3 to 4.24.0 ([#297](https://github.com/ivuorinen/base-configs/issues/297)) ([a99c55a](https://github.com/ivuorinen/base-configs/commit/a99c55aab760142b5d77ad80ce5d44b25dde17d7))
## 0.3.3 (2024-10-19)
### Bug Fixes
- upgrade markdownlint-cli from 0.41.0 to 0.42.0 ([#298](https://github.com/ivuorinen/base-configs/issues/298)) ([f57190d](https://github.com/ivuorinen/base-configs/commit/f57190d55c27101f66583cc0000733b2707c1e5f))
## [0.3.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.3.1...@ivuorinen/semantic-release-config@0.3.2) (2024-09-17)
### Bug Fixes
- **config:** add wrapper.mjs to included files ([c016fcb](https://github.com/ivuorinen/base-configs/commit/c016fcbfda8d53fbd59fc7689ef31a41359fc1d7))
## [0.3.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.3.0...@ivuorinen/semantic-release-config@0.3.1) (2024-08-28)
**Note:** Version bump only for package @ivuorinen/semantic-release-config
# [0.3.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.24...@ivuorinen/semantic-release-config@0.3.0) (2024-08-21)
- feat!: module & commonjs in semantic-release ([57fbf1f](https://github.com/ivuorinen/base-configs/commit/57fbf1fd1f280063da2a9c2ac0e1f994836c4582))
### BREAKING CHANGES
- support module, and commonjs types
## [0.2.24](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.23...@ivuorinen/semantic-release-config@0.2.24) (2024-08-21)
### Bug Fixes
- **deps:** update semantic-release to 24.1.0 ([#288](https://github.com/ivuorinen/base-configs/issues/288)) ([2c54329](https://github.com/ivuorinen/base-configs/commit/2c5432954a655a9b4b9075b61b85c6778267842d))
## 0.2.23 (2024-07-02)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/semantic-release-config",
"version": "0.2.23",
"version": "0.3.5",
"description": "ivuorinen's shareable configuration for semantic-release.",
"author": {
"name": "Ismo Vuorinen",
@@ -13,7 +13,8 @@
"node": ">= 18"
},
"files": [
"index.js",
"index.cjs",
"wrapper.mjs",
"scripts/*"
],
"homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/semantic-release-config#readme",
@@ -24,7 +25,13 @@
"ivuorinen"
],
"license": "MIT",
"main": "index.js",
"type": "module",
"main": "index.cjs",
"module": "wrapper.mjs",
"exports": {
"import": "./wrapper.mjs",
"require": "./index.cjs"
},
"publishConfig": {
"access": "public"
},
@@ -33,13 +40,13 @@
"url": "https://github.com/ivuorinen/base-configs.git"
},
"scripts": {
"postinstall": "node scripts/postinstall.js"
"postinstall": "node scripts/postinstall.cjs"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.4",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"semantic-release": "24.0.0"
"@ivuorinen/config-checker": "^1.1.8",
"@semantic-release/changelog": "^6",
"@semantic-release/git": "^10",
"semantic-release": "^24"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

@@ -2,6 +2,7 @@
const fs = require('fs')
const path = require('path')
// noinspection NpmUsedModulesInstalled
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('release')

View File

@@ -0,0 +1,2 @@
import config from './index.cjs'
export default config

View File

@@ -1,5 +1,3 @@
{
"extends": [
"@ivuorinen/stylelint-config/css"
]
}
"extends": ["@ivuorinen/stylelint-config/css"]
}

View File

@@ -2,6 +2,60 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 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)
### Bug Fixes
- upgrade browserslist from 4.23.3 to 4.24.0 ([#297](https://github.com/ivuorinen/base-configs/issues/297)) ([a99c55a](https://github.com/ivuorinen/base-configs/commit/a99c55aab760142b5d77ad80ce5d44b25dde17d7))
## 0.3.2 (2024-10-19)
### Bug Fixes
- upgrade markdownlint-cli from 0.41.0 to 0.42.0 ([#298](https://github.com/ivuorinen/base-configs/issues/298)) ([f57190d](https://github.com/ivuorinen/base-configs/commit/f57190d55c27101f66583cc0000733b2707c1e5f))
## [0.3.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.3.0...@ivuorinen/stylelint-config@0.3.1) (2024-08-28)
**Note:** Version bump only for package @ivuorinen/stylelint-config
# [0.3.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.37...@ivuorinen/stylelint-config@0.3.0) (2024-08-21)
- feat!: module & commonjs in stylelint ([e4aed31](https://github.com/ivuorinen/base-configs/commit/e4aed31ef984188923eaedf6d8cff8ab36ecf924))
### BREAKING CHANGES
- support module, and commonjs types
## [0.2.37](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.36...@ivuorinen/stylelint-config@0.2.37) (2024-08-19)
### Bug Fixes
- **deps:** update stylelint to 16.8.2 ([#287](https://github.com/ivuorinen/base-configs/issues/287)) ([3b552d1](https://github.com/ivuorinen/base-configs/commit/3b552d1ae161039e65c799bae44914792632400c))
## [0.2.36](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.35...@ivuorinen/stylelint-config@0.2.36) (2024-08-07)
### Bug Fixes
- **deps:** update stylelint-scss to 6.5.0 ([#284](https://github.com/ivuorinen/base-configs/issues/284)) ([5d6d89f](https://github.com/ivuorinen/base-configs/commit/5d6d89fdeb7868e0b30e243bb0ffd554b4ea0f7d))
## [0.2.35](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.34...@ivuorinen/stylelint-config@0.2.35) (2024-08-02)
### Bug Fixes
- **deps:** update stylelint to 16.8.1 ([#282](https://github.com/ivuorinen/base-configs/issues/282)) ([338e7e3](https://github.com/ivuorinen/base-configs/commit/338e7e343d5cc025e9c911bf8b57d3b9cdb802b1))
## [0.2.34](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.33...@ivuorinen/stylelint-config@0.2.34) (2024-07-16)
### Bug Fixes
- **deps:** update stylelint to 16.7.0 ([#275](https://github.com/ivuorinen/base-configs/issues/275)) ([b5e55bf](https://github.com/ivuorinen/base-configs/commit/b5e55bf888a926efd9feb3a0a87bf18870457f3b))
## [0.2.33](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.32...@ivuorinen/stylelint-config@0.2.33) (2024-07-13)
### Bug Fixes

View File

@@ -1,4 +1,3 @@
/* eslint-disable sonarjs/no-duplicate-string */
'use strict'
module.exports = {

View File

@@ -0,0 +1,2 @@
import config from './index.cjs'
export default config

View File

@@ -1,6 +1,7 @@
{
"name": "@ivuorinen/stylelint-config",
"version": "0.2.33",
"version": "0.3.4",
"type": "module",
"description": "ivuorinen's shareable configuration for stylelint.",
"author": {
"name": "Ismo Vuorinen",
@@ -12,10 +13,26 @@
"engines": {
"node": ">= 18"
},
"main": "css/index.cjs",
"module": "css/index.mjs",
"exports": {
".": {
"import": "./css/index.mjs",
"require": "./css/index.cjs"
},
"./css": {
"import": "./scss/index.mjs",
"require": "./scss/index.cjs"
},
"./scss": {
"import": "./scss/index.mjs",
"require": "./scss/index.cjs"
}
},
"files": [
"css/index.js",
"scripts/*",
"scss/index.js"
"css/*",
"scss/*",
"scripts/*"
],
"homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/stylelint-config#readme",
"keywords": [
@@ -25,7 +42,6 @@
"ivuorinen"
],
"license": "MIT",
"main": "css/index.js",
"publishConfig": {
"access": "public"
},
@@ -34,16 +50,16 @@
"url": "https://github.com/ivuorinen/base-configs.git"
},
"scripts": {
"postinstall": "node scripts/postinstall.js"
"postinstall": "node scripts/postinstall.cjs"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.4",
"postcss": "^8.4.2",
"stylelint": "16.6.1",
"stylelint-config-recommended-scss": "14.1.0",
"stylelint-config-standard": "36.0.1",
"stylelint-order": "6.0.4",
"stylelint-scss": "6.4.1"
"@ivuorinen/config-checker": "^1.1.8",
"postcss": "^8",
"stylelint": "^16",
"stylelint-config-recommended-scss": "^14",
"stylelint-config-standard": "^36",
"stylelint-order": "^6",
"stylelint-scss": "^6"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

@@ -2,6 +2,7 @@
const fs = require('fs')
const path = require('path')
// noinspection NpmUsedModulesInstalled
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('stylelint')

View File

@@ -0,0 +1,2 @@
import config from './index.cjs'
export default config

3349
yarn.lock

File diff suppressed because it is too large Load Diff