Skip to content

Commit 5ac7486

Browse files
authored
chore: migrate to Rstack CLI (#163)
1 parent 1de79a4 commit 5ac7486

20 files changed

Lines changed: 359 additions & 216 deletions

‎.prettierignore‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎.prettierrc‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎.rstack/hooks/pre-commit‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rs staged

‎package.json‎

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -24,40 +24,27 @@
2424
"dist"
2525
],
2626
"scripts": {
27-
"build": "rslib",
28-
"dev": "rslib --watch",
29-
"lint": "rslint && prettier . --check",
30-
"lint:fix": "rslint --fix && prettier . --write",
31-
"prepare": "simple-git-hooks",
32-
"test": "rstest",
27+
"build": "rs lib",
28+
"dev": "rs lib --watch",
29+
"lint": "rs lint && rs fmt --check",
30+
"lint:fix": "rs lint --fix && rs fmt",
31+
"prepare": "rs setup",
32+
"test": "rs test",
3333
"bump": "npx bumpp"
3434
},
35-
"simple-git-hooks": {
36-
"pre-commit": "npx nano-staged"
37-
},
38-
"nano-staged": {
39-
"*.{js,jsx,ts,tsx,mjs,cjs}": [
40-
"rslint",
41-
"prettier --write"
42-
]
43-
},
4435
"devDependencies": {
4536
"@clack/prompts": "^1.7.0",
4637
"@microsoft/api-extractor": "^7.58.9",
47-
"@rslib/core": "0.23.2",
48-
"@rslint/core": "^0.6.5",
49-
"@rstest/core": "0.11.1",
5038
"@types/fs-extra": "^11.0.4",
5139
"@types/minimist": "^1.2.5",
5240
"@types/node": "24.13.3",
5341
"@vercel/detect-agent": "^1.2.3",
5442
"deepmerge": "^4.3.1",
5543
"fs-extra": "^11.3.6",
5644
"minimist": "^1.2.8",
57-
"prettier": "^3.9.5",
5845
"rimraf": "^6.1.3",
46+
"rstack": "^0.4.0",
5947
"rslog": "^2.2.0",
60-
"simple-git-hooks": "^2.13.1",
6148
"tinyexec": "^1.2.4",
6249
"typescript": "^7.0.2"
6350
},

0 commit comments

Comments
 (0)