修复 pkg 打包问题

This commit is contained in:
binaryify.zhuang 2022-01-27 11:09:10 +08:00
parent 36942a350c
commit d5b2952299
3 changed files with 21 additions and 6 deletions

View File

@ -1,5 +1,16 @@
# 更新日志
### 5.0.0 | 2022.01.27
- app.js 重构[#1453](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1453)
Breaking changes:
... 待整理
- 修复 pkg 打包问题
### 4.3.0 | 2022.01.22
- fix: 发送/删除评论、点赞失败 [#1446](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1446)
- 增加二进制文件 node 标识 [#1440](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1440)

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "NeteaseCloudMusicApi",
"version": "4.3.0",
"version": "5.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "NeteaseCloudMusicApi",
"version": "4.3.0",
"version": "5.0.0",
"license": "MIT",
"dependencies": {
"axios": "^0.24.0",

View File

@ -1,6 +1,6 @@
{
"name": "NeteaseCloudMusicApi",
"version": "4.3.0",
"version": "5.0.0",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",
@ -14,7 +14,11 @@
},
"bin": "./app.js",
"pkg": {
"scripts": "module/*.js"
"scripts": "module/*.js",
"assets":[
"/node_modules/vm2/lib/contextify.js",
"/public"
]
},
"keywords": [
"网易云音乐",