Use 18.16 and new badges

This commit is contained in:
Luis Blanco 2023-10-07 19:06:03 +04:00
parent d5ffbd6ba8
commit c9c391ffd0
6 changed files with 11 additions and 16 deletions

View File

@ -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",

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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",

View File

@ -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.
[![NPM](https://badge.fury.io/js/addon-tools-raub.svg)](https://badge.fury.io/js/addon-tools-raub) [![NPM](https://badge.fury.io/js/addon-tools-raub.svg)](https://badge.fury.io/js/addon-tools-raub)
[![CodeFactor](https://www.codefactor.io/repository/github/node-3d/addon-tools-raub/badge)](https://www.codefactor.io/repository/github/node-3d/addon-tools-raub) [![ESLint](https://github.com/node-3d/addon-tools-raub/actions/workflows/eslint.yml/badge.svg)](https://github.com/node-3d/addon-tools-raub/actions/workflows/eslint.yml)
[![Test](https://github.com/node-3d/addon-tools-raub/actions/workflows/test.yml/badge.svg)](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 ..",
``` ```