Skip to content

Commit

Permalink
Fixed Pongo reference in simple ts sample
Browse files Browse the repository at this point in the history
  • Loading branch information
oskardudycz committed Jul 9, 2024
1 parent b4bf1ed commit 206f40c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
8 changes: 4 additions & 4 deletions samples/simple-ts/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 samples/simple-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@
"dist"
],
"dependencies": {
"@event-driven-io/pongo": "file:event-driven-io-pongo-0.2.2.tgz"
"@event-driven-io/pongo": "0.2.3"
}
}
2 changes: 1 addition & 1 deletion samples/simple-ts/src/shim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const connectionString =
const pongoClient = new MongoClient(connectionString);
const pongoDb = pongoClient.db('postgres');

let users = pongoDb.collection<User>('users');
const users = pongoDb.collection<User>('users');
const roger = { name: 'Roger', age: 30 };
const anita = { name: 'Anita', age: 25 };
//const cruella = { _id: uuid(), name: 'Cruella', age: 40 };
Expand Down
2 changes: 0 additions & 2 deletions samples/simple-ts/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { defineConfig } from 'tsup';

const env = process.env.NODE_ENV;

export default defineConfig({
splitting: true,
clean: true, // clean up the dist folder
Expand Down

0 comments on commit 206f40c

Please sign in to comment.