Skip to content

Commit 3752769

Browse files
committed
0.18.0 bun compatible version retrieval, add missing TS definitons
1 parent 9978ec2 commit 3752769

6 files changed

Lines changed: 4711 additions & 32 deletions

File tree

.github/workflows/release.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -159,34 +159,34 @@ jobs:
159159
asset_path: ./build/Release/node-raylib.node
160160
asset_name: node-raylib-linux-x64.node
161161
asset_content_type: application/octet-stream
162-
# windows:
163-
# runs-on: windows-latest
164-
# needs: create_release
165-
# steps:
166-
# - name: checkout
167-
# uses: actions/checkout@v2
168-
# with:
169-
# fetch-depth: 0
170-
# - name: Cache Node Dependencies
171-
# id: cache
172-
# uses: actions/cache@v2
173-
# with:
174-
# path: ./node_modules
175-
# key: modules-${{ hashFiles('package-lock.json') }}
176-
# - name: Install Node Dependencies
177-
# if: steps.cache.outputs.cache-hit != 'true'
178-
# run: npm ci --ignore-scripts
179-
# - name: Build Node Addon
180-
# run: npm run compile
181-
# - name: upload windows artifact
182-
# uses: actions/upload-release-asset@v1
183-
# env:
184-
# GITHUB_TOKEN: ${{ github.token }}
185-
# with:
186-
# upload_url: ${{ needs.create_release.outputs.upload_url }}
187-
# asset_path: ./build/Release/node-raylib.node
188-
# asset_name: node-raylib-win32-x64.node
189-
# asset_content_type: application/octet-stream
162+
windows:
163+
runs-on: windows-latest
164+
needs: create_release
165+
steps:
166+
- name: checkout
167+
uses: actions/checkout@v2
168+
with:
169+
fetch-depth: 0
170+
- name: Cache Node Dependencies
171+
id: cache
172+
uses: actions/cache@v2
173+
with:
174+
path: ./node_modules
175+
key: modules-${{ hashFiles('package-lock.json') }}
176+
- name: Install Node Dependencies
177+
if: steps.cache.outputs.cache-hit != 'true'
178+
run: npm ci --ignore-scripts
179+
- name: Build Node Addon
180+
run: npm run compile
181+
- name: upload windows artifact
182+
uses: actions/upload-release-asset@v1
183+
env:
184+
GITHUB_TOKEN: ${{ github.token }}
185+
with:
186+
upload_url: ${{ needs.create_release.outputs.upload_url }}
187+
asset_path: ./build/Release/node-raylib.node
188+
asset_name: node-raylib-win32-x64.node
189+
asset_content_type: application/octet-stream
190190
macos:
191191
runs-on: macos-latest
192192
needs: create_release

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ set_target_properties(${PROJECT_NAME} PROPERTIES
7575
SUFFIX ".node"
7676
)
7777

78-
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_23)
78+
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_11)
7979

8080
target_include_directories(${PROJECT_NAME} PUBLIC
8181
"${CMAKE_JS_INC}"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@r1tsuu/raylib",
3-
"version": "0.17.0",
3+
"version": "0.18.0",
44
"description": "Node.js bindings for raylib 5.5",
55
"main": "index.js",
66
"types": "src/generated/node-raylib.d.ts",

0 commit comments

Comments
 (0)