Skip to content

Commit 697d1f0

Browse files
committed
chore(cli): use vite lib instead of tsdown build
1 parent dece36f commit 697d1f0

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/global/templates/monorepo-lib/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ A starter for creating a TypeScript package.
77
- Install dependencies:
88

99
```bash
10-
npm install
10+
vite install
1111
```
1212

1313
- Run the unit tests:
1414

1515
```bash
16-
npm run test
16+
vite run test
1717
```
1818

1919
- Build the library:
2020

2121
```bash
22-
npm run build
22+
vite run build
2323
```

packages/global/templates/monorepo-lib/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
},
3030
"scripts": {
3131
"ready": "vite run build && vite run test",
32-
"build": "tsdown",
33-
"dev": "tsdown --watch",
32+
"build": "vite lib",
33+
"dev": "vite lib --watch",
3434
"test": "vite test",
3535
"typecheck": "tsc --noEmit",
3636
"release": "bumpp && npm publish"

0 commit comments

Comments
 (0)