Compare commits

...

194 Commits

Author SHA1 Message Date
renovate[bot]
964ab717ab chore(release): publish
- @ivuorinen/base-configs@1.1.30
 - @ivuorinen/commitlint-config@0.2.9
2024-01-07 20:30:37 +00:00
renovate[bot]
5b1c8e213d fix(deps): update devdependencies (patch) to v18.4.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-07 20:30:07 +00:00
renovate[bot]
11e0504274 chore(release): publish
- @ivuorinen/base-configs@1.1.29
 - @ivuorinen/eslint-config@0.4.13
2024-01-05 06:14:09 +00:00
renovate[bot]
0004edf5cf fix(deps): update dependency eslint-plugin-n to v16.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-05 06:13:32 +00:00
renovate[bot]
5f3e96d72b chore(release): publish
- @ivuorinen/base-configs@1.1.28
 - @ivuorinen/eslint-config@0.4.12
2024-01-05 00:35:44 +00:00
renovate[bot]
8a3281b03c fix(deps): update dependency eslint-plugin-jest to v27.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-05 00:35:14 +00:00
ivuorinen
2e0f3bc459 chore(release): publish
- @ivuorinen/base-configs@1.1.27
 - @ivuorinen/eslint-config@0.4.11
2024-01-03 07:24:56 +00:00
renovate[bot]
a88b1a8452 fix(deps): update dependency eslint-plugin-n to v16.6.0 (#163) 2024-01-03 09:24:26 +02:00
ivuorinen
3519e56c01 chore(release): publish
- @ivuorinen/stylelint-config@0.2.13
2023-12-29 10:28:08 +00:00
renovate[bot]
e289759669 fix(deps): update dependency stylelint-config-standard to v36 (#162) 2023-12-29 12:27:39 +02:00
ivuorinen
8a7dfe8c0e chore(release): publish
- @ivuorinen/stylelint-config@0.2.12
2023-12-29 10:25:15 +00:00
renovate[bot]
b9f17cbe98 fix(deps): update dependency stylelint to v16.1.0 (#161) 2023-12-29 12:24:41 +02:00
9ed0a8100f chore(deps): update dependencies 2023-12-25 02:30:01 +02:00
Ismo Vuorinen
7979648be9 Create SECURITY.md 2023-12-25 02:21:38 +02:00
renovate[bot]
d6367c9421 chore(deps): update dependency lerna to v8 (#140)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-25 02:10:20 +02:00
ivuorinen
ff2edddb8a chore(release): publish
- @ivuorinen/base-configs@1.1.26
 - @ivuorinen/eslint-config@0.4.10
2023-12-24 20:25:31 +00:00
renovate[bot]
49f4815073 fix(deps): update dependency eslint-plugin-n to v16.5.0 (#159) 2023-12-24 22:25:01 +02:00
renovate[bot]
e9ef8e94af chore(deps): update dependency eslint-plugin-unicorn to v50 (#160) 2023-12-24 22:24:11 +02:00
ivuorinen
4d80d67538 chore(release): publish
- @ivuorinen/base-configs@1.1.25
 - @ivuorinen/eslint-config@0.4.9
2023-12-19 01:24:44 +00:00
renovate[bot]
7d744512fb fix(deps): update dependency eslint to v8.56.0 (#158) 2023-12-19 03:24:14 +02:00
renovate[bot]
0613d51b8f chore(deps): update actions/setup-node action to v4.0.1 (#157) 2023-12-19 03:23:22 +02:00
renovate[bot]
132e88cec2 chore(release): publish
- @ivuorinen/base-configs@1.1.24
 - @ivuorinen/eslint-config@0.4.8
2023-12-17 22:41:19 +00:00
renovate[bot]
6e63c7c5b2 fix(deps): update dependency eslint-plugin-import to v2.29.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-17 22:40:48 +00:00
ivuorinen
2cf7dd7fef chore(release): publish
- @ivuorinen/base-configs@1.1.23
 - @ivuorinen/semantic-release-config@0.2.9
2023-12-15 23:02:23 +00:00
renovate[bot]
19c20d277f fix(deps): update dependency semantic-release to v22.0.12 (#155) 2023-12-16 01:01:53 +02:00
ivuorinen
132e1cd6d3 chore(release): publish
- @ivuorinen/stylelint-config@0.2.11
2023-12-15 11:15:52 +00:00
renovate[bot]
f5b0e8485b fix(deps): update dependency stylelint-config-recommended-scss to v14 (#153) 2023-12-15 13:15:24 +02:00
ivuorinen
029aa6a24b chore(release): publish
- @ivuorinen/stylelint-config@0.2.10
2023-12-15 11:14:00 +00:00
renovate[bot]
d48a98b69e fix(deps): update dependency stylelint-scss to v6 (#154) 2023-12-15 13:13:28 +02:00
renovate[bot]
05de6cf65a chore(deps): update github/codeql-action action to v3 (#152) 2023-12-15 13:11:03 +02:00
ivuorinen
700530f95a chore(release): publish
- @ivuorinen/base-configs@1.1.22
 - @ivuorinen/eslint-config@0.4.7
2023-12-15 11:10:45 +00:00
renovate[bot]
53966d5649 fix(deps): update dependency eslint-plugin-n to v16.4.0 (#151) 2023-12-15 13:10:11 +02:00
renovate[bot]
d72a38fc43 chore(release): publish
- @ivuorinen/base-configs@1.1.21
 - @ivuorinen/prettier-config@0.2.4
 - @ivuorinen/semantic-release-config@0.2.8
 - @ivuorinen/stylelint-config@0.2.9
2023-12-15 01:59:43 +00:00
renovate[bot]
b79252a163 fix(deps): update devdependencies (patch)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-15 01:59:11 +00:00
ivuorinen
009156b2fc chore(release): publish
- @ivuorinen/base-configs@1.1.20
 - @ivuorinen/markdownlint-config@0.2.3
2023-12-13 21:27:51 +00:00
renovate[bot]
12d1639290 fix(deps): update dependency markdownlint-cli to v0.38.0 (#149) 2023-12-13 23:27:19 +02:00
ivuorinen
2f69a73332 chore(release): publish
- @ivuorinen/stylelint-config@0.2.8
2023-12-12 05:59:47 +00:00
renovate[bot]
ee6abbdda7 fix(deps): update dependency stylelint-config-standard to v35 (#148) 2023-12-12 07:59:16 +02:00
ivuorinen
f7731ee425 chore(release): publish
- @ivuorinen/stylelint-config@0.2.7
2023-12-12 05:59:10 +00:00
renovate[bot]
25655b9c78 fix(deps): update dependency stylelint to v16 (#147) 2023-12-12 07:58:41 +02:00
renovate[bot]
2db399e778 chore(release): publish
- @ivuorinen/stylelint-config@0.2.6
2023-12-12 01:37:28 +00:00
renovate[bot]
83e5b84785 fix(deps): update dependency stylelint-order to v6.0.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 01:36:56 +00:00
renovate[bot]
222ef15fc9 chore(release): publish
- @ivuorinen/base-configs@1.1.19
 - @ivuorinen/semantic-release-config@0.2.7
2023-12-09 10:04:29 +00:00
renovate[bot]
b777ad1926 fix(deps): update dependency semantic-release to v22.0.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-09 10:03:57 +00:00
renovate[bot]
f5c6114db7 chore(deps): update actions/stale action to v9 (#143) 2023-12-08 13:24:59 +02:00
renovate[bot]
c5233d9435 chore(release): publish
- @ivuorinen/base-configs@1.1.18
 - @ivuorinen/semantic-release-config@0.2.6
2023-12-08 06:30:38 +00:00
renovate[bot]
89af4ba91c fix(deps): update dependency semantic-release to v22.0.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 06:30:06 +00:00
ivuorinen
82d80210c7 chore(release): publish
- @ivuorinen/base-configs@1.1.17
 - @ivuorinen/browserslist-config@0.2.3
2023-12-07 01:02:52 +00:00
renovate[bot]
990936cc8b fix(deps): update dependency browserslist to v4.22.2 (#142) 2023-12-07 03:02:23 +02:00
ivuorinen
aa0ce496b8 chore(release): publish
- @ivuorinen/base-configs@1.1.16
 - @ivuorinen/eslint-config@0.4.6
2023-12-05 14:27:25 +00:00
renovate[bot]
694b4892e5 fix(deps): update dependency eslint to v8.55.0 (#141) 2023-12-05 16:26:55 +02:00
ivuorinen
b244a44075 chore(release): publish
- @ivuorinen/base-configs@1.1.15
 - @ivuorinen/commitlint-config@0.2.8
2023-11-24 06:12:37 +00:00
renovate[bot]
0b592d6888 fix(deps): update commitlint to v18.4.3 (#139)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-24 08:12:07 +02:00
ivuorinen
b290a6fe74 chore(release): publish
- @ivuorinen/base-configs@1.1.14
 - @ivuorinen/eslint-config@0.4.5
2023-11-21 11:07:59 +00:00
renovate[bot]
ab276d0c80 fix(deps): update dependency eslint to v8.54.0 (#138) 2023-11-21 13:07:27 +02:00
renovate[bot]
e8d0ff5cf9 chore(release): publish
- @ivuorinen/base-configs@1.1.13
 - @ivuorinen/semantic-release-config@0.2.5
2023-11-20 07:25:30 +00:00
renovate[bot]
62f850b611 fix(deps): update dependency semantic-release to v22.0.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 07:24:59 +00:00
renovate[bot]
9357cc124e chore(release): publish
- @ivuorinen/base-configs@1.1.12
 - @ivuorinen/commitlint-config@0.2.7
2023-11-19 06:52:04 +00:00
renovate[bot]
22de2efbab fix(deps): update devdependencies (patch) to v18.4.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-19 06:51:33 +00:00
ivuorinen
15ee9029e2 chore(release): publish
- @ivuorinen/base-configs@1.1.11
 - @ivuorinen/prettier-config@0.2.3
2023-11-16 07:53:00 +00:00
renovate[bot]
4ecaa73be8 fix(deps): update dependency prettier to v3.1.0 (#135)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 09:52:28 +02:00
renovate[bot]
ee8d8254ae chore(release): publish
- @ivuorinen/base-configs@1.1.10
 - @ivuorinen/commitlint-config@0.2.6
2023-11-16 00:15:06 +00:00
renovate[bot]
10bd9c035a fix(deps): update dependency @commitlint/cli to v18.4.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 00:14:36 +00:00
ivuorinen
f97be06a9e chore(release): publish
- @ivuorinen/base-configs@1.1.9
 - @ivuorinen/commitlint-config@0.2.5
2023-11-14 06:08:24 +00:00
renovate[bot]
dc38a94b97 fix(deps): update commitlint monorepo to v18.4.0 (#133) 2023-11-14 08:07:53 +02:00
renovate[bot]
c19215a392 chore(release): publish
- @ivuorinen/base-configs@1.1.8
 - @ivuorinen/eslint-config@0.4.4
2023-11-14 00:59:00 +00:00
renovate[bot]
e9676169d0 fix(deps): update dependency eslint-plugin-n to v16.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-14 00:58:26 +00:00
ivuorinen
53507dd974 chore(release): publish
- @ivuorinen/base-configs@1.1.7
 - @ivuorinen/eslint-config@0.4.3
2023-11-11 00:57:03 +00:00
renovate[bot]
739bd743aa fix(deps): update dependency eslint-plugin-n to v16.3.0 (#131) 2023-11-11 02:56:34 +02:00
ivuorinen
44bdad5f94 chore(release): publish
- @ivuorinen/stylelint-config@0.2.5
2023-11-10 04:08:18 +00:00
renovate[bot]
720ffa18ba fix(deps): update dependency stylelint-scss to v5.3.1 (#130) 2023-11-10 06:07:49 +02:00
ivuorinen
a610ef2219 chore(release): publish
- @ivuorinen/base-configs@1.1.6
 - @ivuorinen/eslint-config@0.4.2
2023-11-07 03:30:51 +00:00
renovate[bot]
14f93ceb59 fix(deps): update eslint
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 05:30:13 +02:00
renovate[bot]
d6a7b0cc76 chore(release): publish
- @ivuorinen/base-configs@1.1.5
 - @ivuorinen/semantic-release-config@0.2.4
2023-11-07 00:20:45 +00:00
renovate[bot]
dcdb0d4ef8 fix(deps): update dependency semantic-release to v22.0.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 00:20:06 +00:00
ivuorinen
d878f37839 chore(release): publish
- @ivuorinen/stylelint-config@0.2.4
2023-11-06 06:05:25 +00:00
renovate[bot]
6155ae52a6 fix(deps): update dependency stylelint-config-recommended-scss to v13.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-06 08:04:51 +02:00
ivuorinen
304f50e121 chore(release): publish
- @ivuorinen/base-configs@1.1.4
 - @ivuorinen/eslint-config@0.4.1
2023-11-04 20:42:11 +00:00
renovate[bot]
13e945747f fix(deps): update dependency eslint-plugin-sonarjs to v0.22.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-04 22:36:31 +02:00
renovate[bot]
9f6752a4c2 chore(release): publish
- @ivuorinen/base-configs@1.1.3
 - @ivuorinen/semantic-release-config@0.2.3
2023-11-03 06:20:55 +00:00
renovate[bot]
aece014173 fix(deps): update dependency semantic-release to v22.0.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-03 06:20:27 +00:00
renovate[bot]
4f193e77a1 chore(deps): update dependency eslint-plugin-unicorn to v49 (#124) 2023-11-02 07:22:02 +02:00
ivuorinen
5ba99e9088 chore(release): publish
- @ivuorinen/base-configs@1.1.2
 - @ivuorinen/eslint-config@0.4.0
2023-11-01 09:48:48 +00:00
Ismo Vuorinen
1a40d9b0ad feat: add eslint-config-prettier 2023-11-01 11:48:09 +02:00
ivuorinen
3122cf3997 chore(release): publish
- @ivuorinen/stylelint-config@0.2.3
2023-11-01 05:14:47 +00:00
renovate[bot]
975715412f chore(deps): update dependency eslint-formatter-pretty to v6 (#123) 2023-11-01 07:14:19 +02:00
renovate[bot]
d139003e0d fix(deps): update dependency stylelint-scss to v5.3.0 (#122) 2023-11-01 07:14:00 +02:00
ivuorinen
007b29019e chore(release): publish
- @ivuorinen/base-configs@1.1.1
 - @ivuorinen/browserslist-config@0.2.2
 - @ivuorinen/commitlint-config@0.2.4
 - @ivuorinen/config-checker@1.1.2
 - @ivuorinen/eslint-config@0.3.4
 - @ivuorinen/markdownlint-config@0.2.2
 - @ivuorinen/prettier-config@0.2.2
 - @ivuorinen/semantic-release-config@0.2.2
 - @ivuorinen/stylelint-config@0.2.2
2023-10-31 09:23:11 +00:00
Ismo Vuorinen
58812035c1 chore(docs): improved readme 2023-10-31 11:22:41 +02:00
Ismo Vuorinen
1a47cca54c chore(docs): better readme 2023-10-31 11:22:11 +02:00
ivuorinen
33a338c347 chore(release): publish
- @ivuorinen/base-configs@1.1.0
 - @ivuorinen/browserslist-config@0.2.1
 - @ivuorinen/commitlint-config@0.2.3
 - @ivuorinen/config-checker@1.1.1
 - @ivuorinen/eslint-config@0.3.3
 - @ivuorinen/markdownlint-config@0.2.1
 - @ivuorinen/prettier-config@0.2.1
 - @ivuorinen/semantic-release-config@0.2.1
 - @ivuorinen/stylelint-config@0.2.1
2023-10-30 11:55:37 +00:00
Ismo Vuorinen
a980c0d342 chore(lint): lint all and remove extra files 2023-10-30 13:54:51 +02:00
Ismo Vuorinen
3a0a571fab chore(base-configs): lint files 2023-10-30 13:48:10 +02:00
Ismo Vuorinen
88dbe395d1 fix(base-configs): convert config from ES module 2023-10-30 13:41:56 +02:00
Ismo Vuorinen
ccce8ce539 chore(deps): upgrade root dependencies 2023-10-30 13:38:08 +02:00
Ismo Vuorinen
feddfcfdba feat(package): new pkg: @ivuorinen/base-configs (#121) 2023-10-30 13:31:47 +02:00
renovate[bot]
83d10c71dd chore(deps): update dependency eslint-plugin-prettier to v5 (#64) 2023-10-30 07:54:56 +02:00
renovate[bot]
15e815a53d fix(deps): update dependency prettier to v3 (#58) 2023-10-30 07:53:56 +02:00
ivuorinen
7701598952 chore(release): publish
- @ivuorinen/eslint-config@0.3.2
2023-10-29 22:55:33 +00:00
renovate[bot]
106f7555e3 fix(deps): update dependency eslint-plugin-jest to v27.6.0 (#120)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-30 00:54:57 +02:00
ivuorinen
da4723b217 chore(release): publish
- @ivuorinen/commitlint-config@0.2.2
2023-10-29 12:29:20 +00:00
renovate[bot]
1c2b5d6faf fix(deps): update dependency @commitlint/cli to v18.2.0 (#119) 2023-10-29 14:28:40 +02:00
ivuorinen
004dfeb14a chore(release): publish
- @ivuorinen/commitlint-config@0.2.1
2023-10-28 14:17:17 +00:00
renovate[bot]
3cbb85289a fix(deps): update commitlint monorepo to v18.1.0 (#118) 2023-10-28 17:16:42 +03:00
ivuorinen
030322915d chore(release): publish
- @ivuorinen/eslint-config@0.3.1
2023-10-27 12:38:28 +00:00
renovate[bot]
f1507a230f fix(deps): update dependency eslint-plugin-import to v2.29.0 (#117) 2023-10-27 15:37:45 +03:00
ivuorinen
f3a80ecd3e chore(release): publish
- @ivuorinen/browserslist-config@0.2.0
 - @ivuorinen/commitlint-config@0.2.0
 - @ivuorinen/eslint-config@0.3.0
 - @ivuorinen/markdownlint-config@0.2.0
 - @ivuorinen/prettier-config@0.2.0
 - @ivuorinen/semantic-release-config@0.2.0
 - @ivuorinen/stylelint-config@0.2.0
2023-10-25 20:10:05 +00:00
Ismo Vuorinen
9beafec486 feat: skip config creation if one already found (#110)
This commit introduces mechanism that'll check for common configuration file locations and respects the original file.
2023-10-25 23:09:15 +03:00
ivuorinen
56362dad96 chore(release): publish
- @ivuorinen/config-checker@1.1.0
2023-10-25 19:20:33 +00:00
Ismo Vuorinen
9d372493e8 feat(config-checker): new package: config-checker 2023-10-25 22:19:45 +03:00
Ismo Vuorinen
83e3823b9e chore(repo): updated lerna workspace 2023-10-24 12:30:37 +03:00
ivuorinen
f65b10c109 chore(release): publish
- @ivuorinen/browserslist-config@0.1.12
 - @ivuorinen/commitlint-config@0.1.14
 - @ivuorinen/eslint-config@0.2.19
 - @ivuorinen/markdownlint-config@0.1.7
 - @ivuorinen/prettier-config@0.1.2
 - @ivuorinen/semantic-release-config@0.1.14
 - @ivuorinen/stylelint-config@0.1.33
2023-10-24 09:10:40 +00:00
Ismo Vuorinen
0fe66c6dcb feat(deps)!: upgrade node to v18, minimum (#116) 2023-10-24 12:09:48 +03:00
renovate[bot]
0a8c40f27d fix(deps): update commitlint monorepo to v18 (#115)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 08:23:48 +03:00
renovate[bot]
2b1d897e6d chore(deps): update actions/setup-node action to v4 (#114)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 08:18:34 +03:00
ivuorinen
6ad02bd96b chore(release): publish
- @ivuorinen/eslint-config@0.2.18
2023-10-24 05:18:13 +00:00
renovate[bot]
4eff12a838 fix(deps): update eslint (#113)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 08:17:32 +03:00
renovate[bot]
946e87a02a chore(release): publish
- @ivuorinen/commitlint-config@0.1.13
2023-10-24 00:50:54 +00:00
renovate[bot]
94419d862b fix(deps): update devdependencies (patch)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 00:50:08 +00:00
ivuorinen
a2dd21576a chore(release): publish
- @ivuorinen/stylelint-config@0.1.32
2023-10-22 21:56:09 +00:00
renovate[bot]
71165bbf37 fix(deps): update dependency stylelint to v15.11.0 (#111) 2023-10-23 00:55:36 +03:00
ivuorinen
7728133e25 chore(release): publish
- @ivuorinen/commitlint-config@0.1.12
2023-10-18 06:26:27 +00:00
renovate[bot]
268ba2894b fix(deps): update commitlint monorepo to v17.8.0 (#109)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 09:25:50 +03:00
renovate[bot]
b3058a68c7 chore(deps): update actions/checkout action to v4.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 01:42:23 +00:00
ivuorinen
dbc5ca08ee chore(release): publish
- @ivuorinen/eslint-config@0.2.17
2023-10-15 06:50:43 +00:00
renovate[bot]
39d50e551c fix(deps): update dependency eslint-plugin-n to v16.2.0 (#107) 2023-10-15 09:49:56 +03:00
ivuorinen
d6224d92b6 chore(release): publish
- @ivuorinen/eslint-config@0.2.16
2023-10-11 13:13:44 +00:00
Ismo Vuorinen
ba298a6e12 feat(eslint)!: update node engine restrictions 2023-10-11 16:13:06 +03:00
ivuorinen
5d870960c8 chore(release): publish
- @ivuorinen/browserslist-config@0.1.11
2023-10-11 13:12:21 +00:00
Ismo Vuorinen
998a3ffda7 feat(browserslist)!: update browser & node config 2023-10-11 16:11:49 +03:00
ivuorinen
2c3e57b970 chore(release): publish
- @ivuorinen/semantic-release-config@0.1.13
2023-10-11 07:16:44 +00:00
renovate[bot]
a43c2d4b1c fix(deps): update dependency semantic-release to v22 (#97)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 10:15:54 +03:00
ivuorinen
fede967b42 chore(release): publish
- @ivuorinen/eslint-config@0.2.15
2023-10-10 12:58:18 +00:00
renovate[bot]
591bf2aa52 fix(deps): update dependency eslint to v8.51.0 (#106)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 15:57:31 +03:00
ivuorinen
b66a5f4dd2 chore(release): publish
- @ivuorinen/stylelint-config@0.1.31
2023-10-08 23:34:07 +00:00
dependabot[bot]
fd0eb39958 chore(deps): bump postcss in /packages/stylelint-config (#105) 2023-10-09 02:33:32 +03:00
renovate[bot]
8df671da16 chore(release): publish
- @ivuorinen/eslint-config@0.2.14
2023-10-03 00:56:00 +00:00
renovate[bot]
5cea8144d7 fix(deps): update dependency eslint-plugin-jest to v27.4.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-03 00:55:21 +00:00
renovate[bot]
fee80a3c0e chore(release): publish
- @ivuorinen/browserslist-config@0.1.10
 - @ivuorinen/commitlint-config@0.1.11
2023-10-02 00:38:06 +00:00
renovate[bot]
e2506fd7c3 fix(deps): update devdependencies (patch)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 00:37:31 +00:00
ivuorinen
c24c1859f1 chore(release): publish
- @ivuorinen/browserslist-config@0.1.9
2023-09-30 20:18:52 +00:00
renovate[bot]
57befef7a7 fix(deps): update dependency browserslist to v4.22.0 (#102) 2023-09-30 23:18:18 +03:00
ivuorinen
2346b3b448 chore(release): publish
- @ivuorinen/markdownlint-config@0.1.6
2023-09-26 08:15:10 +00:00
renovate[bot]
615ae83528 fix(deps): update dependency markdownlint-cli to v0.37.0 (#101)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 11:14:33 +03:00
ivuorinen
90cf17306f chore(release): publish
- @ivuorinen/eslint-config@0.2.13
2023-09-26 08:14:20 +00:00
renovate[bot]
91e807f93a fix(deps): update dependency eslint to v8.50.0 (#100)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 11:13:44 +03:00
renovate[bot]
0ca80c04c6 chore(release): publish
- @ivuorinen/browserslist-config@0.1.8
2023-09-25 01:20:21 +00:00
renovate[bot]
dc2d92f1e3 fix(deps): update dependency browserslist to v4.21.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 01:19:41 +00:00
renovate[bot]
e66c2ad9b5 chore(deps): update actions/checkout action to v4.1.0 (#98)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-24 22:35:06 +03:00
renovate[bot]
60ffee863d chore(release): publish
- @ivuorinen/semantic-release-config@0.1.12
2023-09-20 00:20:54 +00:00
renovate[bot]
81dc3bed60 fix(deps): update dependency semantic-release to v21.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 00:20:19 +00:00
ivuorinen
d817b5ac4d chore(release): publish
- @ivuorinen/eslint-config@0.2.12
2023-09-19 06:20:06 +00:00
renovate[bot]
f4579cceb5 fix(deps): update dependency eslint-plugin-jest to v27.4.0 (#95) 2023-09-19 09:19:28 +03:00
renovate[bot]
cedf30efff chore(release): publish
- @ivuorinen/stylelint-config@0.1.30
2023-09-19 01:38:24 +00:00
renovate[bot]
52091b86f0 fix(deps): update dependency stylelint-scss to v5.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 01:37:44 +00:00
ivuorinen
a5e28b66fb chore(release): publish
- @ivuorinen/stylelint-config@0.1.29
2023-09-18 05:55:54 +00:00
renovate[bot]
10183f8fe0 fix(deps): update dependency stylelint-scss to v5.2.0 (#93)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-18 08:55:20 +03:00
ivuorinen
c86ea2a3af chore(release): publish
- @ivuorinen/eslint-config@0.2.11
2023-09-15 04:51:39 +00:00
renovate[bot]
7d386f64c0 fix(deps): update dependency eslint-plugin-n to v16.1.0 (#92) 2023-09-15 07:50:54 +03:00
ivuorinen
3d79826c87 chore(release): publish
- @ivuorinen/eslint-config@0.2.10
2023-09-12 14:54:06 +00:00
renovate[bot]
1ddcc9eea6 fix(deps): update dependency eslint to v8.49.0 (#91) 2023-09-12 17:53:30 +03:00
renovate[bot]
e7d421bb81 chore(deps): update actions/cache action to v3.3.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 00:53:21 +00:00
ivuorinen
9894fb00bd chore(release): publish
- @ivuorinen/stylelint-config@0.1.28
2023-09-07 14:41:44 +00:00
renovate[bot]
6bed25d121 fix(deps): update dependency stylelint-config-recommended-scss to v13 (#89)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-07 17:41:07 +03:00
ivuorinen
1cc712b39b chore(release): publish
- @ivuorinen/markdownlint-config@0.1.5
2023-09-06 06:57:14 +00:00
renovate[bot]
8ea8e1501d fix(deps): update dependency markdownlint-cli to v0.36.0 (#88) 2023-09-06 09:56:31 +03:00
renovate[bot]
28f84bc8c6 chore(deps): update actions/checkout action to v4 (#87) 2023-09-05 16:29:32 +03:00
ivuorinen
5f5b46eae5 chore(release): publish
- @ivuorinen/eslint-config@0.2.9
2023-08-29 06:44:18 +00:00
renovate[bot]
a18aa27969 fix(deps): update dependency eslint to v8.48.0 (#86)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-29 09:43:42 +03:00
renovate[bot]
bf9eb80710 chore(release): publish
- @ivuorinen/semantic-release-config@0.1.11
2023-08-27 18:16:09 +00:00
renovate[bot]
8bd4d486b5 fix(deps): update dependency semantic-release to v21.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-27 18:15:33 +00:00
ivuorinen
7074e7f696 chore(release): publish
- @ivuorinen/semantic-release-config@0.1.10
2023-08-27 11:49:52 +00:00
renovate[bot]
7d5880afcc fix(deps): update dependency semantic-release to v21.1.0 (#84)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-27 14:49:13 +03:00
ivuorinen
f42fce028e chore(release): publish
- @ivuorinen/eslint-config@0.2.8
2023-08-26 10:37:50 +00:00
renovate[bot]
5c0fbcb03b fix(deps): update dependency eslint-plugin-sonarjs to v0.21.0 (#83) 2023-08-26 13:37:16 +03:00
ivuorinen
256efd6bd3 chore(release): publish
- @ivuorinen/eslint-config@0.2.7
2023-08-25 05:05:12 +00:00
renovate[bot]
dc213bd680 fix(deps): update dependency eslint-plugin-n to v16.0.2 (#82)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-25 08:04:37 +03:00
renovate[bot]
25e3cdcf28 chore(deps): update actions/checkout action to v3.6.0 (#81)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-25 08:00:32 +03:00
ivuorinen
b7b920bfe4 chore(release): publish
- @ivuorinen/semantic-release-config@0.1.9
2023-08-23 05:32:51 +00:00
renovate[bot]
d025d3d678 fix(deps): update dependency semantic-release to v21.0.9 (#80) 2023-08-23 08:32:15 +03:00
renovate[bot]
4020a597ae chore(release): publish
- @ivuorinen/stylelint-config@0.1.27
2023-08-22 05:17:21 +00:00
renovate[bot]
3eccb355ab fix(deps): update dependency stylelint to v15.10.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-22 05:16:47 +00:00
renovate[bot]
b9a321f0a9 chore(release): publish
- @ivuorinen/eslint-config@0.2.6
2023-08-22 00:52:25 +00:00
renovate[bot]
d2cbc1c218 fix(deps): update dependency eslint-plugin-import to v2.28.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-22 00:51:50 +00:00
renovate[bot]
843b93f2d5 chore(deps): update dependency eslint-config-prettier to v9 (#72)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-18 13:10:14 +03:00
renovate[bot]
adaef208a1 chore(deps): update actions/setup-node action to v3.8.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-18 02:26:23 +00:00
ivuorinen
f4f4336a96 chore(release): publish
- @ivuorinen/eslint-config@0.2.5
2023-08-15 10:34:10 +00:00
renovate[bot]
a826fdf124 fix(deps): update dependency eslint to v8.47.0 (#76)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-15 13:33:36 +03:00
renovate[bot]
3e9c7f0e35 chore(deps): update actions/setup-node action to v3.8.0 (#75)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-15 13:16:31 +03:00
ivuorinen
d4096dd575 chore(release): publish
- @ivuorinen/commitlint-config@0.1.10
2023-08-13 05:48:14 +00:00
renovate[bot]
b5bed202f3 fix(deps): update commitlint monorepo (#74) 2023-08-13 08:47:35 +03:00
ivuorinen
ee1b3ab260 chore(release): publish
- @ivuorinen/stylelint-config@0.1.26
2023-08-13 05:46:05 +00:00
renovate[bot]
0b0d8dcd7d fix(deps): update dependency stylelint-scss to v5.1.0 (#73) 2023-08-13 08:45:32 +03:00
renovate[bot]
f2251d6fae chore(deps): update dependency eslint-plugin-unicorn to v48 (#67)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 15:24:07 +03:00
56 changed files with 10494 additions and 3645 deletions

View File

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

11
.github/SECURITY.md vendored Normal file
View 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.

View File

@@ -24,11 +24,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4.1.1
# 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

View File

@@ -17,20 +17,20 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- name: Setup Node.js Environment
uses: actions/setup-node@v3.7.0
uses: actions/setup-node@v4.0.1
with:
always-auth: true
node-version: 16
node-version: 18
registry-url: 'https://registry.npmjs.org'
scope: '@ivuorinen'
- name: Cache Node Modules
uses: actions/cache@v3.3.1
uses: actions/cache@v3.3.2
id: cache
with:
path: node_modules

View File

@@ -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

View File

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

View File

@@ -17,9 +17,7 @@
}
],
"engines": {
"node": ">= 12",
"npm": ">= 6",
"yarn": ">=1.20.0"
"node": ">= 18"
},
"homepage": "https://github.com/ivuorinen/base-configs#readme",
"keywords": [
@@ -52,23 +50,23 @@
"prettier:report": "prettier '**/*.{js,tsx,ts,json}' --check"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.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-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-sonarjs": "^0.20.0",
"eslint-plugin-unicorn": "^47.0.0",
"lerna": "^7.0.0",
"eslint-plugin-sonarjs": "^0.23.0",
"eslint-plugin-unicorn": "^50.0.0",
"lerna": "^8.0.0",
"lerna-update-wizard": "^1.1.2",
"markdownlint-cli": "^0.35.0",
"prettier": "^2.8.0",
"markdownlint-cli": "^0.38.0",
"prettier": "^3.0.0",
"simple-git-hooks": "^2.8.1"
}
}

View File

@@ -0,0 +1,133 @@
# 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.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))

View File

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

View File

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

View File

@@ -0,0 +1,37 @@
{
"name": "@ivuorinen/base-configs",
"version": "1.1.30",
"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.3",
"@ivuorinen/commitlint-config": "^0.2.9",
"@ivuorinen/eslint-config": "^0.4.13",
"@ivuorinen/markdownlint-config": "^0.2.3",
"@ivuorinen/prettier-config": "^0.2.4",
"@ivuorinen/semantic-release-config": "^0.2.9"
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -2,6 +2,52 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [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

View File

@@ -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']

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/browserslist-config",
"version": "0.1.7",
"version": "0.2.3",
"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.2",
"browserslist": "4.22.2"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

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

View File

@@ -2,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.22.2:
version "4.22.2"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.2.tgz#704c4943072bd81ea18997f3bd2180e89c77874b"
integrity sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==
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.30001565"
electron-to-chromium "^1.4.601"
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.30001565:
version "1.0.30001566"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001566.tgz#61a8e17caf3752e3e426d4239c549ebbb37fef0d"
integrity sha512-ggIhCsTxmITBAMmK8yZjEhCO5/47jKXPu6Dha/wuCS4JePVL+3uiDEBuhu2aIoT+bqTOR8L76Ip1ARL9xYsEJA==
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.601:
version "1.4.606"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.606.tgz#d9f83f7d06a253ccdd99475dccbbd38d4758ba2f"
integrity sha512-Zdv0XuhfyWZUsQ5Uq59d43ZmZOdoGZNWjeN4WCxxlQaP8crAWdnWcTxfHKcaJl6PW2SWpHx6DsxSx7v6KcGCuw==
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"

View File

@@ -2,6 +2,92 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [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
- **deps:** update commitlint monorepo ([#74](https://github.com/ivuorinen/base-configs/issues/74)) ([b5bed20](https://github.com/ivuorinen/base-configs/commit/b5bed202f31111e64892bae7be83e5dae6989804))
## [0.1.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.1.8...@ivuorinen/commitlint-config@0.1.9) (2023-07-22)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/commitlint-config",
"version": "0.1.9",
"version": "0.2.9",
"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.6.7",
"@commitlint/config-conventional": "17.6.7"
"@commitlint/cli": "18.4.4",
"@commitlint/config-conventional": "18.4.4",
"@ivuorinen/config-checker": "^1.1.2"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

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

View File

@@ -3,248 +3,200 @@
"@babel/code-frame@^7.0.0":
version "7.22.5"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.5.tgz#234d98e1551960604f1246e6475891a570ad5658"
integrity sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==
version "7.22.13"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.13.tgz#e3c1c099402598483b7a8c46a721d1038803755e"
integrity sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==
dependencies:
"@babel/highlight" "^7.22.5"
"@babel/highlight" "^7.22.13"
chalk "^2.4.2"
"@babel/helper-validator-identifier@^7.22.5":
version "7.22.5"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz#9544ef6a33999343c8740fa51350f30eeaaaf193"
integrity sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==
"@babel/helper-validator-identifier@^7.22.20":
version "7.22.20"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0"
integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==
"@babel/highlight@^7.22.5":
version "7.22.5"
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.5.tgz#aa6c05c5407a67ebce408162b7ede789b4d22031"
integrity sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==
"@babel/highlight@^7.22.13":
version "7.22.20"
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.20.tgz#4ca92b71d80554b01427815e06f2df965b9c1f54"
integrity sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==
dependencies:
"@babel/helper-validator-identifier" "^7.22.5"
chalk "^2.0.0"
"@babel/helper-validator-identifier" "^7.22.20"
chalk "^2.4.2"
js-tokens "^4.0.0"
"@commitlint/cli@17.6.6":
version "17.6.6"
resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-17.6.6.tgz#416da9c45901323e5bf931aa1eac5995a3aa251c"
integrity sha512-sTKpr2i/Fjs9OmhU+beBxjPavpnLSqZaO6CzwKVq2Tc4UYVTMFgpKOslDhUBVlfAUBfjVO8ParxC/MXkIOevEA==
"@commitlint/cli@18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-18.4.4.tgz#24bdb295f0e9e87dfe5371e9a16aacac92017c5d"
integrity sha512-Ro3wIo//fV3XiV1EkdpHog6huaEyNcUAVrSmtgKqYM5g982wOWmP4FXvEDFwRMVgz878CNBvvCc33dMZ5AQJ/g==
dependencies:
"@commitlint/format" "^17.4.4"
"@commitlint/lint" "^17.6.6"
"@commitlint/load" "^17.5.0"
"@commitlint/read" "^17.5.1"
"@commitlint/types" "^17.4.4"
"@commitlint/format" "^18.4.4"
"@commitlint/lint" "^18.4.4"
"@commitlint/load" "^18.4.4"
"@commitlint/read" "^18.4.4"
"@commitlint/types" "^18.4.4"
execa "^5.0.0"
lodash.isfunction "^3.0.9"
resolve-from "5.0.0"
resolve-global "1.0.0"
yargs "^17.0.0"
"@commitlint/config-conventional@17.6.6":
version "17.6.6"
resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-17.6.6.tgz#5452aa601d34503b88530ba38432116bcffdd005"
integrity sha512-phqPz3BDhfj49FUYuuZIuDiw+7T6gNAEy7Yew1IBHqSohVUCWOK2FXMSAExzS2/9X+ET93g0Uz83KjiHDOOFag==
"@commitlint/config-conventional@18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-18.4.4.tgz#ad9a4fc19a848821f01e79089ee01dc9ba71766b"
integrity sha512-Bz3sPQSboBN+Et/KyZrR+OJ3z9PrHDw7Bls0/hv94PmuHBtMq1dCGxS9XzTGzxeMNlytCC4kxF083tbhPljl3Q==
dependencies:
conventional-changelog-conventionalcommits "^5.0.0"
conventional-changelog-conventionalcommits "^7.0.2"
"@commitlint/config-validator@^17.4.4":
version "17.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/config-validator/-/config-validator-17.4.4.tgz#d0742705719559a101d2ee49c0c514044af6d64d"
integrity sha512-bi0+TstqMiqoBAQDvdEP4AFh0GaKyLFlPPEObgI29utoKEYoPQTvF0EYqIwYYLEoJYhj5GfMIhPHJkTJhagfeg==
"@commitlint/config-validator@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/config-validator/-/config-validator-18.4.4.tgz#b1f009e4a988156c938160b17a8a619403a47433"
integrity sha512-/QI8KIg/h7O0Eus36fPcEcO3QPBcdXuGfZeCF5m15k0EB2bcU8s6pHNTNEa6xz9PrAefHCL+yzRJj7w20T6Mow==
dependencies:
"@commitlint/types" "^17.4.4"
"@commitlint/types" "^18.4.4"
ajv "^8.11.0"
"@commitlint/ensure@^17.4.4":
version "17.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-17.4.4.tgz#a36e7719bdb9c2b86c8b8c2e852b463a7bfda5fa"
integrity sha512-AHsFCNh8hbhJiuZ2qHv/m59W/GRE9UeOXbkOqxYMNNg9pJ7qELnFcwj5oYpa6vzTSHtPGKf3C2yUFNy1GGHq6g==
"@commitlint/ensure@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-18.4.4.tgz#5e142e489e32f6a22865cea05ca369a95a4b77a1"
integrity sha512-KjD19p6julB5WrQL+Cd8p+AePwpl1XzGAjB0jnuFMKWtji9L7ucCZUKDstGjlkBZGGzH/nvdB8K+bh5K27EVUg==
dependencies:
"@commitlint/types" "^17.4.4"
"@commitlint/types" "^18.4.4"
lodash.camelcase "^4.3.0"
lodash.kebabcase "^4.1.1"
lodash.snakecase "^4.1.1"
lodash.startcase "^4.4.0"
lodash.upperfirst "^4.3.1"
"@commitlint/execute-rule@^17.4.0":
version "17.4.0"
resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-17.4.0.tgz#4518e77958893d0a5835babe65bf87e2638f6939"
integrity sha512-LIgYXuCSO5Gvtc0t9bebAMSwd68ewzmqLypqI2Kke1rqOqqDbMpYcYfoPfFlv9eyLIh4jocHWwCK5FS7z9icUA==
"@commitlint/execute-rule@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-18.4.4.tgz#ade986742c1944c8162a54288747e54a8c6146b5"
integrity sha512-a37Nd3bDQydtg9PCLLWM9ZC+GO7X5i4zJvrggJv5jBhaHsXeQ9ZWdO6ODYR+f0LxBXXNYK3geYXJrCWUCP8JEg==
"@commitlint/format@^17.4.4":
version "17.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/format/-/format-17.4.4.tgz#0f6e1b4d7a301c7b1dfd4b6334edd97fc050b9f5"
integrity sha512-+IS7vpC4Gd/x+uyQPTAt3hXs5NxnkqAZ3aqrHd5Bx/R9skyCAWusNlNbw3InDbAK6j166D9asQM8fnmYIa+CXQ==
"@commitlint/format@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/format/-/format-18.4.4.tgz#51996ba0a7eac14f7f8991cff8700e4a2fd86ba7"
integrity sha512-2v3V5hVlv0R3pe7p66IX5F7cjeVvGM5JqITRIbBCFvGHPJ/CG74rjTkAu0RBEiIhlk3eOaLjVGq3d5falPkLBA==
dependencies:
"@commitlint/types" "^17.4.4"
"@commitlint/types" "^18.4.4"
chalk "^4.1.0"
"@commitlint/is-ignored@^17.6.6":
version "17.6.6"
resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-17.6.6.tgz#b1c869757bdea659aa582669ea0066798ed6a17e"
integrity sha512-4Fw875faAKO+2nILC04yW/2Vy/wlV3BOYCSQ4CEFzriPEprc1Td2LILmqmft6PDEK5Sr14dT9tEzeaZj0V56Gg==
"@commitlint/is-ignored@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-18.4.4.tgz#3fbf2a55a960ccf037e79ad4610091a693800680"
integrity sha512-rXWes9owKBTjfTr6Od7YlflRg4N+ngkOH+dUZhk0qL/XQb26mHz0EgVgdixMVBac1OsohRwJaLmVHX+5F6vfmg==
dependencies:
"@commitlint/types" "^17.4.4"
semver "7.5.2"
"@commitlint/types" "^18.4.4"
semver "7.5.4"
"@commitlint/lint@^17.6.6":
version "17.6.6"
resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-17.6.6.tgz#d7ff64b6783f2bda56526195a66e6bb587e1fe1a"
integrity sha512-5bN+dnHcRLkTvwCHYMS7Xpbr+9uNi0Kq5NR3v4+oPNx6pYXt8ACuw9luhM/yMgHYwW0ajIR20wkPAFkZLEMGmg==
"@commitlint/lint@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-18.4.4.tgz#730b28a837ae26009645ed3b0a0858879c6daf23"
integrity sha512-SoyQstVxMY5Z4GnFRtRzy+NWYb+yVseXgir+7BxnpB59oH05C9XztRrhDw6OnkNeXhjINTpi1HLnuY7So+CaAQ==
dependencies:
"@commitlint/is-ignored" "^17.6.6"
"@commitlint/parse" "^17.6.5"
"@commitlint/rules" "^17.6.5"
"@commitlint/types" "^17.4.4"
"@commitlint/is-ignored" "^18.4.4"
"@commitlint/parse" "^18.4.4"
"@commitlint/rules" "^18.4.4"
"@commitlint/types" "^18.4.4"
"@commitlint/load@^17.5.0":
version "17.5.0"
resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-17.5.0.tgz#be45dbbb50aaf5eb7e8e940e1e0d6171d1426bab"
integrity sha512-l+4W8Sx4CD5rYFsrhHH8HP01/8jEP7kKf33Xlx2Uk2out/UKoKPYMOIRcDH5ppT8UXLMV+x6Wm5osdRKKgaD1Q==
"@commitlint/load@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-18.4.4.tgz#1f73d1a11337c68b6cf990e111ca2a742d076041"
integrity sha512-RaDIa9qwOw2xRJ3Jr2DBXd14rmnHJIX2XdZF4kmoF1rgsg/+7cvrExLSUNAkQUNimyjCn1b/bKX2Omm+GdY0XQ==
dependencies:
"@commitlint/config-validator" "^17.4.4"
"@commitlint/execute-rule" "^17.4.0"
"@commitlint/resolve-extends" "^17.4.4"
"@commitlint/types" "^17.4.4"
"@types/node" "*"
"@commitlint/config-validator" "^18.4.4"
"@commitlint/execute-rule" "^18.4.4"
"@commitlint/resolve-extends" "^18.4.4"
"@commitlint/types" "^18.4.4"
chalk "^4.1.0"
cosmiconfig "^8.0.0"
cosmiconfig-typescript-loader "^4.0.0"
cosmiconfig "^8.3.6"
cosmiconfig-typescript-loader "^5.0.0"
lodash.isplainobject "^4.0.6"
lodash.merge "^4.6.2"
lodash.uniq "^4.5.0"
resolve-from "^5.0.0"
ts-node "^10.8.1"
typescript "^4.6.4 || ^5.0.0"
"@commitlint/message@^17.4.2":
version "17.4.2"
resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-17.4.2.tgz#f4753a79701ad6db6db21f69076e34de6580e22c"
integrity sha512-3XMNbzB+3bhKA1hSAWPCQA3lNxR4zaeQAQcHj0Hx5sVdO6ryXtgUBGGv+1ZCLMgAPRixuc6en+iNAzZ4NzAa8Q==
"@commitlint/message@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-18.4.4.tgz#811682a0d147a24e5c467acdb52071434df2b9f5"
integrity sha512-lHF95mMDYgAI1LBXveJUyg4eLaMXyOqJccCK3v55ZOEUsMPrDi8upqDjd/NmzWmESYihaOMBTAnxm+6oD1WoDQ==
"@commitlint/parse@^17.6.5":
version "17.6.5"
resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-17.6.5.tgz#7b84b328a6a94ca08ab7c98c491d9d3dab68f09d"
integrity sha512-0zle3bcn1Hevw5Jqpz/FzEWNo2KIzUbc1XyGg6WrWEoa6GH3A1pbqNF6MvE6rjuy6OY23c8stWnb4ETRZyN+Yw==
"@commitlint/parse@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-18.4.4.tgz#5c8f515d4dbebe9b7ccfcd1701e58446e2bec6da"
integrity sha512-99G7dyn/OoyNWXJni0Ki0K3aJd01pEb/Im/Id6y4X7PN+kGOahjz2z/cXYYHn7xDdooqFVdiVrVLeChfgpWZ2g==
dependencies:
"@commitlint/types" "^17.4.4"
conventional-changelog-angular "^5.0.11"
conventional-commits-parser "^3.2.2"
"@commitlint/types" "^18.4.4"
conventional-changelog-angular "^7.0.0"
conventional-commits-parser "^5.0.0"
"@commitlint/read@^17.5.1":
version "17.5.1"
resolved "https://registry.yarnpkg.com/@commitlint/read/-/read-17.5.1.tgz#fec903b766e2c41e3cefa80630040fcaba4f786c"
integrity sha512-7IhfvEvB//p9aYW09YVclHbdf1u7g7QhxeYW9ZHSO8Huzp8Rz7m05aCO1mFG7G8M+7yfFnXB5xOmG18brqQIBg==
"@commitlint/read@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/read/-/read-18.4.4.tgz#7f6848edd3210bf82e6aaa0cd30e72e7e669e009"
integrity sha512-r58JbWky4gAFPea/CZmvlqP9Ehbs+8gSEUqhIJOojKzTc3xlxFnZUDVPcEnnaqzQEEoV6C69VW7xuzdcBlu/FQ==
dependencies:
"@commitlint/top-level" "^17.4.0"
"@commitlint/types" "^17.4.4"
fs-extra "^11.0.0"
"@commitlint/top-level" "^18.4.4"
"@commitlint/types" "^18.4.4"
git-raw-commits "^2.0.11"
minimist "^1.2.6"
"@commitlint/resolve-extends@^17.4.4":
version "17.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-17.4.4.tgz#8f931467dea8c43b9fe38373e303f7c220de6fdc"
integrity sha512-znXr1S0Rr8adInptHw0JeLgumS11lWbk5xAWFVno+HUFVN45875kUtqjrI6AppmD3JI+4s0uZlqqlkepjJd99A==
"@commitlint/resolve-extends@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-18.4.4.tgz#fa2975c856d77ea1931e0e3673cf20096eb3ecc7"
integrity sha512-RRpIHSbRnFvmGifVk21Gqazf1QF/yeP+Kkg/e3PlkegcOKd/FGOXp/Kx9cvSO2K7ucSn4GD/oBvgasFoy+NCAw==
dependencies:
"@commitlint/config-validator" "^17.4.4"
"@commitlint/types" "^17.4.4"
"@commitlint/config-validator" "^18.4.4"
"@commitlint/types" "^18.4.4"
import-fresh "^3.0.0"
lodash.mergewith "^4.6.2"
resolve-from "^5.0.0"
resolve-global "^1.0.0"
"@commitlint/rules@^17.6.5":
version "17.6.5"
resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-17.6.5.tgz#fabcacdde923e26ac5ef90d4b3f8fc05526bbaa1"
integrity sha512-uTB3zSmnPyW2qQQH+Dbq2rekjlWRtyrjDo4aLFe63uteandgkI+cc0NhhbBAzcXShzVk0qqp8SlkQMu0mgHg/A==
"@commitlint/rules@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-18.4.4.tgz#859e920a4f0053ae27e4cdd65f68e7576a5ab53f"
integrity sha512-6Uzlsnl/GljEI+80NWjf4ThOfR8NIsbm18IfXYuCEchlwMHSxiuYG4rHSK5DNmG/+MIo8eR5VdQ0gQyt7kWzAA==
dependencies:
"@commitlint/ensure" "^17.4.4"
"@commitlint/message" "^17.4.2"
"@commitlint/to-lines" "^17.4.0"
"@commitlint/types" "^17.4.4"
"@commitlint/ensure" "^18.4.4"
"@commitlint/message" "^18.4.4"
"@commitlint/to-lines" "^18.4.4"
"@commitlint/types" "^18.4.4"
execa "^5.0.0"
"@commitlint/to-lines@^17.4.0":
version "17.4.0"
resolved "https://registry.yarnpkg.com/@commitlint/to-lines/-/to-lines-17.4.0.tgz#9bd02e911e7d4eab3fb4a50376c4c6d331e10d8d"
integrity sha512-LcIy/6ZZolsfwDUWfN1mJ+co09soSuNASfKEU5sCmgFCvX5iHwRYLiIuoqXzOVDYOy7E7IcHilr/KS0e5T+0Hg==
"@commitlint/to-lines@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/to-lines/-/to-lines-18.4.4.tgz#546cf8d985459f3526359b6a63d7a5b421e1ed60"
integrity sha512-mwe2Roa59NCz/krniAdCygFabg7+fQCkIhXqBHw00XQ8Y7lw4poZLLxeGI3p3bLpcEOXdqIDrEGLwHmG5lBdwQ==
"@commitlint/top-level@^17.4.0":
version "17.4.0"
resolved "https://registry.yarnpkg.com/@commitlint/top-level/-/top-level-17.4.0.tgz#540cac8290044cf846fbdd99f5cc51e8ac5f27d6"
integrity sha512-/1loE/g+dTTQgHnjoCy0AexKAEFyHsR2zRB4NWrZ6lZSMIxAhBJnmCqwao7b4H8888PsfoTBCLBYIw8vGnej8g==
"@commitlint/top-level@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/top-level/-/top-level-18.4.4.tgz#df69ffa49fdc4541d1f05e814352d575fb0f3b0d"
integrity sha512-PBwW1drgeavl9CadB7IPRUk6rkUP/O8jEkxjlC+ofuh3pw0bzJdAT+Kw7M1Yc9KtTb9xTaqUB8uvRtaybHa/tQ==
dependencies:
find-up "^5.0.0"
"@commitlint/types@^17.4.4":
version "17.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/types/-/types-17.4.4.tgz#1416df936e9aad0d6a7bbc979ecc31e55dade662"
integrity sha512-amRN8tRLYOsxRr6mTnGGGvB5EmW/4DDjLMgiwK3CCVEmN6Sr/6xePGEpWaspKkckILuUORCwe6VfDBw6uj4axQ==
"@commitlint/types@^18.4.4":
version "18.4.4"
resolved "https://registry.yarnpkg.com/@commitlint/types/-/types-18.4.4.tgz#dae9e0ce6a6728a36b8982ff301af0170bbe0d38"
integrity sha512-/FykLtodD8gKs3+VNkAUwofu4LBHankclj+I8fB2jTRvG6PV7k/OUt4P+VbM7ip853qS4F0g7Z6hLNa6JeMcAQ==
dependencies:
chalk "^4.1.0"
"@cspotcode/source-map-support@^0.8.0":
version "0.8.1"
resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1"
integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==
dependencies:
"@jridgewell/trace-mapping" "0.3.9"
"@jridgewell/resolve-uri@^3.0.3":
version "3.1.1"
resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz#c08679063f279615a3326583ba3a90d1d82cc721"
integrity sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==
"@jridgewell/sourcemap-codec@^1.4.10":
version "1.4.15"
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32"
integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==
"@jridgewell/trace-mapping@0.3.9":
version "0.3.9"
resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9"
integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==
dependencies:
"@jridgewell/resolve-uri" "^3.0.3"
"@jridgewell/sourcemap-codec" "^1.4.10"
"@tsconfig/node10@^1.0.7":
version "1.0.9"
resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2"
integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==
"@tsconfig/node12@^1.0.7":
version "1.0.11"
resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d"
integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==
"@tsconfig/node14@^1.0.0":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1"
integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==
"@tsconfig/node16@^1.0.2":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.4.tgz#0b92dcc0cc1c81f6f306a381f28e31b1a56536e9"
integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==
"@ivuorinen/config-checker@^1.1.2":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.2.tgz#1a7c4dd683129532998f5b682cd95e4daf176acf"
integrity sha512-Gb1o2jM0ZqKUa0UTk6yTDbEnC9xGT104EzL0q4x0dW8fLFFQNTp4NrWmpUS90He5m0GNcN5QBo7QPZdGlwUz1Q==
"@types/minimist@^1.2.0":
version "1.2.2"
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c"
integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==
"@types/node@*":
version "20.3.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.3.1.tgz#e8a83f1aa8b649377bb1fb5d7bac5cb90e784dfe"
integrity sha512-EhcH/wvidPy1WeML3TtYFGR83UzjxeWRen9V402T8aUGYsCHOmfoisV3ZSg03gAFIbLq8TnWOJ0f4cALtnSEUg==
version "1.2.4"
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.4.tgz#81f886786411c45bba3f33e781ab48bd56bfca2e"
integrity sha512-Kfe/D3hxHTusnPNRbycJE1N77WHDsdS4AjUYIzlDzhDrS47NrwuL3YW4VITxwR7KCVpzwgy4Rbj829KSSQmwXQ==
"@types/normalize-package-data@^2.4.0":
version "2.4.1"
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301"
integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==
version "2.4.3"
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.3.tgz#291c243e4b94dbfbc0c0ee26b7666f1d5c030e2c"
integrity sha512-ehPtgRgaULsFG8x0NeYJvmyH1hmlfsNLujHe9dQEia/7MAJYdzMSi19JtchUHjmBA6XC/75dK55mzZH+RyieSg==
JSONStream@^1.0.4:
JSONStream@^1.3.5:
version "1.3.5"
resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0"
integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==
@@ -252,16 +204,6 @@ JSONStream@^1.0.4:
jsonparse "^1.2.0"
through ">=2.2.7 <3"
acorn-walk@^8.1.1:
version "8.2.0"
resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1"
integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==
acorn@^8.4.1:
version "8.9.0"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.9.0.tgz#78a16e3b2bcc198c10822786fa6679e245db5b59"
integrity sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==
ajv@^8.11.0:
version "8.12.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1"
@@ -291,11 +233,6 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0:
dependencies:
color-convert "^2.0.1"
arg@^4.1.0:
version "4.1.3"
resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089"
integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==
argparse@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38"
@@ -330,7 +267,7 @@ camelcase@^5.3.1:
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
chalk@^2.0.0:
chalk@^2.4.2:
version "2.4.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
@@ -388,55 +325,47 @@ compare-func@^2.0.0:
array-ify "^1.0.0"
dot-prop "^5.1.0"
conventional-changelog-angular@^5.0.11:
version "5.0.13"
resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz#896885d63b914a70d4934b59d2fe7bde1832b28c"
integrity sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==
conventional-changelog-angular@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-7.0.0.tgz#5eec8edbff15aa9b1680a8dcfbd53e2d7eb2ba7a"
integrity sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==
dependencies:
compare-func "^2.0.0"
q "^1.5.1"
conventional-changelog-conventionalcommits@^5.0.0:
conventional-changelog-conventionalcommits@^7.0.2:
version "7.0.2"
resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-7.0.2.tgz#aa5da0f1b2543094889e8cf7616ebe1a8f5c70d5"
integrity sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==
dependencies:
compare-func "^2.0.0"
conventional-commits-parser@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-5.0.0.tgz#41bdce54eb65a848a4a3ffdca93e92fa22b64a86"
integrity sha512-lCDbA+ZqVFQGUj7h9QBKoIpLhl8iihkO0nCTyRNzuXtcd7ubODpYB04IFy31JloiJgG0Uovu8ot8oxRzn7Nwtw==
resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz#57f3594b81ad54d40c1b4280f04554df28627d9a"
integrity sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==
dependencies:
compare-func "^2.0.0"
lodash "^4.17.15"
q "^1.5.1"
JSONStream "^1.3.5"
is-text-path "^2.0.0"
meow "^12.0.1"
split2 "^4.0.0"
conventional-commits-parser@^3.2.2:
version "3.2.4"
resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz#a7d3b77758a202a9b2293d2112a8d8052c740972"
integrity sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==
cosmiconfig-typescript-loader@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-5.0.0.tgz#0d3becfe022a871f7275ceb2397d692e06045dc8"
integrity sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==
dependencies:
JSONStream "^1.0.4"
is-text-path "^1.0.1"
lodash "^4.17.15"
meow "^8.0.0"
split2 "^3.0.0"
through2 "^4.0.0"
jiti "^1.19.1"
cosmiconfig-typescript-loader@^4.0.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.3.0.tgz#c4259ce474c9df0f32274ed162c0447c951ef073"
integrity sha512-NTxV1MFfZDLPiBMjxbHRwSh5LaLcPMwNdCutmnHJCKoVnlvldPWlllonKwrsRJ5pYZBIBGRWWU2tfvzxgeSW5Q==
cosmiconfig@^8.0.0:
version "8.2.0"
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.2.0.tgz#f7d17c56a590856cd1e7cee98734dca272b0d8fd"
integrity sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ==
cosmiconfig@^8.3.6:
version "8.3.6"
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.3.6.tgz#060a2b871d66dba6c8538ea1118ba1ac16f5fae3"
integrity sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==
dependencies:
import-fresh "^3.2.1"
import-fresh "^3.3.0"
js-yaml "^4.1.0"
parse-json "^5.0.0"
parse-json "^5.2.0"
path-type "^4.0.0"
create-require@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333"
integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==
cross-spawn@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
@@ -464,11 +393,6 @@ decamelize@^1.1.0:
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==
diff@^4.0.1:
version "4.0.2"
resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d"
integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==
dot-prop@^5.1.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88"
@@ -534,19 +458,10 @@ find-up@^5.0.0:
locate-path "^6.0.0"
path-exists "^4.0.0"
fs-extra@^11.0.0:
version "11.1.1"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.1.1.tgz#da69f7c39f3b002378b0954bb6ae7efdc0876e2d"
integrity sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==
dependencies:
graceful-fs "^4.2.0"
jsonfile "^6.0.1"
universalify "^2.0.0"
function-bind@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
function-bind@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c"
integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==
get-caller-file@^2.0.5:
version "2.0.5"
@@ -576,11 +491,6 @@ global-dirs@^0.1.1:
dependencies:
ini "^1.3.4"
graceful-fs@^4.1.6, graceful-fs@^4.2.0:
version "4.2.11"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"
integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==
hard-rejection@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883"
@@ -596,12 +506,12 @@ has-flag@^4.0.0:
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
has@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==
hasown@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c"
integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==
dependencies:
function-bind "^1.1.1"
function-bind "^1.1.2"
hosted-git-info@^2.1.4:
version "2.8.9"
@@ -620,7 +530,7 @@ human-signals@^2.1.0:
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
import-fresh@^3.0.0, import-fresh@^3.2.1:
import-fresh@^3.0.0, import-fresh@^3.3.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b"
integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==
@@ -648,12 +558,12 @@ is-arrayish@^0.2.1:
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==
is-core-module@^2.11.0, is-core-module@^2.5.0:
version "2.12.1"
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.12.1.tgz#0c0b6885b6f80011c71541ce15c8d66cf5a4f9fd"
integrity sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==
is-core-module@^2.13.0, is-core-module@^2.5.0:
version "2.13.1"
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384"
integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==
dependencies:
has "^1.0.3"
hasown "^2.0.0"
is-fullwidth-code-point@^3.0.0:
version "3.0.0"
@@ -675,18 +585,23 @@ is-stream@^2.0.0:
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077"
integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==
is-text-path@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e"
integrity sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==
is-text-path@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/is-text-path/-/is-text-path-2.0.0.tgz#b2484e2b720a633feb2e85b67dc193ff72c75636"
integrity sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==
dependencies:
text-extensions "^1.0.0"
text-extensions "^2.0.0"
isexe@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==
jiti@^1.19.1:
version "1.20.0"
resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.20.0.tgz#2d823b5852ee8963585c8dd8b7992ffc1ae83b42"
integrity sha512-3TV69ZbrvV6U5DfQimop50jE9Dl6J8O1ja1dvBbMba/sZ3YBEQqJ2VZRoQPVnhlzjNtU1vaXRZVrVjU4qtm8yA==
js-tokens@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
@@ -709,15 +624,6 @@ json-schema-traverse@^1.0.0:
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2"
integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==
jsonfile@^6.0.1:
version "6.1.0"
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae"
integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==
dependencies:
universalify "^2.0.0"
optionalDependencies:
graceful-fs "^4.1.6"
jsonparse@^1.2.0:
version "1.3.1"
resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280"
@@ -809,11 +715,6 @@ lru-cache@^6.0.0:
dependencies:
yallist "^4.0.0"
make-error@^1.1.1:
version "1.3.6"
resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2"
integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==
map-obj@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d"
@@ -824,6 +725,11 @@ map-obj@^4.0.0:
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a"
integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==
meow@^12.0.1:
version "12.1.1"
resolved "https://registry.yarnpkg.com/meow/-/meow-12.1.1.tgz#e558dddbab12477b69b2e9a2728c327f191bace6"
integrity sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==
meow@^8.0.0:
version "8.1.2"
resolved "https://registry.yarnpkg.com/meow/-/meow-8.1.2.tgz#bcbe45bda0ee1729d350c03cffc8395a36c4e897"
@@ -944,7 +850,7 @@ parent-module@^1.0.0:
dependencies:
callsites "^3.0.0"
parse-json@^5.0.0:
parse-json@^5.0.0, parse-json@^5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd"
integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==
@@ -979,11 +885,6 @@ punycode@^2.1.0:
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f"
integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==
q@^1.5.1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==
quick-lru@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f"
@@ -1053,11 +954,11 @@ resolve-global@1.0.0, resolve-global@^1.0.0:
global-dirs "^0.1.1"
resolve@^1.10.0:
version "1.22.2"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.2.tgz#0ed0943d4e301867955766c9f3e1ae6d01c6845f"
integrity sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==
version "1.22.8"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d"
integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==
dependencies:
is-core-module "^2.11.0"
is-core-module "^2.13.0"
path-parse "^1.0.7"
supports-preserve-symlinks-flag "^1.0.0"
@@ -1071,14 +972,7 @@ safe-buffer@~5.2.0:
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8"
integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==
semver@7.5.2:
version "7.5.2"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.2.tgz#5b851e66d1be07c1cdaf37dfc856f543325a2beb"
integrity sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ==
dependencies:
lru-cache "^6.0.0"
semver@^7.3.4:
semver@7.5.4, semver@^7.3.4:
version "7.5.4"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
@@ -1124,9 +1018,9 @@ spdx-expression-parse@^3.0.0:
spdx-license-ids "^3.0.0"
spdx-license-ids@^3.0.0:
version "3.0.13"
resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz#7189a474c46f8d47c7b0da4b987bb45e908bd2d5"
integrity sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==
version "3.0.16"
resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz#a14f64e0954f6e25cc6587bd4f392522db0d998f"
integrity sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==
split2@^3.0.0:
version "3.2.2"
@@ -1135,6 +1029,11 @@ split2@^3.0.0:
dependencies:
readable-stream "^3.0.0"
split2@^4.0.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/split2/-/split2-4.2.0.tgz#c9c5920904d148bab0b9f67145f245a86aadbfa4"
integrity sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==
string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
@@ -1189,10 +1088,10 @@ supports-preserve-symlinks-flag@^1.0.0:
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
text-extensions@^1.0.0:
version "1.9.0"
resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26"
integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==
text-extensions@^2.0.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-2.4.0.tgz#a1cfcc50cf34da41bfd047cc744f804d1680ea34"
integrity sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==
through2@^4.0.0:
version "4.0.2"
@@ -1211,25 +1110,6 @@ trim-newlines@^3.0.0:
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144"
integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==
ts-node@^10.8.1:
version "10.9.1"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b"
integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==
dependencies:
"@cspotcode/source-map-support" "^0.8.0"
"@tsconfig/node10" "^1.0.7"
"@tsconfig/node12" "^1.0.7"
"@tsconfig/node14" "^1.0.0"
"@tsconfig/node16" "^1.0.2"
acorn "^8.4.1"
acorn-walk "^8.1.1"
arg "^4.1.0"
create-require "^1.1.0"
diff "^4.0.1"
make-error "^1.1.1"
v8-compile-cache-lib "^3.0.1"
yn "3.1.1"
type-fest@^0.18.0:
version "0.18.1"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.18.1.tgz#db4bc151a4a2cf4eebf9add5db75508db6cc841f"
@@ -1245,16 +1125,6 @@ type-fest@^0.8.1:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
"typescript@^4.6.4 || ^5.0.0":
version "5.1.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.3.tgz#8d84219244a6b40b6fb2b33cc1c062f715b9e826"
integrity sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==
universalify@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717"
integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==
uri-js@^4.2.2:
version "4.4.1"
resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e"
@@ -1267,11 +1137,6 @@ util-deprecate@^1.0.1:
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==
v8-compile-cache-lib@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf"
integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==
validate-npm-package-license@^3.0.1:
version "3.0.4"
resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"
@@ -1329,11 +1194,6 @@ yargs@^17.0.0:
y18n "^5.0.5"
yargs-parser "^21.1.1"
yn@3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"
integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==
yocto-queue@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -2,6 +2,202 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [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
- **deps:** update dependency eslint-plugin-jest to v27.4.0 ([#95](https://github.com/ivuorinen/base-configs/issues/95)) ([f4579cc](https://github.com/ivuorinen/base-configs/commit/f4579cceb5ebd03aaefb47b8b53a2ca3ee55d579))
## [0.2.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.10...@ivuorinen/eslint-config@0.2.11) (2023-09-15)
### Bug Fixes
- **deps:** update dependency eslint-plugin-n to v16.1.0 ([#92](https://github.com/ivuorinen/base-configs/issues/92)) ([7d386f6](https://github.com/ivuorinen/base-configs/commit/7d386f64c08aad1c541520d58e65d75dd503541b))
## [0.2.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.9...@ivuorinen/eslint-config@0.2.10) (2023-09-12)
### Bug Fixes
- **deps:** update dependency eslint to v8.49.0 ([#91](https://github.com/ivuorinen/base-configs/issues/91)) ([1ddcc9e](https://github.com/ivuorinen/base-configs/commit/1ddcc9eea6f96ead1afa85e3feb36ed79b4f0b55))
## [0.2.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.8...@ivuorinen/eslint-config@0.2.9) (2023-08-29)
### Bug Fixes
- **deps:** update dependency eslint to v8.48.0 ([#86](https://github.com/ivuorinen/base-configs/issues/86)) ([a18aa27](https://github.com/ivuorinen/base-configs/commit/a18aa279693ae2920e17499d14ce23515c339754))
## [0.2.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.7...@ivuorinen/eslint-config@0.2.8) (2023-08-26)
### Bug Fixes
- **deps:** update dependency eslint-plugin-sonarjs to v0.21.0 ([#83](https://github.com/ivuorinen/base-configs/issues/83)) ([5c0fbcb](https://github.com/ivuorinen/base-configs/commit/5c0fbcb03bb59833a3a24b527cadbb048382ddb3))
## [0.2.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.6...@ivuorinen/eslint-config@0.2.7) (2023-08-25)
### Bug Fixes
- **deps:** update dependency eslint-plugin-n to v16.0.2 ([#82](https://github.com/ivuorinen/base-configs/issues/82)) ([dc213bd](https://github.com/ivuorinen/base-configs/commit/dc213bd680576267b3307aec2a54f012c6ab5889))
## [0.2.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.5...@ivuorinen/eslint-config@0.2.6) (2023-08-22)
### Bug Fixes
- **deps:** update dependency eslint-plugin-import to v2.28.1 ([d2cbc1c](https://github.com/ivuorinen/base-configs/commit/d2cbc1c2185746aae2d2b3ec4722ef1e921170f6))
## [0.2.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.4...@ivuorinen/eslint-config@0.2.5) (2023-08-15)
### Bug Fixes
- **deps:** update dependency eslint to v8.47.0 ([#76](https://github.com/ivuorinen/base-configs/issues/76)) ([a826fdf](https://github.com/ivuorinen/base-configs/commit/a826fdf124684555c1fcc4214b71530ad51d94e2))
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.3...@ivuorinen/eslint-config@0.2.4) (2023-08-07)
### Bug Fixes

View File

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

View File

@@ -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']
}

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/eslint-config",
"version": "0.2.4",
"version": "0.4.13",
"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.46.0",
"@ivuorinen/config-checker": "^1.1.2",
"eslint": "8.56.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.28.0",
"eslint-plugin-jest": "27.2.3",
"eslint-plugin-n": "16.0.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "27.6.1",
"eslint-plugin-n": "16.6.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-sonarjs": "0.20.0"
"eslint-plugin-sonarjs": "0.23.0"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

@@ -2,9 +2,18 @@
const fs = require('fs')
const path = require('path')
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('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

View File

@@ -2,6 +2,42 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.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
- **deps:** update dependency markdownlint-cli to v0.36.0 ([#88](https://github.com/ivuorinen/base-configs/issues/88)) ([8ea8e15](https://github.com/ivuorinen/base-configs/commit/8ea8e1501d8e4dd39df144999e4cee9076117822))
## [0.1.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.1.3...@ivuorinen/markdownlint-config@0.1.4) (2023-06-26)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/markdownlint-config",
"version": "0.1.4",
"version": "0.2.3",
"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.35.0"
"@ivuorinen/config-checker": "^1.1.2",
"markdownlint-cli": "0.38.0"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

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

View File

@@ -14,6 +14,11 @@
wrap-ansi "^8.1.0"
wrap-ansi-cjs "npm:wrap-ansi@^7.0.0"
"@ivuorinen/config-checker@^1.1.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"
@@ -122,26 +127,26 @@ 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.2.7:
version "10.2.7"
resolved "https://registry.yarnpkg.com/glob/-/glob-10.2.7.tgz#9dd2828cd5bc7bd861e7738d91e7113dda41d7d8"
integrity sha512-jTKehsravOJo8IJxUGfZILnkvVJM/MOfHRs8QcXolVef2zNI9Tqyy5+SeuOAZd3upViEZQLyFpQhYiHLrMUNmA==
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"
path-scurry "^1.7.0"
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@~3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/ini/-/ini-3.0.1.tgz#c76ec81007875bc44d544ff7a11a55d12294102d"
integrity sha512-it4HyVAUTKBc6m8e1iXWvXSTdndF7HbdN713+kvLrymxTaU4AUBWrJ4vEooP+V7fexnVD3LKcBshjGGPefSMUQ==
ini@~4.1.0:
version "4.1.1"
resolved "https://registry.yarnpkg.com/ini/-/ini-4.1.1.tgz#d95b3d843b1e906e56d6747d5447904ff50ce7a1"
integrity sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==
is-fullwidth-code-point@^3.0.0:
version "3.0.0"
@@ -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:
@@ -181,15 +186,15 @@ linkify-it@^4.0.1:
dependencies:
uc.micro "^1.0.1"
lru-cache@^9.0.0:
version "9.1.1"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-9.1.1.tgz#c58a93de58630b688de39ad04ef02ef26f1902f1"
integrity sha512-65/Jky17UwSb0BuB9V+MyDpsOtXKmYwzhyl+cOa9XUiI4uV2Ouy/2voFP3+al0BjZbJgMBD8FojMpAf+Z+qn4A==
"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@13.0.2:
version "13.0.2"
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-13.0.2.tgz#1bc22e23379a6952e5d56217fbed881e0c94d536"
integrity sha512-FtwnEuuK+2yVU7goGn/MJ0WBZMM9ZPgU9spqlFs7/A/pDIUNSOQZhUgOqYCficIuR2QaFnrt8LHqBWsbTAoI5w==
dependencies:
argparse "^2.0.1"
entities "~3.0.1"
@@ -197,82 +202,77 @@ markdown-it@13.0.1:
mdurl "^1.0.1"
uc.micro "^1.0.5"
markdownlint-cli@0.35.0:
version "0.35.0"
resolved "https://registry.yarnpkg.com/markdownlint-cli/-/markdownlint-cli-0.35.0.tgz#1a6386777c6f20681e1425c0b7a056cf130bc46f"
integrity sha512-lVIIIV1MrUtjoocgDqXLxUCxlRbn7Ve8rsWppfwciUNwLlNS28AhNiyQ3PU7jjj4Qvj+rWTTvwkqg7AcdG988g==
markdownlint-cli@0.38.0:
version "0.38.0"
resolved "https://registry.yarnpkg.com/markdownlint-cli/-/markdownlint-cli-0.38.0.tgz#cd7abafec1d4f723c2cc99ad107486c8eef34074"
integrity sha512-qkZRKJ4LVq6CJIkRIuJsEHvhWhm+FP0E7yhHvOMrrgdykgFWNYD4wuhZTjvigbJLTKPooP79yPiUDDZBCBI5JA==
dependencies:
commander "~11.0.0"
commander "~11.1.0"
get-stdin "~9.0.0"
glob "~10.2.7"
ignore "~5.2.4"
glob "~10.3.10"
ignore "~5.3.0"
js-yaml "^4.1.0"
jsonc-parser "~3.2.0"
markdownlint "~0.29.0"
minimatch "~9.0.1"
run-con "~1.2.11"
markdownlint "~0.32.1"
minimatch "~9.0.3"
run-con "~1.3.2"
markdownlint-micromark@0.1.5:
version "0.1.5"
resolved "https://registry.yarnpkg.com/markdownlint-micromark/-/markdownlint-micromark-0.1.5.tgz#a23400b101be32cd4336f2b6b4c47da31825524c"
integrity sha512-HvofNU4QCvfUCWnocQP1IAWaqop5wpWrB0mKB6SSh0fcpV0PdmQNS6tdUuFew1utpYlUvYYzz84oDkrD76GB9A==
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@~0.29.0:
version "0.29.0"
resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.29.0.tgz#9647478b7d5485965c557502fe54ee5a550033f2"
integrity sha512-ASAzqpODstu/Qsk0xW5BPgWnK/qjpBQ4e7IpsSvvFXcfYIjanLTdwFRJK1SIEEh0fGSMKXcJf/qhaZYHyME0wA==
markdownlint@~0.32.1:
version "0.32.1"
resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.32.1.tgz#14b3ff548e437487ae393ad5bc9092ca2858adde"
integrity sha512-3sx9xpi4xlHlokGyHO9k0g3gJbNY4DI6oNEeEYq5gQ4W7UkiJ90VDAnuDl2U+yyXOUa6BX+0gf69ZlTUGIBp6A==
dependencies:
markdown-it "13.0.1"
markdownlint-micromark "0.1.5"
markdown-it "13.0.2"
markdownlint-micromark "0.1.7"
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==
minimatch@^9.0.1, minimatch@~9.0.1:
version "9.0.2"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.2.tgz#397e387fff22f6795844d00badc903a3d5de7057"
integrity sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==
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==
dependencies:
brace-expansion "^2.0.1"
minimist@^1.2.6:
minimist@^1.2.8:
version "1.2.8"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
minipass@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d"
integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==
"minipass@^5.0.0 || ^6.0.2":
version "6.0.2"
resolved "https://registry.yarnpkg.com/minipass/-/minipass-6.0.2.tgz#542844b6c4ce95b202c0995b0a471f1229de4c81"
integrity sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w==
"minipass@^5.0.0 || ^6.0.2 || ^7.0.0":
version "7.0.4"
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c"
integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==
path-key@^3.1.0:
version "3.1.1"
resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"
integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
path-scurry@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.7.0.tgz#99c741a2cfbce782294a39994d63748b5a24f6db"
integrity sha512-UkZUeDjczjYRE495+9thsgcVgsaCPkaw80slmfVFgllxY+IO8ubTsOpFVjDPROBqJdHfVPUFRHPBV/WciOVfWg==
path-scurry@^1.10.1:
version "1.10.1"
resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698"
integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==
dependencies:
lru-cache "^9.0.0"
minipass "^5.0.0"
lru-cache "^9.1.1 || ^10.0.0"
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
run-con@~1.2.11:
version "1.2.11"
resolved "https://registry.yarnpkg.com/run-con/-/run-con-1.2.11.tgz#0014ed430bad034a60568dfe7de2235f32e3f3c4"
integrity sha512-NEMGsUT+cglWkzEr4IFK21P4Jca45HqiAbIIZIBdX5+UZTB24Mb/21iNGgz9xZa8tL6vbW7CXmq7MFN42+VjNQ==
run-con@~1.3.2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/run-con/-/run-con-1.3.2.tgz#755860a10ce326a96b509485fcea50b4d03754e8"
integrity sha512-CcfE+mYiTcKEzg0IqS08+efdnH0oJ3zV0wSUFBNrMHMuxCtXvBCLzCJHatwuXDcu/RlhjTziTo/a1ruQik6/Yg==
dependencies:
deep-extend "^0.6.0"
ini "~3.0.0"
minimist "^1.2.6"
ini "~4.1.0"
minimist "^1.2.8"
strip-json-comments "~3.1.1"
shebang-command@^2.0.0:
@@ -288,9 +288,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
@@ -320,9 +320,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"

View File

@@ -2,6 +2,38 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/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

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/prettier-config",
"version": "0.1.1",
"version": "0.2.4",
"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.2",
"prettier": "3.1.1"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

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

View File

@@ -2,7 +2,12 @@
# yarn lockfile v1
prettier@2.8.8:
version "2.8.8"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
"@ivuorinen/config-checker@^1.1.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.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.1.1.tgz#6ba9f23165d690b6cbdaa88cb0807278f7019848"
integrity sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==

View File

@@ -2,6 +2,96 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [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
- **deps:** update dependency semantic-release to v21.1.2 ([81dc3be](https://github.com/ivuorinen/base-configs/commit/81dc3bed603adfc2ff6a390e77641fff026263bc))
## [0.1.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.1.10...@ivuorinen/semantic-release-config@0.1.11) (2023-08-27)
### Bug Fixes
- **deps:** update dependency semantic-release to v21.1.1 ([8bd4d48](https://github.com/ivuorinen/base-configs/commit/8bd4d486b5604c62e5c278903e2de30175dcbc43))
## [0.1.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.1.9...@ivuorinen/semantic-release-config@0.1.10) (2023-08-27)
### Bug Fixes
- **deps:** update dependency semantic-release to v21.1.0 ([#84](https://github.com/ivuorinen/base-configs/issues/84)) ([7d5880a](https://github.com/ivuorinen/base-configs/commit/7d5880afcc5b03adcbdb948d1e985625852d23ab))
## [0.1.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.1.8...@ivuorinen/semantic-release-config@0.1.9) (2023-08-23)
### Bug Fixes
- **deps:** update dependency semantic-release to v21.0.9 ([#80](https://github.com/ivuorinen/base-configs/issues/80)) ([d025d3d](https://github.com/ivuorinen/base-configs/commit/d025d3d67865308c111e4e0ad15343036caa946d))
## [0.1.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.1.7...@ivuorinen/semantic-release-config@0.1.8) (2023-07-13)
**Note:** Version bump only for package @ivuorinen/semantic-release-config

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/semantic-release-config",
"version": "0.1.8",
"version": "0.2.9",
"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.2",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"semantic-release": "21.0.7"
"semantic-release": "22.0.12"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

@@ -2,9 +2,18 @@
const fs = require('fs')
const path = require('path')
const process = require('process')
const checkConfig = require('@ivuorinen/config-checker')
const foundConfig = checkConfig('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

View File

@@ -2,6 +2,130 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [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
- **deps:** update dependency stylelint-scss to v5.2.1 ([52091b8](https://github.com/ivuorinen/base-configs/commit/52091b86f0a2a400e54e83be7036a713b0063e9e))
## [0.1.29](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.28...@ivuorinen/stylelint-config@0.1.29) (2023-09-18)
### Bug Fixes
- **deps:** update dependency stylelint-scss to v5.2.0 ([#93](https://github.com/ivuorinen/base-configs/issues/93)) ([10183f8](https://github.com/ivuorinen/base-configs/commit/10183f8fe056df25ca9bd218d57520e5d0f62691))
## [0.1.28](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.27...@ivuorinen/stylelint-config@0.1.28) (2023-09-07)
### Bug Fixes
- **deps:** update dependency stylelint-config-recommended-scss to v13 ([#89](https://github.com/ivuorinen/base-configs/issues/89)) ([6bed25d](https://github.com/ivuorinen/base-configs/commit/6bed25d121bc9abb7baf1b84f538f41d2a8fa229))
## [0.1.27](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.26...@ivuorinen/stylelint-config@0.1.27) (2023-08-22)
### Bug Fixes
- **deps:** update dependency stylelint to v15.10.3 ([3eccb35](https://github.com/ivuorinen/base-configs/commit/3eccb355abc28b081639527fa8f958a8707b71f5))
## [0.1.26](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.25...@ivuorinen/stylelint-config@0.1.26) (2023-08-13)
### Bug Fixes
- **deps:** update dependency stylelint-scss to v5.1.0 ([#73](https://github.com/ivuorinen/base-configs/issues/73)) ([0b0d8dc](https://github.com/ivuorinen/base-configs/commit/0b0d8dcd7d2edbfee8fab0674de710fd4b75163c))
## [0.1.25](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.24...@ivuorinen/stylelint-config@0.1.25) (2023-07-22)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/stylelint-config",
"version": "0.1.25",
"version": "0.2.13",
"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.2",
"stylelint-config-recommended-scss": "12.0.0",
"stylelint-config-standard": "34.0.0",
"stylelint-order": "6.0.3",
"stylelint-scss": "5.0.1"
"@ivuorinen/config-checker": "^1.1.2",
"postcss": "^8.4.2",
"stylelint": "16.1.0",
"stylelint-config-recommended-scss": "14.0.0",
"stylelint-config-standard": "36.0.0",
"stylelint-order": "6.0.4",
"stylelint-scss": "6.0.0"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

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

View File

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

File diff suppressed because it is too large Load Diff

2728
yarn.lock

File diff suppressed because it is too large Load Diff