Skip to content

Commit

Permalink
feat: Loading node_modules by import (#613)
Browse files Browse the repository at this point in the history
* feat: Loading node_modules by import

* Chore

* Refactor

* Cleaned up duplicate implementations and modified Typo

* Optimized location search of node_modules directory

* Fixed path search method for node_modules

* Start rebuilding around require/import

* Further Implementation

* Chore

* Fixed load_package_self()

* Revert io.rs

* Fixed

* Minor Correction

* Refactor

* Minor Correction

* Refactor

* Check for errors

* Revert makefile

* Fix

* Fix makefile

* trace on

* Fix

* Skip runtime_client::tests::runtime on windows

* Change conditions for absolute path specification in Windows

* Revert runtime_client::tests::runtime on windows
  • Loading branch information
nabetti1720 authored Oct 10, 2024
1 parent af1b72b commit f532dd4
Show file tree
Hide file tree
Showing 8 changed files with 564 additions and 231 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,10 @@ test-e2e: js
cargo run -- test -d bundle/js/__tests__/e2e

test-ci: export JS_MINIFY = 0
test-ci: export RUST_BACKTRACE = 1
test-ci: export RUST_LOG = trace
test-ci: clean-js | toolchain js
cargo $(TOOLCHAIN) -Z panic-abort-tests test --target $(CURRENT_TARGET)
cargo $(TOOLCHAIN) -Z panic-abort-tests test --target $(CURRENT_TARGET) -- --nocapture --show-output
cargo $(TOOLCHAIN) run -r --target $(CURRENT_TARGET) -- test -d bundle/js/__tests__/unit

libs-arm64: lib/arm64/libzstd.a lib/zstd.h
Expand Down
1 change: 1 addition & 0 deletions llrt_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ flate2 = { version = "1.0.30", features = [
], default-features = false }
brotlic = "0.8.2"
rustls-pemfile = "2.1.2"
home = "0.5.9"

[build-dependencies]
rquickjs = { version = "0.6.2", features = [
Expand Down
Loading

0 comments on commit f532dd4

Please sign in to comment.