From 9cdc75260f46d9543408e7e2a03791a0ea17c46a Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 18 Jan 2022 00:38:47 +0000 Subject: [PATCH] [TS] Copy README.md instead of symlinking, so npm publish accepts it --- genbindings.sh | 1 + ts/.gitignore | 1 + ts/README.md | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) delete mode 120000 ts/README.md diff --git a/genbindings.sh b/genbindings.sh index 7fc10bc9..0c2a8982 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -222,6 +222,7 @@ else rm imports.mts.part tsc --types node --typeRoots . cp ../$WASM_FILE liblightningjs.wasm + cp ../README.md README.md echo Ready to publish! if [ -x "$(which node)" ]; then NODE_V="$(node --version)" diff --git a/ts/.gitignore b/ts/.gitignore index dbcf7982..487260bb 100644 --- a/ts/.gitignore +++ b/ts/.gitignore @@ -2,3 +2,4 @@ *.mjs.map *.d.mts version.mts +README.md diff --git a/ts/README.md b/ts/README.md deleted file mode 120000 index 32d46ee8..00000000 --- a/ts/README.md +++ /dev/null @@ -1 +0,0 @@ -../README.md \ No newline at end of file -- 2.39.5