Skip to content

Commit

Permalink
chore: rename template project (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 authored Jul 19, 2024
1 parent c7b553b commit 13c0a37
Show file tree
Hide file tree
Showing 30 changed files with 146 additions and 150 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI
env:
DEBUG: napi:*
APP_NAME: package-template
APP_NAME: ntscl
MACOSX_DEPLOYMENT_TARGET: '10.13'
CARGO_INCREMENTAL: '1'
permissions:
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
version: '14.0'
memory: 8G
cpu_count: 3
environment_variables: 'DEBUG RUSTUP_IO_THREADS'
environment_variables: DEBUG RUSTUP_IO_THREADS
shell: bash
run: |
sudo pkg install -y -f curl node libnghttp2 npm
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["LongYinan <lynweklm@gmail.com>"]
authors = ["苏向夜 <fu050409@163.com>"]
edition = "2021"
name = "napi-package-template"
name = "ntscl"
version = "0.1.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
4 changes: 2 additions & 2 deletions npm/android-arm-eabi/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `@napi-rs/package-template-android-arm-eabi`
# `ntscl-android-arm-eabi`

This is the **armv7-linux-androideabi** binary for `@napi-rs/package-template`
This is the **armv7-linux-androideabi** binary for `ntscl`
12 changes: 6 additions & 6 deletions npm/android-arm-eabi/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@napi-rs/package-template-android-arm-eabi",
"name": "ntscl-android-arm-eabi",
"version": "1.0.0",
"os": [
"android"
],
"cpu": [
"arm"
],
"main": "package-template.android-arm-eabi.node",
"main": "ntscl.android-arm-eabi.node",
"files": [
"package-template.android-arm-eabi.node"
"ntscl.android-arm-eabi.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "Fast and elegant CLI build tool written by Rust",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -28,5 +28,5 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "git@github.com:napi-rs/package-template.git"
}
"repository": "https://github.com/fu050409/ntscl"
}
4 changes: 2 additions & 2 deletions npm/android-arm64/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `@napi-rs/package-template-android-arm64`
# `ntscl-android-arm64`

This is the **aarch64-linux-android** binary for `@napi-rs/package-template`
This is the **aarch64-linux-android** binary for `ntscl`
12 changes: 6 additions & 6 deletions npm/android-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@napi-rs/package-template-android-arm64",
"name": "ntscl-android-arm64",
"version": "1.0.0",
"os": [
"android"
],
"cpu": [
"arm64"
],
"main": "package-template.android-arm64.node",
"main": "ntscl.android-arm64.node",
"files": [
"package-template.android-arm64.node"
"ntscl.android-arm64.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "Fast and elegant CLI build tool written by Rust",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -28,5 +28,5 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "git@github.com:napi-rs/package-template.git"
}
"repository": "https://github.com/fu050409/ntscl"
}
4 changes: 2 additions & 2 deletions npm/darwin-arm64/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `@napi-rs/package-template-darwin-arm64`
# `ntscl-darwin-arm64`

This is the **aarch64-apple-darwin** binary for `@napi-rs/package-template`
This is the **aarch64-apple-darwin** binary for `ntscl`
12 changes: 6 additions & 6 deletions npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@napi-rs/package-template-darwin-arm64",
"name": "ntscl-darwin-arm64",
"version": "1.0.0",
"os": [
"darwin"
],
"cpu": [
"arm64"
],
"main": "package-template.darwin-arm64.node",
"main": "ntscl.darwin-arm64.node",
"files": [
"package-template.darwin-arm64.node"
"ntscl.darwin-arm64.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "Fast and elegant CLI build tool written by Rust",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -28,5 +28,5 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "git@github.com:napi-rs/package-template.git"
}
"repository": "https://github.com/fu050409/ntscl"
}
4 changes: 2 additions & 2 deletions npm/darwin-x64/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `@napi-rs/package-template-darwin-x64`
# `ntscl-darwin-x64`

This is the **x86_64-apple-darwin** binary for `@napi-rs/package-template`
This is the **x86_64-apple-darwin** binary for `ntscl`
12 changes: 6 additions & 6 deletions npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@napi-rs/package-template-darwin-x64",
"name": "ntscl-darwin-x64",
"version": "1.0.0",
"os": [
"darwin"
],
"cpu": [
"x64"
],
"main": "package-template.darwin-x64.node",
"main": "ntscl.darwin-x64.node",
"files": [
"package-template.darwin-x64.node"
"ntscl.darwin-x64.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "Fast and elegant CLI build tool written by Rust",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -28,5 +28,5 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "git@github.com:napi-rs/package-template.git"
}
"repository": "https://github.com/fu050409/ntscl"
}
4 changes: 2 additions & 2 deletions npm/freebsd-x64/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `@napi-rs/package-template-freebsd-x64`
# `ntscl-freebsd-x64`

This is the **x86_64-unknown-freebsd** binary for `@napi-rs/package-template`
This is the **x86_64-unknown-freebsd** binary for `ntscl`
12 changes: 6 additions & 6 deletions npm/freebsd-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@napi-rs/package-template-freebsd-x64",
"name": "ntscl-freebsd-x64",
"version": "1.0.0",
"os": [
"freebsd"
],
"cpu": [
"x64"
],
"main": "package-template.freebsd-x64.node",
"main": "ntscl.freebsd-x64.node",
"files": [
"package-template.freebsd-x64.node"
"ntscl.freebsd-x64.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "Fast and elegant CLI build tool written by Rust",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -28,5 +28,5 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "git@github.com:napi-rs/package-template.git"
}
"repository": "https://github.com/fu050409/ntscl"
}
4 changes: 2 additions & 2 deletions npm/linux-arm-gnueabihf/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `@napi-rs/package-template-linux-arm-gnueabihf`
# `ntscl-linux-arm-gnueabihf`

This is the **armv7-unknown-linux-gnueabihf** binary for `@napi-rs/package-template`
This is the **armv7-unknown-linux-gnueabihf** binary for `ntscl`
12 changes: 6 additions & 6 deletions npm/linux-arm-gnueabihf/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@napi-rs/package-template-linux-arm-gnueabihf",
"name": "ntscl-linux-arm-gnueabihf",
"version": "1.0.0",
"os": [
"linux"
],
"cpu": [
"arm"
],
"main": "package-template.linux-arm-gnueabihf.node",
"main": "ntscl.linux-arm-gnueabihf.node",
"files": [
"package-template.linux-arm-gnueabihf.node"
"ntscl.linux-arm-gnueabihf.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "Fast and elegant CLI build tool written by Rust",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -28,5 +28,5 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "git@github.com:napi-rs/package-template.git"
}
"repository": "https://github.com/fu050409/ntscl"
}
4 changes: 2 additions & 2 deletions npm/linux-arm64-gnu/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `@napi-rs/package-template-linux-arm64-gnu`
# `ntscl-linux-arm64-gnu`

This is the **aarch64-unknown-linux-gnu** binary for `@napi-rs/package-template`
This is the **aarch64-unknown-linux-gnu** binary for `ntscl`
18 changes: 9 additions & 9 deletions npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
{
"name": "@napi-rs/package-template-linux-arm64-gnu",
"name": "ntscl-linux-arm64-gnu",
"version": "1.0.0",
"os": [
"linux"
],
"cpu": [
"arm64"
],
"libc": [
"glibc"
],
"main": "package-template.linux-arm64-gnu.node",
"main": "ntscl.linux-arm64-gnu.node",
"files": [
"package-template.linux-arm64-gnu.node"
"ntscl.linux-arm64-gnu.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "Fast and elegant CLI build tool written by Rust",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -31,5 +28,8 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "[email protected]:napi-rs/package-template.git"
}
"repository": "https://github.com/fu050409/ntscl",
"libc": [
"glibc"
]
}
4 changes: 2 additions & 2 deletions npm/linux-arm64-musl/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `@napi-rs/package-template-linux-arm64-musl`
# `ntscl-linux-arm64-musl`

This is the **aarch64-unknown-linux-musl** binary for `@napi-rs/package-template`
This is the **aarch64-unknown-linux-musl** binary for `ntscl`
18 changes: 9 additions & 9 deletions npm/linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
{
"name": "@napi-rs/package-template-linux-arm64-musl",
"name": "ntscl-linux-arm64-musl",
"version": "1.0.0",
"os": [
"linux"
],
"cpu": [
"arm64"
],
"libc": [
"musl"
],
"main": "package-template.linux-arm64-musl.node",
"main": "ntscl.linux-arm64-musl.node",
"files": [
"package-template.linux-arm64-musl.node"
"ntscl.linux-arm64-musl.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "Fast and elegant CLI build tool written by Rust",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -31,5 +28,8 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "[email protected]:napi-rs/package-template.git"
}
"repository": "https://github.com/fu050409/ntscl",
"libc": [
"musl"
]
}
4 changes: 2 additions & 2 deletions npm/linux-x64-gnu/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `@napi-rs/package-template-linux-x64-gnu`
# `ntscl-linux-x64-gnu`

This is the **x86_64-unknown-linux-gnu** binary for `@napi-rs/package-template`
This is the **x86_64-unknown-linux-gnu** binary for `ntscl`
18 changes: 9 additions & 9 deletions npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
{
"name": "@napi-rs/package-template-linux-x64-gnu",
"name": "ntscl-linux-x64-gnu",
"version": "1.0.0",
"os": [
"linux"
],
"cpu": [
"x64"
],
"libc": [
"glibc"
],
"main": "package-template.linux-x64-gnu.node",
"main": "ntscl.linux-x64-gnu.node",
"files": [
"package-template.linux-x64-gnu.node"
"ntscl.linux-x64-gnu.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "Fast and elegant CLI build tool written by Rust",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -31,5 +28,8 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "[email protected]:napi-rs/package-template.git"
}
"repository": "https://github.com/fu050409/ntscl",
"libc": [
"glibc"
]
}
4 changes: 2 additions & 2 deletions npm/linux-x64-musl/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `@napi-rs/package-template-linux-x64-musl`
# `ntscl-linux-x64-musl`

This is the **x86_64-unknown-linux-musl** binary for `@napi-rs/package-template`
This is the **x86_64-unknown-linux-musl** binary for `ntscl`
Loading

0 comments on commit 13c0a37

Please sign in to comment.