Skip to content

Commit

Permalink
feat: version up the Deno codebase to 1.45.2 (#389)
Browse files Browse the repository at this point in the history
* build(cargo): pin rust toolchain version to `1.79.0`

* chore(devcontainer): add deno lsp support

* chore: reformatting `Cargo.toml` of all workspace members

* stamp: sync with `ext/node`

* chore: add some crates and update dependencies

* stamp: lkg for all tests

* stamp: clippy

* stamp: fmt

* fix(node): bring back `worker_threads` module but make it a mock

* chore: add integration tests for `fastify` package

* chore: add an example for `fastify` package

* stamp: polishing

* stamp: reflect upstream changes

* stamp: sync with main branch

* feat: expose eszip v2 checksum option into cli

* stamp: polishing

* chore: make clippy happy

* fix(eszip): bump up supabase eszip version to v1.1 and add migration

* chore: update dependencies

* chore: update `Cargo.lock`
  • Loading branch information
nyannyacha authored Aug 21, 2024
1 parent 3f7863b commit 82588d6
Show file tree
Hide file tree
Showing 201 changed files with 13,945 additions and 8,372 deletions.
8 changes: 7 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM mcr.microsoft.com/devcontainers/rust:dev-1-bookworm

ARG TARGETPLATFORM
ARG ONNXRUNTIME_VERSION
ARG DENO_VERSION

RUN apt-get update && apt-get install -y build-essential cmake libclang-dev lldb \
nodejs npm hyperfine
Expand All @@ -17,4 +18,9 @@ RUN mkdir -p /etc/sb_ai && cp -r /tmp/models /etc/sb_ai/models
ENV ORT_DYLIB_PATH=/usr/local/bin/libonnxruntime.so
ENV SB_AI_MODELS_DIR=/etc/sb_ai/models

RUN curl -fsSL https://ollama.com/install.sh | sh
# Ollama
RUN curl -fsSL https://ollama.com/install.sh | sh

# Deno
RUN curl -fsSL https://deno.land/install.sh | sh
RUN deno upgrade --version $DENO_VERSION
6 changes: 4 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"dockerfile": "Dockerfile",
"context": "..",
"args": {
"ONNXRUNTIME_VERSION": "1.17.0"
"ONNXRUNTIME_VERSION": "1.17.0",
"DENO_VERSION": "1.45.2"
}
},
"features": {
Expand All @@ -31,7 +32,8 @@
"eamodio.gitlens",
"ms-azuretools.vscode-docker",
"ms-vscode.hexeditor",
"vadimcn.vscode-lldb"
"vadimcn.vscode-lldb",
"denoland.vscode-deno"
]
}
}
Expand Down
Loading

0 comments on commit 82588d6

Please sign in to comment.