You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(pg-delta): enhance pg-delta version handling (#5154)
feat(pg-delta): enhance pg-delta version handling and script interpolation
- Updated the configuration to read the pg-delta npm version from the `.temp/pgdelta-version` file, defaulting to "1.0.0-alpha.22" if the file is missing or empty.
- Implemented the `InterpolatePgDeltaScript` function to replace version placeholders in embedded TypeScript scripts with the effective pg-delta npm version.
- Modified various functions to utilize the new script interpolation method for executing pg-delta related scripts, ensuring consistent version usage across the application.
- Added tests to verify the correct behavior of the new version handling and interpolation logic.
This change improves the management of pg-delta versions and enhances the flexibility of script execution.
0 commit comments