Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configured separate bundling for sqlite3 and pg #106

Merged
merged 2 commits into from
Mar 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,638 changes: 1,552 additions & 86 deletions samples/simple-ts/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion samples/simple-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@
"dist"
],
"dependencies": {
"@event-driven-io/pongo": "0.16.1"
"@event-driven-io/pongo": "0.17.0-alpha.1"
}
}
10 changes: 5 additions & 5 deletions src/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 src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@event-driven-io/pongo-core",
"version": "0.16.4",
"version": "0.17.0-alpha.1",
"description": "Pongo - Mongo with strong consistency on top of Postgres",
"type": "module",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src/packages/dumbo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@event-driven-io/dumbo",
"version": "0.12.1",
"version": "0.13.0-alpha.1",
"description": "Dumbo - tools for dealing with PostgreSQL",
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/packages/dumbo/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default defineConfig({
watch: env === 'development',
target: 'esnext',
outDir: 'dist', //env === 'production' ? 'dist' : 'lib',
entry: ['src/index.ts'],
entry: ['src/index.ts', 'src/pg.ts', 'src/sqlite3.ts'],
//entry: ['src/**/*.ts', '!src/**/*.spec.ts', '!src/**/*.internal.ts'], //include all files under src but not specs
sourcemap: true,
tsconfig: 'tsconfig.build.json', // workaround for https://github.com/egoist/tsup/issues/571#issuecomment-1760052931
Expand Down
4 changes: 2 additions & 2 deletions src/packages/pongo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@event-driven-io/pongo",
"version": "0.16.4",
"version": "0.17.0-alpha.1",
"description": "Pongo - Mongo with strong consistency on top of Postgres",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -113,7 +113,7 @@
"pongo": "./dist/cli.js"
},
"peerDependencies": {
"@event-driven-io/dumbo": "0.12.1",
"@event-driven-io/dumbo": "0.13.0-alpha.1",
"@types/mongodb": "^4.0.7",
"@types/pg": "^8.11.11",
"@types/sqlite3": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/packages/pongo/src/commandLine/shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const startRepl = async (options: {
setLogLevel(process.env.DUMBO_LOG_LEVEL ?? options.logging.logLevel);
setLogStyle(process.env.DUMBO_LOG_STYLE ?? options.logging.logStyle);

console.log(color.green('Starting Pongo Shell (version: 0.16.4)'));
console.log(color.green('Starting Pongo Shell (version: 0.17.0-alpha.1)'));

if (options.logging.printOptions) {
console.log(color.green('With Options:'));
Expand Down
8 changes: 7 additions & 1 deletion src/packages/pongo/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ export default defineConfig({
watch: env === 'development',
target: 'esnext',
outDir: 'dist', //env === 'production' ? 'dist' : 'lib',
entry: ['src/index.ts', 'src/shim.ts', 'src/cli.ts'],
entry: [
'src/index.ts',
'src/shim.ts',
'src/cli.ts',
'src/pg.ts',
'src/sqlite3.ts',
],
//entry: ['src/**/*.ts', '!src/**/*.spec.ts', '!src/**/*.internal.ts'], //include all files under src but not specs
sourcemap: true,
tsconfig: 'tsconfig.build.json', // workaround for https://github.com/egoist/tsup/issues/571#issuecomment-1760052931
Expand Down
Loading