Skip to content

Commit c9c391f

Browse files
committed
Use 18.16 and new badges
1 parent d5ffbd6 commit c9c391f

File tree

6 files changed

+11
-16
lines changed

6 files changed

+11
-16
lines changed

.eslintrc.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,8 @@
6262
"linebreak-style": [0],
6363
"node/no-missing-require": [0],
6464
"no-console": [0],
65-
"node/no-unsupported-features/es-builtins": [
66-
"error",
67-
{ "version": ">=18.12.1" }
68-
],
69-
"node/no-unsupported-features/node-builtins": [
70-
"error",
71-
{ "version": ">=18.12.1" }
72-
],
65+
"node/no-unsupported-features/es-builtins": 0,
66+
"node/no-unsupported-features/node-builtins": 0,
7367
"func-names": [
7468
"error",
7569
"never",

.github/workflows/eslint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install Node.js
2727
uses: actions/setup-node@v3
2828
with:
29-
node-version: 18.12.1
29+
node-version: 18.16.0
3030
cache: 'npm'
3131

3232
- name: Install Modules

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install Node.js
2222
uses: actions/setup-node@v3
2323
with:
24-
node-version: 18.12.1
24+
node-version: 18.16.0
2525
cache: 'npm'
2626

2727
- name: Get Package Version

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install Node.js
3131
uses: actions/setup-node@v3
3232
with:
33-
node-version: 18.12.1
33+
node-version: 18.16.0
3434
cache: 'npm'
3535

3636
- name: Install Modules

.vscode/c_cpp_properties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"includePath": [
66
"${workspaceFolder}/**",
77
"${LocalAppData}/node-gyp/Cache/16.17.0/include/node",
8-
"${LocalAppData}/node-gyp/Cache/18.12.1/include/node"
8+
"${LocalAppData}/node-gyp/Cache/18.16.0/include/node"
99
],
1010
"windowsSdkVersion": "10.0.19041.0",
1111
"cStandard": "c17",

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
This is a part of [Node3D](https://github.com/node-3d) project.
44

55
[![NPM](https://badge.fury.io/js/addon-tools-raub.svg)](https://badge.fury.io/js/addon-tools-raub)
6-
[![CodeFactor](https://www.codefactor.io/repository/github/node-3d/addon-tools-raub/badge)](https://www.codefactor.io/repository/github/node-3d/addon-tools-raub)
6+
[![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)
7+
[![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)
78

89
```
9-
npm i addon-tools-raub
10+
npm i -s addon-tools-raub
1011
```
1112

1213

@@ -65,9 +66,9 @@ See the [TypeScript definitions](/index.d.ts) with comments.
6566
the **napi.h** include path won't be a part of the returned string.
6667

6768

68-
### Example of `cpbin` usage in **package.json :: scripts**:
69+
### Example of `cpbin` in **package.json :: scripts**:
6970

7071
```
71-
"build-all": "cd src && node-gyp rebuild -j max --silent && node -e \"require('addon-tools-raub').cpbin('segfault')\" && cd ..",
72+
"build": "cd src && node-gyp rebuild -j max --silent && node -e \"require('addon-tools-raub').cpbin('segfault')\" && cd ..",
7273
"build-only": "cd src && node-gyp build -j max --silent && node -e \"require('addon-tools-raub').cpbin('segfault')\" && cd ..",
7374
```

0 commit comments

Comments
 (0)