Skip to content

Added script to generate version file from package.json - #231

Merged
adedamola-sode merged 4 commits into
masterfrom
versioning-in-settings
Aug 18, 2026
Merged

Added script to generate version file from package.json#231
adedamola-sode merged 4 commits into
masterfrom
versioning-in-settings

Conversation

@adedamola-sode

Copy link
Copy Markdown
Collaborator

I tried other methods of versioning and exporting that for Daedalus to use. This method requires having a prerollup script that does the creating of a versioning file, whose variables are then exported.

@abigailalexander abigailalexander left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me and works locally, thanks! I tested with the Daedalus branch One thing to check: the CI which builds and releases to npm doesn't include the npm run all-checks step, so I suspect the released version might not include the version.ts file like we expect. Could you add a step to run npm run generate-version in the npm publish CI?

Comment thread .github/workflows/npm-publish-package.yml
@adedamola-sode
adedamola-sode merged commit 6dde5a0 into master Aug 18, 2026
2 checks passed
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.

2 participants