chore: update Angular demo build #738
Merged
+16
−12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This Angular demo isolated test build is currently failing due to a Node.js typing issue.
Failed run: https://github.com/powersync-ja/powersync-js/actions/runs/18650828806/job/53168919561
We currently inject environment variables on
process.env
via a Webpack plugin. The TypeScript compiler errors due toprocess.env
being a Node.js concept, while this is an Angular app which is meant for web.We could add Node.js types, but that seems strange since this is a web app. Instead this adds a strict definition file for the injected
env
.