Use 18.16 and new badges
This commit is contained in:
parent
d5ffbd6ba8
commit
c9c391ffd0
|
@ -62,14 +62,8 @@
|
||||||
"linebreak-style": [0],
|
"linebreak-style": [0],
|
||||||
"node/no-missing-require": [0],
|
"node/no-missing-require": [0],
|
||||||
"no-console": [0],
|
"no-console": [0],
|
||||||
"node/no-unsupported-features/es-builtins": [
|
"node/no-unsupported-features/es-builtins": 0,
|
||||||
"error",
|
"node/no-unsupported-features/node-builtins": 0,
|
||||||
{ "version": ">=18.12.1" }
|
|
||||||
],
|
|
||||||
"node/no-unsupported-features/node-builtins": [
|
|
||||||
"error",
|
|
||||||
{ "version": ">=18.12.1" }
|
|
||||||
],
|
|
||||||
"func-names": [
|
"func-names": [
|
||||||
"error",
|
"error",
|
||||||
"never",
|
"never",
|
||||||
|
|
|
@ -26,7 +26,7 @@ jobs:
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18.12.1
|
node-version: 18.16.0
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Install Modules
|
- name: Install Modules
|
||||||
|
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18.12.1
|
node-version: 18.16.0
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Get Package Version
|
- name: Get Package Version
|
||||||
|
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18.12.1
|
node-version: 18.16.0
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Install Modules
|
- name: Install Modules
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"includePath": [
|
"includePath": [
|
||||||
"${workspaceFolder}/**",
|
"${workspaceFolder}/**",
|
||||||
"${LocalAppData}/node-gyp/Cache/16.17.0/include/node",
|
"${LocalAppData}/node-gyp/Cache/16.17.0/include/node",
|
||||||
"${LocalAppData}/node-gyp/Cache/18.12.1/include/node"
|
"${LocalAppData}/node-gyp/Cache/18.16.0/include/node"
|
||||||
],
|
],
|
||||||
"windowsSdkVersion": "10.0.19041.0",
|
"windowsSdkVersion": "10.0.19041.0",
|
||||||
"cStandard": "c17",
|
"cStandard": "c17",
|
||||||
|
|
|
@ -3,10 +3,11 @@
|
||||||
This is a part of [Node3D](https://github.com/node-3d) project.
|
This is a part of [Node3D](https://github.com/node-3d) project.
|
||||||
|
|
||||||
[](https://badge.fury.io/js/addon-tools-raub)
|
[](https://badge.fury.io/js/addon-tools-raub)
|
||||||
[](https://www.codefactor.io/repository/github/node-3d/addon-tools-raub)
|
[](https://github.com/node-3d/addon-tools-raub/actions/workflows/eslint.yml)
|
||||||
|
[](https://github.com/node-3d/addon-tools-raub/actions/workflows/test.yml)
|
||||||
|
|
||||||
```
|
```
|
||||||
npm i addon-tools-raub
|
npm i -s addon-tools-raub
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -65,9 +66,9 @@ See the [TypeScript definitions](/index.d.ts) with comments.
|
||||||
the **napi.h** include path won't be a part of the returned string.
|
the **napi.h** include path won't be a part of the returned string.
|
||||||
|
|
||||||
|
|
||||||
### Example of `cpbin` usage in **package.json :: scripts**:
|
### Example of `cpbin` in **package.json :: scripts**:
|
||||||
|
|
||||||
```
|
```
|
||||||
"build-all": "cd src && node-gyp rebuild -j max --silent && node -e \"require('addon-tools-raub').cpbin('segfault')\" && cd ..",
|
"build": "cd src && node-gyp rebuild -j max --silent && node -e \"require('addon-tools-raub').cpbin('segfault')\" && cd ..",
|
||||||
"build-only": "cd src && node-gyp build -j max --silent && node -e \"require('addon-tools-raub').cpbin('segfault')\" && cd ..",
|
"build-only": "cd src && node-gyp build -j max --silent && node -e \"require('addon-tools-raub').cpbin('segfault')\" && cd ..",
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue