Skip to content

Commit

Permalink
Copy all documentation to npm folder after building
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavoguichard committed May 23, 2024
1 parent 4b53d7f commit cac614a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 4 additions & 0 deletions scripts/build-npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')

0 comments on commit cac614a

Please sign in to comment.