meta: remove unused napi-related files
This commit is contained in:
parent
9e9e2a6a60
commit
b05972201e
31 changed files with 3 additions and 326 deletions
|
@ -5,8 +5,6 @@ WORKDIR /firefish
|
||||||
# Copy only backend-rs pnpm-related files first, to cache efficiently
|
# Copy only backend-rs pnpm-related files first, to cache efficiently
|
||||||
COPY package.json pnpm-workspace.yaml ./
|
COPY package.json pnpm-workspace.yaml ./
|
||||||
COPY packages/backend-rs/package.json packages/backend-rs/package.json
|
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
|
# Install compilation dependencies
|
||||||
RUN apk update && apk add --no-cache build-base linux-headers curl ca-certificates python3 perl
|
RUN apk update && apk add --no-cache build-base linux-headers curl ca-certificates python3 perl
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
# `backend-rs-android-arm-eabi`
|
|
||||||
|
|
||||||
This is the **armv7-linux-androideabi** binary for `backend-rs`
|
|
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
# `backend-rs-android-arm64`
|
|
||||||
|
|
||||||
This is the **aarch64-linux-android** binary for `backend-rs`
|
|
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
# `backend-rs-darwin-arm64`
|
|
||||||
|
|
||||||
This is the **aarch64-apple-darwin** binary for `backend-rs`
|
|
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
# `backend-rs-darwin-universal`
|
|
||||||
|
|
||||||
This is the **universal-apple-darwin** binary for `backend-rs`
|
|
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
# `backend-rs-darwin-x64`
|
|
||||||
|
|
||||||
This is the **x86_64-apple-darwin** binary for `backend-rs`
|
|
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
# `backend-rs-freebsd-x64`
|
|
||||||
|
|
||||||
This is the **x86_64-unknown-freebsd** binary for `backend-rs`
|
|
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
# `backend-rs-linux-arm-gnueabihf`
|
|
||||||
|
|
||||||
This is the **armv7-unknown-linux-gnueabihf** binary for `backend-rs`
|
|
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
# `backend-rs-linux-arm64-gnu`
|
|
||||||
|
|
||||||
This is the **aarch64-unknown-linux-gnu** binary for `backend-rs`
|
|
|
@ -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"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
# `backend-rs-linux-arm64-musl`
|
|
||||||
|
|
||||||
This is the **aarch64-unknown-linux-musl** binary for `backend-rs`
|
|
|
@ -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"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
# `backend-rs-linux-x64-gnu`
|
|
||||||
|
|
||||||
This is the **x86_64-unknown-linux-gnu** binary for `backend-rs`
|
|
|
@ -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"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
# `backend-rs-linux-x64-musl`
|
|
||||||
|
|
||||||
This is the **x86_64-unknown-linux-musl** binary for `backend-rs`
|
|
|
@ -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"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
# `backend-rs-win32-arm64-msvc`
|
|
||||||
|
|
||||||
This is the **aarch64-pc-windows-msvc** binary for `backend-rs`
|
|
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
# `backend-rs-win32-ia32-msvc`
|
|
||||||
|
|
||||||
This is the **i686-pc-windows-msvc** binary for `backend-rs`
|
|
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
# `backend-rs-win32-x64-msvc`
|
|
||||||
|
|
||||||
This is the **x86_64-pc-windows-msvc** binary for `backend-rs`
|
|
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -4,32 +4,14 @@
|
||||||
"main": "built/index.js",
|
"main": "built/index.js",
|
||||||
"types": "built/index.d.ts",
|
"types": "built/index.d.ts",
|
||||||
"napi": {
|
"napi": {
|
||||||
"binaryName": "backend-rs",
|
"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"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@napi-rs/cli": "3.0.0-alpha.55"
|
"@napi-rs/cli": "3.0.0-alpha.55"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"artifacts": "napi artifacts",
|
|
||||||
"build": "RUSTFLAGS='-C target-cpu=native' napi build --features napi --no-const-enum --platform --release --output-dir ./built/",
|
"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: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/",
|
"build:debug": "napi build --features napi --no-const-enum --platform --output-dir ./built/"
|
||||||
"prepublishOnly": "napi prepublish -t npm",
|
|
||||||
"universal": "napi universal",
|
|
||||||
"version": "napi version"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"prConcurrentLimit": 20,
|
"prConcurrentLimit": 20,
|
||||||
"enabledManagers": ["npm", "cargo"],
|
"enabledManagers": ["npm", "cargo"],
|
||||||
"baseBranches": ["develop"],
|
"baseBranches": ["develop"],
|
||||||
"ignorePaths": ["packages/megalodon/package.json", "packages/backend-rs/npm"],
|
"ignorePaths": ["packages/megalodon/package.json"],
|
||||||
"lockFileMaintenance": {
|
"lockFileMaintenance": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"recreateWhen": "always",
|
"recreateWhen": "always",
|
||||||
|
|
Loading…
Reference in a new issue