Skip to content

Conversation

@pyramation
Copy link
Collaborator

No description provided.

- Copy TypeScript type definitions from types/*/dist/ during build
- Update import paths to use local ./types instead of @pgsql/types
- Make parser package completely self-contained with all necessary types
- Update PUBLISH.md to document the types bundling process
- Replace @pgsql/types with ./types in all .js, .cjs, and .d.ts files
- Use global regex replacement for comprehensive coverage
- Cleaner and more maintainable approach
- Document that parser is self-contained with bundled types
- Explain the types bundling process
- Note that no external @pgsql/types dependency is needed
- Download all WASM artifacts (v13-v17) for parser build
- Build types packages before building parser (required for bundling)
- Ensure test-parser job has all required artifacts
- Fixes MODULE_NOT_FOUND error for v13/index.cjs in CI
- Change test script from 'node --test test/*.test.js' to 'node --test test/parser.test.js'
- Windows doesn't expand glob patterns in the same way as Unix
- Explicitly specify the test file to avoid cross-platform issues
@pyramation pyramation merged commit 3aeb472 into main Jun 24, 2025
56 checks passed
@pyramation pyramation deleted the multi/parser branch August 8, 2025 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants