From eb1bd0c6ec340c986acfb4191f15d6fc676998ad Mon Sep 17 00:00:00 2001 From: Joe Sweeney Date: Fri, 17 May 2024 17:30:49 -0600 Subject: [PATCH] github actions fix attempt --- deno.json | 2 +- extras/.npmignore | 4 ++++ scripts/build_npm.ts | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 extras/.npmignore diff --git a/deno.json b/deno.json index 84ec545..7807596 100644 --- a/deno.json +++ b/deno.json @@ -1,5 +1,5 @@ { "name": "@jcs224/hono-sessions", - "version": "0.5.7", + "version": "0.5.8", "exports": "./mod.ts" } \ No newline at end of file diff --git a/extras/.npmignore b/extras/.npmignore new file mode 100644 index 0000000..652486d --- /dev/null +++ b/extras/.npmignore @@ -0,0 +1,4 @@ +/src/ +test_runner.js +yarn.lock +pnpm-lock.yaml diff --git a/scripts/build_npm.ts b/scripts/build_npm.ts index 1e67161..2478b03 100644 --- a/scripts/build_npm.ts +++ b/scripts/build_npm.ts @@ -41,4 +41,5 @@ await build({ // post build steps Deno.copyFileSync("LICENSE", "npm/LICENSE"); -Deno.copyFileSync("README.md", "npm/README.md"); \ No newline at end of file +Deno.copyFileSync("README.md", "npm/README.md"); +Deno.copyFileSync("extras/.npmignore", "npm/.npmignore") \ No newline at end of file