This pull request is trying to add wasm32-wasi target support for the nx/native To test the build, you can run the following commands: - `rustup target add wasm32-wasip1-threads` - `pnpm exec napi build --release --platform --package-json-path packages/nx/package.json --manifest-path packages/nx/Cargo.toml --js ./native-bindings.js -o packages/nx/src/native --target wasm32-wasip1-threads` And the wasm file will be built at packages/nx/src/native/nx.wasm32-wasi.wasm Blocked by: - Support @napi-rs/cli 3.0 Cammisuli/monodon#48 - https://github.com/napi-rs/napi-rs/issues/2009 The pseudo_terminal mod is excluded on the wasm32 targets, which is as expected. The watch mod is excluded because of the upstream `watchexec` deps introduced by ignore-files don't support the wasi target at this moment (but we can improve it). ## Related Issues Fixes https://github.com/nrwl/nx/issues/21860 Fixes https://github.com/nrwl/nx/issues/23821 --------- Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
61 lines
1023 B
Plaintext
61 lines
1023 B
Plaintext
node_modules
|
|
/.idea
|
|
/.fleet
|
|
/.vscode
|
|
dist
|
|
/build
|
|
/coverage
|
|
./test
|
|
.DS_Store
|
|
tmp
|
|
*.log
|
|
jest.debug.config.js
|
|
.tool-versions
|
|
/.nx-cache
|
|
/.nx
|
|
/.verdaccio/build/local-registry
|
|
/graph/client/src/assets/environment.js
|
|
/graph/client/src/assets/dev/environment.js
|
|
/graph/client/src/assets/generated-project-graphs
|
|
/graph/client/src/assets/generated-task-graphs
|
|
/graph/client/src/assets/generated-task-inputs
|
|
/graph/client/src/assets/generated-source-maps
|
|
/nx-dev/nx-dev/public/documentation
|
|
/nx-dev/nx-dev/public/images/open-graph
|
|
|
|
# Issues scraper creates these files, stored by github's cache
|
|
/scripts/issues-scraper/cached
|
|
|
|
# We don't commit a CHANELGELOG.md file to the repo, we only create Github releases
|
|
CHANGELOG.md
|
|
|
|
# Next.js
|
|
.next
|
|
out
|
|
|
|
# Angular Cache
|
|
.angular
|
|
|
|
# Local dev files
|
|
.env.local
|
|
.bashrc
|
|
.nx
|
|
|
|
*.node
|
|
|
|
# Fix for issue when working on the repo in a dev container
|
|
.pnpm-store
|
|
.nx/cache
|
|
.nx/workspace-data
|
|
|
|
.cargo/.package-cache
|
|
.cargo/bin/
|
|
.cargo/env
|
|
.cargo/registry/
|
|
.local/
|
|
.npm/
|
|
.profile
|
|
.rustup/
|
|
target
|
|
*.wasm
|