diff --git a/.eslintrc.json b/.eslintrc.json index 328e12b..755108d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -62,14 +62,8 @@ "linebreak-style": [0], "node/no-missing-require": [0], "no-console": [0], - "node/no-unsupported-features/es-builtins": [ - "error", - { "version": ">=18.12.1" } - ], - "node/no-unsupported-features/node-builtins": [ - "error", - { "version": ">=18.12.1" } - ], + "node/no-unsupported-features/es-builtins": 0, + "node/no-unsupported-features/node-builtins": 0, "func-names": [ "error", "never", diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 0dd0026..5c8db02 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -26,7 +26,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 18.12.1 + node-version: 18.16.0 cache: 'npm' - name: Install Modules diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5f5ee60..d3ab94c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,7 +21,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 18.12.1 + node-version: 18.16.0 cache: 'npm' - name: Get Package Version diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 360d5cf..ef11c80 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 18.12.1 + node-version: 18.16.0 cache: 'npm' - name: Install Modules diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index fa33822..0ab514a 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -5,7 +5,7 @@ "includePath": [ "${workspaceFolder}/**", "${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", "cStandard": "c17", diff --git a/README.md b/README.md index 11309b6..fd98f6c 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,11 @@ 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) -[![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. -### 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 ..", ```