mirror of
https://github.com/ivuorinen/base-configs.git
synced 2026-01-26 18:39:36 +00:00
Compare commits
307 Commits
@ivuorinen
...
@ivuorinen
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
52a689c3b9 | ||
|
|
d9b695774d | ||
|
|
f199c03cd3 | ||
|
|
e520dd18fa | ||
|
|
a68dc6b9ce | ||
|
|
56bccc840e | ||
|
|
11be135aa1 | ||
|
|
44088ba99c | ||
|
|
813c7b569e | ||
|
|
0d9853a556 | ||
| c84ea8e962 | |||
|
|
cb6a0b691c | ||
|
|
b50a6bf289 | ||
|
|
5e4a0b9ce9 | ||
|
|
f3516e1a8e | ||
|
|
14b7307cdc | ||
|
|
3851386b19 | ||
|
|
5730a872ff | ||
|
|
4373d6cf14 | ||
|
|
5ea3c41198 | ||
|
|
fbe0662cde | ||
|
|
1503005bfa | ||
|
|
8419ce8c64 | ||
|
|
949e14c929 | ||
|
|
8bf9433d49 | ||
|
|
a9fbc1dd15 | ||
|
|
bff247d141 | ||
|
|
4cee9fb75a | ||
|
|
945220d740 | ||
|
|
52372dbe37 | ||
|
|
0e31384a0b | ||
| c26d1f4dec | |||
|
|
21968fb889 | ||
|
|
5642e67370 | ||
|
|
6369dab2b8 | ||
|
|
cbde5017bd | ||
|
|
de30b20745 | ||
|
|
3776f3b223 | ||
|
|
d7576140bd | ||
|
|
8d5027144d | ||
|
|
7a90ad6f63 | ||
|
|
d1dbe8cd9c | ||
|
|
e6301a0e24 | ||
|
|
f8186cb1fe | ||
|
|
d53642e61d | ||
|
|
a3bf58b31d | ||
|
|
2e152b2b72 | ||
|
|
f94712248e | ||
|
|
ae6cbd44c6 | ||
|
|
5b3d118163 | ||
|
|
b974857c27 | ||
|
|
23fa1248e5 | ||
|
|
bcfe1af5df | ||
|
|
50fa8cf2d3 | ||
|
|
1ebc7d68fe | ||
|
|
92ac187a83 | ||
|
|
471b439dcb | ||
|
|
4438acdc5e | ||
|
|
9a31ecc7ee | ||
|
|
14ea3c1250 | ||
|
|
8b4e3ef52e | ||
|
|
b5bfb775fd | ||
|
|
ebf6c8632b | ||
|
|
28c385ecbd | ||
|
|
b01dc7c19d | ||
|
|
2ff60f5938 | ||
|
|
fa49040970 | ||
|
|
803949390e | ||
|
|
1fdb02a66d | ||
|
|
9e6929eb6b | ||
|
|
a8be793ccd | ||
|
|
21fddabb15 | ||
|
|
b8fd3dca38 | ||
|
|
dd8dcd2b7d | ||
| 6b58212de8 | |||
| 8ceee3e908 | |||
| 7d9d749425 | |||
|
|
21d0cbedec | ||
|
|
5dc4dc88fd | ||
|
|
11132fe495 | ||
|
|
c0bea73d1d | ||
|
|
82f6ca6751 | ||
|
|
1cdfa5e13e | ||
|
|
df99f1fa2e | ||
|
|
d5ad950b70 | ||
|
|
d8234ae7d2 | ||
|
|
a81f5d8889 | ||
|
|
63764a0362 | ||
|
|
11982de2cf | ||
|
|
130c81c8aa | ||
|
|
b72a2b6e93 | ||
|
|
8a692d3b31 | ||
|
|
8c7f7440da | ||
|
|
cb64db2f3a | ||
|
|
6a9cd17396 | ||
|
|
53929deedf | ||
|
|
18581cccd7 | ||
|
|
afa8a81152 | ||
|
|
677908757a | ||
|
|
c4f7a0f493 | ||
|
|
9c6e920854 | ||
|
|
12bc818a6e | ||
|
|
b5cc7dc9e0 | ||
|
|
1dec2cd832 | ||
|
|
c06e3b6ddc | ||
|
|
e3e6b43a95 | ||
|
|
27d9a626b1 | ||
|
|
9932d9fabf | ||
|
|
0e9bfae791 | ||
|
|
3640d26425 | ||
|
|
25486624ac | ||
|
|
07758aa9ff | ||
|
|
184ea15e15 | ||
|
|
a9436e4b01 | ||
|
|
96414f344b | ||
|
|
4884192453 | ||
|
|
84acf9e16e | ||
|
|
e996d191e5 | ||
|
|
b86552b3b6 | ||
|
|
b8ea16a6ae | ||
|
|
5d1d29597d | ||
|
|
d9f05035d1 | ||
|
|
937014c2b4 | ||
|
|
27af10eeab | ||
|
|
608c86d823 | ||
|
|
f8d3f35858 | ||
|
|
68ef8dfb89 | ||
|
|
b7ee4370fb | ||
|
|
50d4743f3b | ||
|
|
67ccc38863 | ||
|
|
82ac478fe2 | ||
|
|
4f01155d5f | ||
|
|
3292c31f29 | ||
|
|
5d72376f03 | ||
|
|
612cdc26cd | ||
|
|
0357f43ffc | ||
|
|
4f9f8675ed | ||
|
|
75ab06eda1 | ||
|
|
72cb9e190a | ||
|
|
7a47187588 | ||
|
|
faadbc633a | ||
|
|
92453cce6b | ||
|
|
4393ed7c99 | ||
|
|
ca36feb999 | ||
|
|
7a832703f9 | ||
|
|
6d7f865bbb | ||
|
|
feabe817a9 | ||
|
|
a33925203d | ||
|
|
346fe10b42 | ||
|
|
178b77f007 | ||
|
|
0381fbaa3f | ||
|
|
707d60a214 | ||
|
|
2beab11492 | ||
|
|
87bf28c48c | ||
|
|
354b75c254 | ||
|
|
2c7b3ebc0a | ||
|
|
6d34da1f31 | ||
|
|
cb81b2ca32 | ||
|
|
964ab717ab | ||
|
|
5b1c8e213d | ||
|
|
11e0504274 | ||
|
|
0004edf5cf | ||
|
|
5f3e96d72b | ||
|
|
8a3281b03c | ||
|
|
2e0f3bc459 | ||
|
|
a88b1a8452 | ||
|
|
3519e56c01 | ||
|
|
e289759669 | ||
|
|
8a7dfe8c0e | ||
|
|
b9f17cbe98 | ||
| 9ed0a8100f | |||
|
|
7979648be9 | ||
|
|
d6367c9421 | ||
|
|
ff2edddb8a | ||
|
|
49f4815073 | ||
|
|
e9ef8e94af | ||
|
|
4d80d67538 | ||
|
|
7d744512fb | ||
|
|
0613d51b8f | ||
|
|
132e88cec2 | ||
|
|
6e63c7c5b2 | ||
|
|
2cf7dd7fef | ||
|
|
19c20d277f | ||
|
|
132e1cd6d3 | ||
|
|
f5b0e8485b | ||
|
|
029aa6a24b | ||
|
|
d48a98b69e | ||
|
|
05de6cf65a | ||
|
|
700530f95a | ||
|
|
53966d5649 | ||
|
|
d72a38fc43 | ||
|
|
b79252a163 | ||
|
|
009156b2fc | ||
|
|
12d1639290 | ||
|
|
2f69a73332 | ||
|
|
ee6abbdda7 | ||
|
|
f7731ee425 | ||
|
|
25655b9c78 | ||
|
|
2db399e778 | ||
|
|
83e5b84785 | ||
|
|
222ef15fc9 | ||
|
|
b777ad1926 | ||
|
|
f5c6114db7 | ||
|
|
c5233d9435 | ||
|
|
89af4ba91c | ||
|
|
82d80210c7 | ||
|
|
990936cc8b | ||
|
|
aa0ce496b8 | ||
|
|
694b4892e5 | ||
|
|
b244a44075 | ||
|
|
0b592d6888 | ||
|
|
b290a6fe74 | ||
|
|
ab276d0c80 | ||
|
|
e8d0ff5cf9 | ||
|
|
62f850b611 | ||
|
|
9357cc124e | ||
|
|
22de2efbab | ||
|
|
15ee9029e2 | ||
|
|
4ecaa73be8 | ||
|
|
ee8d8254ae | ||
|
|
10bd9c035a | ||
|
|
f97be06a9e | ||
|
|
dc38a94b97 | ||
|
|
c19215a392 | ||
|
|
e9676169d0 | ||
|
|
53507dd974 | ||
|
|
739bd743aa | ||
|
|
44bdad5f94 | ||
|
|
720ffa18ba | ||
|
|
a610ef2219 | ||
|
|
14f93ceb59 | ||
|
|
d6a7b0cc76 | ||
|
|
dcdb0d4ef8 | ||
|
|
d878f37839 | ||
|
|
6155ae52a6 | ||
|
|
304f50e121 | ||
|
|
13e945747f | ||
|
|
9f6752a4c2 | ||
|
|
aece014173 | ||
|
|
4f193e77a1 | ||
|
|
5ba99e9088 | ||
|
|
1a40d9b0ad | ||
|
|
3122cf3997 | ||
|
|
975715412f | ||
|
|
d139003e0d | ||
|
|
007b29019e | ||
|
|
58812035c1 | ||
|
|
1a47cca54c | ||
|
|
33a338c347 | ||
|
|
a980c0d342 | ||
|
|
3a0a571fab | ||
|
|
88dbe395d1 | ||
|
|
ccce8ce539 | ||
|
|
feddfcfdba | ||
|
|
83d10c71dd | ||
|
|
15e815a53d | ||
|
|
7701598952 | ||
|
|
106f7555e3 | ||
|
|
da4723b217 | ||
|
|
1c2b5d6faf | ||
|
|
004dfeb14a | ||
|
|
3cbb85289a | ||
|
|
030322915d | ||
|
|
f1507a230f | ||
|
|
f3a80ecd3e | ||
|
|
9beafec486 | ||
|
|
56362dad96 | ||
|
|
9d372493e8 | ||
|
|
83e3823b9e | ||
|
|
f65b10c109 | ||
|
|
0fe66c6dcb | ||
|
|
0a8c40f27d | ||
|
|
2b1d897e6d | ||
|
|
6ad02bd96b | ||
|
|
4eff12a838 | ||
|
|
946e87a02a | ||
|
|
94419d862b | ||
|
|
a2dd21576a | ||
|
|
71165bbf37 | ||
|
|
7728133e25 | ||
|
|
268ba2894b | ||
|
|
b3058a68c7 | ||
|
|
dbc5ca08ee | ||
|
|
39d50e551c | ||
|
|
d6224d92b6 | ||
|
|
ba298a6e12 | ||
|
|
5d870960c8 | ||
|
|
998a3ffda7 | ||
|
|
2c3e57b970 | ||
|
|
a43c2d4b1c | ||
|
|
fede967b42 | ||
|
|
591bf2aa52 | ||
|
|
b66a5f4dd2 | ||
|
|
fd0eb39958 | ||
|
|
8df671da16 | ||
|
|
5cea8144d7 | ||
|
|
fee80a3c0e | ||
|
|
e2506fd7c3 | ||
|
|
c24c1859f1 | ||
|
|
57befef7a7 | ||
|
|
2346b3b448 | ||
|
|
615ae83528 | ||
|
|
90cf17306f | ||
|
|
91e807f93a | ||
|
|
0ca80c04c6 | ||
|
|
dc2d92f1e3 | ||
|
|
e66c2ad9b5 |
@@ -10,6 +10,7 @@ indent_size = 2
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
max_line_length = 120
|
||||
|
||||
[*.md]
|
||||
max_line_length = off
|
||||
|
||||
11
.github/SECURITY.md
vendored
Normal file
11
.github/SECURITY.md
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# Security Policy
|
||||
|
||||
## Supported Versions
|
||||
|
||||
Only the latest versions of the configuration packages and
|
||||
the base package are as of now supported.
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
This repository has automatic package update systems in place.
|
||||
If you find a vulnerability, please send me email and I'll fix it as soon as possible.
|
||||
8
.github/workflows/codeql-analysis.yml
vendored
8
.github/workflows/codeql-analysis.yml
vendored
@@ -24,11 +24,11 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4.0.0
|
||||
uses: actions/checkout@v4.1.6
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v2
|
||||
uses: github/codeql-action/autobuild@v3
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 https://git.io/JvXDl
|
||||
@@ -53,4 +53,4 @@ jobs:
|
||||
# make release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
uses: github/codeql-action/analyze@v3
|
||||
|
||||
8
.github/workflows/publish.yml
vendored
8
.github/workflows/publish.yml
vendored
@@ -17,20 +17,20 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.0.0
|
||||
uses: actions/checkout@v4.1.6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Node.js Environment
|
||||
uses: actions/setup-node@v3.8.1
|
||||
uses: actions/setup-node@v4.0.2
|
||||
with:
|
||||
always-auth: true
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
scope: '@ivuorinen'
|
||||
|
||||
- name: Cache Node Modules
|
||||
uses: actions/cache@v3.3.2
|
||||
uses: actions/cache@v4.0.2
|
||||
id: cache
|
||||
with:
|
||||
path: node_modules
|
||||
|
||||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 🚀 Run stale
|
||||
uses: actions/stale@v8.0.0
|
||||
uses: actions/stale@v9.0.0
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
days-before-stale: 30
|
||||
|
||||
@@ -14,5 +14,6 @@
|
||||
}
|
||||
},
|
||||
"npmClient": "yarn",
|
||||
"packages": ["packages/*"]
|
||||
"packages": ["packages/*"],
|
||||
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
|
||||
}
|
||||
|
||||
33
package.json
33
package.json
@@ -17,9 +17,7 @@
|
||||
}
|
||||
],
|
||||
"engines": {
|
||||
"node": ">= 12",
|
||||
"npm": ">= 6",
|
||||
"yarn": ">=1.20.0"
|
||||
"node": ">= 18"
|
||||
},
|
||||
"homepage": "https://github.com/ivuorinen/base-configs#readme",
|
||||
"keywords": [
|
||||
@@ -37,6 +35,9 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/ivuorinen/base-configs.git"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
"scripts": {
|
||||
"deps:dedupe": "lernaupdate --dedupe",
|
||||
"deps:update": "lernaupdate",
|
||||
@@ -52,23 +53,23 @@
|
||||
"prettier:report": "prettier '**/*.{js,tsx,ts,json}' --check"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^17.3.0",
|
||||
"@commitlint/config-conventional": "^17.3.0",
|
||||
"eslint": "^8.28.0",
|
||||
"@commitlint/cli": "^19.0.0",
|
||||
"@commitlint/config-conventional": "^19.0.0",
|
||||
"eslint": "^9.0.0",
|
||||
"eslint-config-prettier": "^9.0.0",
|
||||
"eslint-config-standard": "^17.0.0",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"eslint-formatter-pretty": "^6.0.0",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-n": "^16.0.1",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-n": "^17.0.0",
|
||||
"eslint-plugin-prettier": "^5.0.1",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"eslint-plugin-sonarjs": "^0.21.0",
|
||||
"eslint-plugin-unicorn": "^48.0.0",
|
||||
"lerna": "^7.0.0",
|
||||
"eslint-plugin-sonarjs": "^1.0.0",
|
||||
"eslint-plugin-unicorn": "^53.0.0",
|
||||
"lerna": "^8.0.0",
|
||||
"lerna-update-wizard": "^1.1.2",
|
||||
"markdownlint-cli": "^0.36.0",
|
||||
"prettier": "^2.8.0",
|
||||
"markdownlint-cli": "^0.41.0",
|
||||
"prettier": "^3.0.0",
|
||||
"simple-git-hooks": "^2.8.1"
|
||||
}
|
||||
},
|
||||
"packageManager": "yarn@1.22.22+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca"
|
||||
}
|
||||
|
||||
361
packages/base-configs/CHANGELOG.md
Normal file
361
packages/base-configs/CHANGELOG.md
Normal file
@@ -0,0 +1,361 @@
|
||||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [1.1.87](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.86...@ivuorinen/base-configs@1.1.87) (2024-05-31)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.86](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.85...@ivuorinen/base-configs@1.1.86) (2024-05-29)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.85](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.84...@ivuorinen/base-configs@1.1.85) (2024-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.84](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.83...@ivuorinen/base-configs@1.1.84) (2024-05-18)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.83](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.82...@ivuorinen/base-configs@1.1.83) (2024-05-15)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.82](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.81...@ivuorinen/base-configs@1.1.82) (2024-05-10)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.81](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.80...@ivuorinen/base-configs@1.1.81) (2024-05-10)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.80](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.79...@ivuorinen/base-configs@1.1.80) (2024-05-07)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.79](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.78...@ivuorinen/base-configs@1.1.79) (2024-05-07)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.78](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.77...@ivuorinen/base-configs@1.1.78) (2024-05-06)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.77](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.76...@ivuorinen/base-configs@1.1.77) (2024-05-05)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.76](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.75...@ivuorinen/base-configs@1.1.76) (2024-05-04)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.75](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.74...@ivuorinen/base-configs@1.1.75) (2024-05-04)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.74](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.73...@ivuorinen/base-configs@1.1.74) (2024-05-01)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.73](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.72...@ivuorinen/base-configs@1.1.73) (2024-04-28)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.72](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.71...@ivuorinen/base-configs@1.1.72) (2024-04-27)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.71](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.70...@ivuorinen/base-configs@1.1.71) (2024-04-26)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.70](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.69...@ivuorinen/base-configs@1.1.70) (2024-04-23)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.69](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.68...@ivuorinen/base-configs@1.1.69) (2024-04-19)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.68](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.67...@ivuorinen/base-configs@1.1.68) (2024-04-18)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.67](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.66...@ivuorinen/base-configs@1.1.67) (2024-04-18)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.66](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.65...@ivuorinen/base-configs@1.1.66) (2024-04-13)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.65](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.64...@ivuorinen/base-configs@1.1.65) (2024-04-13)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.64](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.63...@ivuorinen/base-configs@1.1.64) (2024-04-12)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.63](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.62...@ivuorinen/base-configs@1.1.63) (2024-04-07)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.62](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.61...@ivuorinen/base-configs@1.1.62) (2024-04-06)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.61](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.60...@ivuorinen/base-configs@1.1.61) (2024-03-31)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.60](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.59...@ivuorinen/base-configs@1.1.60) (2024-03-28)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.59](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.58...@ivuorinen/base-configs@1.1.59) (2024-03-23)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.58](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.57...@ivuorinen/base-configs@1.1.58) (2024-03-22)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.57](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.56...@ivuorinen/base-configs@1.1.57) (2024-03-20)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.56](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.55...@ivuorinen/base-configs@1.1.56) (2024-03-19)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.55](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.54...@ivuorinen/base-configs@1.1.55) (2024-03-19)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.54](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.53...@ivuorinen/base-configs@1.1.54) (2024-03-17)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.53](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.52...@ivuorinen/base-configs@1.1.53) (2024-03-02)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.52](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.51...@ivuorinen/base-configs@1.1.52) (2024-02-27)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.51](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.50...@ivuorinen/base-configs@1.1.51) (2024-02-21)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.50](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.49...@ivuorinen/base-configs@1.1.50) (2024-02-20)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.49](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.48...@ivuorinen/base-configs@1.1.49) (2024-02-17)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.48](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.47...@ivuorinen/base-configs@1.1.48) (2024-02-17)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.47](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.46...@ivuorinen/base-configs@1.1.47) (2024-02-17)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.46](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.45...@ivuorinen/base-configs@1.1.46) (2024-02-17)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.45](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.44...@ivuorinen/base-configs@1.1.45) (2024-02-10)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.44](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.43...@ivuorinen/base-configs@1.1.44) (2024-02-10)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.43](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.42...@ivuorinen/base-configs@1.1.43) (2024-02-08)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.42](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.41...@ivuorinen/base-configs@1.1.42) (2024-02-02)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.41](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.40...@ivuorinen/base-configs@1.1.41) (2024-01-30)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.40](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.39...@ivuorinen/base-configs@1.1.40) (2024-01-28)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.39](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.38...@ivuorinen/base-configs@1.1.39) (2024-01-25)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.38](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.37...@ivuorinen/base-configs@1.1.38) (2024-01-20)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.37](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.36...@ivuorinen/base-configs@1.1.37) (2024-01-20)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.36](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.35...@ivuorinen/base-configs@1.1.36) (2024-01-17)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.35](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.34...@ivuorinen/base-configs@1.1.35) (2024-01-16)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.34](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.33...@ivuorinen/base-configs@1.1.34) (2024-01-16)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.33](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.32...@ivuorinen/base-configs@1.1.33) (2024-01-16)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.32](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.31...@ivuorinen/base-configs@1.1.32) (2024-01-13)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.31](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.30...@ivuorinen/base-configs@1.1.31) (2024-01-13)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.30](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.29...@ivuorinen/base-configs@1.1.30) (2024-01-07)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.29](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.28...@ivuorinen/base-configs@1.1.29) (2024-01-05)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.28](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.27...@ivuorinen/base-configs@1.1.28) (2024-01-05)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.27](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.26...@ivuorinen/base-configs@1.1.27) (2024-01-03)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.26](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.25...@ivuorinen/base-configs@1.1.26) (2023-12-24)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.25](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.24...@ivuorinen/base-configs@1.1.25) (2023-12-19)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.24](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.23...@ivuorinen/base-configs@1.1.24) (2023-12-17)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.23](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.22...@ivuorinen/base-configs@1.1.23) (2023-12-15)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.22](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.21...@ivuorinen/base-configs@1.1.22) (2023-12-15)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.21](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.20...@ivuorinen/base-configs@1.1.21) (2023-12-15)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.20](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.19...@ivuorinen/base-configs@1.1.20) (2023-12-13)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.19](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.18...@ivuorinen/base-configs@1.1.19) (2023-12-09)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.18](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.17...@ivuorinen/base-configs@1.1.18) (2023-12-08)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.17](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.16...@ivuorinen/base-configs@1.1.17) (2023-12-07)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.16](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.15...@ivuorinen/base-configs@1.1.16) (2023-12-05)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.15](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.14...@ivuorinen/base-configs@1.1.15) (2023-11-24)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.13...@ivuorinen/base-configs@1.1.14) (2023-11-21)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.12...@ivuorinen/base-configs@1.1.13) (2023-11-20)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.11...@ivuorinen/base-configs@1.1.12) (2023-11-19)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.10...@ivuorinen/base-configs@1.1.11) (2023-11-16)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.9...@ivuorinen/base-configs@1.1.10) (2023-11-16)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.8...@ivuorinen/base-configs@1.1.9) (2023-11-14)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.7...@ivuorinen/base-configs@1.1.8) (2023-11-14)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.6...@ivuorinen/base-configs@1.1.7) (2023-11-11)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.5...@ivuorinen/base-configs@1.1.6) (2023-11-07)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.4...@ivuorinen/base-configs@1.1.5) (2023-11-07)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.3...@ivuorinen/base-configs@1.1.4) (2023-11-04)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.2...@ivuorinen/base-configs@1.1.3) (2023-11-03)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.1...@ivuorinen/base-configs@1.1.2) (2023-11-01)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
## [1.1.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.0...@ivuorinen/base-configs@1.1.1) (2023-10-31)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/base-configs
|
||||
|
||||
# 1.1.0 (2023-10-30)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **base-configs:** convert config from ES module ([88dbe39](https://github.com/ivuorinen/base-configs/commit/88dbe395d1843384edf97eab4ee5c43810deae4f))
|
||||
|
||||
### Features
|
||||
|
||||
- **package:** new pkg: @ivuorinen/base-configs ([#121](https://github.com/ivuorinen/base-configs/issues/121)) ([feddfcf](https://github.com/ivuorinen/base-configs/commit/feddfcfdba391f8ed4bf59589737a340401e4fba))
|
||||
21
packages/base-configs/LICENSE
Normal file
21
packages/base-configs/LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 Ismo Vuorinen
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
35
packages/base-configs/README.md
Normal file
35
packages/base-configs/README.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# @ivuorinen/base-configs <!-- omit in toc -->
|
||||
|
||||
[![npm package][npm-badge]][npm-link] [![license MIT][license-badge]][license-link] [![ivuorinen's Code Style][style-badge]][style-link]
|
||||
|
||||
This is a meta package for all my base configs.
|
||||
|
||||
You can find all the individual configs in the `packages` folder.
|
||||
|
||||
The main reason for this package is to make it easier to use these configs in other projects, and to update them all at once. No more pull requests to update all the configs one at a time!
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
# npm
|
||||
npm install @ivuorinen/base-configs --save-dev
|
||||
|
||||
# yarn
|
||||
yarn add @ivuorinen/base-configs --dev
|
||||
```
|
||||
|
||||
## Changelog
|
||||
|
||||
See [CHANGELOG][changelog-link] for a human-readable history of changes.
|
||||
|
||||
## License
|
||||
|
||||
MIT License. See [LICENSE][license-link] for more info.
|
||||
|
||||
[changelog-link]: ./CHANGELOG.md
|
||||
[license-badge]: https://img.shields.io/github/license/ivuorinen/base-configs?style=flat-square&labelColor=292a44&color=663399
|
||||
[license-link]: ./LICENSE
|
||||
[npm-badge]: https://img.shields.io/npm/v/@ivuorinen/base-configs?style=flat-square&labelColor=292a44&color=663399
|
||||
[npm-link]: https://www.npmjs.com/package/@ivuorinen/base-configs
|
||||
[style-badge]: https://img.shields.io/badge/code_style-ivuorinen%E2%80%99s-663399.svg?labelColor=292a44&style=flat-square
|
||||
[style-link]: https://github.com/ivuorinen/base-configs
|
||||
37
packages/base-configs/package.json
Normal file
37
packages/base-configs/package.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "@ivuorinen/base-configs",
|
||||
"version": "1.1.87",
|
||||
"description": "ivuorinen's shareable configurations meta package",
|
||||
"author": {
|
||||
"name": "Ismo Vuorinen",
|
||||
"url": "https://github.com/ivuorinen"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/ivuorinen/base-configs/issues"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
},
|
||||
"homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/base-configs#readme",
|
||||
"keywords": [
|
||||
"base-config",
|
||||
"config",
|
||||
"ivuorinen"
|
||||
],
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/ivuorinen/base-configs.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ivuorinen/browserslist-config": "^0.2.6",
|
||||
"@ivuorinen/commitlint-config": "^0.2.21",
|
||||
"@ivuorinen/eslint-config": "^0.4.39",
|
||||
"@ivuorinen/markdownlint-config": "^0.2.7",
|
||||
"@ivuorinen/prettier-config": "^0.2.10",
|
||||
"@ivuorinen/semantic-release-config": "^0.2.21"
|
||||
}
|
||||
}
|
||||
5690
packages/base-configs/yarn.lock
Normal file
5690
packages/base-configs/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
@@ -2,6 +2,68 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [0.2.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.5...@ivuorinen/browserslist-config@0.2.6) (2024-05-05)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
## [0.2.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.4...@ivuorinen/browserslist-config@0.2.5) (2024-02-17)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.23.0 ([#192](https://github.com/ivuorinen/base-configs/issues/192)) ([a9436e4](https://github.com/ivuorinen/base-configs/commit/a9436e4b013e3e853c30e65f6a6ec25595e2ad6a))
|
||||
|
||||
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.3...@ivuorinen/browserslist-config@0.2.4) (2024-01-30)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.22.3 ([82ac478](https://github.com/ivuorinen/base-configs/commit/82ac478fe2e08d04685e6d33951461f14824d6f2))
|
||||
|
||||
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.2...@ivuorinen/browserslist-config@0.2.3) (2023-12-07)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.22.2 ([#142](https://github.com/ivuorinen/base-configs/issues/142)) ([990936c](https://github.com/ivuorinen/base-configs/commit/990936cc8bdf8f868d559e0283f1dc858081358b))
|
||||
|
||||
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.1...@ivuorinen/browserslist-config@0.2.2) (2023-10-31)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.0...@ivuorinen/browserslist-config@0.2.1) (2023-10-30)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.12...@ivuorinen/browserslist-config@0.2.0) (2023-10-25)
|
||||
|
||||
### Features
|
||||
|
||||
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
|
||||
|
||||
## [0.1.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.11...@ivuorinen/browserslist-config@0.1.12) (2023-10-24)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
## [0.1.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.10...@ivuorinen/browserslist-config@0.1.11) (2023-10-11)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/browserslist-config
|
||||
|
||||
## [0.1.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.9...@ivuorinen/browserslist-config@0.1.10) (2023-10-02)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update devdependencies (patch) ([e2506fd](https://github.com/ivuorinen/base-configs/commit/e2506fd7c3f92ffdeb0b6c47cd925918aa91b306))
|
||||
|
||||
## [0.1.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.8...@ivuorinen/browserslist-config@0.1.9) (2023-09-30)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.22.0 ([#102](https://github.com/ivuorinen/base-configs/issues/102)) ([57befef](https://github.com/ivuorinen/base-configs/commit/57befef7a7f15a602ef63b591e6acd606319d583))
|
||||
|
||||
## [0.1.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.7...@ivuorinen/browserslist-config@0.1.8) (2023-09-25)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency browserslist to v4.21.11 ([dc2d92f](https://github.com/ivuorinen/base-configs/commit/dc2d92f1e3dd243673a68d0d11ec4510fc74688c))
|
||||
|
||||
## [0.1.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.6...@ivuorinen/browserslist-config@0.1.7) (2023-08-03)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
## Table of Contents <!-- omit in toc -->
|
||||
|
||||
- [Supported Browsers](#supported-browsers)
|
||||
- [Desktop Browsers](#desktop-browsers)
|
||||
- [Mobile Browsers](#mobile-browsers)
|
||||
- [Installation](#installation)
|
||||
- [Documentations](#documentations)
|
||||
- [Contributing](#contributing)
|
||||
@@ -17,19 +15,9 @@
|
||||
|
||||
## Supported Browsers
|
||||
|
||||
### Desktop Browsers
|
||||
> 'defaults and fully supports es6-module', 'maintained node versions'
|
||||
|
||||
| [![Chrome][chrome-image]][browsers-badges-link] | [![Edge][edge-image]][browsers-badges-link] | [![Firefox][firefox-image]][browsers-badges-link] | [![Opera][opera-image]][browsers-badges-link] | [![Safari][safari-image]][browsers-badges-link] |
|
||||
| :---------------------------------------------: | :-----------------------------------------: | :-----------------------------------------------: | :-------------------------------------------: | :---------------------------------------------: |
|
||||
| Chrome | Edge | Firefox | Opera | Safari |
|
||||
| >= 60 | last 2 | >= 60 | last 2 | >= 12 |
|
||||
|
||||
### Mobile Browsers
|
||||
|
||||
| [![Android WebView][android-webview-image]][browsers-badges-link] | [![Chrome][chrome-image]][browsers-badges-link] | [![Firefox][firefox-image]][browsers-badges-link] | [![Opera Mini][opera-mini-image]][browsers-badges-link] | [![Safari iOS][safari-ios-image]][browsers-badges-link] | [![Samsung Internet][samsung-internet-image]][browsers-badges-link] | [![UC][uc-image]][browsers-badges-link] |
|
||||
| :---------------------------------------------------------------: | :---------------------------------------------: | :-----------------------------------------------: | :-----------------------------------------------------: | :-----------------------------------------------------: | :-----------------------------------------------------------------: | :-------------------------------------: |
|
||||
| Android WebView | Chrome | Firefox | Opera Mini | Safari iOS | Samsung Internet | UC |
|
||||
| last 2 | last 2 | last 2 | last 2 | >= 12 | last 2 | last 2 |
|
||||
See the up to date list of supported browsers in the [Browserslist docs](https://browsersl.ist/#q=%22browserslist%22%3A+%5B%0A++%22defaults+and+fully+supports+es6-module%22%2C%0A++%22maintained+node+versions%22%0A%5D).
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -77,14 +65,3 @@ Distributed under the MIT License. See [LICENSE][license-link] for more informat
|
||||
[pull-request-link]: https://github.com/ivuorinen/base-configs/pulls
|
||||
[style-badge]: https://img.shields.io/badge/code_style-ivuorinen%E2%80%99s-663399.svg?labelColor=292a44&style=flat-square
|
||||
[style-link]: https://github.com/ivuorinen/base-configs
|
||||
[browsers-badges-link]: https://github.com/alrra/browser-logos
|
||||
[android-webview-image]: https://raw.githubusercontent.com/alrra/browser-logos/main/src/android-webview/android-webview_48x48.png
|
||||
[chrome-image]: https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome/chrome_48x48.png
|
||||
[edge-image]: https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge/edge_48x48.png
|
||||
[firefox-image]: https://raw.githubusercontent.com/alrra/browser-logos/main/src/firefox/firefox_48x48.png
|
||||
[opera-image]: https://raw.githubusercontent.com/alrra/browser-logos/main/src/opera/opera_48x48.png
|
||||
[opera-mini-image]: https://raw.githubusercontent.com/alrra/browser-logos/main/src/opera-mini/opera-mini_48x48.png
|
||||
[safari-image]: https://raw.githubusercontent.com/alrra/browser-logos/main/src/safari/safari_48x48.png
|
||||
[safari-ios-image]: https://raw.githubusercontent.com/alrra/browser-logos/main/src/safari-ios/safari-ios_48x48.png
|
||||
[samsung-internet-image]: https://raw.githubusercontent.com/alrra/browser-logos/main/src/samsung-internet/samsung-internet_48x48.png
|
||||
[uc-image]: https://raw.githubusercontent.com/alrra/browser-logos/main/src/uc/uc_48x48.png
|
||||
|
||||
@@ -1,13 +1,3 @@
|
||||
'use strict'
|
||||
|
||||
module.exports = [
|
||||
'>= 0.5%',
|
||||
'Chrome >= 60',
|
||||
'Firefox >= 60',
|
||||
'Firefox ESR',
|
||||
'iOS >= 12',
|
||||
'last 2 major versions',
|
||||
'not dead',
|
||||
'not Explorer <= 11',
|
||||
'Safari >= 12'
|
||||
]
|
||||
module.exports = ['defaults and fully supports es6-module', 'maintained node versions']
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ivuorinen/browserslist-config",
|
||||
"version": "0.1.7",
|
||||
"version": "0.2.6",
|
||||
"description": "ivuorinen's shareable configuration for Browserslist.",
|
||||
"author": {
|
||||
"name": "Ismo Vuorinen",
|
||||
@@ -10,9 +10,7 @@
|
||||
"url": "https://github.com/ivuorinen/base-configs/issues"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 12",
|
||||
"npm": ">= 6",
|
||||
"yarn": ">=1.20.0"
|
||||
"node": ">=18"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
@@ -38,7 +36,8 @@
|
||||
"postinstall": "node scripts/postinstall.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"browserslist": "4.21.10"
|
||||
"@ivuorinen/config-checker": "^1.1.3",
|
||||
"browserslist": "4.23.0"
|
||||
},
|
||||
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
|
||||
}
|
||||
|
||||
@@ -2,9 +2,18 @@
|
||||
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const process = require('process')
|
||||
const checkConfig = require('@ivuorinen/config-checker')
|
||||
const foundConfig = checkConfig('browserslist')
|
||||
|
||||
if (foundConfig.length > 0) {
|
||||
console.log('browserslist-config: Found existing browserslist config file, skipping creation.')
|
||||
console.log('browserslist-config: If you want to create a new config file, please remove the existing one.')
|
||||
console.log(`browserslist-config: Found config files at: ${foundConfig.join(', ')}`)
|
||||
process.exit(0)
|
||||
}
|
||||
|
||||
const filePath = path.join(process.env.INIT_CWD, '.browserslistrc')
|
||||
|
||||
const fileConfigObject = 'extends @ivuorinen/browserslist-config'
|
||||
|
||||
if (!fs.existsSync(filePath)) {
|
||||
|
||||
@@ -2,45 +2,50 @@
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
browserslist@4.21.9:
|
||||
version "4.21.9"
|
||||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.9.tgz#e11bdd3c313d7e2a9e87e8b4b0c7872b13897635"
|
||||
integrity sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==
|
||||
"@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==
|
||||
|
||||
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==
|
||||
dependencies:
|
||||
caniuse-lite "^1.0.30001503"
|
||||
electron-to-chromium "^1.4.431"
|
||||
node-releases "^2.0.12"
|
||||
update-browserslist-db "^1.0.11"
|
||||
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.30001503:
|
||||
version "1.0.30001507"
|
||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001507.tgz#fae53f6286e7564783eadea9b447819410a59534"
|
||||
integrity sha512-SFpUDoSLCaE5XYL2jfqe9ova/pbQHEmbheDf5r4diNwbAgR3qxM9NQtfsiSscjqoya5K7kFcHPUQ+VsUkIJR4A==
|
||||
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==
|
||||
|
||||
electron-to-chromium@^1.4.431:
|
||||
version "1.4.440"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.440.tgz#d3b1eeb36b717eb479a240c0406ac1fa67901762"
|
||||
integrity sha512-r6dCgNpRhPwiWlxbHzZQ/d9swfPaEJGi8ekqRBwQYaR3WmA5VkqQfBWSDDjuJU1ntO+W9tHx8OHV/96Q8e0dVw==
|
||||
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==
|
||||
|
||||
escalade@^3.1.1:
|
||||
version "3.1.1"
|
||||
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"
|
||||
integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==
|
||||
|
||||
node-releases@^2.0.12:
|
||||
version "2.0.12"
|
||||
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.12.tgz#35627cc224a23bfb06fb3380f2b3afaaa7eb1039"
|
||||
integrity sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==
|
||||
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==
|
||||
|
||||
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==
|
||||
|
||||
update-browserslist-db@^1.0.11:
|
||||
version "1.0.11"
|
||||
resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940"
|
||||
integrity sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==
|
||||
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==
|
||||
dependencies:
|
||||
escalade "^3.1.1"
|
||||
picocolors "^1.0.0"
|
||||
|
||||
@@ -2,6 +2,154 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [0.2.21](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.20...@ivuorinen/commitlint-config@0.2.21) (2024-05-05)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/commitlint-config
|
||||
|
||||
## [0.2.20](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.19...@ivuorinen/commitlint-config@0.2.20) (2024-04-27)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency @commitlint/cli to v19.3.0 ([#230](https://github.com/ivuorinen/base-configs/issues/230)) ([a3bf58b](https://github.com/ivuorinen/base-configs/commit/a3bf58b31d55292ba691672324650b55f617db9a))
|
||||
|
||||
## [0.2.19](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.18...@ivuorinen/commitlint-config@0.2.19) (2024-04-18)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency @commitlint/config-conventional to v19.2.2 ([#225](https://github.com/ivuorinen/base-configs/issues/225)) ([92ac187](https://github.com/ivuorinen/base-configs/commit/92ac187a83f4a6776fd00ca7c03d3f380944697b))
|
||||
|
||||
## [0.2.18](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.17...@ivuorinen/commitlint-config@0.2.18) (2024-04-18)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency @commitlint/cli to v19.2.2 ([4438acd](https://github.com/ivuorinen/base-configs/commit/4438acdc5e0b87ee227da003d58742644b23f119))
|
||||
|
||||
## [0.2.17](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.16...@ivuorinen/commitlint-config@0.2.17) (2024-03-23)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency @commitlint/cli to v19.2.1 ([df99f1f](https://github.com/ivuorinen/base-configs/commit/df99f1fa2ee8183890606bdb55d084e9c727e1b8))
|
||||
|
||||
## [0.2.16](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.15...@ivuorinen/commitlint-config@0.2.16) (2024-03-19)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency @commitlint/cli to v19.2.0 ([#205](https://github.com/ivuorinen/base-configs/issues/205)) ([b72a2b6](https://github.com/ivuorinen/base-configs/commit/b72a2b6e9312284798d4a6200816fd8bc47fa4c6))
|
||||
|
||||
## [0.2.15](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.14...@ivuorinen/commitlint-config@0.2.15) (2024-03-17)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update commitlint monorepo to v19.1.0 ([#202](https://github.com/ivuorinen/base-configs/issues/202)) ([53929de](https://github.com/ivuorinen/base-configs/commit/53929deedfe95666bf9a31b80a87baed34f5d99c))
|
||||
|
||||
## [0.2.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.13...@ivuorinen/commitlint-config@0.2.14) (2024-03-02)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/commitlint-config
|
||||
|
||||
## [0.2.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.12...@ivuorinen/commitlint-config@0.2.13) (2024-02-17)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency @commitlint/config-conventional to v18.6.2 ([4884192](https://github.com/ivuorinen/base-configs/commit/48841924537561baf101b2512ef7d41f79a46351))
|
||||
|
||||
## [0.2.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.11...@ivuorinen/commitlint-config@0.2.12) (2024-02-17)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update devdependencies (patch) to v18.6.1 ([e996d19](https://github.com/ivuorinen/base-configs/commit/e996d191e5d51cb364ea7298ec8ee35722850aa6))
|
||||
|
||||
## [0.2.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.10...@ivuorinen/commitlint-config@0.2.11) (2024-01-28)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update commitlint monorepo to v18.6.0 ([#181](https://github.com/ivuorinen/base-configs/issues/181)) ([3292c31](https://github.com/ivuorinen/base-configs/commit/3292c31f299fee72bc7a1a3350e109a68b44fa3e))
|
||||
|
||||
## [0.2.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.9...@ivuorinen/commitlint-config@0.2.10) (2024-01-25)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update commitlint monorepo to v18.5.0 ([#180](https://github.com/ivuorinen/base-configs/issues/180)) ([612cdc2](https://github.com/ivuorinen/base-configs/commit/612cdc26cd32cb3abfb6b9f74982aa4c4c744402))
|
||||
|
||||
## [0.2.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.8...@ivuorinen/commitlint-config@0.2.9) (2024-01-07)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update devdependencies (patch) to v18.4.4 ([5b1c8e2](https://github.com/ivuorinen/base-configs/commit/5b1c8e213d5c758d9fcecce6b9adfc87354aa915))
|
||||
|
||||
## [0.2.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.7...@ivuorinen/commitlint-config@0.2.8) (2023-11-24)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update commitlint to v18.4.3 ([#139](https://github.com/ivuorinen/base-configs/issues/139)) ([0b592d6](https://github.com/ivuorinen/base-configs/commit/0b592d68881e0d3d305b94d8a8bf5c2594271326))
|
||||
|
||||
## [0.2.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.6...@ivuorinen/commitlint-config@0.2.7) (2023-11-19)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update devdependencies (patch) to v18.4.2 ([22de2ef](https://github.com/ivuorinen/base-configs/commit/22de2efbabd32019afe995c75d460436be1144f6))
|
||||
|
||||
## [0.2.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.5...@ivuorinen/commitlint-config@0.2.6) (2023-11-16)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency @commitlint/cli to v18.4.1 ([10bd9c0](https://github.com/ivuorinen/base-configs/commit/10bd9c035af70011441793248d23736d3b1a2e02))
|
||||
|
||||
## [0.2.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.4...@ivuorinen/commitlint-config@0.2.5) (2023-11-14)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update commitlint monorepo to v18.4.0 ([#133](https://github.com/ivuorinen/base-configs/issues/133)) ([dc38a94](https://github.com/ivuorinen/base-configs/commit/dc38a94b97e655bb90bc620fe4dbe1c281f2c1d5))
|
||||
|
||||
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.3...@ivuorinen/commitlint-config@0.2.4) (2023-10-31)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/commitlint-config
|
||||
|
||||
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.2...@ivuorinen/commitlint-config@0.2.3) (2023-10-30)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/commitlint-config
|
||||
|
||||
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.1...@ivuorinen/commitlint-config@0.2.2) (2023-10-29)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency @commitlint/cli to v18.2.0 ([#119](https://github.com/ivuorinen/base-configs/issues/119)) ([1c2b5d6](https://github.com/ivuorinen/base-configs/commit/1c2b5d6faf5d0e78754392c28b157ac58afc73e9))
|
||||
|
||||
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.0...@ivuorinen/commitlint-config@0.2.1) (2023-10-28)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update commitlint monorepo to v18.1.0 ([#118](https://github.com/ivuorinen/base-configs/issues/118)) ([3cbb852](https://github.com/ivuorinen/base-configs/commit/3cbb85289a1599eed3d87927e1bd402520b4d74d))
|
||||
|
||||
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.1.14...@ivuorinen/commitlint-config@0.2.0) (2023-10-25)
|
||||
|
||||
### Features
|
||||
|
||||
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
|
||||
|
||||
## [0.1.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.1.13...@ivuorinen/commitlint-config@0.1.14) (2023-10-24)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update commitlint monorepo to v18 ([#115](https://github.com/ivuorinen/base-configs/issues/115)) ([0a8c40f](https://github.com/ivuorinen/base-configs/commit/0a8c40f27d2a3848c58799c5172cdec2604d95d2))
|
||||
|
||||
## [0.1.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.1.12...@ivuorinen/commitlint-config@0.1.13) (2023-10-24)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update devdependencies (patch) ([94419d8](https://github.com/ivuorinen/base-configs/commit/94419d862b9ff3ce9e77b4265bc28fe322153388))
|
||||
|
||||
## [0.1.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.1.11...@ivuorinen/commitlint-config@0.1.12) (2023-10-18)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update commitlint monorepo to v17.8.0 ([#109](https://github.com/ivuorinen/base-configs/issues/109)) ([268ba28](https://github.com/ivuorinen/base-configs/commit/268ba2894bcec4619b3136c4f2e9b2b111056b06))
|
||||
|
||||
## [0.1.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.1.10...@ivuorinen/commitlint-config@0.1.11) (2023-10-02)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update devdependencies (patch) ([e2506fd](https://github.com/ivuorinen/base-configs/commit/e2506fd7c3f92ffdeb0b6c47cd925918aa91b306))
|
||||
|
||||
## [0.1.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.1.9...@ivuorinen/commitlint-config@0.1.10) (2023-08-13)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ivuorinen/commitlint-config",
|
||||
"version": "0.1.10",
|
||||
"version": "0.2.21",
|
||||
"description": "ivuorinen's shareable configuration for commitlint.",
|
||||
"author": {
|
||||
"name": "Ismo Vuorinen",
|
||||
@@ -10,9 +10,7 @@
|
||||
"url": "https://github.com/ivuorinen/base-configs/issues"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 12",
|
||||
"npm": ">= 6",
|
||||
"yarn": ">=1.20.0"
|
||||
"node": ">= 18"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
@@ -37,8 +35,9 @@
|
||||
"postinstall": "node scripts/postinstall.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@commitlint/cli": "17.7.1",
|
||||
"@commitlint/config-conventional": "17.7.0"
|
||||
"@commitlint/cli": "19.3.0",
|
||||
"@commitlint/config-conventional": "19.2.2",
|
||||
"@ivuorinen/config-checker": "^1.1.3"
|
||||
},
|
||||
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
|
||||
}
|
||||
|
||||
@@ -2,9 +2,18 @@
|
||||
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const process = require('process')
|
||||
const checkConfig = require('@ivuorinen/config-checker')
|
||||
const foundConfig = checkConfig('commitlint')
|
||||
|
||||
if (foundConfig.length > 0) {
|
||||
console.log('commitlint-config: Found existing commitlint config file, skipping creation.')
|
||||
console.log('commitlint-config: If you want to create a new config file, please remove the existing one.')
|
||||
console.log(`commitlint-config: Found config files at: ${foundConfig.join(', ')}`)
|
||||
process.exit(0)
|
||||
}
|
||||
|
||||
const filePath = path.join(process.env.INIT_CWD, '.commitlintrc.json')
|
||||
|
||||
const fileConfigObject = {
|
||||
extends: ['@ivuorinen/commitlint-config']
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
23
packages/config-checker/CHANGELOG.md
Normal file
23
packages/config-checker/CHANGELOG.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [1.1.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/config-checker@1.1.2...@ivuorinen/config-checker@1.1.3) (2024-05-05)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- add an initial value to "reduce()" call ([#238](https://github.com/ivuorinen/base-configs/issues/238)) ([52372db](https://github.com/ivuorinen/base-configs/commit/52372dbe371bae56b44d79e2150b61200b071a1f))
|
||||
|
||||
## [1.1.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/config-checker@1.1.1...@ivuorinen/config-checker@1.1.2) (2023-10-31)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/config-checker
|
||||
|
||||
## [1.1.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/config-checker@1.1.0...@ivuorinen/config-checker@1.1.1) (2023-10-30)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/config-checker
|
||||
|
||||
# 1.1.0 (2023-10-25)
|
||||
|
||||
### Features
|
||||
|
||||
- **config-checker:** new package: config-checker ([9d37249](https://github.com/ivuorinen/base-configs/commit/9d372493e844694781877cd4853d87198590a0ad))
|
||||
9
packages/config-checker/LICENSE.md
Normal file
9
packages/config-checker/LICENSE.md
Normal 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.
|
||||
137
packages/config-checker/README.md
Normal file
137
packages/config-checker/README.md
Normal file
@@ -0,0 +1,137 @@
|
||||
# `@ivuorinen/config-checker` <!-- omit in toc -->
|
||||
|
||||
[![npm package][npm-badge]][npm-link] [![license MIT][license-badge]][license-link] [![ivuorinen's Code Style][style-badge]][style-link]
|
||||
|
||||
Check for existence of common configuration files in usually used locations.
|
||||
|
||||
## Installation
|
||||
|
||||
Install `this package` as a _`dependency`_:
|
||||
|
||||
```sh
|
||||
# npm
|
||||
npm install @ivuorinen/config-checker --save
|
||||
|
||||
# Yarn
|
||||
yarn add @ivuorinen/config-checker
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
This package is intended to be used in lifecycle events of other packages.
|
||||
|
||||
Configuration packages located in this repository use this tool to check for existence of configuration files, and if they exist, they will not create new ones.
|
||||
|
||||
### Real world example
|
||||
|
||||
For commitlint-config you can find the usage in the [commitlint-config postinstall.js][commitlint-postinstall-link] file.
|
||||
|
||||
Here's a snippet from the file:
|
||||
|
||||
```js
|
||||
const process = require('process')
|
||||
const checkConfig = require('@ivuorinen/config-checker')
|
||||
const foundConfig = checkConfig('commitlint')
|
||||
|
||||
if (foundConfig.length > 0) {
|
||||
console.log('commitlint-config: Found existing commitlint config file, skipping creation.')
|
||||
console.log('commitlint-config: If you want to create a new config file, please remove the existing one.')
|
||||
console.log(`commitlint-config: Found config files at: ${foundConfig.join(', ')}`)
|
||||
process.exit(0)
|
||||
}
|
||||
```
|
||||
|
||||
### Locations scanned
|
||||
|
||||
| Searched configuration files |
|
||||
| ----------------------------------- |
|
||||
| `[module name]` |
|
||||
| `[module name]`rc |
|
||||
| `[module name]`rc.json |
|
||||
| `[module name]`rc.yaml |
|
||||
| `[module name]`rc.yml |
|
||||
| `[module name]`rc.js |
|
||||
| `[module name]`rc.ts |
|
||||
| `[module name]`rc.mjs |
|
||||
| `[module name]`rc.cjs |
|
||||
| `[module name]`.jsonc |
|
||||
| `[module name]`.yaml |
|
||||
| `[module name]`.json |
|
||||
| `[module name]`.config.js |
|
||||
| `[module name]`.config.ts |
|
||||
| `[module name]`.config.mjs |
|
||||
| `[module name]`.config.cjs |
|
||||
| .`[module name]` |
|
||||
| .`[module name]`rc |
|
||||
| .`[module name]`rc.json |
|
||||
| .`[module name]`rc.yaml |
|
||||
| .`[module name]`rc.yml |
|
||||
| .`[module name]`rc.js |
|
||||
| .`[module name]`rc.ts |
|
||||
| .`[module name]`rc.mjs |
|
||||
| .`[module name]`rc.cjs |
|
||||
| .`[module name]`.jsonc |
|
||||
| .`[module name]`.yaml |
|
||||
| .`[module name]`.json |
|
||||
| .`[module name]`.config.js |
|
||||
| .`[module name]`.config.ts |
|
||||
| .`[module name]`.config.mjs |
|
||||
| .`[module name]`.config.cjs |
|
||||
| .config/`[module name]` |
|
||||
| .config/`[module name]`rc |
|
||||
| .config/`[module name]`rc.json |
|
||||
| .config/`[module name]`rc.yaml |
|
||||
| .config/`[module name]`rc.yml |
|
||||
| .config/`[module name]`rc.js |
|
||||
| .config/`[module name]`rc.ts |
|
||||
| .config/`[module name]`rc.mjs |
|
||||
| .config/`[module name]`rc.cjs |
|
||||
| .config/`[module name]`.jsonc |
|
||||
| .config/`[module name]`.yaml |
|
||||
| .config/`[module name]`.json |
|
||||
| .config/`[module name]`.config.js |
|
||||
| .config/`[module name]`.config.ts |
|
||||
| .config/`[module name]`.config.mjs |
|
||||
| .config/`[module name]`.config.cjs |
|
||||
| .config/.`[module name]` |
|
||||
| .config/.`[module name]`rc |
|
||||
| .config/.`[module name]`rc.json |
|
||||
| .config/.`[module name]`rc.yaml |
|
||||
| .config/.`[module name]`rc.yml |
|
||||
| .config/.`[module name]`rc.js |
|
||||
| .config/.`[module name]`rc.ts |
|
||||
| .config/.`[module name]`rc.mjs |
|
||||
| .config/.`[module name]`rc.cjs |
|
||||
| .config/.`[module name]`.jsonc |
|
||||
| .config/.`[module name]`.yaml |
|
||||
| .config/.`[module name]`.json |
|
||||
| .config/.`[module name]`.config.js |
|
||||
| .config/.`[module name]`.config.ts |
|
||||
| .config/.`[module name]`.config.mjs |
|
||||
| .config/.`[module name]`.config.cjs |
|
||||
|
||||
This list has been generated using `npm run generate-table`.
|
||||
|
||||
## Contributing
|
||||
|
||||
If you are interested in helping contribute, please take a look at our [contribution guidelines][contributing-link] and open an [issue][issue-link] or [pull request][pull-request-link].
|
||||
|
||||
## Changelog
|
||||
|
||||
See [CHANGELOG][changelog-link] for a human-readable history of changes.
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.
|
||||
|
||||
[changelog-link]: ./CHANGELOG.md
|
||||
[contributing-link]: https://github.com/ivuorinen/.github/blob/main/CONTRIBUTING.md
|
||||
[issue-link]: https://github.com/ivuorinen/base-configs/issues
|
||||
[license-badge]: https://img.shields.io/github/license/ivuorinen/base-configs?style=flat-square&labelColor=292a44&color=663399
|
||||
[license-link]: ./LICENSE
|
||||
[npm-badge]: https://img.shields.io/npm/v/@ivuorinen/config-checker?style=flat-square&labelColor=292a44&color=663399
|
||||
[npm-link]: https://www.npmjs.com/package/@ivuorinen/config-checker
|
||||
[pull-request-link]: https://github.com/ivuorinen/base-configs/pulls
|
||||
[style-badge]: https://img.shields.io/badge/code_style-ivuorinen%E2%80%99s-663399.svg?labelColor=292a44&style=flat-square
|
||||
[style-link]: https://github.com/ivuorinen/base-configs
|
||||
[commitlint-postinstall-link]: https://github.com/ivuorinen/base-configs/blob/main/packages/commitlint-config/scripts/postinstall.js
|
||||
23
packages/config-checker/__tests__/config-checker.test.js
Normal file
23
packages/config-checker/__tests__/config-checker.test.js
Normal file
@@ -0,0 +1,23 @@
|
||||
'use strict'
|
||||
|
||||
const path = require('path')
|
||||
const configChecker = require('..')
|
||||
const assert = require('assert').strict
|
||||
|
||||
const configs = configChecker('test', path.join(__dirname, 'fixtures'))
|
||||
|
||||
/**
|
||||
* Checks if an array contains a file.
|
||||
*
|
||||
* @param {string[]} configs - The array of configs to check.
|
||||
* @param {string} file - The file to check for.
|
||||
* @returns {boolean} - True if the array contains the file.
|
||||
*/
|
||||
function arrayContains(configs = [], file = '') {
|
||||
return configs.some(config => config === file)
|
||||
}
|
||||
|
||||
assert.ok(arrayContains(configs, '.testrc'))
|
||||
assert.ok(arrayContains(configs, '.config/testrc.ts'))
|
||||
|
||||
console.info('configChecker tests passed')
|
||||
0
packages/config-checker/__tests__/fixtures/.testrc
Normal file
0
packages/config-checker/__tests__/fixtures/.testrc
Normal file
19
packages/config-checker/helpers/generate-md-table.js
Normal file
19
packages/config-checker/helpers/generate-md-table.js
Normal file
@@ -0,0 +1,19 @@
|
||||
'use strict'
|
||||
|
||||
const configurationPaths = require('../lib/configuration-paths')
|
||||
|
||||
const configItems = configurationPaths('`[module name]`')
|
||||
const longestLine = configItems.reduce((a, b) => (a.length > b.length ? a : b), 0).length
|
||||
|
||||
const mdTable = configItems.map(file => {
|
||||
const diff = longestLine - file.length
|
||||
return `| ${file}${' '.repeat(diff)} |`
|
||||
})
|
||||
|
||||
console.log('# Configuration files\n')
|
||||
|
||||
const header = 'Searched configuration files'
|
||||
console.log('| ' + header + ' '.repeat(longestLine - header.length) + ' |')
|
||||
console.log('| ' + '-'.repeat(longestLine) + ' |')
|
||||
|
||||
mdTable.forEach(line => console.log(line))
|
||||
31
packages/config-checker/lib/config-checker.js
Normal file
31
packages/config-checker/lib/config-checker.js
Normal file
@@ -0,0 +1,31 @@
|
||||
'use strict'
|
||||
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const process = require('process')
|
||||
const configurationPaths = require('./configuration-paths')
|
||||
|
||||
/**
|
||||
* Checks for the existence of a configuration file.
|
||||
* @param {string} moduleName - The name of the module to check for.
|
||||
* @param {string} pathPrefix - The prefix to add to the path.
|
||||
* @returns {string[]} - The paths to the configuration files.
|
||||
*/
|
||||
const configChecker = (moduleName, pathPrefix = '') => {
|
||||
let searchPath = process.env.INIT_CWD
|
||||
if (pathPrefix.length > 0) {
|
||||
searchPath = pathPrefix
|
||||
}
|
||||
|
||||
const allFiles = configurationPaths(moduleName)
|
||||
|
||||
if (process.env.DEBUG) {
|
||||
const filesWithPath = allFiles.map(file => path.join(searchPath, file))
|
||||
console.log(filesWithPath)
|
||||
}
|
||||
|
||||
// Look for config files in defined search path, and return found.
|
||||
return allFiles.filter(file => fs.existsSync(path.join(searchPath, file)))
|
||||
}
|
||||
|
||||
module.exports = configChecker
|
||||
37
packages/config-checker/lib/configuration-paths.js
Normal file
37
packages/config-checker/lib/configuration-paths.js
Normal file
@@ -0,0 +1,37 @@
|
||||
'use strict'
|
||||
|
||||
const path = require('path')
|
||||
|
||||
/**
|
||||
* Returns an array of configuration paths.
|
||||
* @param {string} moduleName - The name of the module to check for.
|
||||
* @returns {string[]} - The paths to the configuration files.
|
||||
*/
|
||||
function configurationPaths(moduleName) {
|
||||
const filesPlain = [
|
||||
moduleName,
|
||||
`${moduleName}rc`,
|
||||
`${moduleName}rc.json`,
|
||||
`${moduleName}rc.yaml`,
|
||||
`${moduleName}rc.yml`,
|
||||
`${moduleName}rc.js`,
|
||||
`${moduleName}rc.ts`,
|
||||
`${moduleName}rc.mjs`,
|
||||
`${moduleName}rc.cjs`,
|
||||
`${moduleName}.jsonc`,
|
||||
`${moduleName}.yaml`,
|
||||
`${moduleName}.json`,
|
||||
`${moduleName}.config.js`,
|
||||
`${moduleName}.config.ts`,
|
||||
`${moduleName}.config.mjs`,
|
||||
`${moduleName}.config.cjs`
|
||||
]
|
||||
|
||||
const filesDot = filesPlain.map(file => `.${file}`)
|
||||
const bothFiles = filesPlain.concat(filesDot)
|
||||
const filesInConfig = bothFiles.map(file => path.join('.config', file))
|
||||
|
||||
return bothFiles.concat(filesInConfig)
|
||||
}
|
||||
|
||||
module.exports = configurationPaths
|
||||
42
packages/config-checker/package.json
Normal file
42
packages/config-checker/package.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"name": "@ivuorinen/config-checker",
|
||||
"version": "1.1.3",
|
||||
"description": "Checks the commonly used configuration locations for configuration files",
|
||||
"keywords": [
|
||||
"check-config",
|
||||
"config",
|
||||
"ivuorinen",
|
||||
"config-checker",
|
||||
"cosmicconfig",
|
||||
"rcfile",
|
||||
"rcfiles"
|
||||
],
|
||||
"author": {
|
||||
"name": "Ismo Vuorinen",
|
||||
"url": "https://github.com/ivuorinen"
|
||||
},
|
||||
"homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/config-checker#readme",
|
||||
"license": "MIT",
|
||||
"main": "lib/config-checker.js",
|
||||
"directories": {
|
||||
"lib": "lib",
|
||||
"test": "__tests__"
|
||||
},
|
||||
"files": [
|
||||
"lib"
|
||||
],
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/ivuorinen/base-configs.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node ./__tests__/config-checker.test.js",
|
||||
"generate-table": "node ./helpers/generate-md-table.js"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/ivuorinen/base-configs/issues"
|
||||
}
|
||||
}
|
||||
4
packages/config-checker/yarn.lock
Normal file
4
packages/config-checker/yarn.lock
Normal file
@@ -0,0 +1,4 @@
|
||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
@@ -2,6 +2,307 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [0.4.39](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.38...@ivuorinen/eslint-config@0.4.39) (2024-05-31)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-promise to v6.2.0 ([#254](https://github.com/ivuorinen/base-configs/issues/254)) ([d9b6957](https://github.com/ivuorinen/base-configs/commit/d9b695774d642582336ec3d12040bab737ac0c31))
|
||||
|
||||
## [0.4.38](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.37...@ivuorinen/eslint-config@0.4.38) (2024-05-21)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint to v9.3.0 ([#251](https://github.com/ivuorinen/base-configs/issues/251)) ([44088ba](https://github.com/ivuorinen/base-configs/commit/44088ba99c91ce81f52eddd7b7e09604fae55c50))
|
||||
|
||||
## [0.4.37](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.36...@ivuorinen/eslint-config@0.4.37) (2024-05-18)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v17.7.0 ([#250](https://github.com/ivuorinen/base-configs/issues/250)) ([0d9853a](https://github.com/ivuorinen/base-configs/commit/0d9853a556ab9954d666a5750c0b3ac88e3560e6))
|
||||
|
||||
## [0.4.36](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.35...@ivuorinen/eslint-config@0.4.36) (2024-05-15)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v17.6.0 ([#246](https://github.com/ivuorinen/base-configs/issues/246)) ([14b7307](https://github.com/ivuorinen/base-configs/commit/14b7307cdc57c651391d3bbd724bb5c91d3ad4ee))
|
||||
|
||||
## [0.4.35](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.34...@ivuorinen/eslint-config@0.4.35) (2024-05-10)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v17.5.1 ([#245](https://github.com/ivuorinen/base-configs/issues/245)) ([5730a87](https://github.com/ivuorinen/base-configs/commit/5730a872ff5952b1f62b778c4466200e393e604a))
|
||||
|
||||
## [0.4.34](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.33...@ivuorinen/eslint-config@0.4.34) (2024-05-10)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-sonarjs to v1.0.3 ([5ea3c41](https://github.com/ivuorinen/base-configs/commit/5ea3c411984896554a54e8690a6a2efa9e3d7097))
|
||||
|
||||
## [0.4.33](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.32...@ivuorinen/eslint-config@0.4.33) (2024-05-07)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-sonarjs to v1 ([#242](https://github.com/ivuorinen/base-configs/issues/242)) ([8419ce8](https://github.com/ivuorinen/base-configs/commit/8419ce8c64f2d7c533267c75ecd1186576738deb))
|
||||
|
||||
## [0.4.32](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.31...@ivuorinen/eslint-config@0.4.32) (2024-05-07)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update eslint to 9.2 ([#241](https://github.com/ivuorinen/base-configs/issues/241)) ([a9fbc1d](https://github.com/ivuorinen/base-configs/commit/a9fbc1dd15b8006385a8c66414067704f8d16d49))
|
||||
|
||||
## [0.4.31](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.30...@ivuorinen/eslint-config@0.4.31) (2024-05-06)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-jest to v28.4.0 ([#239](https://github.com/ivuorinen/base-configs/issues/239)) ([4cee9fb](https://github.com/ivuorinen/base-configs/commit/4cee9fb75ac1eefc240c23c79ff78ff6086942ad))
|
||||
|
||||
## [0.4.30](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.29...@ivuorinen/eslint-config@0.4.30) (2024-05-05)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/eslint-config
|
||||
|
||||
## [0.4.29](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.28...@ivuorinen/eslint-config@0.4.29) (2024-05-04)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v17.4.0 ([#235](https://github.com/ivuorinen/base-configs/issues/235)) ([cbde501](https://github.com/ivuorinen/base-configs/commit/cbde5017bd907074ef2168f3d3d9ddde808dcba9))
|
||||
|
||||
## [0.4.28](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.27...@ivuorinen/eslint-config@0.4.28) (2024-05-01)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-jest to v28.3.0 ([#233](https://github.com/ivuorinen/base-configs/issues/233)) ([8d50271](https://github.com/ivuorinen/base-configs/commit/8d5027144dccd573010432373ad4c7f085d6f53a))
|
||||
|
||||
## [0.4.27](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.26...@ivuorinen/eslint-config@0.4.27) (2024-04-28)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v17.3.1 ([#232](https://github.com/ivuorinen/base-configs/issues/232)) ([d1dbe8c](https://github.com/ivuorinen/base-configs/commit/d1dbe8cd9c79784c8b8575fa34244a0c29ca294b))
|
||||
|
||||
## [0.4.26](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.25...@ivuorinen/eslint-config@0.4.26) (2024-04-26)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint to v9.1.1 ([f947122](https://github.com/ivuorinen/base-configs/commit/f94712248ee9afeac4217d830e3b3776f597f61d))
|
||||
|
||||
## [0.4.25](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.24...@ivuorinen/eslint-config@0.4.25) (2024-04-23)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/eslint-config
|
||||
|
||||
## [0.4.24](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.23...@ivuorinen/eslint-config@0.4.24) (2024-04-19)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v17.2.1 ([50fa8cf](https://github.com/ivuorinen/base-configs/commit/50fa8cf2d307fd71bbf321c0f0323572c3d7bbf3))
|
||||
|
||||
## [0.4.23](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.22...@ivuorinen/eslint-config@0.4.23) (2024-04-13)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v17.2.0 ([#223](https://github.com/ivuorinen/base-configs/issues/223)) ([14ea3c1](https://github.com/ivuorinen/base-configs/commit/14ea3c1250fd8c3caa5018d11ffa4ee2dbe8515c))
|
||||
|
||||
## [0.4.22](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.21...@ivuorinen/eslint-config@0.4.22) (2024-04-12)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-jest to v28 ([#220](https://github.com/ivuorinen/base-configs/issues/220)) ([b01dc7c](https://github.com/ivuorinen/base-configs/commit/b01dc7c19d0e7a7b0c24ef93df716a72cad25226))
|
||||
- **deps:** update dependency eslint-plugin-n to v17 ([#221](https://github.com/ivuorinen/base-configs/issues/221)) ([28c385e](https://github.com/ivuorinen/base-configs/commit/28c385ecbdb0f806820d75c94f32a2ce321b9687))
|
||||
|
||||
## [0.4.21](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.20...@ivuorinen/eslint-config@0.4.21) (2024-04-07)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-sonarjs to v0.25.1 ([#216](https://github.com/ivuorinen/base-configs/issues/216)) ([8039493](https://github.com/ivuorinen/base-configs/commit/803949390e5057680c0816937d3f43bb7a71ced1))
|
||||
|
||||
## [0.4.20](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.19...@ivuorinen/eslint-config@0.4.20) (2024-03-31)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-sonarjs to v0.25.0 ([#215](https://github.com/ivuorinen/base-configs/issues/215)) ([21fddab](https://github.com/ivuorinen/base-configs/commit/21fddabb15068ec11f16ecc34097a9c6ac3f9e95))
|
||||
|
||||
## [0.4.19](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.18...@ivuorinen/eslint-config@0.4.19) (2024-02-27)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint to v8.57.0 ([#197](https://github.com/ivuorinen/base-configs/issues/197)) ([c06e3b6](https://github.com/ivuorinen/base-configs/commit/c06e3b6ddce9385fb6dd1a1937419dfcf098d7f1))
|
||||
|
||||
## [0.4.18](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.17...@ivuorinen/eslint-config@0.4.18) (2024-02-20)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-jest to v27.9.0 ([#193](https://github.com/ivuorinen/base-configs/issues/193)) ([3640d26](https://github.com/ivuorinen/base-configs/commit/3640d264250a7340398a1299f2650198922c8aaf))
|
||||
|
||||
## [0.4.17](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.16...@ivuorinen/eslint-config@0.4.17) (2024-02-17)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update eslint ([#189](https://github.com/ivuorinen/base-configs/issues/189)) ([07758aa](https://github.com/ivuorinen/base-configs/commit/07758aa9ff159a1e7d1518734c41ac6c26e2b1c3))
|
||||
|
||||
## [0.4.16](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.15...@ivuorinen/eslint-config@0.4.16) (2024-01-16)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-jest to v27.6.3 ([707d60a](https://github.com/ivuorinen/base-configs/commit/707d60a2140f584fe0aef3f9235554af7bf05bbc))
|
||||
|
||||
## [0.4.15](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.14...@ivuorinen/eslint-config@0.4.15) (2024-01-13)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-jest to v27.6.2 ([87bf28c](https://github.com/ivuorinen/base-configs/commit/87bf28c48c7313197f7f309fd6954e84ce41c7dc))
|
||||
|
||||
## [0.4.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.13...@ivuorinen/eslint-config@0.4.14) (2024-01-13)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v16.6.2 ([2c7b3eb](https://github.com/ivuorinen/base-configs/commit/2c7b3ebc0a83ce1815316e065200c4f9cca1138f))
|
||||
|
||||
## [0.4.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.12...@ivuorinen/eslint-config@0.4.13) (2024-01-05)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v16.6.1 ([0004edf](https://github.com/ivuorinen/base-configs/commit/0004edf5cfde46f9e0eb82bdd3953a34e799d06a))
|
||||
|
||||
## [0.4.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.11...@ivuorinen/eslint-config@0.4.12) (2024-01-05)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-jest to v27.6.1 ([8a3281b](https://github.com/ivuorinen/base-configs/commit/8a3281b03c145db4987413548974bd9fb146a800))
|
||||
|
||||
## [0.4.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.10...@ivuorinen/eslint-config@0.4.11) (2024-01-03)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v16.6.0 ([#163](https://github.com/ivuorinen/base-configs/issues/163)) ([a88b1a8](https://github.com/ivuorinen/base-configs/commit/a88b1a8452aa3d57f901159153406909d74ec5e7))
|
||||
|
||||
## [0.4.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.9...@ivuorinen/eslint-config@0.4.10) (2023-12-24)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v16.5.0 ([#159](https://github.com/ivuorinen/base-configs/issues/159)) ([49f4815](https://github.com/ivuorinen/base-configs/commit/49f4815073398c125161871753fad4025e2875e0))
|
||||
|
||||
## [0.4.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.8...@ivuorinen/eslint-config@0.4.9) (2023-12-19)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint to v8.56.0 ([#158](https://github.com/ivuorinen/base-configs/issues/158)) ([7d74451](https://github.com/ivuorinen/base-configs/commit/7d744512fb0db2151a44e6fbe0f612a6bf650411))
|
||||
|
||||
## [0.4.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.7...@ivuorinen/eslint-config@0.4.8) (2023-12-17)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-import to v2.29.1 ([6e63c7c](https://github.com/ivuorinen/base-configs/commit/6e63c7c5b2ee1f184cb710d0b48c67c0d1aac37d))
|
||||
|
||||
## [0.4.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.6...@ivuorinen/eslint-config@0.4.7) (2023-12-15)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v16.4.0 ([#151](https://github.com/ivuorinen/base-configs/issues/151)) ([53966d5](https://github.com/ivuorinen/base-configs/commit/53966d5649325409219a5afd30104c602eff98dd))
|
||||
|
||||
## [0.4.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.5...@ivuorinen/eslint-config@0.4.6) (2023-12-05)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint to v8.55.0 ([#141](https://github.com/ivuorinen/base-configs/issues/141)) ([694b489](https://github.com/ivuorinen/base-configs/commit/694b4892e5c346d2e3f080896126b35a4a2c9de8))
|
||||
|
||||
## [0.4.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.4...@ivuorinen/eslint-config@0.4.5) (2023-11-21)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint to v8.54.0 ([#138](https://github.com/ivuorinen/base-configs/issues/138)) ([ab276d0](https://github.com/ivuorinen/base-configs/commit/ab276d0c8025ca3ecba46c8e59d74ab18daf2c4a))
|
||||
|
||||
## [0.4.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.3...@ivuorinen/eslint-config@0.4.4) (2023-11-14)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v16.3.1 ([e967616](https://github.com/ivuorinen/base-configs/commit/e9676169d088490dbc421fcaac849eec70d21eed))
|
||||
|
||||
## [0.4.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.2...@ivuorinen/eslint-config@0.4.3) (2023-11-11)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v16.3.0 ([#131](https://github.com/ivuorinen/base-configs/issues/131)) ([739bd74](https://github.com/ivuorinen/base-configs/commit/739bd743aad24b5cfb732b334700518bb4bd8b19))
|
||||
|
||||
## [0.4.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.1...@ivuorinen/eslint-config@0.4.2) (2023-11-07)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update eslint ([14f93ce](https://github.com/ivuorinen/base-configs/commit/14f93ceb59b03bf81ebefaeb8ced5285bbf01dbb))
|
||||
|
||||
## [0.4.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.0...@ivuorinen/eslint-config@0.4.1) (2023-11-04)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-sonarjs to v0.22.0 ([13e9457](https://github.com/ivuorinen/base-configs/commit/13e945747fe7a69c7d3bcd3151d38415656b5f93))
|
||||
|
||||
# [0.4.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.4...@ivuorinen/eslint-config@0.4.0) (2023-11-01)
|
||||
|
||||
### Features
|
||||
|
||||
- add `eslint-config-prettier` ([1a40d9b](https://github.com/ivuorinen/base-configs/commit/1a40d9b0ada76d32a8fe34d2a0eb98856f678dee))
|
||||
|
||||
## [0.3.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.3...@ivuorinen/eslint-config@0.3.4) (2023-10-31)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/eslint-config
|
||||
|
||||
## [0.3.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.2...@ivuorinen/eslint-config@0.3.3) (2023-10-30)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/eslint-config
|
||||
|
||||
## [0.3.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.1...@ivuorinen/eslint-config@0.3.2) (2023-10-29)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-jest to v27.6.0 ([#120](https://github.com/ivuorinen/base-configs/issues/120)) ([106f755](https://github.com/ivuorinen/base-configs/commit/106f7555e31f2b98499fe36cf5b8dd50516e53d5))
|
||||
|
||||
## [0.3.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.0...@ivuorinen/eslint-config@0.3.1) (2023-10-27)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-import to v2.29.0 ([#117](https://github.com/ivuorinen/base-configs/issues/117)) ([f1507a2](https://github.com/ivuorinen/base-configs/commit/f1507a230fa41af9a48061848a3c92a667313193))
|
||||
|
||||
# [0.3.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.19...@ivuorinen/eslint-config@0.3.0) (2023-10-25)
|
||||
|
||||
### Features
|
||||
|
||||
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
|
||||
|
||||
## [0.2.19](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.18...@ivuorinen/eslint-config@0.2.19) (2023-10-24)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/eslint-config
|
||||
|
||||
## [0.2.18](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.17...@ivuorinen/eslint-config@0.2.18) (2023-10-24)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update eslint ([#113](https://github.com/ivuorinen/base-configs/issues/113)) ([4eff12a](https://github.com/ivuorinen/base-configs/commit/4eff12a838f046088e401bdf131356e475e4d4ff))
|
||||
|
||||
## [0.2.17](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.16...@ivuorinen/eslint-config@0.2.17) (2023-10-15)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-n to v16.2.0 ([#107](https://github.com/ivuorinen/base-configs/issues/107)) ([39d50e5](https://github.com/ivuorinen/base-configs/commit/39d50e551c8c94e4a5e220035a93d41aa32ae443))
|
||||
|
||||
## [0.2.16](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.15...@ivuorinen/eslint-config@0.2.16) (2023-10-11)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/eslint-config
|
||||
|
||||
## [0.2.15](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.14...@ivuorinen/eslint-config@0.2.15) (2023-10-10)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint to v8.51.0 ([#106](https://github.com/ivuorinen/base-configs/issues/106)) ([591bf2a](https://github.com/ivuorinen/base-configs/commit/591bf2aa52b88b091d85f226271848e7538b8c92))
|
||||
|
||||
## [0.2.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.13...@ivuorinen/eslint-config@0.2.14) (2023-10-03)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint-plugin-jest to v27.4.2 ([5cea814](https://github.com/ivuorinen/base-configs/commit/5cea8144d75fe8ed03610c6ac669f86004554c77))
|
||||
|
||||
## [0.2.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.12...@ivuorinen/eslint-config@0.2.13) (2023-09-26)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency eslint to v8.50.0 ([#100](https://github.com/ivuorinen/base-configs/issues/100)) ([91e807f](https://github.com/ivuorinen/base-configs/commit/91e807f93abeadcf4fe27f014b00b7dcddbfb684))
|
||||
|
||||
## [0.2.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.11...@ivuorinen/eslint-config@0.2.12) (2023-09-19)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
# @ivuorinen/eslint-config <!-- omit in toc -->
|
||||
|
||||
[![npm package][npm-badge]][npm-link]
|
||||
[![license MIT][license-badge]][license-link]
|
||||
[![ivuorinen's Code Style][style-badge]][style-link]
|
||||
[![npm package][npm-badge]][npm-link] [![license MIT][license-badge]][license-link] [![ivuorinen's Code Style][style-badge]][style-link]
|
||||
|
||||
> ivuorinen's shareable configuration for [`ESLint`][eslint-link].
|
||||
|
||||
@@ -76,5 +74,4 @@ Distributed under the MIT License. See [LICENSE][license-link] for more informat
|
||||
[pull-request-link]: https://github.com/ivuorinen/base-configs/pulls
|
||||
[style-badge]: https://img.shields.io/badge/code_style-ivuorinen%E2%80%99s-663399.svg?labelColor=292a44&style=flat-square
|
||||
[style-link]: https://github.com/ivuorinen/base-configs
|
||||
|
||||
[jest-link]: https://jestjs.io
|
||||
|
||||
@@ -7,11 +7,7 @@ module.exports = {
|
||||
es2021: true,
|
||||
node: true
|
||||
},
|
||||
extends: [
|
||||
'plugin:promise/recommended',
|
||||
'plugin:sonarjs/recommended',
|
||||
'standard'
|
||||
],
|
||||
extends: ['plugin:promise/recommended', 'plugin:sonarjs/recommended', 'standard', 'prettier'],
|
||||
parserOptions: {
|
||||
ecmaVersion: 12
|
||||
}
|
||||
|
||||
@@ -4,6 +4,6 @@ module.exports = {
|
||||
env: {
|
||||
'jest/globals': true
|
||||
},
|
||||
extends: ['plugin:jest/recommended', 'plugin:jest/style'],
|
||||
extends: ['plugin:jest/recommended', 'plugin:jest/style', 'prettier'],
|
||||
plugins: ['jest']
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ivuorinen/eslint-config",
|
||||
"version": "0.2.12",
|
||||
"version": "0.4.39",
|
||||
"description": "ivuorinen's shareable configuration for ESLint.",
|
||||
"author": {
|
||||
"name": "Ismo Vuorinen",
|
||||
@@ -10,9 +10,7 @@
|
||||
"url": "https://github.com/ivuorinen/base-configs/issues"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 12",
|
||||
"npm": ">= 6",
|
||||
"yarn": ">=1.20.0"
|
||||
"node": ">=18"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
@@ -38,13 +36,15 @@
|
||||
"postinstall": "node scripts/postinstall.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"eslint": "8.49.0",
|
||||
"@ivuorinen/config-checker": "^1.1.3",
|
||||
"eslint": "9.3.0",
|
||||
"eslint-config-prettier": "^9.0.0",
|
||||
"eslint-config-standard": "17.1.0",
|
||||
"eslint-plugin-import": "2.28.1",
|
||||
"eslint-plugin-jest": "27.4.0",
|
||||
"eslint-plugin-n": "16.1.0",
|
||||
"eslint-plugin-promise": "6.1.1",
|
||||
"eslint-plugin-sonarjs": "0.21.0"
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jest": "28.5.0",
|
||||
"eslint-plugin-n": "17.7.0",
|
||||
"eslint-plugin-promise": "6.2.0",
|
||||
"eslint-plugin-sonarjs": "1.0.3"
|
||||
},
|
||||
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
|
||||
}
|
||||
|
||||
@@ -2,9 +2,18 @@
|
||||
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const process = require('process')
|
||||
const checkConfig = require('@ivuorinen/config-checker')
|
||||
const foundConfig = checkConfig('eslint')
|
||||
|
||||
if (foundConfig.length > 0) {
|
||||
console.log('eslint-config: Found existing eslint config file, skipping creation.')
|
||||
console.log('eslint-config: If you want to create a new config file, please remove the existing one.')
|
||||
console.log(`eslint-config: Found config files at: ${foundConfig.join(', ')}`)
|
||||
process.exit(0)
|
||||
}
|
||||
|
||||
const filePath = path.join(process.env.INIT_CWD, '.eslintrc.json')
|
||||
|
||||
const fileConfigObject = {
|
||||
extends: ['@ivuorinen']
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,6 +2,58 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [0.2.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.6...@ivuorinen/markdownlint-config@0.2.7) (2024-05-29)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency markdownlint-cli to v0.41.0 ([#253](https://github.com/ivuorinen/base-configs/issues/253)) ([e520dd1](https://github.com/ivuorinen/base-configs/commit/e520dd18fa126d773068d606a8b409d3fb5b5b00))
|
||||
|
||||
## [0.2.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.5...@ivuorinen/markdownlint-config@0.2.6) (2024-05-05)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/markdownlint-config
|
||||
|
||||
## [0.2.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.4...@ivuorinen/markdownlint-config@0.2.5) (2024-05-04)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency markdownlint-cli to v0.40.0 ([#236](https://github.com/ivuorinen/base-configs/issues/236)) ([3776f3b](https://github.com/ivuorinen/base-configs/commit/3776f3b223e6ad5d3809490cbd9d17075aaa2838))
|
||||
|
||||
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.3...@ivuorinen/markdownlint-config@0.2.4) (2024-02-02)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency markdownlint-cli to v0.39.0 ([#183](https://github.com/ivuorinen/base-configs/issues/183)) ([50d4743](https://github.com/ivuorinen/base-configs/commit/50d4743f3bb7eb1458da6f67aafd3e409adf329a))
|
||||
|
||||
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.2...@ivuorinen/markdownlint-config@0.2.3) (2023-12-13)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency markdownlint-cli to v0.38.0 ([#149](https://github.com/ivuorinen/base-configs/issues/149)) ([12d1639](https://github.com/ivuorinen/base-configs/commit/12d1639290f8e81b03a4a712e41ab8334b4fadfc))
|
||||
|
||||
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.1...@ivuorinen/markdownlint-config@0.2.2) (2023-10-31)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/markdownlint-config
|
||||
|
||||
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.0...@ivuorinen/markdownlint-config@0.2.1) (2023-10-30)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/markdownlint-config
|
||||
|
||||
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.1.7...@ivuorinen/markdownlint-config@0.2.0) (2023-10-25)
|
||||
|
||||
### Features
|
||||
|
||||
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
|
||||
|
||||
## [0.1.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.1.6...@ivuorinen/markdownlint-config@0.1.7) (2023-10-24)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/markdownlint-config
|
||||
|
||||
## [0.1.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.1.5...@ivuorinen/markdownlint-config@0.1.6) (2023-09-26)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency markdownlint-cli to v0.37.0 ([#101](https://github.com/ivuorinen/base-configs/issues/101)) ([615ae83](https://github.com/ivuorinen/base-configs/commit/615ae835286fbdf173e1b61e9df2a2eb75908374))
|
||||
|
||||
## [0.1.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.1.4...@ivuorinen/markdownlint-config@0.1.5) (2023-09-06)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
# @ivuorinen/markdownlint-config <!-- omit in toc -->
|
||||
|
||||
[![npm package][npm-badge]][npm-link]
|
||||
[![license MIT][license-badge]][license-link]
|
||||
[![code style][style-badge]][style-link]
|
||||
[![npm package][npm-badge]][npm-link] [![license MIT][license-badge]][license-link] [![code style][style-badge]][style-link]
|
||||
|
||||
> ivuorinen's shareable configuration for [`MarkdownLint`][markdownlint-link].
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ivuorinen/markdownlint-config",
|
||||
"version": "0.1.5",
|
||||
"version": "0.2.7",
|
||||
"description": "ivuorinen's shareable configuration for markdownlint.",
|
||||
"author": {
|
||||
"name": "Ismo Vuorinen",
|
||||
@@ -10,9 +10,7 @@
|
||||
"url": "https://github.com/ivuorinen/base-configs/issues"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 12",
|
||||
"npm": ">= 6",
|
||||
"yarn": ">=1.20.0"
|
||||
"node": ">= 18"
|
||||
},
|
||||
"files": [
|
||||
"index.json",
|
||||
@@ -38,7 +36,8 @@
|
||||
"postinstall": "node scripts/postinstall.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"markdownlint-cli": "0.36.0"
|
||||
"@ivuorinen/config-checker": "^1.1.3",
|
||||
"markdownlint-cli": "0.41.0"
|
||||
},
|
||||
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
|
||||
}
|
||||
|
||||
@@ -2,9 +2,18 @@
|
||||
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const process = require('process')
|
||||
const checkConfig = require('@ivuorinen/config-checker')
|
||||
const foundConfig = checkConfig('markdownlint')
|
||||
|
||||
if (foundConfig.length > 0) {
|
||||
console.log('markdownlint-config: Found existing markdownlint config file, skipping creation.')
|
||||
console.log('markdownlint-config: If you want to create a new config file, please remove the existing one.')
|
||||
console.log(`markdownlint-config: Found config files at: ${foundConfig.join(', ')}`)
|
||||
process.exit(0)
|
||||
}
|
||||
|
||||
const filePath = path.join(process.env.INIT_CWD, '.markdownlint.json')
|
||||
|
||||
const fileConfigObject = {
|
||||
extends: '@ivuorinen/markdownlint-config'
|
||||
}
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
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"
|
||||
@@ -70,10 +75,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.0.0:
|
||||
version "11.0.0"
|
||||
resolved "https://registry.yarnpkg.com/commander/-/commander-11.0.0.tgz#43e19c25dbedc8256203538e8d7e9346877a6f67"
|
||||
integrity sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==
|
||||
commander@~11.1.0:
|
||||
version "11.1.0"
|
||||
resolved "https://registry.yarnpkg.com/commander/-/commander-11.1.0.tgz#62fdce76006a68e5c1ab3314dc92e800eb83d906"
|
||||
integrity sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==
|
||||
|
||||
cross-spawn@^7.0.0:
|
||||
version "7.0.3"
|
||||
@@ -104,10 +109,10 @@ emoji-regex@^9.2.2:
|
||||
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72"
|
||||
integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==
|
||||
|
||||
entities@~3.0.1:
|
||||
version "3.0.1"
|
||||
resolved "https://registry.yarnpkg.com/entities/-/entities-3.0.1.tgz#2b887ca62585e96db3903482d336c1006c3001d4"
|
||||
integrity sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==
|
||||
entities@^4.4.0:
|
||||
version "4.5.0"
|
||||
resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48"
|
||||
integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==
|
||||
|
||||
foreground-child@^3.1.0:
|
||||
version "3.1.1"
|
||||
@@ -122,21 +127,21 @@ 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.4:
|
||||
version "10.3.4"
|
||||
resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.4.tgz#c85c9c7ab98669102b6defda76d35c5b1ef9766f"
|
||||
integrity sha512-6LFElP3A+i/Q8XQKEvZjkEWEOTgAIALR9AO2rwT8bgPhDd1anmqDJDZ6lLddI4ehxxxR1S5RIqKe1uapMQfYaQ==
|
||||
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==
|
||||
dependencies:
|
||||
foreground-child "^3.1.0"
|
||||
jackspeak "^2.0.3"
|
||||
jackspeak "^2.3.5"
|
||||
minimatch "^9.0.1"
|
||||
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
|
||||
path-scurry "^1.10.1"
|
||||
|
||||
ignore@~5.2.4:
|
||||
version "5.2.4"
|
||||
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324"
|
||||
integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==
|
||||
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==
|
||||
|
||||
ini@~4.1.0:
|
||||
version "4.1.1"
|
||||
@@ -153,10 +158,10 @@ isexe@^2.0.0:
|
||||
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
|
||||
integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==
|
||||
|
||||
jackspeak@^2.0.3:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.2.0.tgz#497cbaedc902ec3f31d5d61be804d2364ff9ddad"
|
||||
integrity sha512-r5XBrqIJfwRIjRt/Xr5fv9Wh09qyhHfKnYddDlpM+ibRR20qrYActpCAgU6U+d53EOEjzkvxPMVHSlgR7leXrQ==
|
||||
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==
|
||||
dependencies:
|
||||
"@isaacs/cliui" "^8.0.2"
|
||||
optionalDependencies:
|
||||
@@ -169,75 +174,69 @@ js-yaml@^4.1.0:
|
||||
dependencies:
|
||||
argparse "^2.0.1"
|
||||
|
||||
jsonc-parser@~3.2.0:
|
||||
version "3.2.0"
|
||||
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76"
|
||||
integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==
|
||||
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==
|
||||
|
||||
linkify-it@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-4.0.1.tgz#01f1d5e508190d06669982ba31a7d9f56a5751ec"
|
||||
integrity sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==
|
||||
linkify-it@^5.0.0:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-5.0.0.tgz#9ef238bfa6dc70bd8e7f9572b52d369af569b421"
|
||||
integrity sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==
|
||||
dependencies:
|
||||
uc.micro "^1.0.1"
|
||||
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==
|
||||
|
||||
markdown-it@13.0.1:
|
||||
version "13.0.1"
|
||||
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-13.0.1.tgz#c6ecc431cacf1a5da531423fc6a42807814af430"
|
||||
integrity sha512-lTlxriVoy2criHP0JKRhO2VDG9c2ypWCsT237eDiLqi09rmbKoUetyGHq2uOIRoRS//kfoJckS0eUzzkDR+k2Q==
|
||||
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==
|
||||
dependencies:
|
||||
argparse "^2.0.1"
|
||||
entities "~3.0.1"
|
||||
linkify-it "^4.0.1"
|
||||
mdurl "^1.0.1"
|
||||
uc.micro "^1.0.5"
|
||||
entities "^4.4.0"
|
||||
linkify-it "^5.0.0"
|
||||
mdurl "^2.0.0"
|
||||
punycode.js "^2.3.1"
|
||||
uc.micro "^2.0.0"
|
||||
|
||||
markdownlint-cli@0.36.0:
|
||||
version "0.36.0"
|
||||
resolved "https://registry.yarnpkg.com/markdownlint-cli/-/markdownlint-cli-0.36.0.tgz#1f5da0e4445386080c3ad5a6edd451bb76b7dd76"
|
||||
integrity sha512-h4WdqOam3+QOVOcJSOQuG8KvvN8dlS0OiJhbPwYWBk7VMZR40UtSSMIOpSP5B4EHPHg3W3ILSQUvqg1HNpTCxA==
|
||||
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==
|
||||
dependencies:
|
||||
commander "~11.0.0"
|
||||
commander "~11.1.0"
|
||||
get-stdin "~9.0.0"
|
||||
glob "~10.3.4"
|
||||
ignore "~5.2.4"
|
||||
glob "~10.3.10"
|
||||
ignore "~5.3.0"
|
||||
js-yaml "^4.1.0"
|
||||
jsonc-parser "~3.2.0"
|
||||
markdownlint "~0.30.0"
|
||||
jsonc-parser "~3.2.1"
|
||||
markdownlint "~0.33.0"
|
||||
minimatch "~9.0.3"
|
||||
run-con "~1.3.2"
|
||||
|
||||
markdownlint-micromark@0.1.7:
|
||||
version "0.1.7"
|
||||
resolved "https://registry.yarnpkg.com/markdownlint-micromark/-/markdownlint-micromark-0.1.7.tgz#c465091b30d61a56027ccbfb981c80c96448c165"
|
||||
integrity sha512-BbRPTC72fl5vlSKv37v/xIENSRDYL/7X/XoFzZ740FGEbs9vZerLrIkFRY0rv7slQKxDczToYuMmqQFN61fi4Q==
|
||||
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@~0.30.0:
|
||||
version "0.30.0"
|
||||
resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.30.0.tgz#e5b43f794c6810299cd4be86f8d54108e9169860"
|
||||
integrity sha512-nInuFvI/rEzanAOArW5490Ez4EYpB5ODqVM0mcDYCPx9DKJWCQqCgejjiCvbSeE7sjbDscVtZmwr665qpF5xGA==
|
||||
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==
|
||||
dependencies:
|
||||
markdown-it "13.0.1"
|
||||
markdownlint-micromark "0.1.7"
|
||||
markdown-it "14.0.0"
|
||||
markdownlint-micromark "0.1.8"
|
||||
|
||||
mdurl@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e"
|
||||
integrity sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==
|
||||
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:
|
||||
version "9.0.2"
|
||||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.2.tgz#397e387fff22f6795844d00badc903a3d5de7057"
|
||||
integrity sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==
|
||||
dependencies:
|
||||
brace-expansion "^2.0.1"
|
||||
|
||||
minimatch@~9.0.3:
|
||||
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==
|
||||
@@ -250,9 +249,9 @@ minimist@^1.2.8:
|
||||
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
|
||||
|
||||
"minipass@^5.0.0 || ^6.0.2 || ^7.0.0":
|
||||
version "7.0.3"
|
||||
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.3.tgz#05ea638da44e475037ed94d1c7efcc76a25e1974"
|
||||
integrity sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg==
|
||||
version "7.0.4"
|
||||
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c"
|
||||
integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==
|
||||
|
||||
path-key@^3.1.0:
|
||||
version "3.1.1"
|
||||
@@ -267,6 +266,11 @@ path-scurry@^1.10.1:
|
||||
lru-cache "^9.1.1 || ^10.0.0"
|
||||
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
|
||||
|
||||
punycode.js@^2.3.1:
|
||||
version "2.3.1"
|
||||
resolved "https://registry.yarnpkg.com/punycode.js/-/punycode.js-2.3.1.tgz#6b53e56ad75588234e79f4affa90972c7dd8cdb7"
|
||||
integrity sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==
|
||||
|
||||
run-con@~1.3.2:
|
||||
version "1.3.2"
|
||||
resolved "https://registry.yarnpkg.com/run-con/-/run-con-1.3.2.tgz#755860a10ce326a96b509485fcea50b4d03754e8"
|
||||
@@ -290,9 +294,9 @@ shebang-regex@^3.0.0:
|
||||
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
|
||||
|
||||
signal-exit@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.0.1.tgz#96a61033896120ec9335d96851d902cc98f0ba2a"
|
||||
integrity sha512-uUWsN4aOxJAS8KOuf3QMyFtgm1pkb6I+KRZbRF/ghdf5T7sM+B1lLLzPDxswUjkmHyxQAVzEgG35E3NzDM9GVw==
|
||||
version "4.1.0"
|
||||
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
|
||||
@@ -322,9 +326,9 @@ string-width@^5.0.1, string-width@^5.1.2:
|
||||
ansi-regex "^5.0.1"
|
||||
|
||||
strip-ansi@^7.0.1:
|
||||
version "7.0.1"
|
||||
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2"
|
||||
integrity sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==
|
||||
version "7.1.0"
|
||||
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45"
|
||||
integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==
|
||||
dependencies:
|
||||
ansi-regex "^6.0.1"
|
||||
|
||||
@@ -333,10 +337,10 @@ strip-json-comments@~3.1.1:
|
||||
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
|
||||
integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==
|
||||
|
||||
uc.micro@^1.0.1, uc.micro@^1.0.5:
|
||||
version "1.0.6"
|
||||
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac"
|
||||
integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==
|
||||
uc.micro@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-2.0.0.tgz#84b3c335c12b1497fd9e80fcd3bfa7634c363ff1"
|
||||
integrity sha512-DffL94LsNOccVn4hyfRe5rdKa273swqeA5DJpMOeFmEn1wCDc7nAbbB0gXlgBCL7TNzeTv6G7XVWzan7iJtfig==
|
||||
|
||||
which@^2.0.1:
|
||||
version "2.0.2"
|
||||
|
||||
@@ -2,6 +2,70 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [0.2.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.9...@ivuorinen/prettier-config@0.2.10) (2024-05-05)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/prettier-config
|
||||
|
||||
## [0.2.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.8...@ivuorinen/prettier-config@0.2.9) (2024-02-08)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/prettier-config
|
||||
|
||||
## [0.2.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.7...@ivuorinen/prettier-config@0.2.8) (2024-01-20)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency prettier to v3.2.4 ([faadbc6](https://github.com/ivuorinen/base-configs/commit/faadbc633a04f22999352e9f0e26a0acc65f0ff7))
|
||||
|
||||
## [0.2.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.6...@ivuorinen/prettier-config@0.2.7) (2024-01-20)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency prettier to v3.2.3 ([4393ed7](https://github.com/ivuorinen/base-configs/commit/4393ed7c99515b1c27f76843b3af968be0a9d6a8))
|
||||
|
||||
## [0.2.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.5...@ivuorinen/prettier-config@0.2.6) (2024-01-17)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency prettier to v3.2.2 ([6d7f865](https://github.com/ivuorinen/base-configs/commit/6d7f865bbbd4e7b03c0ab4f1904907c84dc632c6))
|
||||
|
||||
## [0.2.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.4...@ivuorinen/prettier-config@0.2.5) (2024-01-16)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency prettier to v3.2.1 ([#172](https://github.com/ivuorinen/base-configs/issues/172)) ([178b77f](https://github.com/ivuorinen/base-configs/commit/178b77f0076aa13b5a19b9a382c33d19b2db5fa9))
|
||||
|
||||
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.3...@ivuorinen/prettier-config@0.2.4) (2023-12-15)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update devdependencies (patch) ([b79252a](https://github.com/ivuorinen/base-configs/commit/b79252a163ae15462984c84fd7950fc74da902b6))
|
||||
|
||||
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.2...@ivuorinen/prettier-config@0.2.3) (2023-11-16)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency prettier to v3.1.0 ([#135](https://github.com/ivuorinen/base-configs/issues/135)) ([4ecaa73](https://github.com/ivuorinen/base-configs/commit/4ecaa73be86a7b7f98b78ffddf3fdf9316680ae2))
|
||||
|
||||
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.1...@ivuorinen/prettier-config@0.2.2) (2023-10-31)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/prettier-config
|
||||
|
||||
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.0...@ivuorinen/prettier-config@0.2.1) (2023-10-30)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency prettier to v3 ([#58](https://github.com/ivuorinen/base-configs/issues/58)) ([15e815a](https://github.com/ivuorinen/base-configs/commit/15e815a53d46bb369cb2d7c0eb7b54474245afee))
|
||||
|
||||
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.1.2...@ivuorinen/prettier-config@0.2.0) (2023-10-25)
|
||||
|
||||
### Features
|
||||
|
||||
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
|
||||
|
||||
## [0.1.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.1.1...@ivuorinen/prettier-config@0.1.2) (2023-10-24)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/prettier-config
|
||||
|
||||
## 0.1.1 (2023-05-04)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
# @ivuorinen/prettier-config <!-- omit in toc -->
|
||||
|
||||
[![npm package][npm-badge]][npm-link]
|
||||
[![license MIT][license-badge]][license-link]
|
||||
[![ivuorinen's Code Style][style-badge]][style-link]
|
||||
[![npm package][npm-badge]][npm-link] [![license MIT][license-badge]][license-link] [![ivuorinen's Code Style][style-badge]][style-link]
|
||||
|
||||
> ivuorinen's shareable configuration for [`Prettier`][prettier-link].
|
||||
|
||||
@@ -37,8 +35,7 @@ After installing it, a _`.prettierrc.json`_ file will be created automatically i
|
||||
> ```js
|
||||
> module.exports = {
|
||||
> ...require('@ivuorinen/prettier-config'),
|
||||
>
|
||||
> // Add custom options bellow:
|
||||
> // Add custom options below:
|
||||
> semi: true
|
||||
> }
|
||||
> ```
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ivuorinen/prettier-config",
|
||||
"version": "0.1.1",
|
||||
"version": "0.2.10",
|
||||
"description": "ivuorinen's shareable configuration for Prettier.",
|
||||
"author": {
|
||||
"name": "Ismo Vuorinen",
|
||||
@@ -10,9 +10,7 @@
|
||||
"url": "https://github.com/ivuorinen/base-configs/issues"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 12",
|
||||
"npm": ">= 6",
|
||||
"yarn": ">=1.20.0"
|
||||
"node": ">= 18"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
@@ -38,7 +36,8 @@
|
||||
"postinstall": "node scripts/postinstall.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"prettier": "2.8.8"
|
||||
"@ivuorinen/config-checker": "^1.1.3",
|
||||
"prettier": "3.2.5"
|
||||
},
|
||||
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
|
||||
}
|
||||
|
||||
@@ -2,9 +2,18 @@
|
||||
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const process = require('process')
|
||||
const checkConfig = require('@ivuorinen/config-checker')
|
||||
const foundConfig = checkConfig('prettier')
|
||||
|
||||
if (foundConfig.length > 0) {
|
||||
console.log('prettier-config: Found existing prettier config file, skipping creation.')
|
||||
console.log('prettier-config: If you want to create a new config file, please remove the existing one.')
|
||||
console.log(`prettier-config: Found config files at: ${foundConfig.join(', ')}`)
|
||||
process.exit(0)
|
||||
}
|
||||
|
||||
const filePath = path.join(process.env.INIT_CWD, '.prettierrc.json')
|
||||
|
||||
const fileConfigObject = '@ivuorinen/prettier-config'
|
||||
|
||||
if (!fs.existsSync(filePath)) {
|
||||
|
||||
@@ -2,7 +2,12 @@
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
prettier@2.8.8:
|
||||
version "2.8.8"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
|
||||
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
|
||||
"@ivuorinen/config-checker@^1.1.2":
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.2.tgz#1a7c4dd683129532998f5b682cd95e4daf176acf"
|
||||
integrity sha512-Gb1o2jM0ZqKUa0UTk6yTDbEnC9xGT104EzL0q4x0dW8fLFFQNTp4NrWmpUS90He5m0GNcN5QBo7QPZdGlwUz1Q==
|
||||
|
||||
prettier@3.2.5:
|
||||
version "3.2.5"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368"
|
||||
integrity sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==
|
||||
|
||||
@@ -2,6 +2,138 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [0.2.21](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.20...@ivuorinen/semantic-release-config@0.2.21) (2024-05-15)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v23.1.1 ([#247](https://github.com/ivuorinen/base-configs/issues/247)) ([f3516e1](https://github.com/ivuorinen/base-configs/commit/f3516e1a8ed8c2f03b73e83a18400935c5622595))
|
||||
|
||||
## [0.2.20](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.19...@ivuorinen/semantic-release-config@0.2.20) (2024-05-05)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/semantic-release-config
|
||||
|
||||
## [0.2.19](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.18...@ivuorinen/semantic-release-config@0.2.19) (2024-04-13)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v23.0.8 ([b5bfb77](https://github.com/ivuorinen/base-configs/commit/b5bfb775fd4c626db28f7778333e813bec470d49))
|
||||
|
||||
## [0.2.18](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.17...@ivuorinen/semantic-release-config@0.2.18) (2024-04-06)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v23.0.7 ([9e6929e](https://github.com/ivuorinen/base-configs/commit/9e6929eb6b42dccb267a48267c07f9798ae234fd))
|
||||
|
||||
## [0.2.17](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.16...@ivuorinen/semantic-release-config@0.2.17) (2024-03-28)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v23.0.6 ([5dc4dc8](https://github.com/ivuorinen/base-configs/commit/5dc4dc88fdde6816c6fd947877d180cd5be1139d))
|
||||
|
||||
## [0.2.16](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.15...@ivuorinen/semantic-release-config@0.2.16) (2024-03-22)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v23.0.5 ([a81f5d8](https://github.com/ivuorinen/base-configs/commit/a81f5d8889d5862de2a0dce1574fb17af0cb889b))
|
||||
|
||||
## [0.2.15](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.14...@ivuorinen/semantic-release-config@0.2.15) (2024-03-20)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/semantic-release-config
|
||||
|
||||
## [0.2.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.13...@ivuorinen/semantic-release-config@0.2.14) (2024-03-19)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v23.0.3 ([8c7f744](https://github.com/ivuorinen/base-configs/commit/8c7f7440da52e4a5381b7b3f2bf7771269e5237a))
|
||||
|
||||
## [0.2.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.12...@ivuorinen/semantic-release-config@0.2.13) (2024-02-21)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/semantic-release-config
|
||||
|
||||
## [0.2.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.11...@ivuorinen/semantic-release-config@0.2.12) (2024-02-10)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v23.0.2 ([#188](https://github.com/ivuorinen/base-configs/issues/188)) ([5d1d295](https://github.com/ivuorinen/base-configs/commit/5d1d29597d0b5d27d20cb72d09bc48ded343d49e))
|
||||
|
||||
## [0.2.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.10...@ivuorinen/semantic-release-config@0.2.11) (2024-02-10)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v23.0.1 ([937014c](https://github.com/ivuorinen/base-configs/commit/937014c2b4ea36b12f3dc230b43a960d5df8431f))
|
||||
|
||||
## [0.2.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.9...@ivuorinen/semantic-release-config@0.2.10) (2024-01-16)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v23 ([#173](https://github.com/ivuorinen/base-configs/issues/173)) ([a339252](https://github.com/ivuorinen/base-configs/commit/a33925203d12da5b39b6fc5ae13b414ed76091c1))
|
||||
|
||||
## [0.2.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.8...@ivuorinen/semantic-release-config@0.2.9) (2023-12-15)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v22.0.12 ([#155](https://github.com/ivuorinen/base-configs/issues/155)) ([19c20d2](https://github.com/ivuorinen/base-configs/commit/19c20d277f777a6d562f423bc8d72b090ea85555))
|
||||
|
||||
## [0.2.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.7...@ivuorinen/semantic-release-config@0.2.8) (2023-12-15)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update devdependencies (patch) ([b79252a](https://github.com/ivuorinen/base-configs/commit/b79252a163ae15462984c84fd7950fc74da902b6))
|
||||
|
||||
## [0.2.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.6...@ivuorinen/semantic-release-config@0.2.7) (2023-12-09)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v22.0.10 ([b777ad1](https://github.com/ivuorinen/base-configs/commit/b777ad19263c6f1ac823a8e9a1d3cac7231d17da))
|
||||
|
||||
## [0.2.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.5...@ivuorinen/semantic-release-config@0.2.6) (2023-12-08)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v22.0.9 ([89af4ba](https://github.com/ivuorinen/base-configs/commit/89af4ba91c1143b4111ceaa74e0c62ecba01bf95))
|
||||
|
||||
## [0.2.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.4...@ivuorinen/semantic-release-config@0.2.5) (2023-11-20)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v22.0.8 ([62f850b](https://github.com/ivuorinen/base-configs/commit/62f850b611cf92de670453e9019a9909dff02e07))
|
||||
|
||||
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.3...@ivuorinen/semantic-release-config@0.2.4) (2023-11-07)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v22.0.7 ([dcdb0d4](https://github.com/ivuorinen/base-configs/commit/dcdb0d4ef8499b6e6700b70ba54fde77044dc452))
|
||||
|
||||
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.2...@ivuorinen/semantic-release-config@0.2.3) (2023-11-03)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v22.0.6 ([aece014](https://github.com/ivuorinen/base-configs/commit/aece0141735c20a7fc4f2be578a99d020bcfd504))
|
||||
|
||||
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.1...@ivuorinen/semantic-release-config@0.2.2) (2023-10-31)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/semantic-release-config
|
||||
|
||||
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.0...@ivuorinen/semantic-release-config@0.2.1) (2023-10-30)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/semantic-release-config
|
||||
|
||||
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.1.14...@ivuorinen/semantic-release-config@0.2.0) (2023-10-25)
|
||||
|
||||
### Features
|
||||
|
||||
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
|
||||
|
||||
## [0.1.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.1.13...@ivuorinen/semantic-release-config@0.1.14) (2023-10-24)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/semantic-release-config
|
||||
|
||||
## [0.1.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.1.12...@ivuorinen/semantic-release-config@0.1.13) (2023-10-11)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency semantic-release to v22 ([#97](https://github.com/ivuorinen/base-configs/issues/97)) ([a43c2d4](https://github.com/ivuorinen/base-configs/commit/a43c2d4b1c0e1ed792811c510594bfecb0176821))
|
||||
|
||||
## [0.1.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.1.11...@ivuorinen/semantic-release-config@0.1.12) (2023-09-20)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
# @ivuorinen/semantic-release-config <!-- omit in toc -->
|
||||
|
||||
[![npm package][npm-badge]][npm-link]
|
||||
[![license MIT][license-badge]][license-link]
|
||||
[![ivuorinen's Code Style][style-badge]][style-link]
|
||||
[![npm package][npm-badge]][npm-link] [![license MIT][license-badge]][license-link] [![ivuorinen's Code Style][style-badge]][style-link]
|
||||
|
||||
> ivuorinen's shareable configuration for [`semantic-release`][semantic-release-link].
|
||||
|
||||
@@ -82,8 +80,8 @@ jobs:
|
||||
uses: actions/setup-node@v2.1.5
|
||||
with:
|
||||
always-auth: true
|
||||
node-version: 14
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
node-version: 20
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- name: Install Dependencies with Caching
|
||||
uses: bahmutov/npm-install@v1.6.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ivuorinen/semantic-release-config",
|
||||
"version": "0.1.12",
|
||||
"version": "0.2.21",
|
||||
"description": "ivuorinen's shareable configuration for semantic-release.",
|
||||
"author": {
|
||||
"name": "Ismo Vuorinen",
|
||||
@@ -10,9 +10,7 @@
|
||||
"url": "https://github.com/ivuorinen/base-configs/issues"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 12",
|
||||
"npm": ">= 6",
|
||||
"yarn": ">=1.20.0"
|
||||
"node": ">= 18"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
@@ -38,9 +36,10 @@
|
||||
"postinstall": "node scripts/postinstall.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ivuorinen/config-checker": "^1.1.3",
|
||||
"@semantic-release/changelog": "6.0.3",
|
||||
"@semantic-release/git": "10.0.1",
|
||||
"semantic-release": "21.1.2"
|
||||
"semantic-release": "23.1.1"
|
||||
},
|
||||
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
|
||||
}
|
||||
|
||||
@@ -2,9 +2,18 @@
|
||||
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const process = require('process')
|
||||
const checkConfig = require('@ivuorinen/config-checker')
|
||||
const foundConfig = checkConfig('release')
|
||||
|
||||
if (foundConfig.length > 0) {
|
||||
console.log('semantic-release-config: Found existing semantic-release config file, skipping creation.')
|
||||
console.log('semantic-release-config: If you want to create a new config file, please remove the existing one.')
|
||||
console.log(`semantic-release-config: Found config files at: ${foundConfig.join(', ')}`)
|
||||
process.exit(0)
|
||||
}
|
||||
|
||||
const filePath = path.join(process.env.INIT_CWD, '.releaserc.json')
|
||||
|
||||
const fileConfigObject = {
|
||||
extends: ['@ivuorinen/semantic-release-config']
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,6 +2,170 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [0.2.25](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.24...@ivuorinen/stylelint-config@0.2.25) (2024-05-28)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint to v16.6.0 ([#252](https://github.com/ivuorinen/base-configs/issues/252)) ([56bccc8](https://github.com/ivuorinen/base-configs/commit/56bccc840e2dca4ff39b4351dcd09d3be3849f2b))
|
||||
|
||||
## [0.2.24](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.23...@ivuorinen/stylelint-config@0.2.24) (2024-05-07)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint-scss to v6.3.0 ([#240](https://github.com/ivuorinen/base-configs/issues/240)) ([8bf9433](https://github.com/ivuorinen/base-configs/commit/8bf9433d49da02383dd2671bafd060a6b079522c))
|
||||
|
||||
## [0.2.23](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.22...@ivuorinen/stylelint-config@0.2.23) (2024-05-05)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/stylelint-config
|
||||
|
||||
## [0.2.22](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.21...@ivuorinen/stylelint-config@0.2.22) (2024-05-05)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint to v16.5.0 ([#237](https://github.com/ivuorinen/base-configs/issues/237)) ([21968fb](https://github.com/ivuorinen/base-configs/commit/21968fb8895f95f5c37c18098d2af1061f1c5575))
|
||||
|
||||
## [0.2.21](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.20...@ivuorinen/stylelint-config@0.2.21) (2024-04-27)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint to v16.4.0 ([#231](https://github.com/ivuorinen/base-configs/issues/231)) ([f8186cb](https://github.com/ivuorinen/base-configs/commit/f8186cb1fef6144a9e83cc373952cee84917a0c4))
|
||||
|
||||
## [0.2.20](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.19...@ivuorinen/stylelint-config@0.2.20) (2024-03-30)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint to v16.3.1 ([dd8dcd2](https://github.com/ivuorinen/base-configs/commit/dd8dcd2b7d8e14c7cb5d434df88ac4dc3cfca3fa))
|
||||
|
||||
## [0.2.19](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.18...@ivuorinen/stylelint-config@0.2.19) (2024-03-27)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint to v16.3.0 ([#212](https://github.com/ivuorinen/base-configs/issues/212)) ([c0bea73](https://github.com/ivuorinen/base-configs/commit/c0bea73d1d83b2503f11209bf2da334c80410b08))
|
||||
|
||||
## [0.2.18](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.17...@ivuorinen/stylelint-config@0.2.18) (2024-03-09)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint-scss to v6.2.1 ([afa8a81](https://github.com/ivuorinen/base-configs/commit/afa8a811529f7cd3894e17f2de65b240dba4df0a))
|
||||
|
||||
## [0.2.17](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.16...@ivuorinen/stylelint-config@0.2.17) (2024-03-08)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint-scss to v6.2.0 ([#200](https://github.com/ivuorinen/base-configs/issues/200)) ([c4f7a0f](https://github.com/ivuorinen/base-configs/commit/c4f7a0f493816d48e91bf4ed4564499242a225c0))
|
||||
|
||||
## [0.2.16](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.15...@ivuorinen/stylelint-config@0.2.16) (2024-02-04)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint to v16.2.1 ([68ef8df](https://github.com/ivuorinen/base-configs/commit/68ef8dfb8961633d5ea14473fbb48f820b4ae2cb))
|
||||
|
||||
## [0.2.15](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.14...@ivuorinen/stylelint-config@0.2.15) (2024-01-25)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint-scss to v6.1.0 ([#179](https://github.com/ivuorinen/base-configs/issues/179)) ([4f9f867](https://github.com/ivuorinen/base-configs/commit/4f9f8675ed12232f1fe0049a3f72bb6c896557b1))
|
||||
|
||||
## [0.2.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.13...@ivuorinen/stylelint-config@0.2.14) (2024-01-23)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint to v16.2.0 ([#178](https://github.com/ivuorinen/base-configs/issues/178)) ([72cb9e1](https://github.com/ivuorinen/base-configs/commit/72cb9e190a154a4ac832445bd1105bf04f42558e))
|
||||
|
||||
## [0.2.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.12...@ivuorinen/stylelint-config@0.2.13) (2023-12-29)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint-config-standard to v36 ([#162](https://github.com/ivuorinen/base-configs/issues/162)) ([e289759](https://github.com/ivuorinen/base-configs/commit/e28975966900b329c39286d2f7abe598398b89a0))
|
||||
|
||||
## [0.2.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.11...@ivuorinen/stylelint-config@0.2.12) (2023-12-29)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint to v16.1.0 ([#161](https://github.com/ivuorinen/base-configs/issues/161)) ([b9f17cb](https://github.com/ivuorinen/base-configs/commit/b9f17cbe98e3278bd94768303f14e562527baf94))
|
||||
|
||||
## [0.2.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.10...@ivuorinen/stylelint-config@0.2.11) (2023-12-15)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint-config-recommended-scss to v14 ([#153](https://github.com/ivuorinen/base-configs/issues/153)) ([f5b0e84](https://github.com/ivuorinen/base-configs/commit/f5b0e8485b4e2998d404a6172e48ed44ac0f395e))
|
||||
|
||||
## [0.2.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.9...@ivuorinen/stylelint-config@0.2.10) (2023-12-15)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint-scss to v6 ([#154](https://github.com/ivuorinen/base-configs/issues/154)) ([d48a98b](https://github.com/ivuorinen/base-configs/commit/d48a98b69eb96a48abe9e144f4c8bb273297557f))
|
||||
|
||||
## [0.2.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.8...@ivuorinen/stylelint-config@0.2.9) (2023-12-15)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update devdependencies (patch) ([b79252a](https://github.com/ivuorinen/base-configs/commit/b79252a163ae15462984c84fd7950fc74da902b6))
|
||||
|
||||
## [0.2.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.7...@ivuorinen/stylelint-config@0.2.8) (2023-12-12)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint-config-standard to v35 ([#148](https://github.com/ivuorinen/base-configs/issues/148)) ([ee6abbd](https://github.com/ivuorinen/base-configs/commit/ee6abbdda70a04514a0c9c98f48fe0b3dfa775ec))
|
||||
|
||||
## [0.2.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.6...@ivuorinen/stylelint-config@0.2.7) (2023-12-12)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint to v16 ([#147](https://github.com/ivuorinen/base-configs/issues/147)) ([25655b9](https://github.com/ivuorinen/base-configs/commit/25655b9c78a6ef1be4f695dbd0b34de4f1401c4b))
|
||||
|
||||
## [0.2.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.5...@ivuorinen/stylelint-config@0.2.6) (2023-12-12)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint-order to v6.0.4 ([83e5b84](https://github.com/ivuorinen/base-configs/commit/83e5b8478520cb6f79a9b5a88666b1922e3632f7))
|
||||
|
||||
## [0.2.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.4...@ivuorinen/stylelint-config@0.2.5) (2023-11-10)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint-scss to v5.3.1 ([#130](https://github.com/ivuorinen/base-configs/issues/130)) ([720ffa1](https://github.com/ivuorinen/base-configs/commit/720ffa18ba37f7a336f73e48049add5e42133a39))
|
||||
|
||||
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.3...@ivuorinen/stylelint-config@0.2.4) (2023-11-06)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint-config-recommended-scss to v13.1.0 ([6155ae5](https://github.com/ivuorinen/base-configs/commit/6155ae52a6431f23930c211b041819dcf6a206fa))
|
||||
|
||||
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.2...@ivuorinen/stylelint-config@0.2.3) (2023-11-01)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint-scss to v5.3.0 ([#122](https://github.com/ivuorinen/base-configs/issues/122)) ([d139003](https://github.com/ivuorinen/base-configs/commit/d139003e0d6607add7cd2f88ac14ad9c5be352c6))
|
||||
|
||||
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.1...@ivuorinen/stylelint-config@0.2.2) (2023-10-31)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/stylelint-config
|
||||
|
||||
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.0...@ivuorinen/stylelint-config@0.2.1) (2023-10-30)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/stylelint-config
|
||||
|
||||
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.33...@ivuorinen/stylelint-config@0.2.0) (2023-10-25)
|
||||
|
||||
### Features
|
||||
|
||||
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
|
||||
|
||||
## [0.1.33](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.32...@ivuorinen/stylelint-config@0.1.33) (2023-10-24)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/stylelint-config
|
||||
|
||||
## [0.1.32](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.31...@ivuorinen/stylelint-config@0.1.32) (2023-10-22)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **deps:** update dependency stylelint to v15.11.0 ([#111](https://github.com/ivuorinen/base-configs/issues/111)) ([71165bb](https://github.com/ivuorinen/base-configs/commit/71165bbf376a62d47d1fa145c34c9aae330cb6a9))
|
||||
|
||||
## [0.1.31](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.30...@ivuorinen/stylelint-config@0.1.31) (2023-10-08)
|
||||
|
||||
**Note:** Version bump only for package @ivuorinen/stylelint-config
|
||||
|
||||
## [0.1.30](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.29...@ivuorinen/stylelint-config@0.1.30) (2023-09-19)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
# @ivuorinen/stylelint-config <!-- omit in toc -->
|
||||
|
||||
[![npm package][npm-badge]][npm-link]
|
||||
[![license MIT][license-badge]][license-link]
|
||||
[![ivuorinen's Code Style][style-badge]][style-link]
|
||||
[![npm package][npm-badge]][npm-link] [![license MIT][license-badge]][license-link] [![ivuorinen's Code Style][style-badge]][style-link]
|
||||
|
||||
> ivuorinen's shareable configuration for [`stylelint`][stylelint-link].
|
||||
|
||||
@@ -74,7 +72,6 @@ The defined rules can be modified by adding other configurations, plugins or cus
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
## Documentations
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ivuorinen/stylelint-config",
|
||||
"version": "0.1.30",
|
||||
"version": "0.2.25",
|
||||
"description": "ivuorinen's shareable configuration for stylelint.",
|
||||
"author": {
|
||||
"name": "Ismo Vuorinen",
|
||||
@@ -10,9 +10,7 @@
|
||||
"url": "https://github.com/ivuorinen/base-configs/issues"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 12",
|
||||
"npm": ">= 6",
|
||||
"yarn": ">=1.20.0"
|
||||
"node": ">= 18"
|
||||
},
|
||||
"files": [
|
||||
"css/index.js",
|
||||
@@ -39,11 +37,13 @@
|
||||
"postinstall": "node scripts/postinstall.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"stylelint": "15.10.3",
|
||||
"stylelint-config-recommended-scss": "13.0.0",
|
||||
"stylelint-config-standard": "34.0.0",
|
||||
"stylelint-order": "6.0.3",
|
||||
"stylelint-scss": "5.2.1"
|
||||
"@ivuorinen/config-checker": "^1.1.3",
|
||||
"postcss": "^8.4.2",
|
||||
"stylelint": "16.6.0",
|
||||
"stylelint-config-recommended-scss": "14.0.0",
|
||||
"stylelint-config-standard": "36.0.0",
|
||||
"stylelint-order": "6.0.4",
|
||||
"stylelint-scss": "6.3.0"
|
||||
},
|
||||
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
|
||||
}
|
||||
|
||||
@@ -2,9 +2,18 @@
|
||||
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const process = require('process')
|
||||
const checkConfig = require('@ivuorinen/config-checker')
|
||||
const foundConfig = checkConfig('stylelint')
|
||||
|
||||
if (foundConfig.length > 0) {
|
||||
console.log('stylelint-config: Found existing stylelint config file, skipping creation.')
|
||||
console.log('stylelint-config: If you want to create a new config file, please remove the existing one.')
|
||||
console.log(`stylelint-config: Found config files at: ${foundConfig.join(', ')}`)
|
||||
process.exit(0)
|
||||
}
|
||||
|
||||
const filePath = path.join(process.env.INIT_CWD, '.stylelintrc.json')
|
||||
|
||||
const fileConfigObject = {
|
||||
extends: ['@ivuorinen/stylelint-config/css']
|
||||
}
|
||||
|
||||
@@ -19,10 +19,7 @@ module.exports = {
|
||||
'scss/dollar-variable-no-missing-interpolation': true,
|
||||
'scss/dollar-variable-pattern': '^[a-z][a-z-\\d]*$',
|
||||
'scss/media-feature-value-dollar-variable': null,
|
||||
'scss/no-duplicate-dollar-variables': [
|
||||
null,
|
||||
{ ignoreInsideAtRules: ['if', 'mixin'] }
|
||||
],
|
||||
'scss/no-duplicate-dollar-variables': [null, { ignoreInsideAtRules: ['if', 'mixin'] }],
|
||||
'scss/no-duplicate-mixins': true,
|
||||
'scss/operator-no-newline-after': true,
|
||||
'scss/operator-no-newline-before': true,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user