Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(si-fs): support deno #5491

Merged
merged 1 commit into from
Feb 20, 2025
Merged

feat(si-fs): support deno #5491

merged 1 commit into from
Feb 20, 2025

Conversation

zacharyhamm
Copy link
Contributor

Supports deno by configuring a workspace root deno.json and a .vscode/settings.json with "deno: enable". In order to support deno we prefetch every function so we can fill out the deno.json workspaces list.

If new functions come in, or are created, you will have to reload your deno workspace to get them parsed by the deno language server.

node_modules for deno are not yet supported. They can be! But a passthrough will have to be implemented so that the node module tree can be written to disk in another folder, and mirrored in the si-filesystem system.

Copy link

github-actions bot commented Feb 14, 2025

Dependency Review

✅ No vulnerabilities or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@github-actions github-actions bot added the A-sdf Area: Primary backend API service [Rust] label Feb 14, 2025
@fnichol
Copy link
Contributor

fnichol commented Feb 14, 2025

I rebased this work to make sure that it would benefit from updated Nix software

@fnichol
Copy link
Contributor

fnichol commented Feb 18, 2025

I'll review today, sorry I ran out of time Friday

Supports deno by configuring a workspace root deno.json and a
.vscode/settings.json with "deno: enable". In order to support deno we
prefetch every function so we can fill out the deno.json workspaces
list.

If new functions come in, or are created, *you will have to reload your
deno workspace to get them parsed by the deno language server*.

`node_modules` for deno are not yet supported. They can be! But a
passthrough will have to be implemented so that the node module tree can
be written to disk in another folder, and mirrored in the
si-filesystem system.
Copy link
Contributor

@fnichol fnichol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! While I don't yet have a decent vscode setup, I see the various tsconfig.json and deno.json files, I can see their contents look right, and the file permissions are set correctly. Nice!

@fnichol
Copy link
Contributor

fnichol commented Feb 20, 2025

Note that this PR will produce an si-fs that relies on a newly deployed SDF /cc @stack72

@fnichol fnichol added this pull request to the merge queue Feb 20, 2025
Merged via the queue into main with commit 63b1d25 Feb 20, 2025
9 checks passed
@fnichol fnichol deleted the si-fs/deno-types branch February 20, 2025 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sdf Area: Primary backend API service [Rust]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants