Skip to content

Commit 5232a7e

Browse files
authored
chore: remove npm dirs (#913)
1 parent afd2a54 commit 5232a7e

File tree

120 files changed

+7
-2564
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+7
-2564
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,6 @@ jobs:
154154
- name: 'Install dependencies'
155155
run: yarn install --immutable --mode=skip-build
156156

157-
- name: 'Build TypeScript'
158-
run: yarn build:ts
159-
160157
- name: Setup node x86
161158
uses: actions/setup-node@v4
162159
if: matrix.settings.target == 'i686-pc-windows-msvc'
@@ -224,7 +221,6 @@ jobs:
224221
env
225222
freebsd-version
226223
yarn install --immutable --mode=skip-build
227-
yarn build:ts
228224
yarn build
229225
strip -x packages/*/*.node
230226
rm -rf node_modules
@@ -286,9 +282,6 @@ jobs:
286282
run: yarn artifacts
287283
shell: bash
288284

289-
- name: Build TypeScript
290-
run: yarn build:ts
291-
292285
- name: Test bindings
293286
run: yarn workspaces foreach -A -j 1 run test
294287

@@ -331,9 +324,6 @@ jobs:
331324
run: ls -R packages
332325
shell: bash
333326

334-
- name: Build TypeScript
335-
run: yarn build:ts
336-
337327
- name: Test bindings
338328
uses: addnab/docker-run-action@v3
339329
with:
@@ -442,7 +432,6 @@ jobs:
442432
options: --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build
443433
run: |
444434
set -e
445-
yarn build:ts
446435
yarn test -s
447436
ls -la
448437
@@ -496,7 +485,6 @@ jobs:
496485
options: --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build
497486
run: |
498487
set -e
499-
yarn build:ts
500488
yarn test -s
501489
502490
test-linux-arm-gnueabihf-binding:
@@ -547,7 +535,6 @@ jobs:
547535
options: --platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build
548536
run: |
549537
set -e
550-
yarn build:ts
551538
yarn test -s
552539
ls -la
553540
@@ -582,7 +569,6 @@ jobs:
582569
run: ls -R .
583570
- name: Test
584571
run: |
585-
yarn build:ts
586572
yarn test -s
587573
env:
588574
NAPI_RS_FORCE_WASI: 'true'

README.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,7 @@ When `Node.js` meet `Rust` = 🚀
88

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

11-
# Support matrix
12-
13-
| | node12 | node14 | node16 | node18 |
14-
| ---------------------------- | ------ | ------ | ------ | ------ |
15-
| Windows x64 |||||
16-
| Windows x32 |||||
17-
| Windows arm64 |||||
18-
| macOS x64 |||||
19-
| macOS arm64 (m chips) |||||
20-
| Linux x64 gnu (glibc 2.17) |||||
21-
| Linux x64 musl |||||
22-
| Linux arm gnu (glibc 2.17) |||||
23-
| Linux arm64 gnu (glibc 2.17) |||||
24-
| Linux arm64 musl |||||
25-
| Android arm64 |||||
26-
| Android armv7 |||||
27-
| FreeBSD x64 |||||
11+
Playground: [https://node-rs.dev](https://node-rs.dev)
2812

2913
# Packages
3014

@@ -33,7 +17,6 @@ Make rust crates binding to Node.js use [napi-rs](https://github.com/napi-rs/nap
3317
| [`@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` |
3418
| [`@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 |
3519
| [`@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 |
36-
| [`@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 |
3720
| [`@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 |
3821
| [`@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. |
3922
| [`@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. |

packages/argon2/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/npm

packages/argon2/npm/android-arm-eabi/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/argon2/npm/android-arm-eabi/package.json

Lines changed: 0 additions & 39 deletions
This file was deleted.

packages/argon2/npm/android-arm64/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/argon2/npm/android-arm64/package.json

Lines changed: 0 additions & 39 deletions
This file was deleted.

packages/argon2/npm/darwin-arm64/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/argon2/npm/darwin-arm64/package.json

Lines changed: 0 additions & 39 deletions
This file was deleted.

packages/argon2/npm/darwin-x64/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)