From 67a12120f4eaa5c8c4c227b3a67c44f051232ce4 Mon Sep 17 00:00:00 2001 From: liuzejia Date: Thu, 11 Jul 2024 20:54:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CI.yml | 28 ---------------------------- npm/darwin-universal/README.md | 3 --- npm/darwin-universal/package.json | 16 ---------------- npm/linux-arm-gnueabihf/README.md | 3 --- npm/linux-arm-gnueabihf/package.json | 19 ------------------- npm/linux-arm64-gnu/README.md | 3 --- npm/linux-arm64-gnu/package.json | 22 ---------------------- npm/linux-arm64-musl/README.md | 3 --- npm/linux-arm64-musl/package.json | 22 ---------------------- npm/win32-ia32-msvc/README.md | 3 --- npm/win32-ia32-msvc/package.json | 19 ------------------- package.json | 6 +----- 12 files changed, 1 insertion(+), 146 deletions(-) delete mode 100644 npm/darwin-universal/README.md delete mode 100644 npm/darwin-universal/package.json delete mode 100644 npm/linux-arm-gnueabihf/README.md delete mode 100644 npm/linux-arm-gnueabihf/package.json delete mode 100644 npm/linux-arm64-gnu/README.md delete mode 100644 npm/linux-arm64-gnu/package.json delete mode 100644 npm/linux-arm64-musl/README.md delete mode 100644 npm/linux-arm64-musl/package.json delete mode 100644 npm/win32-ia32-msvc/README.md delete mode 100644 npm/win32-ia32-msvc/package.json diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0ff50c8..88526c9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -30,11 +30,6 @@ jobs: - host: windows-latest build: yarn build target: x86_64-pc-windows-msvc - - host: windows-latest - build: | - yarn build --target i686-pc-windows-msvc - yarn test - target: i686-pc-windows-msvc - host: ubuntu-latest target: x86_64-unknown-linux-gnu docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian @@ -51,29 +46,6 @@ jobs: build: | yarn build --target aarch64-apple-darwin strip -x *.node - - host: ubuntu-latest - target: aarch64-unknown-linux-gnu - docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64 - build: |- - set -e && - yarn build --target aarch64-unknown-linux-gnu && - aarch64-unknown-linux-gnu-strip *.node - - host: ubuntu-latest - target: armv7-unknown-linux-gnueabihf - setup: | - sudo apt-get update - sudo apt-get install gcc-arm-linux-gnueabihf -y - build: | - yarn build --target armv7-unknown-linux-gnueabihf - arm-linux-gnueabihf-strip *.node - - host: ubuntu-latest - target: aarch64-unknown-linux-musl - docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine - build: |- - set -e && - rustup target add aarch64-unknown-linux-musl && - yarn build --target aarch64-unknown-linux-musl && - /aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node name: stable - ${{ matrix.settings.target }} - node@18 runs-on: ${{ matrix.settings.host }} steps: diff --git a/npm/darwin-universal/README.md b/npm/darwin-universal/README.md deleted file mode 100644 index 316f8ec..0000000 --- a/npm/darwin-universal/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `@tarojs/plugin-doctor-darwin-universal` - -This is the **universal-apple-darwin** binary for `@tarojs/plugin-doctor` diff --git a/npm/darwin-universal/package.json b/npm/darwin-universal/package.json deleted file mode 100644 index e98eece..0000000 --- a/npm/darwin-universal/package.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "@tarojs/plugin-doctor-darwin-universal", - "version": "0.0.13", - "os": [ - "darwin" - ], - "main": "taro-doctor.darwin-universal.node", - "files": [ - "taro-doctor.darwin-universal.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - }, - "repository": "https://github.com/NervJS/taro-doctor.git" -} \ No newline at end of file diff --git a/npm/linux-arm-gnueabihf/README.md b/npm/linux-arm-gnueabihf/README.md deleted file mode 100644 index 001ac6a..0000000 --- a/npm/linux-arm-gnueabihf/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `@tarojs/plugin-doctor-linux-arm-gnueabihf` - -This is the **armv7-unknown-linux-gnueabihf** binary for `@tarojs/plugin-doctor` diff --git a/npm/linux-arm-gnueabihf/package.json b/npm/linux-arm-gnueabihf/package.json deleted file mode 100644 index bdefa05..0000000 --- a/npm/linux-arm-gnueabihf/package.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "@tarojs/plugin-doctor-linux-arm-gnueabihf", - "version": "0.0.14", - "os": [ - "linux" - ], - "cpu": [ - "arm" - ], - "main": "taro-doctor.linux-arm-gnueabihf.node", - "files": [ - "taro-doctor.linux-arm-gnueabihf.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - }, - "repository": "https://github.com/NervJS/taro-doctor.git" -} \ No newline at end of file diff --git a/npm/linux-arm64-gnu/README.md b/npm/linux-arm64-gnu/README.md deleted file mode 100644 index 9564376..0000000 --- a/npm/linux-arm64-gnu/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `@tarojs/plugin-doctor-linux-arm64-gnu` - -This is the **aarch64-unknown-linux-gnu** binary for `@tarojs/plugin-doctor` diff --git a/npm/linux-arm64-gnu/package.json b/npm/linux-arm64-gnu/package.json deleted file mode 100644 index cc653eb..0000000 --- a/npm/linux-arm64-gnu/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "@tarojs/plugin-doctor-linux-arm64-gnu", - "version": "0.0.14", - "os": [ - "linux" - ], - "cpu": [ - "arm64" - ], - "main": "taro-doctor.linux-arm64-gnu.node", - "files": [ - "taro-doctor.linux-arm64-gnu.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - }, - "libc": [ - "glibc" - ], - "repository": "https://github.com/NervJS/taro-doctor.git" -} \ No newline at end of file diff --git a/npm/linux-arm64-musl/README.md b/npm/linux-arm64-musl/README.md deleted file mode 100644 index 5e6cf13..0000000 --- a/npm/linux-arm64-musl/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `@tarojs/plugin-doctor-linux-arm64-musl` - -This is the **aarch64-unknown-linux-musl** binary for `@tarojs/plugin-doctor` diff --git a/npm/linux-arm64-musl/package.json b/npm/linux-arm64-musl/package.json deleted file mode 100644 index e3e9304..0000000 --- a/npm/linux-arm64-musl/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "@tarojs/plugin-doctor-linux-arm64-musl", - "version": "0.0.14", - "os": [ - "linux" - ], - "cpu": [ - "arm64" - ], - "main": "taro-doctor.linux-arm64-musl.node", - "files": [ - "taro-doctor.linux-arm64-musl.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - }, - "libc": [ - "musl" - ], - "repository": "https://github.com/NervJS/taro-doctor.git" -} \ No newline at end of file diff --git a/npm/win32-ia32-msvc/README.md b/npm/win32-ia32-msvc/README.md deleted file mode 100644 index d38a796..0000000 --- a/npm/win32-ia32-msvc/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `@tarojs/plugin-doctor-win32-ia32-msvc` - -This is the **i686-pc-windows-msvc** binary for `@tarojs/plugin-doctor` diff --git a/npm/win32-ia32-msvc/package.json b/npm/win32-ia32-msvc/package.json deleted file mode 100644 index 27246c8..0000000 --- a/npm/win32-ia32-msvc/package.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "@tarojs/plugin-doctor-win32-ia32-msvc", - "version": "0.0.14", - "os": [ - "win32" - ], - "cpu": [ - "ia32" - ], - "main": "taro-doctor.win32-ia32-msvc.node", - "files": [ - "taro-doctor.win32-ia32-msvc.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - }, - "repository": "https://github.com/NervJS/taro-doctor.git" -} \ No newline at end of file diff --git a/package.json b/package.json index d1831c0..31b7706 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,7 @@ "defaults": true, "additional": [ "aarch64-apple-darwin", - "aarch64-unknown-linux-gnu", - "aarch64-unknown-linux-musl", - "armv7-unknown-linux-gnueabihf", - "x86_64-unknown-linux-musl", - "i686-pc-windows-msvc" + "aarch64-apple-darwin" ] } },