minor fixes
This commit is contained in:
@@ -1001,6 +1001,11 @@ It's possible to compile a Deno project to a single binary using `deno compile`.
|
|||||||
The binary will be named like the `.name` property in `deno.json`, if available,
|
The binary will be named like the `.name` property in `deno.json`, if available,
|
||||||
or the `name` attribute of the derivation.
|
or the `name` attribute of the derivation.
|
||||||
|
|
||||||
|
:::{.caution}
|
||||||
|
When using packages with a `npm:` specifier, the resulting binary will not be reproducible.
|
||||||
|
See [this issue](https://github.com/denoland/deno/issues/29619) for more information.
|
||||||
|
:::
|
||||||
|
|
||||||
Related options:
|
Related options:
|
||||||
|
|
||||||
*`hostPlatform`* (String; optional)
|
*`hostPlatform`* (String; optional)
|
||||||
|
|||||||
@@ -117,12 +117,15 @@
|
|||||||
|
|
||||||
# There are various small databases used by deno for caching that
|
# There are various small databases used by deno for caching that
|
||||||
# we can simply delete.
|
# we can simply delete.
|
||||||
find -L ./node_modules -name '*cache_v2-shm' -type f | xargs rm -f
|
if [[ -d "./node_modules" ]]; then
|
||||||
find -L ./node_modules -name '*cache_v2-wal' -type f | xargs rm -f
|
find -L ./node_modules -name '*cache_v2-shm' -type f | xargs rm -f
|
||||||
find -L ./node_modules -name 'dep_analysis_cache_v2' -type f | xargs rm -f
|
find -L ./node_modules -name '*cache_v2-wal' -type f | xargs rm -f
|
||||||
find -L ./node_modules -name 'node_analysis_cache_v2' -type f | xargs rm -f
|
find -L ./node_modules -name 'dep_analysis_cache_v2' -type f | xargs rm -f
|
||||||
find -L ./node_modules -name v8_code_cache_v2 -type f | xargs rm -f
|
find -L ./node_modules -name 'node_analysis_cache_v2' -type f | xargs rm -f
|
||||||
rm -f ./node_modules/.deno/.deno.lock.poll
|
find -L ./node_modules -name v8_code_cache_v2 -type f | xargs rm -f
|
||||||
|
rm -f ./node_modules/.deno/.deno.lock.poll
|
||||||
|
fi
|
||||||
|
|
||||||
rm -f "$DENO_DIR"/dep_analysis_cache_v2-shm
|
rm -f "$DENO_DIR"/dep_analysis_cache_v2-shm
|
||||||
rm -f "$DENO_DIR"/dep_analysis_cache_v2-wal
|
rm -f "$DENO_DIR"/dep_analysis_cache_v2-wal
|
||||||
rm -f "$DENO_DIR"/dep_analysis_cache_v2
|
rm -f "$DENO_DIR"/dep_analysis_cache_v2
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
let
|
let
|
||||||
pkgs = import <nixpkgs> { };
|
pkgs = import ../../../default.nix { };
|
||||||
in
|
in
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
buildInputs = [ pkgs.deno ];
|
buildInputs = [ pkgs.deno ];
|
||||||
|
|||||||
Reference in New Issue
Block a user