Skip to content

Commit 23490e6

Browse files
committed
Rename demo script to start
1 parent 3f679b6 commit 23490e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demos/example-node/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ This demonstrates a small NodeJS client opening a database and connecting PowerS
55
To get started, set up a PowerSync service instance with the default rules for the todolist examples.
66
Create a development token, and use it to implement `DemoConnector.fetchCredentials` in `main.ts`.
77

8-
Then, use `pnpm run run` to open a database, connect to PowerSync, wait for a first sync, and run a simple query.
8+
Then, use `pnpm run start` to open a database, connect to PowerSync, wait for a first sync, and run a simple query.

demos/example-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"private": true,
77
"scripts": {
88
"build": "tsc -b",
9-
"run": "node --loader ts-node/esm src/main.ts"
9+
"start": "node --loader ts-node/esm src/main.ts"
1010
},
1111
"dependencies": {
1212
"@powersync/node": "workspace:*"

0 commit comments

Comments
 (0)