Skip to content

Commit

Permalink
Update to 0.7.25 and npx dbos-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
chuck-dbos committed Dec 4, 2023
1 parent 24d01de commit 75dcdc5
Show file tree
Hide file tree
Showing 16 changed files with 628 additions and 50 deletions.
4 changes: 2 additions & 2 deletions bank/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export BANK_SCHEMA=bank1
# Create tables under the bank1 schema.
npx prisma migrate dev --name initbank1

npx dbos start -p 8081
npx dbos-sdk start -p 8081
```

Then, in a second terminal window, launch the second bank server, using an identical but differently-named schema:
Expand All @@ -58,7 +58,7 @@ export BANK_SCHEMA=bank2
# Create tables under the bank2 schema.
npx prisma migrate dev --name initbank2

npx dbos start -p 8082
npx dbos-sdk start -p 8082
```

### Start the frontend
Expand Down
14 changes: 8 additions & 6 deletions bank/bank-backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bank/bank-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"license": "ISC",
"private": true,
"dependencies": {
"@dbos-inc/dbos-sdk": "^0.7.18-preview",
"@dbos-inc/dbos-sdk": "^0.7.25-preview",
"@koa/bodyparser": "^5.0.0",
"@koa/cors": "^4.0.0",
"@koa/router": "^12.0.0",
Expand Down
177 changes: 167 additions & 10 deletions e-commerce/payment-backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion e-commerce/payment-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "jest --detectOpenHandles"
},
"dependencies": {
"@dbos-inc/dbos-sdk": "^0.7.18-preview",
"@dbos-inc/dbos-sdk": "^0.7.25-preview",
"uuid": "^9.0.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion hello-extended/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Next, build and run the app:

```bash
npm run build
npx dbos start
npx dbos-sdk start
```

Finally, curl the server to see that it's working!
Expand Down
2 changes: 1 addition & 1 deletion hello-extended/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"typescript": "^5.2.2"
},
"dependencies": {
"@dbos-inc/dbos-sdk": "^0.7.18-preview",
"@dbos-inc/dbos-sdk": "^0.7.25-preview",
"axios": "^1.5.1",
"ts-node": "^10.9.1"
}
Expand Down
Loading

0 comments on commit 75dcdc5

Please sign in to comment.