Skip to content

Commit

Permalink
feat: move to yao-pkg and bump node version
Browse files Browse the repository at this point in the history
  • Loading branch information
KotRikD committed Mar 31, 2024
1 parent 7e85eb1 commit 3d6eb32
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.14.2
20.11.1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<img alt="Version" src="https://img.shields.io/github/release/KotRikD/tosu.svg?style=for-the-badge&color=%235686A2" />
<img src="https://img.shields.io/badge/node-%3E%3D18.14.2-45915E.svg?style=for-the-badge&logo=node.js&logoColor=white" />
<img src="https://img.shields.io/badge/node-%3E%3D20.11.1-45915E.svg?style=for-the-badge&logo=node.js&logoColor=white" />
<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>
<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>
</p>
Expand Down
2 changes: 1 addition & 1 deletion development.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Requirements

- `Typescript` >=5.3.3
- `Node.js` >=18.14.2
- `Node.js` >=20.11.1
- `Rust` >= any
- `pnpm` >= 8

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"author": "Mikhail Babynichev",
"license": "GPL-3.0",
"version": "2.5.2",
"packageManager": "[email protected]",
"scripts": {
"prepare": "husky install",
"start": "pnpm run -C packages/tosu run:dev",
Expand Down
4 changes: 2 additions & 2 deletions packages/tosu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"ts:compile": "ncc build src/index.ts -o dist -m -d",
"run:dev": "pnpm run genver && pnpm run ts:run src/index.ts",
"compile:prepare-htmls": "cp -rf node_modules/@tosu/server/assets ./dist",
"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"
"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"
},
"dependencies": {
"@kotrikd/rosu-pp": "^0.10.0",
Expand All @@ -29,9 +29,9 @@
},
"devDependencies": {
"@vercel/ncc": "^0.38.1",
"@yao-pkg/pkg": "^5.11.5",
"cross-env": "^7.0.3",
"genversion": "^3.1.1",
"pkg": "^5.8.0",
"ts-node": "^10.9.1"
}
}
2 changes: 1 addition & 1 deletion packages/tosu/pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dist/assets/**/*"
],
"targets": [
"node18-win-x64"
"node20-win-x64"
],
"outputPath": "dist"
}
120 changes: 58 additions & 62 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3d6eb32

Please sign in to comment.