Skip to content

Commit 61085bb

Browse files
chore: repo set up update
1 parent dbc2315 commit 61085bb

23 files changed

+1265
-2586
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
**/tsconfig.json linguist-language=jsonc
99
**/tsconfig.*.json linguist-language=jsonc
10-
/.lintstagedrc linguist-language=json
1110
/.vscode/*.json linguist-language=jsonc
1211

1312
/CHANGELOG.md linguist-generated

.github/labels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@
8888
- name: "Resolution: Invalid"
8989
color: e6e6e6
9090
description: ""
91+
- name: "Resolution: Limitation"
92+
color: e6e6e6
93+
description: "The bug cannot be fix due to limitations."
9194
- name: "Resolution: Not Applicable"
9295
color: e6e6e6
9396
description: "The issue is not relevant to code in this repo and is not an external issue. (Out of scope)"

.github/renovate.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"automergeStrategy": "rebase",
43
"extends": [
5-
":automergeAll",
6-
":automergePr",
74
":ignoreModulesAndTests",
85
":prConcurrentLimitNone",
96
":prHourlyLimitNone",
@@ -16,12 +13,19 @@
1613
"schedule:monthly",
1714
"workarounds:all"
1815
],
16+
"automerge": true,
17+
"automergeStrategy": "fast-forward",
18+
"automergeType": "branch",
1919
"labels": ["Type: Maintenance", ":blue_heart:"],
20-
"rebaseWhen": "behind-base-branch",
20+
"rebaseWhen": "conflicted",
21+
"postUpdateOptions": ["pnpmDedupe"],
2122
"packageRules": [
2223
{
2324
"major": {
24-
"semanticCommitType": "build"
25+
"automerge": false,
26+
"semanticCommitType": "build",
27+
"semanticCommitScope": "deps-major",
28+
"rebaseWhen": "behind-base-branch"
2529
},
2630
"matchDepTypes": ["dependencies"],
2731
"matchManagers": ["npm"],
@@ -52,6 +56,5 @@
5256
"semanticCommitScope": "dev-deps",
5357
"semanticCommitType": "ci"
5458
}
55-
],
56-
"postUpdateOptions": ["pnpmDedupe"]
59+
]
5760
}

.github/workflows/lint-knip-dev.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
name: Lint Knip (Production)
1+
name: Lint Knip
22

33
on:
44
pull_request:
55
workflow_dispatch:
66
workflow_call:
77

88
jobs:
9-
lint_knip_prod:
9+
lint_knip:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
1313
- uses: ./.github/actions/prepare
14-
- run: pnpm run lint:knip:production
14+
- run: pnpm run lint:knip

.github/workflows/release.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ jobs:
2020
uses: ./.github/workflows/lint-js.yml
2121
lint_docs:
2222
uses: ./.github/workflows/lint-docs.yml
23-
lint_knip_dev:
24-
uses: ./.github/workflows/lint-knip-dev.yml
25-
lint_knip_prod:
26-
uses: ./.github/workflows/lint-knip-prod.yml
23+
lint_knip:
24+
uses: ./.github/workflows/lint-knip.yml
2725
lint_markdown:
2826
uses: ./.github/workflows/lint-markdown.yml
2927
lint_packages:
@@ -41,8 +39,7 @@ jobs:
4139
needs:
4240
- lint_js
4341
- lint_docs
44-
- lint_knip_dev
45-
- lint_knip_prod
42+
- lint_knip
4643
- lint_markdown
4744
- lint_packages
4845
- lint_spelling

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
node_modules/
22

3-
/build/
43
/coverage/
54
/lib/
65

.lintstagedrc.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55
"*.?([cm])[jt]s?(x)":
66
- eslint --fix
77
- cspell lint --no-progress --show-suggestions --show-context --no-must-find-files --dot
8-
- tsc-files -p tsconfig.build.json --noEmit
8+
9+
"src/**/*.?([cm])[jt]s?(x)":
10+
- tsc-files -p src/tsconfig.json --noEmit
11+
12+
"./*.?([cm])[jt]s?(x)":
13+
- tsc-files -p tsconfig.json --noEmit
914

1015
"*.md":
1116
- markdownlint-cli2 --fix

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
save-prefix=""
22
shamefully-hoist=true
33
strict-peer-dependencies=false
4+
shell-emulator=true

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.13.0
1+
22.14.0

0 commit comments

Comments
 (0)