Skip to content

Commit 525437a

Browse files
committed
2.0.0
1 parent 09239ec commit 525437a

File tree

35 files changed

+278
-87
lines changed

35 files changed

+278
-87
lines changed

.github/workflows/CI.yml

+19-19
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ name: CI
22
env:
33
DEBUG: napi:*
44
APP_NAME: growtopia-js
5-
MACOSX_DEPLOYMENT_TARGET: "10.13"
5+
MACOSX_DEPLOYMENT_TARGET: '10.13'
66
permissions:
77
contents: write
88
id-token: write
9-
"on":
9+
'on':
1010
push:
1111
branches:
1212
- main
1313
tags-ignore:
14-
- "**"
14+
- '**'
1515
paths-ignore:
16-
- "**/*.md"
16+
- '**/*.md'
1717
- LICENSE
18-
- "**/*.gitignore"
18+
- '**/*.gitignore'
1919
- .editorconfig
2020
- docs/**
2121
pull_request: null
@@ -136,7 +136,7 @@ jobs:
136136
if: ${{ matrix.settings.docker }}
137137
with:
138138
image: ${{ matrix.settings.docker }}
139-
options: "--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build"
139+
options: '--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build'
140140
run: ${{ matrix.settings.build }}
141141
- name: Build
142142
run: ${{ matrix.settings.build }}
@@ -161,8 +161,8 @@ jobs:
161161
- host: windows-latest
162162
target: x86_64-pc-windows-msvc
163163
node:
164-
- "18"
165-
- "20"
164+
- '18'
165+
- '20'
166166
runs-on: ${{ matrix.settings.host }}
167167
steps:
168168
- uses: actions/checkout@v4
@@ -194,8 +194,8 @@ jobs:
194194
fail-fast: false
195195
matrix:
196196
node:
197-
- "18"
198-
- "20"
197+
- '18'
198+
- '20'
199199
runs-on: ubuntu-latest
200200
steps:
201201
- uses: actions/checkout@v4
@@ -226,8 +226,8 @@ jobs:
226226
fail-fast: false
227227
matrix:
228228
node:
229-
- "18"
230-
- "20"
229+
- '18'
230+
- '20'
231231
runs-on: ubuntu-latest
232232
steps:
233233
- uses: actions/checkout@v4
@@ -260,8 +260,8 @@ jobs:
260260
fail-fast: false
261261
matrix:
262262
node:
263-
- "18"
264-
- "20"
263+
- '18'
264+
- '20'
265265
runs-on: ubuntu-latest
266266
steps:
267267
- uses: actions/checkout@v4
@@ -289,7 +289,7 @@ jobs:
289289
uses: addnab/docker-run-action@v3
290290
with:
291291
image: node:${{ matrix.node }}-slim
292-
options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build"
292+
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
293293
run: |
294294
set -e
295295
yarn test
@@ -325,7 +325,7 @@ jobs:
325325
uses: addnab/docker-run-action@v3
326326
with:
327327
image: node:lts-alpine
328-
options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build"
328+
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
329329
run: |
330330
set -e
331331
yarn test
@@ -337,8 +337,8 @@ jobs:
337337
fail-fast: false
338338
matrix:
339339
node:
340-
- "18"
341-
- "20"
340+
- '18'
341+
- '20'
342342
runs-on: ubuntu-latest
343343
steps:
344344
- uses: actions/checkout@v4
@@ -365,7 +365,7 @@ jobs:
365365
uses: addnab/docker-run-action@v3
366366
with:
367367
image: node:${{ matrix.node }}-bullseye-slim
368-
options: "--platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build"
368+
options: '--platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build'
369369
run: |
370370
set -e
371371
yarn test

.npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ yarn.lock
1010
*.node
1111
.yarn
1212
__test__
13+
docs
1314
src
1415
lib
1516
renovate.json

npm/android-arm-eabi/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `growtopia-js-android-arm-eabi`
1+
# `-android-arm-eabi`
22

3-
This is the **armv7-linux-androideabi** binary for `growtopia-js`
3+
This is the **armv7-linux-androideabi** binary for ``

npm/android-arm-eabi/package.json

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "growtopia-js-android-arm-eabi",
3-
"version": "0.0.0",
2+
"name": "-android-arm-eabi",
3+
"version": "2.0.0",
44
"os": [
55
"android"
66
],
@@ -11,8 +11,20 @@
1111
"files": [
1212
"growtopia-js.android-arm-eabi.node"
1313
],
14+
"description": "A Node.js & Bun.js ENet framework to create growtopia private server that written in Rust.",
15+
"keywords": [
16+
"growtopia",
17+
"rust",
18+
"enet"
19+
],
20+
"author": "JadlionHD <[email protected]>",
21+
"homepage": "https://github.com/StileDevs/growtopia.js#readme",
1422
"license": "MIT",
1523
"engines": {
1624
"node": ">= 10"
25+
},
26+
"repository": "https://github.com/StileDevs/growtopia.js",
27+
"bugs": {
28+
"url": "https://github.com/StileDevs/growtopia.js/issues"
1729
}
1830
}

npm/android-arm64/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `growtopia-js-android-arm64`
1+
# `-android-arm64`
22

3-
This is the **aarch64-linux-android** binary for `growtopia-js`
3+
This is the **aarch64-linux-android** binary for ``

npm/android-arm64/package.json

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "growtopia-js-android-arm64",
3-
"version": "0.0.0",
2+
"name": "-android-arm64",
3+
"version": "2.0.0",
44
"os": [
55
"android"
66
],
@@ -11,8 +11,20 @@
1111
"files": [
1212
"growtopia-js.android-arm64.node"
1313
],
14+
"description": "A Node.js & Bun.js ENet framework to create growtopia private server that written in Rust.",
15+
"keywords": [
16+
"growtopia",
17+
"rust",
18+
"enet"
19+
],
20+
"author": "JadlionHD <[email protected]>",
21+
"homepage": "https://github.com/StileDevs/growtopia.js#readme",
1422
"license": "MIT",
1523
"engines": {
1624
"node": ">= 10"
25+
},
26+
"repository": "https://github.com/StileDevs/growtopia.js",
27+
"bugs": {
28+
"url": "https://github.com/StileDevs/growtopia.js/issues"
1729
}
1830
}

npm/darwin-arm64/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `growtopia-js-darwin-arm64`
1+
# `-darwin-arm64`
22

3-
This is the **aarch64-apple-darwin** binary for `growtopia-js`
3+
This is the **aarch64-apple-darwin** binary for ``

npm/darwin-arm64/package.json

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "growtopia-js-darwin-arm64",
3-
"version": "0.0.0",
2+
"name": "-darwin-arm64",
3+
"version": "2.0.0",
44
"os": [
55
"darwin"
66
],
@@ -11,8 +11,20 @@
1111
"files": [
1212
"growtopia-js.darwin-arm64.node"
1313
],
14+
"description": "A Node.js & Bun.js ENet framework to create growtopia private server that written in Rust.",
15+
"keywords": [
16+
"growtopia",
17+
"rust",
18+
"enet"
19+
],
20+
"author": "JadlionHD <[email protected]>",
21+
"homepage": "https://github.com/StileDevs/growtopia.js#readme",
1422
"license": "MIT",
1523
"engines": {
1624
"node": ">= 10"
25+
},
26+
"repository": "https://github.com/StileDevs/growtopia.js",
27+
"bugs": {
28+
"url": "https://github.com/StileDevs/growtopia.js/issues"
1729
}
1830
}

npm/darwin-universal/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `growtopia-js-darwin-universal`
1+
# `-darwin-universal`
22

3-
This is the **universal-apple-darwin** binary for `growtopia-js`
3+
This is the **universal-apple-darwin** binary for ``

npm/darwin-universal/package.json

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,27 @@
11
{
2-
"name": "growtopia-js-darwin-universal",
3-
"version": "0.0.0",
2+
"name": "-darwin-universal",
3+
"version": "2.0.0",
44
"os": [
55
"darwin"
66
],
77
"main": "growtopia-js.darwin-universal.node",
88
"files": [
99
"growtopia-js.darwin-universal.node"
1010
],
11+
"description": "A Node.js & Bun.js ENet framework to create growtopia private server that written in Rust.",
12+
"keywords": [
13+
"growtopia",
14+
"rust",
15+
"enet"
16+
],
17+
"author": "JadlionHD <[email protected]>",
18+
"homepage": "https://github.com/StileDevs/growtopia.js#readme",
1119
"license": "MIT",
1220
"engines": {
1321
"node": ">= 10"
22+
},
23+
"repository": "https://github.com/StileDevs/growtopia.js",
24+
"bugs": {
25+
"url": "https://github.com/StileDevs/growtopia.js/issues"
1426
}
1527
}

npm/darwin-x64/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `growtopia-js-darwin-x64`
1+
# `-darwin-x64`
22

3-
This is the **x86_64-apple-darwin** binary for `growtopia-js`
3+
This is the **x86_64-apple-darwin** binary for ``

npm/darwin-x64/package.json

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "growtopia-js-darwin-x64",
3-
"version": "0.0.0",
2+
"name": "-darwin-x64",
3+
"version": "2.0.0",
44
"os": [
55
"darwin"
66
],
@@ -11,8 +11,20 @@
1111
"files": [
1212
"growtopia-js.darwin-x64.node"
1313
],
14+
"description": "A Node.js & Bun.js ENet framework to create growtopia private server that written in Rust.",
15+
"keywords": [
16+
"growtopia",
17+
"rust",
18+
"enet"
19+
],
20+
"author": "JadlionHD <[email protected]>",
21+
"homepage": "https://github.com/StileDevs/growtopia.js#readme",
1422
"license": "MIT",
1523
"engines": {
1624
"node": ">= 10"
25+
},
26+
"repository": "https://github.com/StileDevs/growtopia.js",
27+
"bugs": {
28+
"url": "https://github.com/StileDevs/growtopia.js/issues"
1729
}
1830
}

npm/freebsd-x64/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `growtopia-js-freebsd-x64`
1+
# `-freebsd-x64`
22

3-
This is the **x86_64-unknown-freebsd** binary for `growtopia-js`
3+
This is the **x86_64-unknown-freebsd** binary for ``

npm/freebsd-x64/package.json

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "growtopia-js-freebsd-x64",
3-
"version": "0.0.0",
2+
"name": "-freebsd-x64",
3+
"version": "2.0.0",
44
"os": [
55
"freebsd"
66
],
@@ -11,8 +11,20 @@
1111
"files": [
1212
"growtopia-js.freebsd-x64.node"
1313
],
14+
"description": "A Node.js & Bun.js ENet framework to create growtopia private server that written in Rust.",
15+
"keywords": [
16+
"growtopia",
17+
"rust",
18+
"enet"
19+
],
20+
"author": "JadlionHD <[email protected]>",
21+
"homepage": "https://github.com/StileDevs/growtopia.js#readme",
1422
"license": "MIT",
1523
"engines": {
1624
"node": ">= 10"
25+
},
26+
"repository": "https://github.com/StileDevs/growtopia.js",
27+
"bugs": {
28+
"url": "https://github.com/StileDevs/growtopia.js/issues"
1729
}
1830
}

npm/linux-arm-gnueabihf/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `growtopia-js-linux-arm-gnueabihf`
1+
# `-linux-arm-gnueabihf`
22

3-
This is the **armv7-unknown-linux-gnueabihf** binary for `growtopia-js`
3+
This is the **armv7-unknown-linux-gnueabihf** binary for ``

npm/linux-arm-gnueabihf/package.json

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "growtopia-js-linux-arm-gnueabihf",
3-
"version": "0.0.0",
2+
"name": "-linux-arm-gnueabihf",
3+
"version": "2.0.0",
44
"os": [
55
"linux"
66
],
@@ -11,8 +11,20 @@
1111
"files": [
1212
"growtopia-js.linux-arm-gnueabihf.node"
1313
],
14+
"description": "A Node.js & Bun.js ENet framework to create growtopia private server that written in Rust.",
15+
"keywords": [
16+
"growtopia",
17+
"rust",
18+
"enet"
19+
],
20+
"author": "JadlionHD <[email protected]>",
21+
"homepage": "https://github.com/StileDevs/growtopia.js#readme",
1422
"license": "MIT",
1523
"engines": {
1624
"node": ">= 10"
25+
},
26+
"repository": "https://github.com/StileDevs/growtopia.js",
27+
"bugs": {
28+
"url": "https://github.com/StileDevs/growtopia.js/issues"
1729
}
1830
}

npm/linux-arm-musleabihf/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `growtopia-js-linux-arm-musleabihf`
1+
# `-linux-arm-musleabihf`
22

3-
This is the **armv7-unknown-linux-musleabihf** binary for `growtopia-js`
3+
This is the **armv7-unknown-linux-musleabihf** binary for ``

0 commit comments

Comments
 (0)