spectrum-web-components
spectrum-web-components copied to clipboard
[Feat]: support containerized development
Code of conduct
- [X] I agree to follow this project's code of conduct.
Impacted component(s)
N/A
Description of the requested feature
We could reduce setup -> contribution time to nearly zero by developing within containers. I've pushed a branch adding vscode devcontainer configuration.
However, yarn test
depends on playwright, which currently lacks support for m1 (arm) architectures. Until that's resolved, I'm unable to containerize SWC's full development workflow.
Mockups or screenshots
No response
Implementation notes or ideas
- This should be shippable once playwright ships containers for linux/arm64
- It may be simplest to extend the devcontainer Dockerfile from playwright, then add the node devcontainer functionality inline.