Skip to content

Commit

Permalink
chore: change name
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanWilbur committed Sep 3, 2023
1 parent a128503 commit 6686dbd
Show file tree
Hide file tree
Showing 29 changed files with 118 additions and 146 deletions.
2 changes: 1 addition & 1 deletion .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: x500-native
MACOSX_DEPLOYMENT_TARGET: '10.13'
'on':
push:
Expand Down
40 changes: 6 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,13 @@
# `@napi-rs/package-template`
# NodeJS native add-ons for X.500 directory

![https://github.com/napi-rs/package-template/actions](https://github.com/napi-rs/package-template/workflows/CI/badge.svg)
![https://github.com/Wildboar-Software/x500-native/actions](https://github.com/Wildboar-Software/x500-native/workflows/CI/badge.svg)

> Template project for writing node packages with napi-rs.
This library contains functions for accelerating X.500 directory system agents
(DSAs) and directory user agents (DUAs) written in NodeJS with native add-ons.

# Usage
# Installation

1. Click **Use this template**.
2. **Clone** your project.
3. Run `yarn install` to install dependencies.
4. Run `npx napi rename -n [name]` command under the project folder to rename your package.

## Install this test package

```
yarn add @napi-rs/package-template
```

## Support matrix

### Operating Systems

| | node14 | node16 | node18 |
| ---------------- | ------ | ------ | ------ |
| Windows x64 ||||
| Windows x32 ||||
| Windows arm64 ||||
| macOS x64 ||||
| macOS arm64 ||||
| Linux x64 gnu ||||
| Linux x64 musl ||||
| Linux arm gnu ||||
| Linux arm64 gnu ||||
| Linux arm64 musl ||||
| Android arm64 ||||
| Android armv7 ||||
| FreeBSD x64 ||||
1. Run `yarn install` to install dependencies.

## Ability

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`
# `@wildboar/x500-native-android-arm-eabi`

This is the **armv7-linux-androideabi** binary for `@napi-rs/package-template`
This is the **armv7-linux-androideabi** binary for `@wildboar/x500-native`
10 changes: 5 additions & 5 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": "@wildboar/x500-native-android-arm-eabi",
"version": "1.0.0",
"os": [
"android"
],
"cpu": [
"arm"
],
"main": "package-template.android-arm-eabi.node",
"main": "x500-native.android-arm-eabi.node",
"files": [
"package-template.android-arm-eabi.node"
"x500-native.android-arm-eabi.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "NodeJS native add-ons for X.500 directory usage",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -29,4 +29,4 @@
"access": "public"
},
"repository": "[email protected]:napi-rs/package-template.git"
}
}
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`
# `@wildboar/x500-native-android-arm64`

This is the **aarch64-linux-android** binary for `@napi-rs/package-template`
This is the **aarch64-linux-android** binary for `@wildboar/x500-native`
10 changes: 5 additions & 5 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": "@wildboar/x500-native-android-arm64",
"version": "1.0.0",
"os": [
"android"
],
"cpu": [
"arm64"
],
"main": "package-template.android-arm64.node",
"main": "x500-native.android-arm64.node",
"files": [
"package-template.android-arm64.node"
"x500-native.android-arm64.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "NodeJS native add-ons for X.500 directory usage",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -29,4 +29,4 @@
"access": "public"
},
"repository": "[email protected]:napi-rs/package-template.git"
}
}
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`
# `@wildboar/x500-native-darwin-arm64`

This is the **aarch64-apple-darwin** binary for `@napi-rs/package-template`
This is the **aarch64-apple-darwin** binary for `@wildboar/x500-native`
10 changes: 5 additions & 5 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": "@wildboar/x500-native-darwin-arm64",
"version": "1.0.0",
"os": [
"darwin"
],
"cpu": [
"arm64"
],
"main": "package-template.darwin-arm64.node",
"main": "x500-native.darwin-arm64.node",
"files": [
"package-template.darwin-arm64.node"
"x500-native.darwin-arm64.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "NodeJS native add-ons for X.500 directory usage",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -29,4 +29,4 @@
"access": "public"
},
"repository": "[email protected]:napi-rs/package-template.git"
}
}
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`
# `@wildboar/x500-native-darwin-x64`

This is the **x86_64-apple-darwin** binary for `@napi-rs/package-template`
This is the **x86_64-apple-darwin** binary for `@wildboar/x500-native`
10 changes: 5 additions & 5 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": "@wildboar/x500-native-darwin-x64",
"version": "1.0.0",
"os": [
"darwin"
],
"cpu": [
"x64"
],
"main": "package-template.darwin-x64.node",
"main": "x500-native.darwin-x64.node",
"files": [
"package-template.darwin-x64.node"
"x500-native.darwin-x64.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "NodeJS native add-ons for X.500 directory usage",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -29,4 +29,4 @@
"access": "public"
},
"repository": "[email protected]:napi-rs/package-template.git"
}
}
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`
# `@wildboar/x500-native-freebsd-x64`

This is the **x86_64-unknown-freebsd** binary for `@napi-rs/package-template`
This is the **x86_64-unknown-freebsd** binary for `@wildboar/x500-native`
10 changes: 5 additions & 5 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": "@wildboar/x500-native-freebsd-x64",
"version": "1.0.0",
"os": [
"freebsd"
],
"cpu": [
"x64"
],
"main": "package-template.freebsd-x64.node",
"main": "x500-native.freebsd-x64.node",
"files": [
"package-template.freebsd-x64.node"
"x500-native.freebsd-x64.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "NodeJS native add-ons for X.500 directory usage",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -29,4 +29,4 @@
"access": "public"
},
"repository": "[email protected]:napi-rs/package-template.git"
}
}
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`
# `@wildboar/x500-native-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 `@wildboar/x500-native`
10 changes: 5 additions & 5 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": "@wildboar/x500-native-linux-arm-gnueabihf",
"version": "1.0.0",
"os": [
"linux"
],
"cpu": [
"arm"
],
"main": "package-template.linux-arm-gnueabihf.node",
"main": "x500-native.linux-arm-gnueabihf.node",
"files": [
"package-template.linux-arm-gnueabihf.node"
"x500-native.linux-arm-gnueabihf.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "NodeJS native add-ons for X.500 directory usage",
"keywords": [
"napi-rs",
"NAPI",
Expand All @@ -29,4 +29,4 @@
"access": "public"
},
"repository": "[email protected]:napi-rs/package-template.git"
}
}
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`
# `@wildboar/x500-native-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 `@wildboar/x500-native`
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": "@wildboar/x500-native-linux-arm64-gnu",
"version": "1.0.0",
"os": [
"linux"
],
"cpu": [
"arm64"
],
"libc": [
"glibc"
],
"main": "package-template.linux-arm64-gnu.node",
"main": "x500-native.linux-arm64-gnu.node",
"files": [
"package-template.linux-arm64-gnu.node"
"x500-native.linux-arm64-gnu.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "NodeJS native add-ons for X.500 directory usage",
"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": "[email protected]:napi-rs/package-template.git",
"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`
# `@wildboar/x500-native-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 `@wildboar/x500-native`
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": "@wildboar/x500-native-linux-arm64-musl",
"version": "1.0.0",
"os": [
"linux"
],
"cpu": [
"arm64"
],
"libc": [
"musl"
],
"main": "package-template.linux-arm64-musl.node",
"main": "x500-native.linux-arm64-musl.node",
"files": [
"package-template.linux-arm64-musl.node"
"x500-native.linux-arm64-musl.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "NodeJS native add-ons for X.500 directory usage",
"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": "[email protected]:napi-rs/package-template.git",
"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`
# `@wildboar/x500-native-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 `@wildboar/x500-native`
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": "@wildboar/x500-native-linux-x64-gnu",
"version": "1.0.0",
"os": [
"linux"
],
"cpu": [
"x64"
],
"libc": [
"glibc"
],
"main": "package-template.linux-x64-gnu.node",
"main": "x500-native.linux-x64-gnu.node",
"files": [
"package-template.linux-x64-gnu.node"
"x500-native.linux-x64-gnu.node"
],
"description": "Template project for writing node package with napi-rs",
"description": "NodeJS native add-ons for X.500 directory usage",
"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": "[email protected]:napi-rs/package-template.git",
"libc": [
"glibc"
]
}
Loading

0 comments on commit 6686dbd

Please sign in to comment.