修复 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,10 +1,21 @@
# 更新日志 # 更新日志
### 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 ### 4.3.0 | 2022.01.22
- fix: 发送/删除评论、点赞失败 [#1446](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1446) - fix: 发送/删除评论、点赞失败 [#1446](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1446)
- 增加二进制文件node标识 [#1440](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1440) - 增加二进制文件 node 标识 [#1440](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1440)
- 获取歌单所有歌曲增加offset偏移量设置[#1435](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1435) - 获取歌单所有歌曲增加 offset 偏移量设置[#1435](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1435)
### 4.2.0 | 2021.11.23 ### 4.2.0 | 2021.11.23

4
package-lock.json generated
View File

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

View File

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