Skip to content

Conversation

@apata
Copy link

@apata apata commented Aug 26, 2025

Hi!

This PR moves the build tools into devDependencies. Right now, if someone installs this repo in another JS project (for example with npm install git+https://github.com/cavi-au/Consent-O-Matic.git#{tag}), npm also pulls in all the build tools, which can be a bit inconvenient.

With this change, that command will only bring in the repo itself. That makes it easier to reuse the core logic and rules in other projects beyond the official browser extensions.

The only small adjustment needed is when building locally or in GitHub Actions: dependencies should be installed with npm install --include dev or npm ci --include dev.

Thanks a lot for considering this!

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.

1 participant