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

chore: remove npm dirs #913

Merged
merged 1 commit into from
Oct 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,6 @@ jobs:
- name: 'Install dependencies'
run: yarn install --immutable --mode=skip-build

- name: 'Build TypeScript'
run: yarn build:ts

- name: Setup node x86
uses: actions/setup-node@v4
if: matrix.settings.target == 'i686-pc-windows-msvc'
Expand Down Expand Up @@ -224,7 +221,6 @@ jobs:
env
freebsd-version
yarn install --immutable --mode=skip-build
yarn build:ts
yarn build
strip -x packages/*/*.node
rm -rf node_modules
Expand Down Expand Up @@ -286,9 +282,6 @@ jobs:
run: yarn artifacts
shell: bash

- name: Build TypeScript
run: yarn build:ts

- name: Test bindings
run: yarn workspaces foreach -A -j 1 run test

Expand Down Expand Up @@ -331,9 +324,6 @@ jobs:
run: ls -R packages
shell: bash

- name: Build TypeScript
run: yarn build:ts

- name: Test bindings
uses: addnab/docker-run-action@v3
with:
Expand Down Expand Up @@ -442,7 +432,6 @@ jobs:
options: --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build
run: |
set -e
yarn build:ts
yarn test -s
ls -la

Expand Down Expand Up @@ -496,7 +485,6 @@ jobs:
options: --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build
run: |
set -e
yarn build:ts
yarn test -s

test-linux-arm-gnueabihf-binding:
Expand Down Expand Up @@ -547,7 +535,6 @@ jobs:
options: --platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build
run: |
set -e
yarn build:ts
yarn test -s
ls -la

Expand Down Expand Up @@ -582,7 +569,6 @@ jobs:
run: ls -R .
- name: Test
run: |
yarn build:ts
yarn test -s
env:
NAPI_RS_FORCE_WASI: 'true'
Expand Down
19 changes: 1 addition & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,7 @@ When `Node.js` meet `Rust` = 🚀

Make rust crates binding to Node.js use [napi-rs](https://github.com/napi-rs/napi-rs)

# Support matrix

| | node12 | node14 | node16 | node18 |
| ---------------------------- | ------ | ------ | ------ | ------ |
| Windows x64 | ✓ | ✓ | ✓ | ✓ |
| Windows x32 | ✓ | ✓ | ✓ | ✓ |
| Windows arm64 | ✓ | ✓ | ✓ | ✓ |
| macOS x64 | ✓ | ✓ | ✓ | ✓ |
| macOS arm64 (m chips) | ✓ | ✓ | ✓ | ✓ |
| Linux x64 gnu (glibc 2.17) | ✓ | ✓ | ✓ | ✓ |
| Linux x64 musl | ✓ | ✓ | ✓ | ✓ |
| Linux arm gnu (glibc 2.17) | ✓ | ✓ | ✓ | ✓ |
| Linux arm64 gnu (glibc 2.17) | ✓ | ✓ | ✓ | ✓ |
| Linux arm64 musl | ✓ | ✓ | ✓ | ✓ |
| Android arm64 | ✓ | ✓ | ✓ | ✓ |
| Android armv7 | ✓ | ✓ | ✓ | ✓ |
| FreeBSD x64 | ✓ | ✓ | ✓ | ✓ |
Playground: [https://node-rs.dev](https://node-rs.dev)

# Packages

Expand All @@ -33,7 +17,6 @@ Make rust crates binding to Node.js use [napi-rs](https://github.com/napi-rs/nap
| [`@node-rs/crc32`](./packages/crc32) | ![](https://img.shields.io/npm/v/@node-rs/crc32.svg) | ![](https://img.shields.io/npm/dm/@node-rs/crc32.svg?sanitize=true) | Fastest `CRC32` implementation using `SIMD` |
| [`@node-rs/jieba`](./packages/jieba) | ![](https://img.shields.io/npm/v/@node-rs/jieba.svg) | ![](https://img.shields.io/npm/dm/@node-rs/jieba.svg?sanitize=true) | [`jieba-rs`](https://github.com/messense/jieba-rs) binding |
| [`@node-rs/bcrypt`](./packages/bcrypt) | ![](https://img.shields.io/npm/v/@node-rs/bcrypt.svg) | ![](https://img.shields.io/npm/dm/@node-rs/bcrypt.svg?sanitize=true) | Fastest bcrypt implementation |
| [`@node-rs/deno-lint`](./packages/deno-lint) | ![](https://img.shields.io/npm/v/@node-rs/deno-lint.svg) | ![](https://img.shields.io/npm/dm/@node-rs/deno-lint.svg?sanitize=true) | [deno_lint](https://github.com/denoland/deno_lint) Node.js binding |
| [`@node-rs/xxhash`](./packages/xxhash) | ![](https://img.shields.io/npm/v/@node-rs/xxhash.svg) | ![](https://img.shields.io/npm/dm/@node-rs/xxhash.svg?sanitize=true) | [`xxhash-rust`](https://github.com/DoumanAsh/xxhash-rust) Node.js binding |
| [`@node-rs/argon2`](./packages/argon2) | ![](https://img.shields.io/npm/v/@node-rs/argon2.svg) | ![](https://img.shields.io/npm/dm/@node-rs/argon2.svg?sanitize=true) | [argon2](https://crates.io/crates/argon2) binding for Node.js. |
| [`@node-rs/jsonwebtoken`](./packages/jsonwebtoken) | ![](https://img.shields.io/npm/v/@node-rs/jsonwebtoken.svg) | ![](https://img.shields.io/npm/dm/@node-rs/jsonwebtoken.svg?sanitize=true) | [jsonwebtoken](https://github.com/Keats/jsonwebtoken) binding for Node.js. |
1 change: 1 addition & 0 deletions packages/argon2/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/npm
3 changes: 0 additions & 3 deletions packages/argon2/npm/android-arm-eabi/README.md

This file was deleted.

39 changes: 0 additions & 39 deletions packages/argon2/npm/android-arm-eabi/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions packages/argon2/npm/android-arm64/README.md

This file was deleted.

39 changes: 0 additions & 39 deletions packages/argon2/npm/android-arm64/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions packages/argon2/npm/darwin-arm64/README.md

This file was deleted.

39 changes: 0 additions & 39 deletions packages/argon2/npm/darwin-arm64/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions packages/argon2/npm/darwin-x64/README.md

This file was deleted.

39 changes: 0 additions & 39 deletions packages/argon2/npm/darwin-x64/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions packages/argon2/npm/freebsd-x64/README.md

This file was deleted.

39 changes: 0 additions & 39 deletions packages/argon2/npm/freebsd-x64/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions packages/argon2/npm/linux-arm-gnueabihf/README.md

This file was deleted.

39 changes: 0 additions & 39 deletions packages/argon2/npm/linux-arm-gnueabihf/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions packages/argon2/npm/linux-arm64-gnu/README.md

This file was deleted.

Loading