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.
What are these changes?
Adds Docker/Podman support to this project.
Why are these changes being made?
A unified development environment improves the first-time developer experience, and makes the project more deterministic. Rather than needing a guide on installing prerequisite dependencies, developers can simply use the included container image and compose configuration to automatically generate a development environment. This also improves error reproduction and troubleshooting.
Simply run
./pnpm
to launch a temporary container and execute PNPM on the project. Works with Podman and rootless Docker.Checklist
./pnpm install
succeeds../pnpm run ci
succeeds../pnpm run lint
succeeds../pnpm run dev
succeeds../pnpm run clean
succeeds../pnpm run build:js
succeeds../pnpm run build:types
succeeds../pnpm run build
succeeds../pnpm run prepare
succeeds../pnpm run prepublishOnly
succeeds.Additional notes:
git
is not included in the image causing Husky to not install and return a0
exit code.