Compare commits

..

187 Commits

Author SHA1 Message Date
renovate[bot]
1cdfa5e13e chore(release): publish
- @ivuorinen/base-configs@1.1.59
 - @ivuorinen/commitlint-config@0.2.17
2024-03-23 00:03:57 +00:00
renovate[bot]
df99f1fa2e fix(deps): update dependency @commitlint/cli to v19.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-23 00:03:18 +00:00
renovate[bot]
d5ad950b70 chore(deps): replace dependency eslint-plugin-node with eslint-plugin-n ^14.0.0 (#207) 2024-03-22 22:24:34 +02:00
renovate[bot]
d8234ae7d2 chore(release): publish
- @ivuorinen/base-configs@1.1.58
 - @ivuorinen/semantic-release-config@0.2.16
2024-03-22 00:23:47 +00:00
renovate[bot]
a81f5d8889 fix(deps): update dependency semantic-release to v23.0.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-22 00:23:18 +00:00
renovate[bot]
63764a0362 chore(release): publish
- @ivuorinen/base-configs@1.1.57
 - @ivuorinen/semantic-release-config@0.2.15
2024-03-20 01:24:07 +00:00
renovate[bot]
11982de2cf chore(deps): update devdependencies (patch)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 01:23:36 +00:00
ivuorinen
130c81c8aa chore(release): publish
- @ivuorinen/base-configs@1.1.56
 - @ivuorinen/commitlint-config@0.2.16
2024-03-19 08:28:41 +00:00
renovate[bot]
b72a2b6e93 fix(deps): update dependency @commitlint/cli to v19.2.0 (#205) 2024-03-19 10:28:11 +02:00
renovate[bot]
8a692d3b31 chore(release): publish
- @ivuorinen/base-configs@1.1.55
 - @ivuorinen/semantic-release-config@0.2.14
2024-03-19 02:21:19 +00:00
renovate[bot]
8c7f7440da fix(deps): update dependency semantic-release to v23.0.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 02:20:47 +00:00
dependabot[bot]
cb64db2f3a chore(deps): bump follow-redirects from 1.15.4 to 1.15.6 (#203) 2024-03-17 14:25:55 +02:00
ivuorinen
6a9cd17396 chore(release): publish
- @ivuorinen/base-configs@1.1.54
 - @ivuorinen/commitlint-config@0.2.15
2024-03-17 12:25:08 +00:00
renovate[bot]
53929deedf fix(deps): update commitlint monorepo to v19.1.0 (#202) 2024-03-17 14:24:35 +02:00
renovate[bot]
18581cccd7 chore(release): publish
- @ivuorinen/stylelint-config@0.2.18
2024-03-09 05:15:36 +00:00
renovate[bot]
afa8a81152 fix(deps): update dependency stylelint-scss to v6.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-09 05:15:06 +00:00
ivuorinen
677908757a chore(release): publish
- @ivuorinen/stylelint-config@0.2.17
2024-03-08 07:42:30 +00:00
renovate[bot]
c4f7a0f493 fix(deps): update dependency stylelint-scss to v6.2.0 (#200)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-08 09:41:55 +02:00
ivuorinen
9c6e920854 chore(release): publish
- @ivuorinen/base-configs@1.1.53
 - @ivuorinen/commitlint-config@0.2.14
2024-03-02 16:01:17 +00:00
renovate[bot]
12bc818a6e fix(deps)!: update commitlint monorepo to v19 (#199)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-02 18:00:46 +02:00
renovate[bot]
b5cc7dc9e0 chore(deps): update actions/cache action to v4.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 01:44:16 +00:00
ivuorinen
1dec2cd832 chore(release): publish
- @ivuorinen/base-configs@1.1.52
 - @ivuorinen/eslint-config@0.4.19
2024-02-27 09:51:08 +00:00
renovate[bot]
c06e3b6ddc fix(deps): update dependency eslint to v8.57.0 (#197)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-27 11:50:31 +02:00
ivuorinen
e3e6b43a95 chore(release): publish
- @ivuorinen/base-configs@1.1.51
 - @ivuorinen/semantic-release-config@0.2.13
2024-02-21 13:01:52 +00:00
dependabot[bot]
27d9a626b1 chore(deps): bump ip from 2.0.0 to 2.0.1 (#195)
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-21 15:01:10 +02:00
dependabot[bot]
9932d9fabf chore(deps): bump ip from 2.0.0 to 2.0.1 in /packages/base-configs (#196)
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-21 15:00:39 +02:00
ivuorinen
0e9bfae791 chore(release): publish
- @ivuorinen/base-configs@1.1.50
 - @ivuorinen/eslint-config@0.4.18
2024-02-20 11:10:08 +00:00
renovate[bot]
3640d26425 fix(deps): update dependency eslint-plugin-jest to v27.9.0 (#193) 2024-02-20 13:09:34 +02:00
ivuorinen
25486624ac chore(release): publish
- @ivuorinen/base-configs@1.1.49
 - @ivuorinen/eslint-config@0.4.17
2024-02-17 21:49:18 +00:00
renovate[bot]
07758aa9ff fix(deps): update eslint (#189) 2024-02-17 23:48:48 +02:00
ivuorinen
184ea15e15 chore(release): publish
- @ivuorinen/base-configs@1.1.48
 - @ivuorinen/browserslist-config@0.2.5
2024-02-17 21:41:38 +00:00
renovate[bot]
a9436e4b01 fix(deps): update dependency browserslist to v4.23.0 (#192) 2024-02-17 23:41:06 +02:00
renovate[bot]
96414f344b chore(release): publish
- @ivuorinen/base-configs@1.1.47
 - @ivuorinen/commitlint-config@0.2.13
2024-02-17 13:30:14 +00:00
renovate[bot]
4884192453 fix(deps): update dependency @commitlint/config-conventional to v18.6.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 13:29:46 +00:00
renovate[bot]
84acf9e16e chore(release): publish
- @ivuorinen/base-configs@1.1.46
 - @ivuorinen/commitlint-config@0.2.12
2024-02-17 03:36:31 +00:00
renovate[bot]
e996d191e5 fix(deps): update devdependencies (patch) to v18.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 03:36:02 +00:00
renovate[bot]
b86552b3b6 chore(deps): update dependency eslint-plugin-unicorn to v51 (#187) 2024-02-10 16:50:24 +02:00
ivuorinen
b8ea16a6ae chore(release): publish
- @ivuorinen/base-configs@1.1.45
 - @ivuorinen/semantic-release-config@0.2.12
2024-02-10 14:49:56 +00:00
renovate[bot]
5d1d29597d fix(deps): update dependency semantic-release to v23.0.2 (#188) 2024-02-10 16:49:27 +02:00
renovate[bot]
d9f05035d1 chore(release): publish
- @ivuorinen/base-configs@1.1.44
 - @ivuorinen/semantic-release-config@0.2.11
2024-02-10 00:32:32 +00:00
renovate[bot]
937014c2b4 fix(deps): update dependency semantic-release to v23.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-10 00:31:55 +00:00
renovate[bot]
27af10eeab chore(release): publish
- @ivuorinen/base-configs@1.1.43
 - @ivuorinen/prettier-config@0.2.9
2024-02-08 01:35:15 +00:00
renovate[bot]
608c86d823 chore(deps): update devdependencies (patch)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 01:34:43 +00:00
renovate[bot]
f8d3f35858 chore(release): publish
- @ivuorinen/stylelint-config@0.2.16
2024-02-04 19:32:38 +00:00
renovate[bot]
68ef8dfb89 fix(deps): update dependency stylelint to v16.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-04 19:32:06 +00:00
ivuorinen
b7ee4370fb chore(release): publish
- @ivuorinen/base-configs@1.1.42
 - @ivuorinen/markdownlint-config@0.2.4
2024-02-02 08:21:28 +00:00
renovate[bot]
50d4743f3b fix(deps): update dependency markdownlint-cli to v0.39.0 (#183) 2024-02-02 10:20:55 +02:00
renovate[bot]
67ccc38863 chore(release): publish
- @ivuorinen/base-configs@1.1.41
 - @ivuorinen/browserslist-config@0.2.4
2024-01-30 00:05:04 +00:00
renovate[bot]
82ac478fe2 fix(deps): update dependency browserslist to v4.22.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 00:04:32 +00:00
ivuorinen
4f01155d5f chore(release): publish
- @ivuorinen/base-configs@1.1.40
 - @ivuorinen/commitlint-config@0.2.11
2024-01-28 14:08:35 +00:00
renovate[bot]
3292c31f29 fix(deps): update commitlint monorepo to v18.6.0 (#181) 2024-01-28 16:08:06 +02:00
ivuorinen
5d72376f03 chore(release): publish
- @ivuorinen/base-configs@1.1.39
 - @ivuorinen/commitlint-config@0.2.10
2024-01-25 22:14:43 +00:00
renovate[bot]
612cdc26cd fix(deps): update commitlint monorepo to v18.5.0 (#180) 2024-01-26 00:14:10 +02:00
ivuorinen
0357f43ffc chore(release): publish
- @ivuorinen/stylelint-config@0.2.15
2024-01-25 12:57:54 +00:00
renovate[bot]
4f9f8675ed fix(deps): update dependency stylelint-scss to v6.1.0 (#179)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 14:57:19 +02:00
ivuorinen
75ab06eda1 chore(release): publish
- @ivuorinen/stylelint-config@0.2.14
2024-01-23 10:26:47 +00:00
renovate[bot]
72cb9e190a fix(deps): update dependency stylelint to v16.2.0 (#178) 2024-01-23 12:26:13 +02:00
renovate[bot]
7a47187588 chore(release): publish
- @ivuorinen/base-configs@1.1.38
 - @ivuorinen/prettier-config@0.2.8
2024-01-20 15:37:58 +00:00
renovate[bot]
faadbc633a fix(deps): update dependency prettier to v3.2.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-20 15:37:27 +00:00
renovate[bot]
92453cce6b chore(release): publish
- @ivuorinen/base-configs@1.1.37
 - @ivuorinen/prettier-config@0.2.7
2024-01-20 07:34:36 +00:00
renovate[bot]
4393ed7c99 fix(deps): update dependency prettier to v3.2.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-20 07:34:06 +00:00
renovate[bot]
ca36feb999 chore(deps): update actions/cache action to v4 (#175) 2024-01-18 02:04:56 +02:00
renovate[bot]
7a832703f9 chore(release): publish
- @ivuorinen/base-configs@1.1.36
 - @ivuorinen/prettier-config@0.2.6
2024-01-17 08:20:28 +00:00
renovate[bot]
6d7f865bbb fix(deps): update dependency prettier to v3.2.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 08:19:53 +00:00
ivuorinen
feabe817a9 chore(release): publish
- @ivuorinen/base-configs@1.1.35
 - @ivuorinen/semantic-release-config@0.2.10
2024-01-16 09:25:46 +00:00
renovate[bot]
a33925203d fix(deps): update dependency semantic-release to v23 (#173)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 11:25:12 +02:00
ivuorinen
346fe10b42 chore(release): publish
- @ivuorinen/base-configs@1.1.34
 - @ivuorinen/prettier-config@0.2.5
2024-01-16 09:24:40 +00:00
renovate[bot]
178b77f007 fix(deps): update dependency prettier to v3.2.1 (#172)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 11:24:11 +02:00
renovate[bot]
0381fbaa3f chore(release): publish
- @ivuorinen/base-configs@1.1.33
 - @ivuorinen/eslint-config@0.4.16
2024-01-16 01:20:02 +00:00
renovate[bot]
707d60a214 fix(deps): update dependency eslint-plugin-jest to v27.6.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 01:19:29 +00:00
renovate[bot]
2beab11492 chore(release): publish
- @ivuorinen/base-configs@1.1.32
 - @ivuorinen/eslint-config@0.4.15
2024-01-13 14:05:34 +00:00
renovate[bot]
87bf28c48c fix(deps): update dependency eslint-plugin-jest to v27.6.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-13 14:05:04 +00:00
renovate[bot]
354b75c254 chore(release): publish
- @ivuorinen/base-configs@1.1.31
 - @ivuorinen/eslint-config@0.4.14
2024-01-13 03:03:25 +00:00
renovate[bot]
2c7b3ebc0a fix(deps): update dependency eslint-plugin-n to v16.6.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-13 03:02:52 +00:00
renovate[bot]
6d34da1f31 chore(deps): update actions/cache action to v3.3.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 05:07:03 +00:00
dependabot[bot]
cb81b2ca32 chore(deps): bump follow-redirects from 1.15.3 to 1.15.4 (#167) 2024-01-11 11:17:38 +02:00
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
56 changed files with 10264 additions and 2910 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

@@ -28,7 +28,7 @@ jobs:
# 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

@@ -22,7 +22,7 @@ jobs:
fetch-depth: 0
- name: Setup Node.js Environment
uses: actions/setup-node@v4.0.0
uses: actions/setup-node@v4.0.2
with:
always-auth: true
node-version: 18
@@ -30,7 +30,7 @@ jobs:
scope: '@ivuorinen'
- name: Cache Node Modules
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.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

@@ -50,23 +50,23 @@
"prettier:report": "prettier '**/*.{js,tsx,ts,json}' --check"
},
"devDependencies": {
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"@commitlint/cli": "^19.0.0",
"@commitlint/config-conventional": "^19.0.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.0.0",
"eslint-formatter-pretty": "^5.0.0",
"eslint-formatter-pretty": "^6.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-n": "^14.0.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-sonarjs": "^0.21.0",
"eslint-plugin-unicorn": "^48.0.0",
"lerna": "^7.0.0",
"eslint-plugin-sonarjs": "^0.24.0",
"eslint-plugin-unicorn": "^51.0.0",
"lerna": "^8.0.0",
"lerna-update-wizard": "^1.1.2",
"markdownlint-cli": "^0.37.0",
"prettier": "^2.8.0",
"markdownlint-cli": "^0.39.0",
"prettier": "^3.0.0",
"simple-git-hooks": "^2.8.1"
}
}

View File

@@ -0,0 +1,249 @@
# 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.59](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.58...@ivuorinen/base-configs@1.1.59) (2024-03-23)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.58](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.57...@ivuorinen/base-configs@1.1.58) (2024-03-22)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.57](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.56...@ivuorinen/base-configs@1.1.57) (2024-03-20)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.56](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.55...@ivuorinen/base-configs@1.1.56) (2024-03-19)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.55](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.54...@ivuorinen/base-configs@1.1.55) (2024-03-19)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.54](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.53...@ivuorinen/base-configs@1.1.54) (2024-03-17)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.53](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.52...@ivuorinen/base-configs@1.1.53) (2024-03-02)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.52](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.51...@ivuorinen/base-configs@1.1.52) (2024-02-27)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.51](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.50...@ivuorinen/base-configs@1.1.51) (2024-02-21)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.50](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.49...@ivuorinen/base-configs@1.1.50) (2024-02-20)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.49](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.48...@ivuorinen/base-configs@1.1.49) (2024-02-17)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.48](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.47...@ivuorinen/base-configs@1.1.48) (2024-02-17)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.47](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.46...@ivuorinen/base-configs@1.1.47) (2024-02-17)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.46](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.45...@ivuorinen/base-configs@1.1.46) (2024-02-17)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.45](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.44...@ivuorinen/base-configs@1.1.45) (2024-02-10)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.44](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.43...@ivuorinen/base-configs@1.1.44) (2024-02-10)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.43](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.42...@ivuorinen/base-configs@1.1.43) (2024-02-08)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.42](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.41...@ivuorinen/base-configs@1.1.42) (2024-02-02)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.41](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.40...@ivuorinen/base-configs@1.1.41) (2024-01-30)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.40](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.39...@ivuorinen/base-configs@1.1.40) (2024-01-28)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.39](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.38...@ivuorinen/base-configs@1.1.39) (2024-01-25)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.38](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.37...@ivuorinen/base-configs@1.1.38) (2024-01-20)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.37](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.36...@ivuorinen/base-configs@1.1.37) (2024-01-20)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.36](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.35...@ivuorinen/base-configs@1.1.36) (2024-01-17)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.35](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.34...@ivuorinen/base-configs@1.1.35) (2024-01-16)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.34](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.33...@ivuorinen/base-configs@1.1.34) (2024-01-16)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.33](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.32...@ivuorinen/base-configs@1.1.33) (2024-01-16)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.32](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.31...@ivuorinen/base-configs@1.1.32) (2024-01-13)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.31](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.30...@ivuorinen/base-configs@1.1.31) (2024-01-13)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.30](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.29...@ivuorinen/base-configs@1.1.30) (2024-01-07)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.29](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.28...@ivuorinen/base-configs@1.1.29) (2024-01-05)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.28](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.27...@ivuorinen/base-configs@1.1.28) (2024-01-05)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.27](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.26...@ivuorinen/base-configs@1.1.27) (2024-01-03)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.26](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.25...@ivuorinen/base-configs@1.1.26) (2023-12-24)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.25](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.24...@ivuorinen/base-configs@1.1.25) (2023-12-19)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.24](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.23...@ivuorinen/base-configs@1.1.24) (2023-12-17)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.23](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.22...@ivuorinen/base-configs@1.1.23) (2023-12-15)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.22](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.21...@ivuorinen/base-configs@1.1.22) (2023-12-15)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.21](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.20...@ivuorinen/base-configs@1.1.21) (2023-12-15)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.20](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.19...@ivuorinen/base-configs@1.1.20) (2023-12-13)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.19](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.18...@ivuorinen/base-configs@1.1.19) (2023-12-09)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.18](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.17...@ivuorinen/base-configs@1.1.18) (2023-12-08)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.17](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.16...@ivuorinen/base-configs@1.1.17) (2023-12-07)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.16](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.15...@ivuorinen/base-configs@1.1.16) (2023-12-05)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.15](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.14...@ivuorinen/base-configs@1.1.15) (2023-11-24)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.13...@ivuorinen/base-configs@1.1.14) (2023-11-21)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.12...@ivuorinen/base-configs@1.1.13) (2023-11-20)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.11...@ivuorinen/base-configs@1.1.12) (2023-11-19)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.10...@ivuorinen/base-configs@1.1.11) (2023-11-16)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.9...@ivuorinen/base-configs@1.1.10) (2023-11-16)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.8...@ivuorinen/base-configs@1.1.9) (2023-11-14)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.7...@ivuorinen/base-configs@1.1.8) (2023-11-14)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.6...@ivuorinen/base-configs@1.1.7) (2023-11-11)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.5...@ivuorinen/base-configs@1.1.6) (2023-11-07)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.4...@ivuorinen/base-configs@1.1.5) (2023-11-07)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.3...@ivuorinen/base-configs@1.1.4) (2023-11-04)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.2...@ivuorinen/base-configs@1.1.3) (2023-11-03)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.1...@ivuorinen/base-configs@1.1.2) (2023-11-01)
**Note:** Version bump only for package @ivuorinen/base-configs
## [1.1.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/base-configs@1.1.0...@ivuorinen/base-configs@1.1.1) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/base-configs
# 1.1.0 (2023-10-30)
### Bug Fixes
- **base-configs:** convert config from ES module ([88dbe39](https://github.com/ivuorinen/base-configs/commit/88dbe395d1843384edf97eab4ee5c43810deae4f))
### Features
- **package:** new pkg: @ivuorinen/base-configs ([#121](https://github.com/ivuorinen/base-configs/issues/121)) ([feddfcf](https://github.com/ivuorinen/base-configs/commit/feddfcfdba391f8ed4bf59589737a340401e4fba))

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.59",
"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.5",
"@ivuorinen/commitlint-config": "^0.2.17",
"@ivuorinen/eslint-config": "^0.4.19",
"@ivuorinen/markdownlint-config": "^0.2.4",
"@ivuorinen/prettier-config": "^0.2.9",
"@ivuorinen/semantic-release-config": "^0.2.16"
}
}

File diff suppressed because it is too large Load Diff

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.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.4...@ivuorinen/browserslist-config@0.2.5) (2024-02-17)
### Bug Fixes
- **deps:** update dependency browserslist to v4.23.0 ([#192](https://github.com/ivuorinen/base-configs/issues/192)) ([a9436e4](https://github.com/ivuorinen/base-configs/commit/a9436e4b013e3e853c30e65f6a6ec25595e2ad6a))
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.3...@ivuorinen/browserslist-config@0.2.4) (2024-01-30)
### Bug Fixes
- **deps:** update dependency browserslist to v4.22.3 ([82ac478](https://github.com/ivuorinen/base-configs/commit/82ac478fe2e08d04685e6d33951461f14824d6f2))
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.2...@ivuorinen/browserslist-config@0.2.3) (2023-12-07)
### Bug Fixes
- **deps:** update dependency browserslist to v4.22.2 ([#142](https://github.com/ivuorinen/base-configs/issues/142)) ([990936c](https://github.com/ivuorinen/base-configs/commit/990936cc8bdf8f868d559e0283f1dc858081358b))
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.1...@ivuorinen/browserslist-config@0.2.2) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/browserslist-config
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.0...@ivuorinen/browserslist-config@0.2.1) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/browserslist-config
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.12...@ivuorinen/browserslist-config@0.2.0) (2023-10-25)
### Features
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
## [0.1.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.11...@ivuorinen/browserslist-config@0.1.12) (2023-10-24)
**Note:** Version bump only for package @ivuorinen/browserslist-config

View File

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

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/browserslist-config",
"version": "0.1.12",
"version": "0.2.5",
"description": "ivuorinen's shareable configuration for Browserslist.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,7 +36,8 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"browserslist": "4.22.1"
"@ivuorinen/config-checker": "^1.1.2",
"browserslist": "4.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('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,35 +2,40 @@
# yarn lockfile v1
browserslist@4.22.1:
version "4.22.1"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.1.tgz#ba91958d1a59b87dab6fed8dfbcb3da5e2e9c619"
integrity sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ==
"@ivuorinen/config-checker@^1.1.2":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.2.tgz#1a7c4dd683129532998f5b682cd95e4daf176acf"
integrity sha512-Gb1o2jM0ZqKUa0UTk6yTDbEnC9xGT104EzL0q4x0dW8fLFFQNTp4NrWmpUS90He5m0GNcN5QBo7QPZdGlwUz1Q==
browserslist@4.23.0:
version "4.23.0"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.0.tgz#8f3acc2bbe73af7213399430890f86c63a5674ab"
integrity sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==
dependencies:
caniuse-lite "^1.0.30001541"
electron-to-chromium "^1.4.535"
node-releases "^2.0.13"
caniuse-lite "^1.0.30001587"
electron-to-chromium "^1.4.668"
node-releases "^2.0.14"
update-browserslist-db "^1.0.13"
caniuse-lite@^1.0.30001541:
version "1.0.30001553"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001553.tgz#e64e7dc8fd4885cd246bb476471420beb5e474b5"
integrity sha512-N0ttd6TrFfuqKNi+pMgWJTb9qrdJu4JSpgPFLe/lrD19ugC6fZgF0pUewRowDwzdDnb9V41mFcdlYgl/PyKf4A==
caniuse-lite@^1.0.30001587:
version "1.0.30001587"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001587.tgz#a0bce920155fa56a1885a69c74e1163fc34b4881"
integrity sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==
electron-to-chromium@^1.4.535:
version "1.4.565"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.565.tgz#205f3746a759ec3c43bce98b9eef5445f2721ea9"
integrity sha512-XbMoT6yIvg2xzcbs5hCADi0dXBh4//En3oFXmtPX+jiyyiCTiM9DGFT2SLottjpEs9Z8Mh8SqahbR96MaHfuSg==
electron-to-chromium@^1.4.668:
version "1.4.673"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.673.tgz#1f077d9a095761804aec7ec6346c3f4b69b56534"
integrity sha512-zjqzx4N7xGdl5468G+vcgzDhaHkaYgVcf9MqgexcTqsl2UHSCmOj/Bi3HAprg4BZCpC7HyD8a6nZl6QAZf72gw==
escalade@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"
integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==
node-releases@^2.0.13:
version "2.0.13"
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d"
integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==
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"

View File

@@ -2,6 +2,108 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.17](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.16...@ivuorinen/commitlint-config@0.2.17) (2024-03-23)
### Bug Fixes
- **deps:** update dependency @commitlint/cli to v19.2.1 ([df99f1f](https://github.com/ivuorinen/base-configs/commit/df99f1fa2ee8183890606bdb55d084e9c727e1b8))
## [0.2.16](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.15...@ivuorinen/commitlint-config@0.2.16) (2024-03-19)
### Bug Fixes
- **deps:** update dependency @commitlint/cli to v19.2.0 ([#205](https://github.com/ivuorinen/base-configs/issues/205)) ([b72a2b6](https://github.com/ivuorinen/base-configs/commit/b72a2b6e9312284798d4a6200816fd8bc47fa4c6))
## [0.2.15](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.14...@ivuorinen/commitlint-config@0.2.15) (2024-03-17)
### Bug Fixes
- **deps:** update commitlint monorepo to v19.1.0 ([#202](https://github.com/ivuorinen/base-configs/issues/202)) ([53929de](https://github.com/ivuorinen/base-configs/commit/53929deedfe95666bf9a31b80a87baed34f5d99c))
## [0.2.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.13...@ivuorinen/commitlint-config@0.2.14) (2024-03-02)
**Note:** Version bump only for package @ivuorinen/commitlint-config
## [0.2.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.12...@ivuorinen/commitlint-config@0.2.13) (2024-02-17)
### Bug Fixes
- **deps:** update dependency @commitlint/config-conventional to v18.6.2 ([4884192](https://github.com/ivuorinen/base-configs/commit/48841924537561baf101b2512ef7d41f79a46351))
## [0.2.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.11...@ivuorinen/commitlint-config@0.2.12) (2024-02-17)
### Bug Fixes
- **deps:** update devdependencies (patch) to v18.6.1 ([e996d19](https://github.com/ivuorinen/base-configs/commit/e996d191e5d51cb364ea7298ec8ee35722850aa6))
## [0.2.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.10...@ivuorinen/commitlint-config@0.2.11) (2024-01-28)
### Bug Fixes
- **deps:** update commitlint monorepo to v18.6.0 ([#181](https://github.com/ivuorinen/base-configs/issues/181)) ([3292c31](https://github.com/ivuorinen/base-configs/commit/3292c31f299fee72bc7a1a3350e109a68b44fa3e))
## [0.2.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.9...@ivuorinen/commitlint-config@0.2.10) (2024-01-25)
### Bug Fixes
- **deps:** update commitlint monorepo to v18.5.0 ([#180](https://github.com/ivuorinen/base-configs/issues/180)) ([612cdc2](https://github.com/ivuorinen/base-configs/commit/612cdc26cd32cb3abfb6b9f74982aa4c4c744402))
## [0.2.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.8...@ivuorinen/commitlint-config@0.2.9) (2024-01-07)
### Bug Fixes
- **deps:** update devdependencies (patch) to v18.4.4 ([5b1c8e2](https://github.com/ivuorinen/base-configs/commit/5b1c8e213d5c758d9fcecce6b9adfc87354aa915))
## [0.2.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.7...@ivuorinen/commitlint-config@0.2.8) (2023-11-24)
### Bug Fixes
- **deps:** update commitlint to v18.4.3 ([#139](https://github.com/ivuorinen/base-configs/issues/139)) ([0b592d6](https://github.com/ivuorinen/base-configs/commit/0b592d68881e0d3d305b94d8a8bf5c2594271326))
## [0.2.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.6...@ivuorinen/commitlint-config@0.2.7) (2023-11-19)
### Bug Fixes
- **deps:** update devdependencies (patch) to v18.4.2 ([22de2ef](https://github.com/ivuorinen/base-configs/commit/22de2efbabd32019afe995c75d460436be1144f6))
## [0.2.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.5...@ivuorinen/commitlint-config@0.2.6) (2023-11-16)
### Bug Fixes
- **deps:** update dependency @commitlint/cli to v18.4.1 ([10bd9c0](https://github.com/ivuorinen/base-configs/commit/10bd9c035af70011441793248d23736d3b1a2e02))
## [0.2.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.4...@ivuorinen/commitlint-config@0.2.5) (2023-11-14)
### Bug Fixes
- **deps:** update commitlint monorepo to v18.4.0 ([#133](https://github.com/ivuorinen/base-configs/issues/133)) ([dc38a94](https://github.com/ivuorinen/base-configs/commit/dc38a94b97e655bb90bc620fe4dbe1c281f2c1d5))
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.3...@ivuorinen/commitlint-config@0.2.4) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/commitlint-config
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.2...@ivuorinen/commitlint-config@0.2.3) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/commitlint-config
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.1...@ivuorinen/commitlint-config@0.2.2) (2023-10-29)
### Bug Fixes
- **deps:** update dependency @commitlint/cli to v18.2.0 ([#119](https://github.com/ivuorinen/base-configs/issues/119)) ([1c2b5d6](https://github.com/ivuorinen/base-configs/commit/1c2b5d6faf5d0e78754392c28b157ac58afc73e9))
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.0...@ivuorinen/commitlint-config@0.2.1) (2023-10-28)
### Bug Fixes
- **deps:** update commitlint monorepo to v18.1.0 ([#118](https://github.com/ivuorinen/base-configs/issues/118)) ([3cbb852](https://github.com/ivuorinen/base-configs/commit/3cbb85289a1599eed3d87927e1bd402520b4d74d))
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.1.14...@ivuorinen/commitlint-config@0.2.0) (2023-10-25)
### Features
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
## [0.1.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.1.13...@ivuorinen/commitlint-config@0.1.14) (2023-10-24)
### Bug Fixes

View File

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

View File

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

File diff suppressed because it is too large Load Diff

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,152 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.4.19](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.18...@ivuorinen/eslint-config@0.4.19) (2024-02-27)
### Bug Fixes
- **deps:** update dependency eslint to v8.57.0 ([#197](https://github.com/ivuorinen/base-configs/issues/197)) ([c06e3b6](https://github.com/ivuorinen/base-configs/commit/c06e3b6ddce9385fb6dd1a1937419dfcf098d7f1))
## [0.4.18](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.17...@ivuorinen/eslint-config@0.4.18) (2024-02-20)
### Bug Fixes
- **deps:** update dependency eslint-plugin-jest to v27.9.0 ([#193](https://github.com/ivuorinen/base-configs/issues/193)) ([3640d26](https://github.com/ivuorinen/base-configs/commit/3640d264250a7340398a1299f2650198922c8aaf))
## [0.4.17](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.16...@ivuorinen/eslint-config@0.4.17) (2024-02-17)
### Bug Fixes
- **deps:** update eslint ([#189](https://github.com/ivuorinen/base-configs/issues/189)) ([07758aa](https://github.com/ivuorinen/base-configs/commit/07758aa9ff159a1e7d1518734c41ac6c26e2b1c3))
## [0.4.16](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.15...@ivuorinen/eslint-config@0.4.16) (2024-01-16)
### Bug Fixes
- **deps:** update dependency eslint-plugin-jest to v27.6.3 ([707d60a](https://github.com/ivuorinen/base-configs/commit/707d60a2140f584fe0aef3f9235554af7bf05bbc))
## [0.4.15](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.14...@ivuorinen/eslint-config@0.4.15) (2024-01-13)
### Bug Fixes
- **deps:** update dependency eslint-plugin-jest to v27.6.2 ([87bf28c](https://github.com/ivuorinen/base-configs/commit/87bf28c48c7313197f7f309fd6954e84ce41c7dc))
## [0.4.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.13...@ivuorinen/eslint-config@0.4.14) (2024-01-13)
### Bug Fixes
- **deps:** update dependency eslint-plugin-n to v16.6.2 ([2c7b3eb](https://github.com/ivuorinen/base-configs/commit/2c7b3ebc0a83ce1815316e065200c4f9cca1138f))
## [0.4.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.12...@ivuorinen/eslint-config@0.4.13) (2024-01-05)
### Bug Fixes
- **deps:** update dependency eslint-plugin-n to v16.6.1 ([0004edf](https://github.com/ivuorinen/base-configs/commit/0004edf5cfde46f9e0eb82bdd3953a34e799d06a))
## [0.4.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.11...@ivuorinen/eslint-config@0.4.12) (2024-01-05)
### Bug Fixes
- **deps:** update dependency eslint-plugin-jest to v27.6.1 ([8a3281b](https://github.com/ivuorinen/base-configs/commit/8a3281b03c145db4987413548974bd9fb146a800))
## [0.4.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.10...@ivuorinen/eslint-config@0.4.11) (2024-01-03)
### Bug Fixes
- **deps:** update dependency eslint-plugin-n to v16.6.0 ([#163](https://github.com/ivuorinen/base-configs/issues/163)) ([a88b1a8](https://github.com/ivuorinen/base-configs/commit/a88b1a8452aa3d57f901159153406909d74ec5e7))
## [0.4.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.9...@ivuorinen/eslint-config@0.4.10) (2023-12-24)
### Bug Fixes
- **deps:** update dependency eslint-plugin-n to v16.5.0 ([#159](https://github.com/ivuorinen/base-configs/issues/159)) ([49f4815](https://github.com/ivuorinen/base-configs/commit/49f4815073398c125161871753fad4025e2875e0))
## [0.4.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.8...@ivuorinen/eslint-config@0.4.9) (2023-12-19)
### Bug Fixes
- **deps:** update dependency eslint to v8.56.0 ([#158](https://github.com/ivuorinen/base-configs/issues/158)) ([7d74451](https://github.com/ivuorinen/base-configs/commit/7d744512fb0db2151a44e6fbe0f612a6bf650411))
## [0.4.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.7...@ivuorinen/eslint-config@0.4.8) (2023-12-17)
### Bug Fixes
- **deps:** update dependency eslint-plugin-import to v2.29.1 ([6e63c7c](https://github.com/ivuorinen/base-configs/commit/6e63c7c5b2ee1f184cb710d0b48c67c0d1aac37d))
## [0.4.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.6...@ivuorinen/eslint-config@0.4.7) (2023-12-15)
### Bug Fixes
- **deps:** update dependency eslint-plugin-n to v16.4.0 ([#151](https://github.com/ivuorinen/base-configs/issues/151)) ([53966d5](https://github.com/ivuorinen/base-configs/commit/53966d5649325409219a5afd30104c602eff98dd))
## [0.4.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.5...@ivuorinen/eslint-config@0.4.6) (2023-12-05)
### Bug Fixes
- **deps:** update dependency eslint to v8.55.0 ([#141](https://github.com/ivuorinen/base-configs/issues/141)) ([694b489](https://github.com/ivuorinen/base-configs/commit/694b4892e5c346d2e3f080896126b35a4a2c9de8))
## [0.4.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.4...@ivuorinen/eslint-config@0.4.5) (2023-11-21)
### Bug Fixes
- **deps:** update dependency eslint to v8.54.0 ([#138](https://github.com/ivuorinen/base-configs/issues/138)) ([ab276d0](https://github.com/ivuorinen/base-configs/commit/ab276d0c8025ca3ecba46c8e59d74ab18daf2c4a))
## [0.4.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.3...@ivuorinen/eslint-config@0.4.4) (2023-11-14)
### Bug Fixes
- **deps:** update dependency eslint-plugin-n to v16.3.1 ([e967616](https://github.com/ivuorinen/base-configs/commit/e9676169d088490dbc421fcaac849eec70d21eed))
## [0.4.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.2...@ivuorinen/eslint-config@0.4.3) (2023-11-11)
### Bug Fixes
- **deps:** update dependency eslint-plugin-n to v16.3.0 ([#131](https://github.com/ivuorinen/base-configs/issues/131)) ([739bd74](https://github.com/ivuorinen/base-configs/commit/739bd743aad24b5cfb732b334700518bb4bd8b19))
## [0.4.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.1...@ivuorinen/eslint-config@0.4.2) (2023-11-07)
### Bug Fixes
- **deps:** update eslint ([14f93ce](https://github.com/ivuorinen/base-configs/commit/14f93ceb59b03bf81ebefaeb8ced5285bbf01dbb))
## [0.4.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.4.0...@ivuorinen/eslint-config@0.4.1) (2023-11-04)
### Bug Fixes
- **deps:** update dependency eslint-plugin-sonarjs to v0.22.0 ([13e9457](https://github.com/ivuorinen/base-configs/commit/13e945747fe7a69c7d3bcd3151d38415656b5f93))
# [0.4.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.4...@ivuorinen/eslint-config@0.4.0) (2023-11-01)
### Features
- add `eslint-config-prettier` ([1a40d9b](https://github.com/ivuorinen/base-configs/commit/1a40d9b0ada76d32a8fe34d2a0eb98856f678dee))
## [0.3.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.3...@ivuorinen/eslint-config@0.3.4) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/eslint-config
## [0.3.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.2...@ivuorinen/eslint-config@0.3.3) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/eslint-config
## [0.3.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.1...@ivuorinen/eslint-config@0.3.2) (2023-10-29)
### Bug Fixes
- **deps:** update dependency eslint-plugin-jest to v27.6.0 ([#120](https://github.com/ivuorinen/base-configs/issues/120)) ([106f755](https://github.com/ivuorinen/base-configs/commit/106f7555e31f2b98499fe36cf5b8dd50516e53d5))
## [0.3.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.0...@ivuorinen/eslint-config@0.3.1) (2023-10-27)
### Bug Fixes
- **deps:** update dependency eslint-plugin-import to v2.29.0 ([#117](https://github.com/ivuorinen/base-configs/issues/117)) ([f1507a2](https://github.com/ivuorinen/base-configs/commit/f1507a230fa41af9a48061848a3c92a667313193))
# [0.3.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.19...@ivuorinen/eslint-config@0.3.0) (2023-10-25)
### Features
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
## [0.2.19](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.2.18...@ivuorinen/eslint-config@0.2.19) (2023-10-24)
**Note:** Version bump only for package @ivuorinen/eslint-config

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.19",
"version": "0.4.19",
"description": "ivuorinen's shareable configuration for ESLint.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,13 +36,15 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"eslint": "8.52.0",
"@ivuorinen/config-checker": "^1.1.2",
"eslint": "8.57.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-jest": "27.4.3",
"eslint-plugin-n": "16.2.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-sonarjs": "0.21.0"
"eslint-plugin-sonarjs": "0.24.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']
}

View File

@@ -19,10 +19,10 @@
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.9.1.tgz#449dfa81a57a1d755b09aa58d826c1262e4283b4"
integrity sha512-Y27x+MBLjXa+0JWDhykM3+JE+il3kHKAEqabfEWq3SDhZjLYb6/BHL/JKFnH3fe207JaXkyDo685Oc2Glt6ifA==
"@eslint/eslintrc@^2.1.2":
version "2.1.2"
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.2.tgz#c6936b4b328c64496692f76944e755738be62396"
integrity sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==
"@eslint/eslintrc@^2.1.4":
version "2.1.4"
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#388a269f0f25c1b6adc317b5a2c55714894c70ad"
integrity sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==
dependencies:
ajv "^6.12.4"
debug "^4.3.2"
@@ -34,18 +34,18 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"
"@eslint/js@8.52.0":
version "8.52.0"
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.52.0.tgz#78fe5f117840f69dc4a353adf9b9cd926353378c"
integrity sha512-mjZVbpaeMZludF2fsWLD0Z9gCref1Tk4i9+wddjRvpUNqqcndPkBD09N/Mapey0b3jaXbLm2kICwFv2E64QinA==
"@eslint/js@8.57.0":
version "8.57.0"
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f"
integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==
"@humanwhocodes/config-array@^0.11.13":
version "0.11.13"
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.13.tgz#075dc9684f40a531d9b26b0822153c1e832ee297"
integrity sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==
"@humanwhocodes/config-array@^0.11.14":
version "0.11.14"
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b"
integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==
dependencies:
"@humanwhocodes/object-schema" "^2.0.1"
debug "^4.1.1"
"@humanwhocodes/object-schema" "^2.0.2"
debug "^4.3.1"
minimatch "^3.0.5"
"@humanwhocodes/module-importer@^1.0.1":
@@ -53,10 +53,15 @@
resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c"
integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==
"@humanwhocodes/object-schema@^2.0.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz#e5211452df060fa8522b55c7b3c0c4d1981cb044"
integrity sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==
"@humanwhocodes/object-schema@^2.0.2":
version "2.0.2"
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz#d9fae00a2d5cb40f92cfe64b47ad749fbc38f917"
integrity sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==
"@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==
"@nodelib/fs.scandir@2.1.5":
version "2.1.5"
@@ -192,7 +197,7 @@ array-buffer-byte-length@^1.0.0:
call-bind "^1.0.2"
is-array-buffer "^3.0.1"
array-includes@^3.1.6:
array-includes@^3.1.7:
version "3.1.7"
resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.7.tgz#8cd2e01b26f7a3086cbc87271593fe921c62abda"
integrity sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==
@@ -208,7 +213,7 @@ array-union@^2.1.0:
resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d"
integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==
array.prototype.findlastindex@^1.2.2:
array.prototype.findlastindex@^1.2.3:
version "1.2.3"
resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz#b37598438f97b579166940814e2c0493a4f50207"
integrity sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA==
@@ -219,7 +224,7 @@ array.prototype.findlastindex@^1.2.2:
es-shim-unscopables "^1.0.0"
get-intrinsic "^1.2.1"
array.prototype.flat@^1.3.1:
array.prototype.flat@^1.3.2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz#1476217df8cff17d72ee8f3ba06738db5b387d18"
integrity sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==
@@ -229,7 +234,7 @@ array.prototype.flat@^1.3.1:
es-abstract "^1.22.1"
es-shim-unscopables "^1.0.0"
array.prototype.flatmap@^1.3.1:
array.prototype.flatmap@^1.3.2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz#c9a7c6831db8e719d6ce639190146c24bbd3e527"
integrity sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==
@@ -277,6 +282,11 @@ braces@^3.0.2:
dependencies:
fill-range "^7.0.1"
builtin-modules@^3.3.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6"
integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==
builtins@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.0.1.tgz#87f6db9ab0458be728564fa81d876d8d74552fa9"
@@ -339,7 +349,7 @@ debug@^3.2.7:
dependencies:
ms "^2.1.1"
debug@^4.1.1, debug@^4.3.2, debug@^4.3.4:
debug@^4.3.1, debug@^4.3.2, debug@^4.3.4:
version "4.3.4"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
@@ -465,12 +475,22 @@ escape-string-regexp@^4.0.0:
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
eslint-compat-utils@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/eslint-compat-utils/-/eslint-compat-utils-0.1.2.tgz#f45e3b5ced4c746c127cf724fb074cd4e730d653"
integrity sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==
eslint-config-prettier@^9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz#eb25485946dd0c66cd216a46232dc05451518d1f"
integrity sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==
eslint-config-standard@17.1.0:
version "17.1.0"
resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-17.1.0.tgz#40ffb8595d47a6b242e07cbfd49dc211ed128975"
integrity sha512-IwHwmaBNtDK4zDHQukFDW5u/aTb8+meQWZvNFWkiGmbWjD6bqyuSSBxxXKkCftCUzc1zwCH2m/baCNDLGmuO5Q==
eslint-import-resolver-node@^0.3.7:
eslint-import-resolver-node@^0.3.9:
version "0.3.9"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz#d4eaac52b8a2e7c3cd1903eb00f7e053356118ac"
integrity sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==
@@ -486,54 +506,57 @@ eslint-module-utils@^2.8.0:
dependencies:
debug "^3.2.7"
eslint-plugin-es-x@^7.1.0:
version "7.2.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-es-x/-/eslint-plugin-es-x-7.2.0.tgz#5779d742ad31f8fd780b9481331481e142b72311"
integrity sha512-9dvv5CcvNjSJPqnS5uZkqb3xmbeqRLnvXKK7iI5+oK/yTusyc46zbBZKENGsOfojm/mKfszyZb+wNqNPAPeGXA==
eslint-plugin-es-x@^7.5.0:
version "7.5.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-es-x/-/eslint-plugin-es-x-7.5.0.tgz#d08d9cd155383e35156c48f736eb06561d07ba92"
integrity sha512-ODswlDSO0HJDzXU0XvgZ3lF3lS3XAZEossh15Q2UHjwrJggWeBoKqqEsLTZLXl+dh5eOAozG0zRcYtuE35oTuQ==
dependencies:
"@eslint-community/eslint-utils" "^4.1.2"
"@eslint-community/regexpp" "^4.6.0"
eslint-compat-utils "^0.1.2"
eslint-plugin-import@2.28.1:
version "2.28.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.28.1.tgz#63b8b5b3c409bfc75ebaf8fb206b07ab435482c4"
integrity sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==
eslint-plugin-import@2.29.1:
version "2.29.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz#d45b37b5ef5901d639c15270d74d46d161150643"
integrity sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==
dependencies:
array-includes "^3.1.6"
array.prototype.findlastindex "^1.2.2"
array.prototype.flat "^1.3.1"
array.prototype.flatmap "^1.3.1"
array-includes "^3.1.7"
array.prototype.findlastindex "^1.2.3"
array.prototype.flat "^1.3.2"
array.prototype.flatmap "^1.3.2"
debug "^3.2.7"
doctrine "^2.1.0"
eslint-import-resolver-node "^0.3.7"
eslint-import-resolver-node "^0.3.9"
eslint-module-utils "^2.8.0"
has "^1.0.3"
is-core-module "^2.13.0"
hasown "^2.0.0"
is-core-module "^2.13.1"
is-glob "^4.0.3"
minimatch "^3.1.2"
object.fromentries "^2.0.6"
object.groupby "^1.0.0"
object.values "^1.1.6"
object.fromentries "^2.0.7"
object.groupby "^1.0.1"
object.values "^1.1.7"
semver "^6.3.1"
tsconfig-paths "^3.14.2"
tsconfig-paths "^3.15.0"
eslint-plugin-jest@27.4.3:
version "27.4.3"
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-27.4.3.tgz#7b2330a9e1819b66d06e66b45dfa8e8ef0c23f79"
integrity sha512-7S6SmmsHsgIm06BAGCAxL+ABd9/IB3MWkz2pudj6Qqor2y1qQpWPfuFU4SG9pWj4xDjF0e+D7Llh5useuSzAZw==
eslint-plugin-jest@27.9.0:
version "27.9.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-27.9.0.tgz#7c98a33605e1d8b8442ace092b60e9919730000b"
integrity sha512-QIT7FH7fNmd9n4se7FFKHbsLKGQiw885Ds6Y/sxKgCZ6natwCsXdgPOADnYVxN2QrRweF0FZWbJ6S7Rsn7llug==
dependencies:
"@typescript-eslint/utils" "^5.10.0"
eslint-plugin-n@16.2.0:
version "16.2.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-16.2.0.tgz#3f98ca9fadd9f7bdaaf60068533118ecb685bfb5"
integrity sha512-AQER2jEyQOt1LG6JkGJCCIFotzmlcCZFur2wdKrp1JX2cNotC7Ae0BcD/4lLv3lUAArM9uNS8z/fsvXTd0L71g==
eslint-plugin-n@16.6.2:
version "16.6.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-16.6.2.tgz#6a60a1a376870064c906742272074d5d0b412b0b"
integrity sha512-6TyDmZ1HXoFQXnhCTUjVFULReoBPOAjpuiKELMkeP40yffI/1ZRO+d9ug/VC6fqISo2WkuIBk3cvuRPALaWlOQ==
dependencies:
"@eslint-community/eslint-utils" "^4.4.0"
builtins "^5.0.1"
eslint-plugin-es-x "^7.1.0"
eslint-plugin-es-x "^7.5.0"
get-tsconfig "^4.7.0"
globals "^13.24.0"
ignore "^5.2.4"
is-builtin-module "^3.2.1"
is-core-module "^2.12.1"
minimatch "^3.1.2"
resolve "^1.22.2"
@@ -544,10 +567,10 @@ eslint-plugin-promise@6.1.1:
resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-6.1.1.tgz#269a3e2772f62875661220631bd4dafcb4083816"
integrity sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==
eslint-plugin-sonarjs@0.21.0:
version "0.21.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.21.0.tgz#1917f4d3de0ae72495a594142f51c1576f82e2c7"
integrity sha512-oezUDfFT5S6j3rQheZ4DLPrbetPmMS7zHIKWGHr0CM3g5JgyZroz1FpIKa4jV83NsGpmgIeagpokWDKIJzRQmw==
eslint-plugin-sonarjs@0.24.0:
version "0.24.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.24.0.tgz#b594ccb9b1d6123edd3c3fe3a45b4392e14932d7"
integrity sha512-87zp50mbbNrSTuoEOebdRQBPa0mdejA5UEjyuScyIw8hEpEjfWP89Qhkq5xVZfVyVSRQKZc9alVm7yRKQvvUmg==
eslint-scope@^5.1.1:
version "5.1.1"
@@ -570,16 +593,16 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800"
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==
eslint@8.52.0:
version "8.52.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.52.0.tgz#d0cd4a1fac06427a61ef9242b9353f36ea7062fc"
integrity sha512-zh/JHnaixqHZsolRB/w9/02akBk9EPrOs9JwcTP2ek7yL5bVvXuRariiaAjjoJ5DvuwQ1WAE/HsMz+w17YgBCg==
eslint@8.57.0:
version "8.57.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.0.tgz#c786a6fd0e0b68941aaf624596fb987089195668"
integrity sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==
dependencies:
"@eslint-community/eslint-utils" "^4.2.0"
"@eslint-community/regexpp" "^4.6.1"
"@eslint/eslintrc" "^2.1.2"
"@eslint/js" "8.52.0"
"@humanwhocodes/config-array" "^0.11.13"
"@eslint/eslintrc" "^2.1.4"
"@eslint/js" "8.57.0"
"@humanwhocodes/config-array" "^0.11.14"
"@humanwhocodes/module-importer" "^1.0.1"
"@nodelib/fs.walk" "^1.2.8"
"@ungap/structured-clone" "^1.2.0"
@@ -811,6 +834,13 @@ globals@^13.19.0:
dependencies:
type-fest "^0.20.2"
globals@^13.24.0:
version "13.24.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171"
integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==
dependencies:
type-fest "^0.20.2"
globalthis@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf"
@@ -876,11 +906,6 @@ has-tostringtag@^1.0.0:
dependencies:
has-symbols "^1.0.2"
has@^1.0.3:
version "1.0.4"
resolved "https://registry.yarnpkg.com/has/-/has-1.0.4.tgz#2eb2860e000011dae4f1406a86fe80e530fb2ec6"
integrity sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==
hasown@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c"
@@ -952,12 +977,19 @@ is-boolean-object@^1.1.0:
call-bind "^1.0.2"
has-tostringtag "^1.0.0"
is-builtin-module@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-3.2.1.tgz#f03271717d8654cfcaf07ab0463faa3571581169"
integrity sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==
dependencies:
builtin-modules "^3.3.0"
is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7:
version "1.2.7"
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055"
integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==
is-core-module@^2.12.1, is-core-module@^2.13.0:
is-core-module@^2.12.1, is-core-module@^2.13.0, is-core-module@^2.13.1:
version "2.13.1"
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384"
integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==
@@ -1181,7 +1213,7 @@ object.assign@^4.1.4:
has-symbols "^1.0.3"
object-keys "^1.1.1"
object.fromentries@^2.0.6:
object.fromentries@^2.0.7:
version "2.0.7"
resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.7.tgz#71e95f441e9a0ea6baf682ecaaf37fa2a8d7e616"
integrity sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==
@@ -1190,7 +1222,7 @@ object.fromentries@^2.0.6:
define-properties "^1.2.0"
es-abstract "^1.22.1"
object.groupby@^1.0.0:
object.groupby@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.1.tgz#d41d9f3c8d6c778d9cbac86b4ee9f5af103152ee"
integrity sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ==
@@ -1200,7 +1232,7 @@ object.groupby@^1.0.0:
es-abstract "^1.22.1"
get-intrinsic "^1.2.1"
object.values@^1.1.6:
object.values@^1.1.7:
version "1.1.7"
resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.7.tgz#617ed13272e7e1071b43973aa1655d9291b8442a"
integrity sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==
@@ -1485,10 +1517,10 @@ to-regex-range@^5.0.1:
dependencies:
is-number "^7.0.0"
tsconfig-paths@^3.14.2:
version "3.14.2"
resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088"
integrity sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==
tsconfig-paths@^3.15.0:
version "3.15.0"
resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz#5299ec605e55b1abb23ec939ef15edaf483070d4"
integrity sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==
dependencies:
"@types/json5" "^0.0.29"
json5 "^1.0.2"

View File

@@ -2,6 +2,32 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.3...@ivuorinen/markdownlint-config@0.2.4) (2024-02-02)
### Bug Fixes
- **deps:** update dependency markdownlint-cli to v0.39.0 ([#183](https://github.com/ivuorinen/base-configs/issues/183)) ([50d4743](https://github.com/ivuorinen/base-configs/commit/50d4743f3bb7eb1458da6f67aafd3e409adf329a))
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.2...@ivuorinen/markdownlint-config@0.2.3) (2023-12-13)
### Bug Fixes
- **deps:** update dependency markdownlint-cli to v0.38.0 ([#149](https://github.com/ivuorinen/base-configs/issues/149)) ([12d1639](https://github.com/ivuorinen/base-configs/commit/12d1639290f8e81b03a4a712e41ab8334b4fadfc))
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.1...@ivuorinen/markdownlint-config@0.2.2) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/markdownlint-config
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.0...@ivuorinen/markdownlint-config@0.2.1) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/markdownlint-config
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.1.7...@ivuorinen/markdownlint-config@0.2.0) (2023-10-25)
### Features
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
## [0.1.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.1.6...@ivuorinen/markdownlint-config@0.1.7) (2023-10-24)
**Note:** Version bump only for package @ivuorinen/markdownlint-config

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/markdownlint-config",
"version": "0.1.7",
"version": "0.2.4",
"description": "ivuorinen's shareable configuration for markdownlint.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,7 +36,8 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"markdownlint-cli": "0.37.0"
"@ivuorinen/config-checker": "^1.1.2",
"markdownlint-cli": "0.39.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"
@@ -104,10 +109,10 @@ emoji-regex@^9.2.2:
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72"
integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==
entities@~3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/entities/-/entities-3.0.1.tgz#2b887ca62585e96db3903482d336c1006c3001d4"
integrity sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==
entities@^4.4.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48"
integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==
foreground-child@^3.1.0:
version "3.1.1"
@@ -122,7 +127,7 @@ get-stdin@~9.0.0:
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-9.0.0.tgz#3983ff82e03d56f1b2ea0d3e60325f39d703a575"
integrity sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA==
glob@~10.3.4:
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==
@@ -133,10 +138,10 @@ glob@~10.3.4:
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
path-scurry "^1.10.1"
ignore@~5.2.4:
version "5.2.4"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324"
integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==
ignore@~5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.0.tgz#67418ae40d34d6999c95ff56016759c718c82f78"
integrity sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==
ini@~4.1.0:
version "4.1.1"
@@ -169,66 +174,67 @@ js-yaml@^4.1.0:
dependencies:
argparse "^2.0.1"
jsonc-parser@~3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76"
integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==
jsonc-parser@~3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.1.tgz#031904571ccf929d7670ee8c547545081cb37f1a"
integrity sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==
linkify-it@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-4.0.1.tgz#01f1d5e508190d06669982ba31a7d9f56a5751ec"
integrity sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==
linkify-it@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-5.0.0.tgz#9ef238bfa6dc70bd8e7f9572b52d369af569b421"
integrity sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==
dependencies:
uc.micro "^1.0.1"
uc.micro "^2.0.0"
"lru-cache@^9.1.1 || ^10.0.0":
version "10.0.1"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.0.1.tgz#0a3be479df549cca0e5d693ac402ff19537a6b7a"
integrity sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==
markdown-it@13.0.1:
version "13.0.1"
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-13.0.1.tgz#c6ecc431cacf1a5da531423fc6a42807814af430"
integrity sha512-lTlxriVoy2criHP0JKRhO2VDG9c2ypWCsT237eDiLqi09rmbKoUetyGHq2uOIRoRS//kfoJckS0eUzzkDR+k2Q==
markdown-it@14.0.0:
version "14.0.0"
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-14.0.0.tgz#b4b2ddeb0f925e88d981f84c183b59bac9e3741b"
integrity sha512-seFjF0FIcPt4P9U39Bq1JYblX0KZCjDLFFQPHpL5AzHpqPEKtosxmdq/LTVZnjfH7tjt9BxStm+wXcDBNuYmzw==
dependencies:
argparse "^2.0.1"
entities "~3.0.1"
linkify-it "^4.0.1"
mdurl "^1.0.1"
uc.micro "^1.0.5"
entities "^4.4.0"
linkify-it "^5.0.0"
mdurl "^2.0.0"
punycode.js "^2.3.1"
uc.micro "^2.0.0"
markdownlint-cli@0.37.0:
version "0.37.0"
resolved "https://registry.yarnpkg.com/markdownlint-cli/-/markdownlint-cli-0.37.0.tgz#6b1331d0e9822627268774f6ec72e8138fcbfb1a"
integrity sha512-hNKAc0bWBBuVhJbSWbUhRzavstiB4o1jh3JeSpwC4/dt6eJ54lRfYHRxVdzVp4qGWBKbeE6Pg490PFEfrKjqSg==
markdownlint-cli@0.39.0:
version "0.39.0"
resolved "https://registry.yarnpkg.com/markdownlint-cli/-/markdownlint-cli-0.39.0.tgz#74378c314c793702c637184b78263ee4ebba7e33"
integrity sha512-ZuFN7Xpsbn1Nbp0YYkeLOfXOMOfLQBik2lKRy8pVI/llmKQ2uW7x+8k5OMgF6o7XCsTDSYC/OOmeJ+3qplvnJQ==
dependencies:
commander "~11.0.0"
commander "~11.1.0"
get-stdin "~9.0.0"
glob "~10.3.4"
ignore "~5.2.4"
glob "~10.3.10"
ignore "~5.3.0"
js-yaml "^4.1.0"
jsonc-parser "~3.2.0"
markdownlint "~0.31.1"
jsonc-parser "~3.2.1"
markdownlint "~0.33.0"
minimatch "~9.0.3"
run-con "~1.3.2"
markdownlint-micromark@0.1.7:
version "0.1.7"
resolved "https://registry.yarnpkg.com/markdownlint-micromark/-/markdownlint-micromark-0.1.7.tgz#c465091b30d61a56027ccbfb981c80c96448c165"
integrity sha512-BbRPTC72fl5vlSKv37v/xIENSRDYL/7X/XoFzZ740FGEbs9vZerLrIkFRY0rv7slQKxDczToYuMmqQFN61fi4Q==
markdownlint-micromark@0.1.8:
version "0.1.8"
resolved "https://registry.yarnpkg.com/markdownlint-micromark/-/markdownlint-micromark-0.1.8.tgz#d39297e9988169a846cda1ca99df86f982ae69ba"
integrity sha512-1ouYkMRo9/6gou9gObuMDnvZM8jC/ly3QCFQyoSPCS2XV1ZClU0xpKbL1Ar3bWWRT1RnBZkWUEiNKrI2CwiBQA==
markdownlint@~0.31.1:
version "0.31.1"
resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.31.1.tgz#f014ed2d3614c5dbc351b7f65641ccc0a5facdb7"
integrity sha512-CKMR2hgcIBrYlIUccDCOvi966PZ0kJExDrUi1R+oF9PvqQmCrTqjOsgIvf2403OmJ+CWomuzDoylr6KbuMyvHA==
markdownlint@~0.33.0:
version "0.33.0"
resolved "https://registry.yarnpkg.com/markdownlint/-/markdownlint-0.33.0.tgz#cc3852b2c54d5b0193710c6fdf97c5fbde7e322a"
integrity sha512-4lbtT14A3m0LPX1WS/3d1m7Blg+ZwiLq36WvjQqFGsX3Gik99NV+VXp/PW3n+Q62xyPdbvGOCfjPqjW+/SKMig==
dependencies:
markdown-it "13.0.1"
markdownlint-micromark "0.1.7"
markdown-it "14.0.0"
markdownlint-micromark "0.1.8"
mdurl@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e"
integrity sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==
mdurl@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-2.0.0.tgz#80676ec0433025dd3e17ee983d0fe8de5a2237e0"
integrity sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==
minimatch@^9.0.1, minimatch@~9.0.3:
version "9.0.3"
@@ -260,6 +266,11 @@ path-scurry@^1.10.1:
lru-cache "^9.1.1 || ^10.0.0"
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
punycode.js@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/punycode.js/-/punycode.js-2.3.1.tgz#6b53e56ad75588234e79f4affa90972c7dd8cdb7"
integrity sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==
run-con@~1.3.2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/run-con/-/run-con-1.3.2.tgz#755860a10ce326a96b509485fcea50b4d03754e8"
@@ -288,6 +299,7 @@ signal-exit@^4.0.1:
integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0:
name string-width-cjs
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -306,6 +318,7 @@ string-width@^5.0.1, string-width@^5.1.2:
strip-ansi "^7.0.1"
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
name strip-ansi-cjs
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -324,10 +337,10 @@ strip-json-comments@~3.1.1:
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==
uc.micro@^1.0.1, uc.micro@^1.0.5:
version "1.0.6"
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac"
integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==
uc.micro@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-2.0.0.tgz#84b3c335c12b1497fd9e80fcd3bfa7634c363ff1"
integrity sha512-DffL94LsNOccVn4hyfRe5rdKa273swqeA5DJpMOeFmEn1wCDc7nAbbB0gXlgBCL7TNzeTv6G7XVWzan7iJtfig==
which@^2.0.1:
version "2.0.2"

View File

@@ -2,6 +2,62 @@
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/prettier-config@0.2.8...@ivuorinen/prettier-config@0.2.9) (2024-02-08)
**Note:** Version bump only for package @ivuorinen/prettier-config
## [0.2.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.7...@ivuorinen/prettier-config@0.2.8) (2024-01-20)
### Bug Fixes
- **deps:** update dependency prettier to v3.2.4 ([faadbc6](https://github.com/ivuorinen/base-configs/commit/faadbc633a04f22999352e9f0e26a0acc65f0ff7))
## [0.2.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.6...@ivuorinen/prettier-config@0.2.7) (2024-01-20)
### Bug Fixes
- **deps:** update dependency prettier to v3.2.3 ([4393ed7](https://github.com/ivuorinen/base-configs/commit/4393ed7c99515b1c27f76843b3af968be0a9d6a8))
## [0.2.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.5...@ivuorinen/prettier-config@0.2.6) (2024-01-17)
### Bug Fixes
- **deps:** update dependency prettier to v3.2.2 ([6d7f865](https://github.com/ivuorinen/base-configs/commit/6d7f865bbbd4e7b03c0ab4f1904907c84dc632c6))
## [0.2.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.4...@ivuorinen/prettier-config@0.2.5) (2024-01-16)
### Bug Fixes
- **deps:** update dependency prettier to v3.2.1 ([#172](https://github.com/ivuorinen/base-configs/issues/172)) ([178b77f](https://github.com/ivuorinen/base-configs/commit/178b77f0076aa13b5a19b9a382c33d19b2db5fa9))
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.3...@ivuorinen/prettier-config@0.2.4) (2023-12-15)
### Bug Fixes
- **deps:** update devdependencies (patch) ([b79252a](https://github.com/ivuorinen/base-configs/commit/b79252a163ae15462984c84fd7950fc74da902b6))
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.2...@ivuorinen/prettier-config@0.2.3) (2023-11-16)
### Bug Fixes
- **deps:** update dependency prettier to v3.1.0 ([#135](https://github.com/ivuorinen/base-configs/issues/135)) ([4ecaa73](https://github.com/ivuorinen/base-configs/commit/4ecaa73be86a7b7f98b78ffddf3fdf9316680ae2))
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.1...@ivuorinen/prettier-config@0.2.2) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/prettier-config
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.0...@ivuorinen/prettier-config@0.2.1) (2023-10-30)
### Bug Fixes
- **deps:** update dependency prettier to v3 ([#58](https://github.com/ivuorinen/base-configs/issues/58)) ([15e815a](https://github.com/ivuorinen/base-configs/commit/15e815a53d46bb369cb2d7c0eb7b54474245afee))
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.1.2...@ivuorinen/prettier-config@0.2.0) (2023-10-25)
### Features
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
## [0.1.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.1.1...@ivuorinen/prettier-config@0.1.2) (2023-10-24)
**Note:** Version bump only for package @ivuorinen/prettier-config

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/prettier-config",
"version": "0.1.2",
"version": "0.2.9",
"description": "ivuorinen's shareable configuration for Prettier.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,7 +36,8 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"prettier": "2.8.8"
"@ivuorinen/config-checker": "^1.1.2",
"prettier": "3.2.5"
},
"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.2.5:
version "3.2.5"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368"
integrity sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==

View File

@@ -2,6 +2,100 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.16](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.15...@ivuorinen/semantic-release-config@0.2.16) (2024-03-22)
### Bug Fixes
- **deps:** update dependency semantic-release to v23.0.5 ([a81f5d8](https://github.com/ivuorinen/base-configs/commit/a81f5d8889d5862de2a0dce1574fb17af0cb889b))
## [0.2.15](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.14...@ivuorinen/semantic-release-config@0.2.15) (2024-03-20)
**Note:** Version bump only for package @ivuorinen/semantic-release-config
## [0.2.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.13...@ivuorinen/semantic-release-config@0.2.14) (2024-03-19)
### Bug Fixes
- **deps:** update dependency semantic-release to v23.0.3 ([8c7f744](https://github.com/ivuorinen/base-configs/commit/8c7f7440da52e4a5381b7b3f2bf7771269e5237a))
## [0.2.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.12...@ivuorinen/semantic-release-config@0.2.13) (2024-02-21)
**Note:** Version bump only for package @ivuorinen/semantic-release-config
## [0.2.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.11...@ivuorinen/semantic-release-config@0.2.12) (2024-02-10)
### Bug Fixes
- **deps:** update dependency semantic-release to v23.0.2 ([#188](https://github.com/ivuorinen/base-configs/issues/188)) ([5d1d295](https://github.com/ivuorinen/base-configs/commit/5d1d29597d0b5d27d20cb72d09bc48ded343d49e))
## [0.2.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.10...@ivuorinen/semantic-release-config@0.2.11) (2024-02-10)
### Bug Fixes
- **deps:** update dependency semantic-release to v23.0.1 ([937014c](https://github.com/ivuorinen/base-configs/commit/937014c2b4ea36b12f3dc230b43a960d5df8431f))
## [0.2.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.9...@ivuorinen/semantic-release-config@0.2.10) (2024-01-16)
### Bug Fixes
- **deps:** update dependency semantic-release to v23 ([#173](https://github.com/ivuorinen/base-configs/issues/173)) ([a339252](https://github.com/ivuorinen/base-configs/commit/a33925203d12da5b39b6fc5ae13b414ed76091c1))
## [0.2.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.8...@ivuorinen/semantic-release-config@0.2.9) (2023-12-15)
### Bug Fixes
- **deps:** update dependency semantic-release to v22.0.12 ([#155](https://github.com/ivuorinen/base-configs/issues/155)) ([19c20d2](https://github.com/ivuorinen/base-configs/commit/19c20d277f777a6d562f423bc8d72b090ea85555))
## [0.2.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.7...@ivuorinen/semantic-release-config@0.2.8) (2023-12-15)
### Bug Fixes
- **deps:** update devdependencies (patch) ([b79252a](https://github.com/ivuorinen/base-configs/commit/b79252a163ae15462984c84fd7950fc74da902b6))
## [0.2.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.6...@ivuorinen/semantic-release-config@0.2.7) (2023-12-09)
### Bug Fixes
- **deps:** update dependency semantic-release to v22.0.10 ([b777ad1](https://github.com/ivuorinen/base-configs/commit/b777ad19263c6f1ac823a8e9a1d3cac7231d17da))
## [0.2.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.5...@ivuorinen/semantic-release-config@0.2.6) (2023-12-08)
### Bug Fixes
- **deps:** update dependency semantic-release to v22.0.9 ([89af4ba](https://github.com/ivuorinen/base-configs/commit/89af4ba91c1143b4111ceaa74e0c62ecba01bf95))
## [0.2.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.4...@ivuorinen/semantic-release-config@0.2.5) (2023-11-20)
### Bug Fixes
- **deps:** update dependency semantic-release to v22.0.8 ([62f850b](https://github.com/ivuorinen/base-configs/commit/62f850b611cf92de670453e9019a9909dff02e07))
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.3...@ivuorinen/semantic-release-config@0.2.4) (2023-11-07)
### Bug Fixes
- **deps:** update dependency semantic-release to v22.0.7 ([dcdb0d4](https://github.com/ivuorinen/base-configs/commit/dcdb0d4ef8499b6e6700b70ba54fde77044dc452))
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.2...@ivuorinen/semantic-release-config@0.2.3) (2023-11-03)
### Bug Fixes
- **deps:** update dependency semantic-release to v22.0.6 ([aece014](https://github.com/ivuorinen/base-configs/commit/aece0141735c20a7fc4f2be578a99d020bcfd504))
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.1...@ivuorinen/semantic-release-config@0.2.2) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/semantic-release-config
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.0...@ivuorinen/semantic-release-config@0.2.1) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/semantic-release-config
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.1.14...@ivuorinen/semantic-release-config@0.2.0) (2023-10-25)
### Features
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
## [0.1.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.1.13...@ivuorinen/semantic-release-config@0.1.14) (2023-10-24)
**Note:** Version bump only for package @ivuorinen/semantic-release-config

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/semantic-release-config",
"version": "0.1.14",
"version": "0.2.16",
"description": "ivuorinen's shareable configuration for semantic-release.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,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": "22.0.5"
"semantic-release": "23.0.5"
},
"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,116 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.18](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.17...@ivuorinen/stylelint-config@0.2.18) (2024-03-09)
### Bug Fixes
- **deps:** update dependency stylelint-scss to v6.2.1 ([afa8a81](https://github.com/ivuorinen/base-configs/commit/afa8a811529f7cd3894e17f2de65b240dba4df0a))
## [0.2.17](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.16...@ivuorinen/stylelint-config@0.2.17) (2024-03-08)
### Bug Fixes
- **deps:** update dependency stylelint-scss to v6.2.0 ([#200](https://github.com/ivuorinen/base-configs/issues/200)) ([c4f7a0f](https://github.com/ivuorinen/base-configs/commit/c4f7a0f493816d48e91bf4ed4564499242a225c0))
## [0.2.16](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.15...@ivuorinen/stylelint-config@0.2.16) (2024-02-04)
### Bug Fixes
- **deps:** update dependency stylelint to v16.2.1 ([68ef8df](https://github.com/ivuorinen/base-configs/commit/68ef8dfb8961633d5ea14473fbb48f820b4ae2cb))
## [0.2.15](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.14...@ivuorinen/stylelint-config@0.2.15) (2024-01-25)
### Bug Fixes
- **deps:** update dependency stylelint-scss to v6.1.0 ([#179](https://github.com/ivuorinen/base-configs/issues/179)) ([4f9f867](https://github.com/ivuorinen/base-configs/commit/4f9f8675ed12232f1fe0049a3f72bb6c896557b1))
## [0.2.14](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.13...@ivuorinen/stylelint-config@0.2.14) (2024-01-23)
### Bug Fixes
- **deps:** update dependency stylelint to v16.2.0 ([#178](https://github.com/ivuorinen/base-configs/issues/178)) ([72cb9e1](https://github.com/ivuorinen/base-configs/commit/72cb9e190a154a4ac832445bd1105bf04f42558e))
## [0.2.13](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.12...@ivuorinen/stylelint-config@0.2.13) (2023-12-29)
### Bug Fixes
- **deps:** update dependency stylelint-config-standard to v36 ([#162](https://github.com/ivuorinen/base-configs/issues/162)) ([e289759](https://github.com/ivuorinen/base-configs/commit/e28975966900b329c39286d2f7abe598398b89a0))
## [0.2.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.11...@ivuorinen/stylelint-config@0.2.12) (2023-12-29)
### Bug Fixes
- **deps:** update dependency stylelint to v16.1.0 ([#161](https://github.com/ivuorinen/base-configs/issues/161)) ([b9f17cb](https://github.com/ivuorinen/base-configs/commit/b9f17cbe98e3278bd94768303f14e562527baf94))
## [0.2.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.10...@ivuorinen/stylelint-config@0.2.11) (2023-12-15)
### Bug Fixes
- **deps:** update dependency stylelint-config-recommended-scss to v14 ([#153](https://github.com/ivuorinen/base-configs/issues/153)) ([f5b0e84](https://github.com/ivuorinen/base-configs/commit/f5b0e8485b4e2998d404a6172e48ed44ac0f395e))
## [0.2.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.9...@ivuorinen/stylelint-config@0.2.10) (2023-12-15)
### Bug Fixes
- **deps:** update dependency stylelint-scss to v6 ([#154](https://github.com/ivuorinen/base-configs/issues/154)) ([d48a98b](https://github.com/ivuorinen/base-configs/commit/d48a98b69eb96a48abe9e144f4c8bb273297557f))
## [0.2.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.8...@ivuorinen/stylelint-config@0.2.9) (2023-12-15)
### Bug Fixes
- **deps:** update devdependencies (patch) ([b79252a](https://github.com/ivuorinen/base-configs/commit/b79252a163ae15462984c84fd7950fc74da902b6))
## [0.2.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.7...@ivuorinen/stylelint-config@0.2.8) (2023-12-12)
### Bug Fixes
- **deps:** update dependency stylelint-config-standard to v35 ([#148](https://github.com/ivuorinen/base-configs/issues/148)) ([ee6abbd](https://github.com/ivuorinen/base-configs/commit/ee6abbdda70a04514a0c9c98f48fe0b3dfa775ec))
## [0.2.7](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.6...@ivuorinen/stylelint-config@0.2.7) (2023-12-12)
### Bug Fixes
- **deps:** update dependency stylelint to v16 ([#147](https://github.com/ivuorinen/base-configs/issues/147)) ([25655b9](https://github.com/ivuorinen/base-configs/commit/25655b9c78a6ef1be4f695dbd0b34de4f1401c4b))
## [0.2.6](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.5...@ivuorinen/stylelint-config@0.2.6) (2023-12-12)
### Bug Fixes
- **deps:** update dependency stylelint-order to v6.0.4 ([83e5b84](https://github.com/ivuorinen/base-configs/commit/83e5b8478520cb6f79a9b5a88666b1922e3632f7))
## [0.2.5](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.4...@ivuorinen/stylelint-config@0.2.5) (2023-11-10)
### Bug Fixes
- **deps:** update dependency stylelint-scss to v5.3.1 ([#130](https://github.com/ivuorinen/base-configs/issues/130)) ([720ffa1](https://github.com/ivuorinen/base-configs/commit/720ffa18ba37f7a336f73e48049add5e42133a39))
## [0.2.4](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.3...@ivuorinen/stylelint-config@0.2.4) (2023-11-06)
### Bug Fixes
- **deps:** update dependency stylelint-config-recommended-scss to v13.1.0 ([6155ae5](https://github.com/ivuorinen/base-configs/commit/6155ae52a6431f23930c211b041819dcf6a206fa))
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.2...@ivuorinen/stylelint-config@0.2.3) (2023-11-01)
### Bug Fixes
- **deps:** update dependency stylelint-scss to v5.3.0 ([#122](https://github.com/ivuorinen/base-configs/issues/122)) ([d139003](https://github.com/ivuorinen/base-configs/commit/d139003e0d6607add7cd2f88ac14ad9c5be352c6))
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.1...@ivuorinen/stylelint-config@0.2.2) (2023-10-31)
**Note:** Version bump only for package @ivuorinen/stylelint-config
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.0...@ivuorinen/stylelint-config@0.2.1) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/stylelint-config
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.33...@ivuorinen/stylelint-config@0.2.0) (2023-10-25)
### Features
- skip config creation if one already found ([#110](https://github.com/ivuorinen/base-configs/issues/110)) ([9beafec](https://github.com/ivuorinen/base-configs/commit/9beafec48681768f06ff24029391176d87169261))
## [0.1.33](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.32...@ivuorinen/stylelint-config@0.1.33) (2023-10-24)
**Note:** Version bump only for package @ivuorinen/stylelint-config

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/stylelint-config",
"version": "0.1.33",
"version": "0.2.18",
"description": "ivuorinen's shareable configuration for stylelint.",
"author": {
"name": "Ismo Vuorinen",
@@ -37,12 +37,13 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.2",
"postcss": "^8.4.2",
"stylelint": "15.11.0",
"stylelint-config-recommended-scss": "13.0.0",
"stylelint-config-standard": "34.0.0",
"stylelint-order": "6.0.3",
"stylelint-scss": "5.2.1"
"stylelint": "16.2.1",
"stylelint-config-recommended-scss": "14.0.0",
"stylelint-config-standard": "36.0.0",
"stylelint-order": "6.0.4",
"stylelint-scss": "6.2.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('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

2905
yarn.lock

File diff suppressed because it is too large Load Diff