From c86d0526f1a18338b678b4aa01831890ef9b9aef Mon Sep 17 00:00:00 2001 From: Tyler Nickerson Date: Wed, 17 Jan 2024 00:34:55 -0800 Subject: [PATCH] feat(*): allow args for wasm and js publish commands --- js/justfile | 4 ++-- wasm/justfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/justfile b/js/justfile index 7db467477..cd6c62542 100644 --- a/js/justfile +++ b/js/justfile @@ -25,5 +25,5 @@ npx tsc RUNTIME_ENV=test npx jest {{args}} -@publish: build - npm publish +@publish +args="": build + npm publish {{args}} diff --git a/wasm/justfile b/wasm/justfile index a62a4b845..a8e4a85e1 100644 --- a/wasm/justfile +++ b/wasm/justfile @@ -18,8 +18,8 @@ @clean: rm -rf ../**/*.odict -@publish: - npm publish +@publish +args="": + npm publish {{args}} @test: copy-exec install wasm && clean npx tsc && npx jest --detectOpenHandles