Skip to content

Commit

Permalink
Support jsx import source (#5)
Browse files Browse the repository at this point in the history
* feat: Jsx import source

* feat: Enable emit options to respect jsx

* chore: Fix e2e tests

* chore: fmt

* chore: Integration tests

* chore: Remove old comment

* chore(deps): bump whoami from 1.4.1 to 1.5.1 (supabase#310)

Bumps [whoami](https://github.com/ardaku/whoami) from 1.4.1 to 1.5.1.
- [Changelog](https://github.com/ardaku/whoami/blob/v1/CHANGELOG.md)
- [Commits](ardaku/whoami@v1.4.1...v1.5.1)

---
updated-dependencies:
- dependency-name: whoami
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump h2 from 0.3.24 to 0.3.26 (supabase#311)

Bumps [h2](https://github.com/hyperium/h2) from 0.3.24 to 0.3.26.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md)
- [Commits](hyperium/h2@v0.3.24...v0.3.26)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump vite from 5.1.6 to 5.1.7 in /k6 (supabase#312)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.1.6 to 5.1.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.1.7/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.1.7/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: report accumulated cpu time correctly (supabase#313)

* stamp: enforce cpu time limit in evaluation stage

* stamp: always use the last accumulated cpu time

* stamp: adjusting wall clock limit routine

* stamp: polishing

* chore: add an integration test for the run computationally intensive function on top level

* chore: adjust dev container base image as `dev-1-bookworm` (supabase#315)

* fix: unbundle command to better download function source code (supabase#314)

* fix: Fix unbundle command to better download function source code

* fix: Fix tests and typo

* chore: Remove test folders

* chore: Fix typo

* chore: Enable default and CLI options

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: andreespirela <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 냥냐챠 <[email protected]>
Co-authored-by: andreespirela <[email protected]>
  • Loading branch information
5 people authored Apr 13, 2024
1 parent 7411df7 commit 924e8f3
Show file tree
Hide file tree
Showing 37 changed files with 613 additions and 110 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM mcr.microsoft.com/devcontainers/rust:1-1-bookworm
FROM mcr.microsoft.com/devcontainers/rust:dev-1-bookworm
RUN apt-get update && apt-get install -y build-essential cmake libclang-dev lldb \
nodejs npm hyperfine
27 changes: 18 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ deno_fs.workspace = true
deno_io = { workspace = true }
deno_core.workspace = true
deno_console = { workspace = true }
deno_config = { workspace = true }
deno_crypto = { workspace = true }
deno_fetch = { workspace = true }
deno_http = { workspace = true }
Expand Down
4 changes: 4 additions & 0 deletions crates/base/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ pub async fn start_server(
termination_token: Option<TerminationToken>,
static_patterns: Vec<String>,
inspector_option: Option<InspectorOption>,
jsx_specifier: Option<String>,
jsx_module: Option<String>,
) -> Result<(), Error> {
let mut server = Server::new(
ip,
Expand All @@ -37,6 +39,8 @@ pub async fn start_server(
termination_token,
static_patterns,
inspector_option.map(Inspector::from_option),
jsx_specifier,
jsx_module,
)
.await?;

Expand Down
Loading

0 comments on commit 924e8f3

Please sign in to comment.