Skip to content

Commit fffeef3

Browse files
committed
chore: update NPM publish script to include author information
1 parent fdd2e21 commit fffeef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/publish-npm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ version=$(grep "^version = " "crates/$1/Cargo.toml" | cut -d'"' -f2)
1010
rm -rf npm/$1
1111
mkdir -p npm/$1
1212
cd npm/$1
13-
npm init --init-version $version --scope=@wassemble -y
13+
npm init --init-author-name "Wassemble" --init-author-url "https://github.com/wassemble/components" --init-version $version --scope=@wassemble -y
1414
cd ../..
1515
wit-bindgen markdown crates/$1/wit/world.wit --html-in-md
1616
mv $1.md npm/$1/README.md

0 commit comments

Comments
 (0)