Skip to content

Commit bca4eae

Browse files
committed
Update for node 22
1 parent 1d556b3 commit bca4eae

13 files changed

+390
-259
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: "[BUG] ___ doesn't work"
5+
labels: bug
6+
assignees: raub
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. ___
16+
2. ___
17+
3. ___
18+
19+
**Expected behavior**
20+
Description of what you expected to happen.
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: "[FEAT] ____"
5+
labels: new
6+
assignees: raub
7+
8+
---
9+
10+
**Describe the solution you'd like**
11+
Description of what you want to happen.
12+
13+
**Describe alternatives you've considered**
14+
Description of alternative solutions or features you've considered.

.github/PULL_REQUEST_TEMPLATE.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Description
2+
<!-- A concise description of what the PR does. -->
3+
4+
5+
## Test Plan
6+
<!-- How can a reviewer test the changes included in this PR? -->
7+
1.
8+
2.
9+
3.
10+
11+
12+
## Checklist
13+
<!-- Ensure that your PR fulfills the following requirements -->
14+
- [ ] I've followed the code style.
15+
- [ ] I've tried running the code with my changes.
16+
- [ ] The docs and TS declarations are in sync with code changes.
17+
- [ ] (optional) I've added unit tests for my changes.

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install Node.js
2626
uses: actions/setup-node@v4
2727
with:
28-
node-version: 20.14.0
28+
node-version: 22.9.0
2929
cache: 'npm'
3030

3131
- name: Get Package Version
@@ -47,7 +47,7 @@ jobs:
4747
name: Build
4848
strategy:
4949
matrix:
50-
os: [ubuntu-22.04, windows-2022, macos-12, macos-14, [self-hosted, linux, ARM64]]
50+
os: [ubuntu-22.04, windows-2022, macos-14, [self-hosted, linux, ARM64]]
5151

5252
runs-on: ${{ matrix.os }}
5353

@@ -61,7 +61,7 @@ jobs:
6161
- name: Install Node.js
6262
uses: actions/setup-node@v4
6363
with:
64-
node-version: 20.14.0
64+
node-version: 22.9.0
6565
cache: 'npm'
6666

6767
- name: Install Modules

.github/workflows/eslint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install Node.js
2727
uses: actions/setup-node@v4
2828
with:
29-
node-version: 20.14.0
29+
node-version: 22.9.0
3030
cache: 'npm'
3131

3232
- name: Install Modules

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install Node.js
2222
uses: actions/setup-node@v4
2323
with:
24-
node-version: 20.14.0
24+
node-version: 22.9.0
2525
cache: 'npm'
2626

2727
- name: Get Package Version

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Unit Tests
1717
strategy:
1818
matrix:
19-
os: [ubuntu-22.04, windows-2022, macos-12, macos-14, [self-hosted, linux, ARM64]]
19+
os: [ubuntu-22.04, windows-2022, macos-14, [self-hosted, linux, ARM64]]
2020

2121
runs-on: ${{ matrix.os }}
2222

@@ -30,7 +30,7 @@ jobs:
3030
- name: Install Node.js
3131
uses: actions/setup-node@v4
3232
with:
33-
node-version: 20.14.0
33+
node-version: 22.9.0
3434
cache: 'npm'
3535

3636
- name: Install Modules

CODE_OF_CONDUCT.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Code of Conduct
2+
3+
We pledge to act and interact in ways that contribute to an open and healthy community.
4+
5+
## Our Standards
6+
7+
Examples of unacceptable behavior:
8+
9+
* The use of sexualized language or imagery
10+
* Trolling, insulting or derogatory comments
11+
* Public or private harassment
12+
* Publishing others' private information
13+
* Other unprofessional conduct
14+
15+
## Enforcement
16+
17+
Community leaders will remove, edit, or reject
18+
contributions that are not aligned to this Code of Conduct.

CONTRIBUTING.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Contributing
2+
3+
Bugs and enhancements are tracked as GitHub issues.
4+
5+
## Issues
6+
7+
* Use a clear and descriptive title.
8+
* Describe the desired enhancement / problem.
9+
* Provide examples to demonstrate the issue.
10+
* If the problem involves a crash, provide its trace log.
11+
12+
## Pull Requests
13+
14+
* Do not include issue numbers in the PR title.
15+
* Commits use the present tense (`"Add feature"` not `"Added feature"`).
16+
* Commits use the imperative mood (`"Move cursor to..."` not `"Moves cursor to..."`).
17+
* File System
18+
* Prefer kebab-lowercase (`my-dir/example-file-name.js`).
19+
* Place an empty `.keep` file to keep an empty directory.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ npm i -s deps-opengl-raub
1313
This dependency package is distributing **OpenGL**, **GLFW3** and **GLEW**
1414
binaries through **NPM** for **Node.js** addons.
1515

16-
* Platforms (x64): Windows x64, Linux x64, Linux ARM, MacOS x64, MacOS ARM.
16+
* Platforms (x64): Windows x64, Linux x64, Linux ARM, MacOS ARM.
1717
* Libraries: GLEW 2.2, GLFW 3.4, OpenGL.
1818

1919

SECURITY.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
Latest major version.
6+
7+
## Reporting a Vulnerability
8+
9+
Email: luisblanco1337@gmail.com.
10+
11+
Telegram: [luisblanco_0](https://t.me/luisblanco_0)

0 commit comments

Comments
 (0)