Skip to content

Commit 00adc68

Browse files
authored
chore(deps): update dependencies and add commitlint-config (#26)
## Changes - chore(deps): add own `commitlint-config` and update all dependencies - chore(repo): add stale bot to remove old issues with no progress - chore(repo): simplify prettier config
1 parent 1952992 commit 00adc68

File tree

7 files changed

+569
-223
lines changed

7 files changed

+569
-223
lines changed

.changeset/orange-buckets-ring.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.commitlintrc.cjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const defaultConfig = require('@mheob/commitlint-config');
2+
3+
/** @type {import('cz-git').UserConfig} */
4+
module.exports = {
5+
...defaultConfig,
6+
prompt: {
7+
...defaultConfig.prompt,
8+
},
9+
};

.github/stale.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 91
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 77
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- "not stale"
8+
- "security"
9+
# Label to use when marking an issue as stale
10+
staleLabel: stale
11+
# Comment to post when marking an issue as stale. Set to `false` to disable
12+
markComment: >
13+
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further
14+
activity occurs. Thank you for your contributions.
15+
# Comment to post when closing a stale issue. Set to `false` to disable
16+
closeComment: false
17+
unmarkComment: false
18+
only: issues

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
node
1+
18

.prettierrc.cjs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1+
/** @type {import('prettier').Config} */
12
module.exports = {
23
...require('@mheob/prettier-config'),
3-
4-
overrides: [
5-
...require('@mheob/prettier-config').overrides,
6-
{
7-
files: '*.md',
8-
options: {
9-
printWidth: 999,
10-
proseWrap: 'never',
11-
},
12-
},
13-
],
144
};

package.json

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@
4141
"test:ui": "vitest --ui",
4242
"version-packages": "changeset version && pnpm run format"
4343
},
44-
"commitlint": {
45-
"extends": [
46-
"@commitlint/config-conventional"
47-
]
48-
},
4944
"lint-staged": {
5045
"*.{cjs,js,mjs,ts}": "eslint --fix",
5146
"!(pnpm-)*.{cjs,js,mjs,ts,json,md,mdx,yaml,yml}": "pnpm exec prettier --write",
@@ -59,21 +54,23 @@
5954
"devDependencies": {
6055
"@changesets/cli": "^2.26.1",
6156
"@changesets/parse": "^0.3.16",
62-
"@commitlint/cli": "^17.5.1",
63-
"@commitlint/config-conventional": "^17.4.4",
57+
"@commitlint/cli": "^17.6.0",
58+
"@mheob/commitlint-config": "^1.0.1",
6459
"@mheob/eslint-config": "^4.2.1",
6560
"@mheob/prettier-config": "^3.0.1",
66-
"@mheob/tsconfig": "^1.0.1",
61+
"@mheob/tsconfig": "^2.0.0",
6762
"@types/node": "^18.15.11",
68-
"@vitest/coverage-istanbul": "^0.29.8",
69-
"eslint": "^8.37.0",
63+
"@vitest/coverage-istanbul": "^0.30.1",
64+
"commitizen": "^4.3.0",
65+
"cz-git": "^1.6.1",
66+
"eslint": "^8.38.0",
7067
"husky": "^8.0.3",
71-
"lint-staged": "^13.2.0",
68+
"lint-staged": "^13.2.1",
7269
"ts-node": "^10.9.1",
7370
"tsup": "^6.7.0",
74-
"typescript": "^4.9.5",
71+
"typescript": "^5.0.4",
7572
"vite": "^4.2.1",
76-
"vitest": "^0.29.8"
73+
"vitest": "^0.30.1"
7774
},
7875
"tsup": {
7976
"clean": true,

0 commit comments

Comments
 (0)