Skip to content

Commit

Permalink
feat: facade layer for express intrinsic
Browse files Browse the repository at this point in the history
- feat: module simulating `express` interface
- chore: add root for node intrinsics
  • Loading branch information
sgammon committed Jul 27, 2023
1 parent 6a14829 commit 1478fe0
Show file tree
Hide file tree
Showing 7 changed files with 1,422 additions and 0 deletions.
1 change: 1 addition & 0 deletions elide/runtime/js/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ runtime_dist(
modules = [
"//elide/runtime/js/modules/%s" % m for m in [
"buffer",
"express",
"fs",
]
],
Expand Down
22 changes: 22 additions & 0 deletions elide/runtime/js/intrinsics/node/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package(
default_visibility = ["//visibility:public"],
)

load(
"//tools:defs.bzl",
"ts_library",
)

ts_library(
name = "express",
srcs = [
"core.d.ts",
"express.d.ts",
],
module = "@elide/runtime/js/intrinsics/node",
)

alias(
name = "node",
actual = "express",
)
Loading

0 comments on commit 1478fe0

Please sign in to comment.