Add npm-version script for building the contracts #46

Closed
opened 2018-05-03 11:46:04 +00:00 by raucao · 3 comments
raucao commented 2018-05-03 11:46:04 +00:00 (Migrated from github.com)

I think when versioning a release using npm version, that's when the contract ABIs etc. should be built and committed to the repo (in the same commit as the version update).

Here's an example for how to do this: https://github.com/67P/remotestorage-module-chat-messages/blob/master/package.json#L10

I think when versioning a release using `npm version`, that's when the contract ABIs etc. should be built and committed to the repo (in the same commit as the version update). Here's an example for how to do this: https://github.com/67P/remotestorage-module-chat-messages/blob/master/package.json#L10
bumi commented 2019-04-03 20:18:48 +00:00 (Migrated from github.com)

what does the script need to do? we would need to make sure that the build-json script runs before publishing to npm, right?

what does the script need to do? we would need to make sure that the build-json script runs before publishing to npm, right?
raucao commented 2019-04-03 20:28:33 +00:00 (Migrated from github.com)

version and publish are different. It's just that version can have hooks that add staged files to the same commit as the version commit itself for example.

`version` and `publish` are different. It's just that `version` can have hooks that add staged files to the same commit as the version commit itself for example.
bumi commented 2019-06-24 13:34:18 +00:00 (Migrated from github.com)

this actually depends on the deployment of the individual contracts/apps - not only on on the code changes.
thus I think this will be difficult. we might want to automate the release of the contracts which will also result in a new npm version

this actually depends on the deployment of the individual contracts/apps - not only on on the code changes. thus I think this will be difficult. we might want to automate the release of the contracts which will also result in a new npm version
raucao added the
enhancement
label 2022-07-16 15:17:41 +00:00
raucao added the
dev environment
label 2022-10-29 11:54:01 +00:00
raucao referenced this issue from a commit 2023-08-29 12:57:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kredits/contracts#46
No description provided.