Skip to content

Commit 916e5ae

Browse files
committed
chore: add sv script from contributing.md
1 parent 88d5c9d commit 916e5ae

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"dev": "tsdown -w",
1515
"format": "pnpm --parallel format",
1616
"lint": "pnpm --parallel lint && eslint --cache --cache-location node_modules/.eslintcache",
17+
"sv": "pnpm --filter sv run sv",
1718
"test": "vitest run --silent",
1819
"test:ui": "vitest --ui",
1920
"update-deps": "node ./scripts/update-dependencies.js && pnpm format"

packages/sv/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"scripts": {
1414
"check": "tsgo",
1515
"format": "pnpm lint --write",
16-
"lint": "prettier --check . --config ../../prettier.config.js --ignore-path ../../.gitignore --ignore-path .gitignore --ignore-path ../../.prettierignore"
16+
"lint": "prettier --check . --config ../../prettier.config.js --ignore-path ../../.gitignore --ignore-path .gitignore --ignore-path ../../.prettierignore",
17+
"sv": "node dist/bin.mjs"
1718
},
1819
"files": [
1920
"dist"

0 commit comments

Comments
 (0)