Closed copiltembel closed 1 day ago
I thought it would be good to have a single command to build "everything" (as I understand it atm):
$ pnpm run build:all
Small fix to make building with docker work again.
Mapped the docker volumes with ro or rw hoping to make it clearer where the docker build output goes.
ro
rw
I updated the main README.md but unsure about it - please review.
README.md
2 tests in packages/pglite fail - help needed.
packages/pglite
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Suites 2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ FAIL |pglite| tests/exec-protocol.test.ts [ tests/exec-protocol.test.ts ] Error: Failed to resolve entry for package "@electric-sql/pg-protocol". The package may have incorrect main/module/exports specified in its package.json. ❯ packageEntryFailure ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:46575:15 ❯ resolvePackageEntry ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:46572:3 ❯ tryNodeResolve ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:46388:16 ❯ ResolveIdContext.resolveId ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:46138:19 ❯ PluginContainer.resolveId ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:48953:17 ❯ TransformPluginContext.resolve ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:49113:15 ❯ normalizeUrl ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:63977:26 ❯ ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:64116:39 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ FAIL |pglite| tests/utils.test.ts [ tests/utils.test.ts ] Error: Failed to resolve entry for package "@electric-sql/pg-protocol". The package may have incorrect main/module/exports specified in its package.json. ❯ packageEntryFailure ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:46575:15 ❯ resolvePackageEntry ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:46572:3 ❯ tryNodeResolve ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:46388:16 ❯ ResolveIdContext.resolveId ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:46138:19 ❯ PluginContainer.resolveId ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:48953:17 ❯ TransformPluginContext.resolve ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:49113:15 ❯ normalizeUrl ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:63977:26 ❯ ../../node_modules/.pnpm/vite@5.4.8_@types+node@20.16.11_terser@5.34.1/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:64116:39 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯ Test Files 2 failed | 38 passed (40) Tests 164 passed (164) Type Errors no errors Start at 09:20:20 Duration 36.93s (transform 1.66s, setup 0ms, collect 6.99s, tests 190.47s, environment 12ms, prepare 5.23s) ELIFECYCLE Command failed with exit code 1.
Built bundles:
I thought it would be good to have a single command to build "everything" (as I understand it atm):
$ pnpm run build:all
Small fix to make building with docker work again.
Mapped the docker volumes with
ro
orrw
hoping to make it clearer where the docker build output goes.I updated the main
README.md
but unsure about it - please review.2 tests in
packages/pglite
fail - help needed.