Skip to content

Commit 75863c1

Browse files
committed
Removed 2 of the pre- commands.
1 parent cfddbcc commit 75863c1

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

demos/angular-supabase-todolist/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A step-by-step guide on Supabase<>PowerSync integration is available [here](http
2222
### Notes
2323

2424
- The Angular development server (`pnpm serve`) doesn't support service worker applications
25-
- For Angular, workers need to be configured when instantiating `PowerSyncDatabase`. To do this, copy the worker assets (`pnpm powersync-web copy-assets -o src/assets` - done automatically as `pre-` steps in this demo for serving and building) and ensure the worker paths are specified ([example here](./src/app/powersync.service.ts)).
25+
- For Angular, workers need to be configured when instantiating `PowerSyncDatabase`. To do this, copy the worker assets (`pnpm powersync-web copy-assets -o src/assets` - done automatically in this demo for serving and building) and ensure the worker paths are specified ([example here](./src/app/powersync.service.ts)).
2626

2727
## Development Server
2828

demos/angular-supabase-todolist/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
"scripts": {
55
"copy-assets": "pnpm powersync-web copy-assets -o src/assets",
66
"ng": "ng",
7-
"preserve": "pnpm copy-assets",
8-
"serve": "ng serve",
7+
"serve": "pnpm copy-assets && ng serve",
98
"start": "http-server -p 8080 -c-1 dist/",
10-
"prebuild": "pnpm copy-assets",
11-
"build": "ng build",
9+
"build": "pnpm copy-assets && ng build",
1210
"format": "prettier --write .",
1311
"test:build": "pnpm build",
1412
"prewatch": "pnpm copy-assets",

0 commit comments

Comments
 (0)