Skip to content

Commit 3d6eb32

Browse files
committed
feat: move to yao-pkg and bump node version
1 parent 7e85eb1 commit 3d6eb32

File tree

7 files changed

+65
-68
lines changed

7 files changed

+65
-68
lines changed

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.14.2
1+
20.11.1

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<img alt="Version" src="https://img.shields.io/github/release/KotRikD/tosu.svg?style=for-the-badge&color=%235686A2" />
3-
<img src="https://img.shields.io/badge/node-%3E%3D18.14.2-45915E.svg?style=for-the-badge&logo=node.js&logoColor=white" />
3+
<img src="https://img.shields.io/badge/node-%3E%3D20.11.1-45915E.svg?style=for-the-badge&logo=node.js&logoColor=white" />
44
<a href="https://github.com/KotRikD/tosu/blob/master/LICENSE" target="_blank"><img alt="License: GPL--3.0" src="https://img.shields.io/github/license/KotRikD/tosu?style=for-the-badge&color=%23A27456" /></a>
55
<a href="https://twitter.com/kotrik0" target="_blank"><img alt="Twitter: kotrik0" src="https://img.shields.io/badge/kotrik0-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white" /></a>
66
</p>

development.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Requirements
44

55
- `Typescript` >=5.3.3
6-
- `Node.js` >=18.14.2
6+
- `Node.js` >=20.11.1
77
- `Rust` >= any
88
- `pnpm` >= 8
99

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"author": "Mikhail Babynichev",
33
"license": "GPL-3.0",
44
"version": "2.5.2",
5+
"packageManager": "[email protected]",
56
"scripts": {
67
"prepare": "husky install",
78
"start": "pnpm run -C packages/tosu run:dev",

packages/tosu/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"ts:compile": "ncc build src/index.ts -o dist -m -d",
1010
"run:dev": "pnpm run genver && pnpm run ts:run src/index.ts",
1111
"compile:prepare-htmls": "cp -rf node_modules/@tosu/server/assets ./dist",
12-
"compile": "pnpm run genver && pnpm run ts:compile && pnpm run compile:prepare-htmls && pkg -t node18-win-x64 --output dist/tosu.exe --debug --config pkg.json --compress brotli dist/index.js && pnpm run ts:run src/postBuild.ts"
12+
"compile": "pnpm run genver && pnpm run ts:compile && pnpm run compile:prepare-htmls && pkg --output dist/tosu.exe --debug --config pkg.json --compress brotli dist/index.js && pnpm run ts:run src/postBuild.ts"
1313
},
1414
"dependencies": {
1515
"@kotrikd/rosu-pp": "^0.10.0",
@@ -29,9 +29,9 @@
2929
},
3030
"devDependencies": {
3131
"@vercel/ncc": "^0.38.1",
32+
"@yao-pkg/pkg": "^5.11.5",
3233
"cross-env": "^7.0.3",
3334
"genversion": "^3.1.1",
34-
"pkg": "^5.8.0",
3535
"ts-node": "^10.9.1"
3636
}
3737
}

packages/tosu/pkg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dist/assets/**/*"
88
],
99
"targets": [
10-
"node18-win-x64"
10+
"node20-win-x64"
1111
],
1212
"outputPath": "dist"
1313
}

pnpm-lock.yaml

+58-62
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)