-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
6,154 additions
and
6,147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,5 @@ coverage/ | |
.pnp.* | ||
.yarn/sdks/ | ||
|
||
|
||
dist/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,20 +4,21 @@ | |
"description": "Fast & Powerful Hitokoto API Framework.", | ||
"main": "core.js", | ||
"engines": { | ||
"node": ">=14" | ||
"node": ">= 18" | ||
}, | ||
"scripts": { | ||
"start": "node core", | ||
"dev": "yarn nodemon -e js,mjs,cjs,json,yml,yaml core.js -- -D", | ||
"pnpify": "yarn dlx @yarnpkg/pnpify", | ||
"build:": "esbuild --bundle --minify --platform=node --outfile=dist/server.js core.js", | ||
"lint": "eslint ./src/**/*.js ./adapter/**/*.js ./test/**/*.js core.js", | ||
"watch": "yarn dlx supervisor --watch \".\" --extensions \"js,json\" --exec \"yarn\" -- \"start\"", | ||
"test": "jest --verbose", | ||
"commit": "yarn dlx git-cz", | ||
"release": "yarn dlx release-it", | ||
"changelog": "yarn dlx -p conventional-changelog-cli conventional-changelog -p conventionalcommits -i CHANGELOG.md -s -r 0 -n .changelog.config.js", | ||
"prepare": "husky install", | ||
"postinstall": "sh -c 'if [ command -v ./node_modules/.bin/husky ]; then ./node_modules/.bin/husky install; fi;'" | ||
"postinstall": "husky install" | ||
}, | ||
"repository": "https://github.com/hitokoto-osc/hitokoto-api", | ||
"author": "a632079 <[email protected]>", | ||
|
@@ -36,34 +37,36 @@ | |
}, | ||
"devDependencies": { | ||
"@babel/core": "7.22.8", | ||
"@babel/eslint-parser": "7.22.7", | ||
"@babel/eslint-parser": "7.23.3", | ||
"@babel/preset-env": "7.22.7", | ||
"@commitlint/cli": "17.6.6", | ||
"@commitlint/config-conventional": "17.6.6", | ||
"@commitlint/cli": "17.8.1", | ||
"@commitlint/config-conventional": "17.8.1", | ||
"@types/jest": "29.5.2", | ||
"commitizen": "4.3.0", | ||
"conventional-changelog-conventionalcommits": "6.1.0", | ||
"conventional-changelog-conventionalcommits": "7.0.2", | ||
"cz-conventional-changelog": "3.3.0", | ||
"eslint": "8.44.0", | ||
"eslint-config-prettier": "8.8.0", | ||
"esbuild": "^0.19.5", | ||
"eslint": "8.53.0", | ||
"eslint-config-prettier": "9.0.0", | ||
"eslint-config-standard": "17.1.0", | ||
"eslint-plugin-html": "7.1.0", | ||
"eslint-plugin-import": "2.27.5", | ||
"eslint-plugin-import": "2.29.0", | ||
"eslint-plugin-jest": "27.2.2", | ||
"eslint-plugin-n": "^16.0.1", | ||
"eslint-plugin-prettier": "5.0.0-alpha.2", | ||
"eslint-plugin-n": "16.3.1", | ||
"eslint-plugin-prettier": "5.0.1", | ||
"eslint-plugin-promise": "6.1.1", | ||
"husky": "8.0.3", | ||
"jest": "29.6.1", | ||
"jest-extended": "4.0.0", | ||
"lint-staged": "13.2.3", | ||
"lint-staged": "14.0.1", | ||
"nodemon": "3.0.1", | ||
"nyc": "15.1.0", | ||
"prettier": "3.0.0", | ||
"prettier": "3.1.0", | ||
"regenerator-runtime": "0.13.11", | ||
"release-it": "16.1.0", | ||
"supertest": "6.3.3", | ||
"supervisor": "0.12.0" | ||
"supervisor": "0.12.0", | ||
"webpack": "^5.89.0" | ||
}, | ||
"dependencies": { | ||
"@hitokoto/koa-jsonp": "3.0.7", | ||
|
@@ -73,13 +76,13 @@ | |
"@sentry/integrations": "7.57.0", | ||
"@sentry/node": "7.57.0", | ||
"@sentry/tracing": "7.57.0", | ||
"NeteaseCloudMusicApi": "4.8.10", | ||
"NeteaseCloudMusicApi": "4.13.6", | ||
"async": "3.2.4", | ||
"bytes": "3.1.2", | ||
"chalk": "4.1.2", | ||
"commander": "11.0.0", | ||
"cron": "2.3.1", | ||
"fast-json-stringify": "5.7.0", | ||
"fast-json-stringify": "5.8.0", | ||
"flatstr": "1.0.12", | ||
"got": "11.8.6", | ||
"humanize-number": "0.0.2", | ||
|
@@ -94,7 +97,7 @@ | |
"koa-router": "12.0.0", | ||
"lodash": "4.17.21", | ||
"mysql2": "3.5.0", | ||
"nconf": "0.12.0", | ||
"nconf": "0.12.1", | ||
"nconf-yaml": "1.0.2", | ||
"nodemailer": "6.9.3", | ||
"passthrough-counter": "1.0.0", | ||
|
@@ -104,5 +107,5 @@ | |
"uuid": "9.0.0", | ||
"winston": "3.9.0" | ||
}, | ||
"packageManager": "yarn@3.6.1" | ||
"packageManager": "yarn@4.0.2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.