You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a github action to automatically publish to NPM would be convenient. @neurolabusc , leave this to me. It will be a useful addition, and can potentially apply to some other repos we work with. These are my notes for later.
The same pixi-based github action can also be used to build and publish the conda package (in combination with rattler-build). It would help #33. Note that the conda package would just include the compiled exe, not the wasm package. The wasm package would be published to npm.
This would allow cross platform use of niimath for anyone using conda. This would be great for scientific reproducibility where package managers are used to install analysis environments using conda-forge channels.
I would also recommend that we switch to using sem-ver versioning if we publish niimath to conda-forge. While Date-based versions like 1.0.20241212 do work, they don't convey the same info to downstream developers who rely on version pinning mechanisms.
Steps required for wasm package publishing to npm:
Adding a github action to automatically publish to NPM would be convenient. @neurolabusc , leave this to me. It will be a useful addition, and can potentially apply to some other repos we work with. These are my notes for later.
The same pixi-based github action can also be used to build and publish the conda package (in combination with rattler-build). It would help #33. Note that the conda package would just include the compiled exe, not the wasm package. The wasm package would be published to npm.
This would allow cross platform use of niimath for anyone using conda. This would be great for scientific reproducibility where package managers are used to install analysis environments using conda-forge channels.
I would also recommend that we switch to using sem-ver versioning if we publish niimath to conda-forge. While Date-based versions like 1.0.20241212 do work, they don't convey the same info to downstream developers who rely on version pinning mechanisms.
Steps required for wasm package publishing to npm:
conda install conda-forge::emscripten
(or setup pixi.toml)current_version=$(node -p "require('./package.json').version")
published_version=$(npm view @niivue/niimath version)
is_latest=$([ "$current_version" = "$published_version" ] && echo 1 || echo 0)
The text was updated successfully, but these errors were encountered: