-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: consolidate build script package configuration
- Loading branch information
Showing
11 changed files
with
280 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,27 +5,35 @@ | |
"packageManager": "[email protected]", | ||
"description": "An itk-wasm pipeline example for inputs/outputs", | ||
"type": "module", | ||
"itk-wasm": { | ||
"emscripten-docker-image": "itkwasm/emscripten:latest", | ||
"wasi-docker-image": "itkwasm/wasi:latest", | ||
"typescript-package-name": "@itk-wasm/inputs-outputs-example", | ||
"python-package-name": "itkwasm-inputs-outputs-example", | ||
"package-description": "An example that has non-trivial inputs and outputs.", | ||
"repository": "https://github.com/InsightSoftwareConsortium/itk-wasm" | ||
}, | ||
"scripts": { | ||
"build": "pnpm build:gen:typescript && pnpm build:gen:python", | ||
"build:emscripten": "itk-wasm pnpm-script build:emscripten -- -i itkwasm/emscripten:latest", | ||
"build:emscripten": "itk-wasm pnpm-script build:emscripten", | ||
"build:emscripten:debug": "itk-wasm pnpm-script build:emscripten:debug", | ||
"build:wasi": "itk-wasm pnpm-script build:wasi -- -i itkwasm/wasi", | ||
"build:wasi": "itk-wasm pnpm-script build:wasi", | ||
"build:wasi:debug": "itk-wasm pnpm-script build:wasi:debug", | ||
"build:python:wasi": "itk-wasm pnpm-script build:python:wasi -- ./python/inputs-outputs-example-wasi", | ||
"bindgen:typescript": "itk-wasm pnpm-script bindgen:typescript -- --package-name inputs-outputs-example --package-description \"An example that has non-trivial inputs and outputs.\" --repository 'https://github.com/InsightSoftwareConsortium/itk-wasm'", | ||
"bindgen:python": "itk-wasm pnpm-script bindgen:python -- --package-name inputs-outputs-example --package-description \"An example that has non-trivial inputs and outputs.\" --repository 'https://github.com/InsightSoftwareConsortium/itk-wasm'", | ||
"build:python:wasi": "itk-wasm pnpm-script build:python:wasi", | ||
"bindgen:typescript": "itk-wasm pnpm-script bindgen:typescript", | ||
"bindgen:python": "itk-wasm pnpm-script bindgen:python", | ||
"build:gen:typescript": "itk-wasm pnpm-script build:gen:typescript", | ||
"build:gen:python": "itk-wasm pnpm-script build:gen:python", | ||
"build:micromamba": "itk-wasm pnpm-script build:micromamba", | ||
"build:python:versionSync": "itk-wasm pnpm-script build:python:versionSync -- --package-name inputs-outputs-example", | ||
"publish:python": "itk-wasm pnpm-script publish:python -- --package-name inputs-outputs-example", | ||
"build:python:versionSync": "itk-wasm pnpm-script build:python:versionSync", | ||
"publish:python": "itk-wasm pnpm-script publish:python", | ||
"test:data:download": "dam download test/data test/data.tar.gz bafkreiha6oye3fd5cxfadnua5r2jlkaco2xuyeek454d2ihiffsx7rauqe https://placeholder", | ||
"test:data:pack": "dam pack test/data test/data.tar.gz", | ||
"test:python:wasi": "itk-wasm pnpm-script test:python:wasi -- ./python/inputs-outputs-example-wasi", | ||
"test:pyodide:download:emscripten": "itk-wasm pnpm-script test:pyodide:download:emscripten -- ./python/inputs-outputs-example-emscripten/dist", | ||
"test:python:emscripten": "itk-wasm pnpm-script test:python:emscripten -- ./python/inputs-outputs-example-emscripten", | ||
"test:pyodide:download:dispatch": "itk-wasm pnpm-script test:pyodide:download:dispatch -- ./python/inputs-outputs-example/dist", | ||
"test:python:dispatch": "itk-wasm pnpm-script test:python:emscripten -- ./python/inputs-outputs-example", | ||
"test:python:wasi": "itk-wasm pnpm-script test:python:wasi", | ||
"test:pyodide:download:emscripten": "itk-wasm pnpm-script test:pyodide:download:emscripten", | ||
"test:python:emscripten": "itk-wasm pnpm-script test:python:emscripten", | ||
"test:pyodide:download:dispatch": "itk-wasm pnpm-script test:pyodide:download:dispatch", | ||
"test:python:dispatch": "itk-wasm pnpm-script test:python:emscripten", | ||
"test:python": "itk-wasm pnpm-script test:python", | ||
"test": "pnpm test:wasi && pnpm test:wasi:help", | ||
"test:wasi": "itk-wasm -b wasi-build run inputs-outputs.wasi.wasm -- -- cthead1.png smoothed.png", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,27 +5,35 @@ | |
"packageManager": "[email protected]", | ||
"description": "Illustrate the use of the VersorRigid3DTransform for 3D image registration.", | ||
"type": "module", | ||
"itk-wasm": { | ||
"emscripten-docker-image": "itkwasm/emscripten:latest", | ||
"wasi-docker-image": "itkwasm/wasi:latest", | ||
"typescript-package-name": "@itk-wasm/mean-squares-versor-registration-example", | ||
"python-package-name": "itkwasm-mean-squares-versor-registration-example", | ||
"package-description": "Example 3D versor transform registration with a mean-squares similarity metric", | ||
"repository": "https://github.com/InsightSoftwareConsortium/itk-wasm" | ||
}, | ||
"scripts": { | ||
"build": "pnpm build:gen:typescript && pnpm build:gen:python", | ||
"build:emscripten": "itk-wasm pnpm-script build:emscripten -- -i itkwasm/emscripten:latest", | ||
"build:emscripten": "itk-wasm pnpm-script build:emscripten", | ||
"build:emscripten:debug": "itk-wasm pnpm-script build:emscripten:debug", | ||
"build:wasi": "itk-wasm pnpm-script build:wasi -- -i itkwasm/wasi", | ||
"build:wasi": "itk-wasm pnpm-script build:wasi", | ||
"build:wasi:debug": "itk-wasm pnpm-script build:wasi:debug", | ||
"build:python:wasi": "itk-wasm pnpm-script build:python:wasi -- ./python/mean-squares-versor-registration-wasi", | ||
"bindgen:typescript": "itk-wasm pnpm-script bindgen:typescript -- --package-name mean-squares-versor-registration --package-description \"Example 3D versor transform registration with a mean-squares similarity metric\" --repository 'https://github.com/InsightSoftwareConsortium/itk-wasm'", | ||
"bindgen:python": "itk-wasm pnpm-script bindgen:python -- --package-name mean-squares-versor-registration --package-description \"Example 3D versor transform registration with a mean-squares similarity metric\" --repository 'https://github.com/InsightSoftwareConsortium/itk-wasm'", | ||
"build:python:wasi": "itk-wasm pnpm-script build:python:wasi", | ||
"bindgen:typescript": "itk-wasm pnpm-script bindgen:typescript", | ||
"bindgen:python": "itk-wasm pnpm-script bindgen:python", | ||
"build:gen:typescript": "itk-wasm pnpm-script build:gen:typescript", | ||
"build:gen:python": "itk-wasm pnpm-script build:gen:python", | ||
"build:micromamba": "itk-wasm pnpm-script build:micromamba", | ||
"build:python:versionSync": "itk-wasm pnpm-script build:python:versionSync -- --package-name mean-squares-versor-registration", | ||
"publish:python": "itk-wasm pnpm-script publish:python -- --package-name mean-squares-versor-registration", | ||
"build:python:versionSync": "itk-wasm pnpm-script build:python:versionSync", | ||
"publish:python": "itk-wasm pnpm-script publish:python", | ||
"test:data:download": "dam download test/data test/data.tar.gz bafkreiha6oye3fd5cxfadnua5r2jlkaco2xuyeek454d2ihiffsx7rauqe https://placeholder", | ||
"test:data:pack": "dam pack test/data test/data.tar.gz", | ||
"test:python:wasi": "itk-wasm pnpm-script test:python:wasi -- ./python/mean-squares-versor-registration-wasi", | ||
"test:pyodide:download:emscripten": "itk-wasm pnpm-script test:pyodide:download:emscripten -- ./python/mean-squares-versor-registration-emscripten/dist", | ||
"test:python:emscripten": "itk-wasm pnpm-script test:python:emscripten -- ./python/mean-squares-versor-registration-emscripten", | ||
"test:pyodide:download:dispatch": "itk-wasm pnpm-script test:pyodide:download:dispatch -- ./python/mean-squares-version-registration/dist", | ||
"test:python:dispatch": "itk-wasm pnpm-script test:python:emscripten -- ./python/mean-squares-versor-registration", | ||
"test:python:wasi": "itk-wasm pnpm-script test:python:wasi", | ||
"test:pyodide:download:emscripten": "itk-wasm pnpm-script test:pyodide:download:emscripten", | ||
"test:python:emscripten": "itk-wasm pnpm-script test:python:emscripten", | ||
"test:pyodide:download:dispatch": "itk-wasm pnpm-script test:pyodide:download:dispatch", | ||
"test:python:dispatch": "itk-wasm pnpm-script test:python:emscripten", | ||
"test:python": "itk-wasm pnpm-script test:python", | ||
"test": "pnpm test:wasi:help", | ||
"test:wasi:long": "itk-wasm test -- -- -V", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,32 @@ | ||
{ | ||
"name": "@itk-wasm/compare-images-build", | ||
"version": "2.0.0", | ||
"version": "1.0.0", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"description": "scripts to generate @itk-wasm/compare-stringify itk-wasm artifacts.", | ||
"type": "module", | ||
"itk-wasm": { | ||
"emscripten-docker-image": "itkwasm/emscripten:latest", | ||
"wasi-docker-image": "itkwasm/wasi:latest", | ||
"typescript-package-name": "@itk-wasm/compare-images", | ||
"python-package-name": "itkwasm-compare-images", | ||
"package-description": "Compare images with a tolerance for regression testing.", | ||
"repository": "https://github.com/InsightSoftwareConsortium/itk-wasm" | ||
}, | ||
"scripts": { | ||
"build": "pnpm build:gen:typescript && pnpm build:gen:python", | ||
"build:emscripten": "itk-wasm pnpm-script build:emscripten -- -i itkwasm/emscripten:latest", | ||
"build:emscripten": "itk-wasm pnpm-script build:emscripten", | ||
"build:emscripten:debug": "itk-wasm pnpm-script build:emscripten:debug", | ||
"build:wasi": "itk-wasm pnpm-script build:wasi -- -i itkwasm/wasi:latest", | ||
"build:wasi": "itk-wasm pnpm-script build:wasi", | ||
"build:wasi:debug": "itk-wasm pnpm-script build:wasi:debug", | ||
"build:python:wasi": "itk-wasm pnpm-script build:python:wasi -- ./python/itkwasm-compare-images-wasi", | ||
"bindgen:typescript": "itk-wasm pnpm-script bindgen:typescript -- --package-name @itk-wasm/compare-images --package-description \"Compare images with a tolerance for regression testing.\" --repository 'https://github.com/InsightSoftwareConsortium/itk-wasm'", | ||
"bindgen:python": "itk-wasm pnpm-script bindgen:python -- --package-name itkwasm-compare-images --package-description \"Compare images with a tolerance for regression testing.\" --repository 'https://github.com/InsightSoftwareConsortium/itk-wasm'", | ||
"build:python:wasi": "itk-wasm pnpm-script build:python:wasi", | ||
"bindgen:typescript": "itk-wasm pnpm-script bindgen:typescript", | ||
"bindgen:python": "itk-wasm pnpm-script bindgen:python", | ||
"build:gen:typescript": "itk-wasm pnpm-script build:gen:typescript", | ||
"build:gen:python": "itk-wasm pnpm-script build:gen:python", | ||
"build:micromamba": "itk-wasm pnpm-script build:micromamba", | ||
"build:python:versionSync": "itk-wasm pnpm-script build:python:versionSync -- --package-name itkwasm-compare-images", | ||
"publish:python": "itk-wasm pnpm-script publish:python -- --package-name itkwasm-compare-images", | ||
"build:python:versionSync": "itk-wasm pnpm-script build:python:versionSync", | ||
"publish:python": "itk-wasm pnpm-script publish:python", | ||
"test": "pnpm test:data:download", | ||
"test:data:download": "dam download test/data test/data.tar.gz bafybeigcvvf3ol3phmpevbin6ufumqfx65uxxthchqacxftxqpn67uxlxa https://github.com/InsightSoftwareConsortium/itk-wasm/releases/download/itk-wasm-v1.0.0-b.157/data.tar.gz https://bafybeiefbfd6kxcmwq6osnwu72gv6srzsnv6ys5omoodjlmaazx47mdhsq.ipfs.w3s.link/ipfs/bafybeiefbfd6kxcmwq6osnwu72gv6srzsnv6ys5omoodjlmaazx47mdhsq/data.tar.gz", | ||
"test:data:pack": "dam pack test/data test/data.tar.gz" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,28 +5,36 @@ | |
"packageManager": "[email protected]", | ||
"description": "scripts to generate @itk-wasm/compare-stringify itk-wasm artifacts.", | ||
"type": "module", | ||
"itk-wasm": { | ||
"emscripten-docker-image": "itkwasm/emscripten:latest", | ||
"wasi-docker-image": "itkwasm/wasi:latest", | ||
"typescript-package-name": "@itk-wasm/compress-stringify", | ||
"python-package-name": "itkwasm-compress-stringify", | ||
"package-description": "Zstandard compression and decompression and base64 encoding and decoding in WebAssembly.", | ||
"repository": "https://github.com/InsightSoftwareConsortium/itk-wasm" | ||
}, | ||
"scripts": { | ||
"build": "pnpm build:gen:typescript && pnpm build:gen:python", | ||
"build:emscripten": "itk-wasm pnpm-script build:emscripten -- -i itkwasm/emscripten:latest", | ||
"build:emscripten": "itk-wasm pnpm-script build:emscripten", | ||
"build:emscripten:debug": "itk-wasm pnpm-script build:emscripten:debug", | ||
"build:wasi": "itk-wasm pnpm-script build:wasi -- -i itkwasm/wasi:latest", | ||
"build:wasi": "itk-wasm pnpm-script build:wasi", | ||
"build:wasi:debug": "itk-wasm pnpm-script build:wasi:debug", | ||
"build:python:wasi": "itk-wasm pnpm-script build:python:wasi -- ./python/itkwasm-compress-stringify-wasi", | ||
"bindgen:typescript": "itk-wasm pnpm-script bindgen:typescript -- --package-name @itk-wasm/compress-stringify --package-description \"Zstandard compression and decompression and base64 encoding and decoding in WebAssembly.\" --repository 'https://github.com/InsightSoftwareConsortium/itk-wasm'", | ||
"bindgen:python": "itk-wasm pnpm-script bindgen:python -- --package-name itkwasm-compress-stringify --package-description \"Zstandard compression and decompression and base64 encoding and decoding in WebAssembly.\" --repository 'https://github.com/InsightSoftwareConsortium/itk-wasm'", | ||
"build:python:wasi": "itk-wasm pnpm-script build:python:wasi", | ||
"bindgen:typescript": "itk-wasm pnpm-script bindgen:typescript", | ||
"bindgen:python": "itk-wasm pnpm-script bindgen:python", | ||
"build:gen:typescript": "itk-wasm pnpm-script build:gen:typescript", | ||
"build:gen:python": "itk-wasm pnpm-script build:gen:python", | ||
"build:micromamba": "itk-wasm pnpm-script build:micromamba", | ||
"build:python:versionSync": "itk-wasm pnpm-script build:python:versionSync -- --package-name itkwasm-compress-stringify", | ||
"publish:python": "itk-wasm pnpm-script publish:python -- --package-name itkwasm-compress-stringify", | ||
"build:python:versionSync": "itk-wasm pnpm-script build:python:versionSync", | ||
"publish:python": "itk-wasm pnpm-script publish:python", | ||
"test": "pnpm test:data:download && pnpm build:gen:python && pnpm test:python", | ||
"test:data:download": "dam download test/data test/data.tar.gz bafkreiha6oye3fd5cxfadnua5r2jlkaco2xuyeek454d2ihiffsx7rauqe https://placeholder", | ||
"test:data:pack": "dam pack test/data test/data.tar.gz", | ||
"test:python:wasi": "itk-wasm pnpm-script test:python:wasi -- ./python/itkwasm-compress-stringify-wasi", | ||
"test:pyodide:download:emscripten": "itk-wasm pnpm-script test:pyodide:download:emscripten -- ./python/itkwasm-compress-stringify-emscripten/dist", | ||
"test:python:emscripten": "itk-wasm pnpm-script test:python:emscripten -- ./python/itkwasm-compress-stringify-emscripten", | ||
"test:pyodide:download:dispatch": "itk-wasm pnpm-script test:pyodide:download:dispatch -- ./python/itkwasm-compress-stringify/dist", | ||
"test:python:dispatch": "itk-wasm pnpm-script test:python:emscripten -- ./python/itkwasm-compress-stringify", | ||
"test:python:wasi": "itk-wasm pnpm-script test:python:wasi", | ||
"test:pyodide:download:emscripten": "itk-wasm pnpm-script test:pyodide:download:emscripten", | ||
"test:python:emscripten": "itk-wasm pnpm-script test:python:emscripten", | ||
"test:pyodide:download:dispatch": "itk-wasm pnpm-script test:pyodide:download:dispatch", | ||
"test:python:dispatch": "itk-wasm pnpm-script test:python:emscripten", | ||
"test:python": "itk-wasm pnpm-script test:python", | ||
"test:wasi": "itk-wasm pnpm-script test:wasi" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "itk-wasm", | ||
"version": "1.0.0-b.163", | ||
"version": "1.0.0-b.164", | ||
"packageManager": "[email protected]", | ||
"description": "High-performance spatial analysis in a web browser, Node.js, and reproducible execution across programming languages and hardware architectures.", | ||
"type": "module", | ||
|
Oops, something went wrong.