diff --git a/Dockerfile b/Dockerfile index a758f31bec..d8d831e95c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,6 @@ WORKDIR /firefish # Copy only backend-rs pnpm-related files first, to cache efficiently COPY package.json pnpm-workspace.yaml ./ COPY packages/backend-rs/package.json packages/backend-rs/package.json -COPY packages/backend-rs/npm/linux-x64-musl/package.json packages/backend-rs/npm/linux-x64-musl/package.json -COPY packages/backend-rs/npm/linux-arm64-musl/package.json packages/backend-rs/npm/linux-arm64-musl/package.json # Install compilation dependencies RUN apk update && apk add --no-cache build-base linux-headers curl ca-certificates python3 perl diff --git a/packages/backend-rs/npm/android-arm-eabi/README.md b/packages/backend-rs/npm/android-arm-eabi/README.md deleted file mode 100644 index 26e84675de..0000000000 --- a/packages/backend-rs/npm/android-arm-eabi/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `backend-rs-android-arm-eabi` - -This is the **armv7-linux-androideabi** binary for `backend-rs` diff --git a/packages/backend-rs/npm/android-arm-eabi/package.json b/packages/backend-rs/npm/android-arm-eabi/package.json deleted file mode 100644 index ca06ebf7f3..0000000000 --- a/packages/backend-rs/npm/android-arm-eabi/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "backend-rs-android-arm-eabi", - "version": "0.0.0", - "os": [ - "android" - ], - "cpu": [ - "arm" - ], - "main": "backend-rs.android-arm-eabi.node", - "files": [ - "backend-rs.android-arm-eabi.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - } -} diff --git a/packages/backend-rs/npm/android-arm64/README.md b/packages/backend-rs/npm/android-arm64/README.md deleted file mode 100644 index f18da53ca3..0000000000 --- a/packages/backend-rs/npm/android-arm64/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `backend-rs-android-arm64` - -This is the **aarch64-linux-android** binary for `backend-rs` diff --git a/packages/backend-rs/npm/android-arm64/package.json b/packages/backend-rs/npm/android-arm64/package.json deleted file mode 100644 index b37c2f5b7c..0000000000 --- a/packages/backend-rs/npm/android-arm64/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "backend-rs-android-arm64", - "version": "0.0.0", - "os": [ - "android" - ], - "cpu": [ - "arm64" - ], - "main": "backend-rs.android-arm64.node", - "files": [ - "backend-rs.android-arm64.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - } -} diff --git a/packages/backend-rs/npm/darwin-arm64/README.md b/packages/backend-rs/npm/darwin-arm64/README.md deleted file mode 100644 index 4c2bb5f7de..0000000000 --- a/packages/backend-rs/npm/darwin-arm64/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `backend-rs-darwin-arm64` - -This is the **aarch64-apple-darwin** binary for `backend-rs` diff --git a/packages/backend-rs/npm/darwin-arm64/package.json b/packages/backend-rs/npm/darwin-arm64/package.json deleted file mode 100644 index 2ed7ccd061..0000000000 --- a/packages/backend-rs/npm/darwin-arm64/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "backend-rs-darwin-arm64", - "version": "0.0.0", - "os": [ - "darwin" - ], - "cpu": [ - "arm64" - ], - "main": "backend-rs.darwin-arm64.node", - "files": [ - "backend-rs.darwin-arm64.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - } -} diff --git a/packages/backend-rs/npm/darwin-universal/README.md b/packages/backend-rs/npm/darwin-universal/README.md deleted file mode 100644 index fe9e88d1e4..0000000000 --- a/packages/backend-rs/npm/darwin-universal/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `backend-rs-darwin-universal` - -This is the **universal-apple-darwin** binary for `backend-rs` diff --git a/packages/backend-rs/npm/darwin-universal/package.json b/packages/backend-rs/npm/darwin-universal/package.json deleted file mode 100644 index 125f60807a..0000000000 --- a/packages/backend-rs/npm/darwin-universal/package.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "backend-rs-darwin-universal", - "version": "0.0.0", - "os": [ - "darwin" - ], - "main": "backend-rs.darwin-universal.node", - "files": [ - "backend-rs.darwin-universal.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - } -} diff --git a/packages/backend-rs/npm/darwin-x64/README.md b/packages/backend-rs/npm/darwin-x64/README.md deleted file mode 100644 index e7cb3c7341..0000000000 --- a/packages/backend-rs/npm/darwin-x64/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `backend-rs-darwin-x64` - -This is the **x86_64-apple-darwin** binary for `backend-rs` diff --git a/packages/backend-rs/npm/darwin-x64/package.json b/packages/backend-rs/npm/darwin-x64/package.json deleted file mode 100644 index 6a90d0628e..0000000000 --- a/packages/backend-rs/npm/darwin-x64/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "backend-rs-darwin-x64", - "version": "0.0.0", - "os": [ - "darwin" - ], - "cpu": [ - "x64" - ], - "main": "backend-rs.darwin-x64.node", - "files": [ - "backend-rs.darwin-x64.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - } -} diff --git a/packages/backend-rs/npm/freebsd-x64/README.md b/packages/backend-rs/npm/freebsd-x64/README.md deleted file mode 100644 index df06915dff..0000000000 --- a/packages/backend-rs/npm/freebsd-x64/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `backend-rs-freebsd-x64` - -This is the **x86_64-unknown-freebsd** binary for `backend-rs` diff --git a/packages/backend-rs/npm/freebsd-x64/package.json b/packages/backend-rs/npm/freebsd-x64/package.json deleted file mode 100644 index 2ba1244845..0000000000 --- a/packages/backend-rs/npm/freebsd-x64/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "backend-rs-freebsd-x64", - "version": "0.0.0", - "os": [ - "freebsd" - ], - "cpu": [ - "x64" - ], - "main": "backend-rs.freebsd-x64.node", - "files": [ - "backend-rs.freebsd-x64.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - } -} diff --git a/packages/backend-rs/npm/linux-arm-gnueabihf/README.md b/packages/backend-rs/npm/linux-arm-gnueabihf/README.md deleted file mode 100644 index fc4132cd0e..0000000000 --- a/packages/backend-rs/npm/linux-arm-gnueabihf/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `backend-rs-linux-arm-gnueabihf` - -This is the **armv7-unknown-linux-gnueabihf** binary for `backend-rs` diff --git a/packages/backend-rs/npm/linux-arm-gnueabihf/package.json b/packages/backend-rs/npm/linux-arm-gnueabihf/package.json deleted file mode 100644 index 6e878bc516..0000000000 --- a/packages/backend-rs/npm/linux-arm-gnueabihf/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "backend-rs-linux-arm-gnueabihf", - "version": "0.0.0", - "os": [ - "linux" - ], - "cpu": [ - "arm" - ], - "main": "backend-rs.linux-arm-gnueabihf.node", - "files": [ - "backend-rs.linux-arm-gnueabihf.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - } -} diff --git a/packages/backend-rs/npm/linux-arm64-gnu/README.md b/packages/backend-rs/npm/linux-arm64-gnu/README.md deleted file mode 100644 index 9126a63170..0000000000 --- a/packages/backend-rs/npm/linux-arm64-gnu/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `backend-rs-linux-arm64-gnu` - -This is the **aarch64-unknown-linux-gnu** binary for `backend-rs` diff --git a/packages/backend-rs/npm/linux-arm64-gnu/package.json b/packages/backend-rs/npm/linux-arm64-gnu/package.json deleted file mode 100644 index 27b87ae1d4..0000000000 --- a/packages/backend-rs/npm/linux-arm64-gnu/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "backend-rs-linux-arm64-gnu", - "version": "0.0.0", - "os": [ - "linux" - ], - "cpu": [ - "arm64" - ], - "main": "backend-rs.linux-arm64-gnu.node", - "files": [ - "backend-rs.linux-arm64-gnu.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - }, - "libc": [ - "glibc" - ] -} diff --git a/packages/backend-rs/npm/linux-arm64-musl/README.md b/packages/backend-rs/npm/linux-arm64-musl/README.md deleted file mode 100644 index 970d094e46..0000000000 --- a/packages/backend-rs/npm/linux-arm64-musl/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `backend-rs-linux-arm64-musl` - -This is the **aarch64-unknown-linux-musl** binary for `backend-rs` diff --git a/packages/backend-rs/npm/linux-arm64-musl/package.json b/packages/backend-rs/npm/linux-arm64-musl/package.json deleted file mode 100644 index 49f83fb046..0000000000 --- a/packages/backend-rs/npm/linux-arm64-musl/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "backend-rs-linux-arm64-musl", - "version": "0.0.0", - "os": [ - "linux" - ], - "cpu": [ - "arm64" - ], - "main": "backend-rs.linux-arm64-musl.node", - "files": [ - "backend-rs.linux-arm64-musl.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - }, - "libc": [ - "musl" - ] -} diff --git a/packages/backend-rs/npm/linux-x64-gnu/README.md b/packages/backend-rs/npm/linux-x64-gnu/README.md deleted file mode 100644 index 6a947c5e7f..0000000000 --- a/packages/backend-rs/npm/linux-x64-gnu/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `backend-rs-linux-x64-gnu` - -This is the **x86_64-unknown-linux-gnu** binary for `backend-rs` diff --git a/packages/backend-rs/npm/linux-x64-gnu/package.json b/packages/backend-rs/npm/linux-x64-gnu/package.json deleted file mode 100644 index 7ba56d5212..0000000000 --- a/packages/backend-rs/npm/linux-x64-gnu/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "backend-rs-linux-x64-gnu", - "version": "0.0.0", - "os": [ - "linux" - ], - "cpu": [ - "x64" - ], - "main": "backend-rs.linux-x64-gnu.node", - "files": [ - "backend-rs.linux-x64-gnu.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - }, - "libc": [ - "glibc" - ] -} diff --git a/packages/backend-rs/npm/linux-x64-musl/README.md b/packages/backend-rs/npm/linux-x64-musl/README.md deleted file mode 100644 index 4344d648ae..0000000000 --- a/packages/backend-rs/npm/linux-x64-musl/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `backend-rs-linux-x64-musl` - -This is the **x86_64-unknown-linux-musl** binary for `backend-rs` diff --git a/packages/backend-rs/npm/linux-x64-musl/package.json b/packages/backend-rs/npm/linux-x64-musl/package.json deleted file mode 100644 index fcfa783c83..0000000000 --- a/packages/backend-rs/npm/linux-x64-musl/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "backend-rs-linux-x64-musl", - "version": "0.0.0", - "os": [ - "linux" - ], - "cpu": [ - "x64" - ], - "main": "backend-rs.linux-x64-musl.node", - "files": [ - "backend-rs.linux-x64-musl.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - }, - "libc": [ - "musl" - ] -} diff --git a/packages/backend-rs/npm/win32-arm64-msvc/README.md b/packages/backend-rs/npm/win32-arm64-msvc/README.md deleted file mode 100644 index a89398e514..0000000000 --- a/packages/backend-rs/npm/win32-arm64-msvc/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `backend-rs-win32-arm64-msvc` - -This is the **aarch64-pc-windows-msvc** binary for `backend-rs` diff --git a/packages/backend-rs/npm/win32-arm64-msvc/package.json b/packages/backend-rs/npm/win32-arm64-msvc/package.json deleted file mode 100644 index 1783c23b00..0000000000 --- a/packages/backend-rs/npm/win32-arm64-msvc/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "backend-rs-win32-arm64-msvc", - "version": "0.0.0", - "os": [ - "win32" - ], - "cpu": [ - "arm64" - ], - "main": "backend-rs.win32-arm64-msvc.node", - "files": [ - "backend-rs.win32-arm64-msvc.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - } -} diff --git a/packages/backend-rs/npm/win32-ia32-msvc/README.md b/packages/backend-rs/npm/win32-ia32-msvc/README.md deleted file mode 100644 index 43335cfad0..0000000000 --- a/packages/backend-rs/npm/win32-ia32-msvc/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `backend-rs-win32-ia32-msvc` - -This is the **i686-pc-windows-msvc** binary for `backend-rs` diff --git a/packages/backend-rs/npm/win32-ia32-msvc/package.json b/packages/backend-rs/npm/win32-ia32-msvc/package.json deleted file mode 100644 index 854de42b14..0000000000 --- a/packages/backend-rs/npm/win32-ia32-msvc/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "backend-rs-win32-ia32-msvc", - "version": "0.0.0", - "os": [ - "win32" - ], - "cpu": [ - "ia32" - ], - "main": "backend-rs.win32-ia32-msvc.node", - "files": [ - "backend-rs.win32-ia32-msvc.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - } -} diff --git a/packages/backend-rs/npm/win32-x64-msvc/README.md b/packages/backend-rs/npm/win32-x64-msvc/README.md deleted file mode 100644 index c881bdd12d..0000000000 --- a/packages/backend-rs/npm/win32-x64-msvc/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `backend-rs-win32-x64-msvc` - -This is the **x86_64-pc-windows-msvc** binary for `backend-rs` diff --git a/packages/backend-rs/npm/win32-x64-msvc/package.json b/packages/backend-rs/npm/win32-x64-msvc/package.json deleted file mode 100644 index eb01ab78ef..0000000000 --- a/packages/backend-rs/npm/win32-x64-msvc/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "backend-rs-win32-x64-msvc", - "version": "0.0.0", - "os": [ - "win32" - ], - "cpu": [ - "x64" - ], - "main": "backend-rs.win32-x64-msvc.node", - "files": [ - "backend-rs.win32-x64-msvc.node" - ], - "license": "MIT", - "engines": { - "node": ">= 10" - } -} diff --git a/packages/backend-rs/package.json b/packages/backend-rs/package.json index 5210597abc..e37805dc5d 100644 --- a/packages/backend-rs/package.json +++ b/packages/backend-rs/package.json @@ -4,32 +4,14 @@ "main": "built/index.js", "types": "built/index.d.ts", "napi": { - "binaryName": "backend-rs", - "targets": [ - "aarch64-apple-darwin", - "aarch64-linux-android", - "aarch64-unknown-linux-gnu", - "aarch64-unknown-linux-musl", - "aarch64-pc-windows-msvc", - "armv7-unknown-linux-gnueabihf", - "x86_64-unknown-linux-gnu", - "x86_64-unknown-linux-musl", - "x86_64-unknown-freebsd", - "i686-pc-windows-msvc", - "armv7-linux-androideabi", - "universal-apple-darwin" - ] + "binaryName": "backend-rs" }, "devDependencies": { "@napi-rs/cli": "3.0.0-alpha.55" }, "scripts": { - "artifacts": "napi artifacts", "build": "RUSTFLAGS='-C target-cpu=native' napi build --features napi --no-const-enum --platform --release --output-dir ./built/", "build:container": "napi build --features napi --no-const-enum --platform --release --output-dir ./built/", - "build:debug": "napi build --features napi --no-const-enum --platform --output-dir ./built/", - "prepublishOnly": "napi prepublish -t npm", - "universal": "napi universal", - "version": "napi version" + "build:debug": "napi build --features napi --no-const-enum --platform --output-dir ./built/" } } diff --git a/renovate.json b/renovate.json index 6b4dcefd08..1ecb3c1d4b 100644 --- a/renovate.json +++ b/renovate.json @@ -7,7 +7,7 @@ "prConcurrentLimit": 20, "enabledManagers": ["npm", "cargo"], "baseBranches": ["develop"], - "ignorePaths": ["packages/megalodon/package.json", "packages/backend-rs/npm"], + "ignorePaths": ["packages/megalodon/package.json"], "lockFileMaintenance": { "enabled": true, "recreateWhen": "always",