Skip to content

Commit

Permalink
chore: try using a well-known deno_cache for automated web bundle (#344)
Browse files Browse the repository at this point in the history
Co-authored-by: KnorpelSenf <[email protected]>
  • Loading branch information
KnightNiwrem and KnorpelSenf authored Dec 27, 2022
1 parent 2678048 commit 0cbe645
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ test/cov_profile
coverage.lcov

# Build output
deno_cache/
out/
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"prepare": "npm run backport",
"backport": "deno2node tsconfig.json",
"contribs": "all-contributors",
"bundle-web": "mkdir -p out && cd bundling && deno run --unstable --quiet --allow-net --allow-read --allow-env=DENO_DIR,XDG_CACHE_HOME,HOME,DENO_AUTH_TOKENS --allow-write=../out bundle-web.ts dev ../src/mod.ts"
"bundle-web": "mkdir -p out deno_cache && cd bundling && DENO_DIR=$PWD/../deno_cache deno run --unstable --quiet --allow-net --allow-read --allow-env=DENO_DIR,XDG_CACHE_HOME,HOME,DENO_AUTH_TOKENS --allow-write=../out,$PWD/../deno_cache bundle-web.ts dev ../src/mod.ts"
},
"dependencies": {
"@grammyjs/types": "^2.10.3",
Expand Down

0 comments on commit 0cbe645

Please sign in to comment.