Skip to content

Commit 18bf177

Browse files
committed
update
1 parent cd02526 commit 18bf177

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/basic/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"name": "example-basic",
33
"type": "module",
44
"scripts": {
5-
"start": "dist/index.js",
5+
"start": "node dist/index.js",
66
"build": "tsc",
7-
"prepare": "ts-patch install -s"
7+
"prepare": "ts-patch install -s && node --run build"
88
},
99
"packageManager": "pnpm@10.12.4",
1010
"devDependencies": {

examples/basic/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import { greet } from "#utils/greet.js";
22

3-
greet("World");
3+
console.log(greet("World"));

0 commit comments

Comments
 (0)