Once the solution is finished and working, I need to figure out a deployment strategy. I need to decide if we are going to publish the package in NPM, in GitHub repository or any other option. I do not want to over-complicate it, especially because this is something built for myself mostly. Some ideas below.
Package Publishing Options
| Option |
Consumer Auth |
Semver |
Commit lib/ |
Best For |
| Direct GitHub install |
❌ None |
❌ |
✅ Required |
Quickest setup |
| GitHub Packages |
⚠️ Token required |
✅ |
❌ |
Team/private use |
| npm Registry |
❌ None |
✅ |
❌ |
Open source |
Install commands
- Direct:
npm install git+https://github.com/trucoit/cdk-cloudfront-proxy.git
- GitHub Packages / npm:
npm install @trucoit/cdk-cloudfront-proxy
## Taks
- [] Figure out a proper way of versioning this
- [] Figure out a build workflow using GitHub actions
- [] Any automated testing/deployment?
- [] Figure out a proper deployment mechanism (NPM registry, etc)
Once the solution is finished and working, I need to figure out a deployment strategy. I need to decide if we are going to publish the package in NPM, in GitHub repository or any other option. I do not want to over-complicate it, especially because this is something built for myself mostly. Some ideas below.
Package Publishing Options
lib/Install commands
npm install git+https://github.com/trucoit/cdk-cloudfront-proxy.gitnpm install @trucoit/cdk-cloudfront-proxy## Taks