From cac614a7fbf4b7b35d9586457d43df346d48cdae Mon Sep 17 00:00:00 2001 From: Guga Guichard Date: Thu, 23 May 2024 14:09:24 -0300 Subject: [PATCH] Copy all documentation to npm folder after building --- deno.json | 2 +- scripts/build-npm.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/deno.json b/deno.json index a2016222..0827ce85 100644 --- a/deno.json +++ b/deno.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-beta-20240523-2", + "version": "1.0.0-beta-20240523-3", "tasks": { "test": "deno test --allow-env --allow-net src", "publish": "deno task build-npm && cd npm/ && npm publish", diff --git a/scripts/build-npm.ts b/scripts/build-npm.ts index e74f8806..b2ad1836 100644 --- a/scripts/build-npm.ts +++ b/scripts/build-npm.ts @@ -34,3 +34,7 @@ await build({ // post build steps Deno.copyFileSync('LICENSE', 'npm/LICENSE') Deno.copyFileSync('README.md', 'npm/README.md') +Deno.copyFileSync('API.md', 'npm/API.md') +Deno.copyFileSync('environments.md', 'npm/environments.md') +Deno.copyFileSync('with-schema.md', 'npm/with-schema.md') +Deno.copyFileSync('migrating-df.md', 'npm/migrating-df.md')