https://github.com/gmeligio/project-gen
Project types for projen
https://github.com/gmeligio/project-gen
constructs generator projen
Last synced: 3 months ago
JSON representation
Project types for projen
- Host: GitHub
- URL: https://github.com/gmeligio/project-gen
- Owner: gmeligio
- License: apache-2.0
- Created: 2023-09-12T20:37:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-01T01:41:25.000Z (4 months ago)
- Last Synced: 2025-07-01T07:13:21.523Z (4 months ago)
- Topics: constructs, generator, projen
- Language: TypeScript
- Homepage:
- Size: 833 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# project-gen
## Contributing
### Updates in PNPM version
Renovates takes care of suggesting updates of new PNPM version. When that happens, the build job in Github CI will most likely fail. Follow these steps to upgrade the version and fix the build job:
1. Get the suggested version from the pull request that Renovate created. Let's say 9.1.4
1. Run locally```bash
corepack use pnpm@9.1.4
```1. Get the security hash that corepack updated in package.json > packageManager. For example if the packageManager field is:
```json
// ...
"packageManager": "pnpm@9.1.4+sha512.9df9cf27c91715646c7d675d1c9c8e41f6fce88246f1318c1aa6a1ed1aeb3c4f032fcdf4ba63cc69c4fe6d634279176b5358727d8f2cc1e65b65f43ce2f8bfb0"
// ...
```then the security hash is `sha512.9df9cf27c91715646c7d675d1c9c8e41f6fce88246f1318c1aa6a1ed1aeb3c4f032fcdf4ba63cc69c4fe6d634279176b5358727d8f2cc1e65b65f43ce2f8bfb0`.
1. Update the security hash in version.json > pnpm > currentDigest.
### Changes in Renovate configuration
1. Run `renovate-config-validator`
## TODO
1. Handle renovate updates in Github Actions with pinned digests and tags.
- Problems with the workaround of version.json is that the PR is modified outside renovate and then shows up a warning of not autorebasing.
- Then it (maybe) can't automerge because of this.
- Maybe submit feature to support pinned tags to upstream projen.
- See example of workarounds in