package.json version gets reset to 0.0.0 when migrating an existing project #3193
-
When migrating an existing typescript project to projen, the version inside the Can someone pleas point me in the correct direction of steps I need to follow for projen to pick up existing tags (and in what format they need to be) so that once I run |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi! I think you are right to point out that the migration story of an existing project isn't very well documented at the moment. I hope this documentation pages help you figure it out: |
Beta Was this translation helpful? Give feedback.
Correct. If you want to manually manage the version, you will have to bump it manually. The automatic versioning works with
0.0.0
only. But since your concern is about migration, you might not want this anyway. Instead you can let it reset the version inpackage.json
to0.0.0
and follow How can I force a different version? to make sure projen does pickup the final non-projen version correctly.