diff --git a/README.md b/README.md index a406e19c..61f5afe6 100644 --- a/README.md +++ b/README.md @@ -2,18 +2,10 @@ ![release](https://github.com/Linkontoask/radishes/workflows/release/badge.svg) -`Radishes`是这个项目的名称,它是由`萝卜`翻译而来。 +`Radishes`是这个项目的名称,它是由`萝卜`翻译而来。可以在这里试听和下载“灰色”歌曲哟 界面表现和功能参考 windows 网易云音乐界面和 ios 的网易云音乐,会对一些功能进行移动端支持。希望能找到合适的基于 vue3 的移动端打包工具(非套壳)。 -项目成立原因: - -- 打造一款跨端播放器,减低用户学习成本。 -- 希望完成全音乐播放,避免版权问题不能播放。 -- 接触 vue3 新功能以及周边生态,提升编码水平、有效合理的组织代码结构与逻辑。 -- [TypeScript 4.x](https://github.com/Microsoft/TypeScript) 已经发布,它的好处已经足够明显,故借此项目深入学习。 -- 使用前沿技术让一个项目从 0 到 1 的过程不仅可以提升我们的 coding 水平,还可以提升非 coding (设计、 git 、 nginx 等)的能力。 - ### 项目运行 - 克隆项目 @@ -33,18 +25,15 @@ npx lerna bootstrap - 构建项目 web: `yarn build` - electron: `yarn build:electron` - -### 重构计划 - -~~2020.10.31 之前完成基本架构(可能更早)。~~(已完成基本架构,可能会因为功能需求变更一些,但是整体上不会有大的变动。) -因为时间安排,只会在业余时间去重构,所以时间上没有具体安排。如果你也是如此,希望在业余时间做一些或学一些东西,我觉得这个重构计划很适合你,参与方式在下面。 + electron:win: `yarn build:electron` + electron:linux: `yarn build:electron:linux` + electron:macos: `yarn build:electron:macos` ### 支持的功能 `browser`: 浏览器支持 `electron`: 桌面级支持 -`mobile`: 移动端支持(在线链接: [http://112.74.169.178/mobile/music/](http://112.74.169.178/mobile/music/),分支:`next-mobile`) +`mobile`: 移动端支持(在线链接: ~~[http://112.74.169.178/mobile/music/](http://112.74.169.178/mobile/music/)~~,分支:`next-mobile`) `√`: 已经支持 `×`: 不打算支持 @@ -68,15 +57,6 @@ npx lerna bootstrap | 通知(已登录) | × | | × | | 音效(3D环绕、淡入淡出、温柔、混合) | √ | √ | | -### Git 提交规范 - -[rules](https://github.com/conventional-changelog/commitlint/blob/master/%40commitlint/config-conventional/index.js) - -提交模式如下: -`type(scope?): subject` - -更多规则参考[https://github.com/conventional-changelog/commitlint](https://github.com/conventional-changelog/commitlint) - ### Electron 目前已发布第一版,包含听歌等功能,前往 [https://github.com/Linkontoask/radishes/releases/tag/2.0.0-alpha.1](https://github.com/Linkontoask/radishes/releases/tag/2.0.0-alpha.1) 下载 windows 版本。 @@ -90,10 +70,6 @@ npx lerna bootstrap 目前会利用闲暇时间进行重构,如果你也想参与进来,可以发邮件或在[这里](https://github.com/Linkontoask/radishes/issues/6)告诉我 -### 邀请前端开发人员进行重构 - -> 请在 issues 中留下你的想法,或者给我发送邮件告诉我你的想法 [linkorgs@163.com](linkorgs@163.com),我会及时回复您 - 相关链接: - [NeteaseCloudMusicApi](https://github.com/Binaryify/NeteaseCloudMusicApi) diff --git a/package.json b/package.json index 7afc384c..69e0f232 100644 --- a/package.json +++ b/package.json @@ -163,7 +163,7 @@ "uuid": "^8.3.2", "v-easy-components": "2.0.0", "vant": "^3.0.6", - "vue-cli-plugin-electron-builder": "^2.0.0-rc.5", + "vue-cli-plugin-electron-builder": "^2.1.1", "vue-i18n": "^9.1.7", "vue-loader": "^16.1.2", "vuex-persistedstate": "^4.0.0-beta.1", diff --git a/vue.config.js b/vue.config.js index 6f1e2bc6..5eee9b69 100644 --- a/vue.config.js +++ b/vue.config.js @@ -100,7 +100,10 @@ module.exports = { to: 'resources/public/service', filter: ['**/*'] } - ] + ], + mac: { + identity: null + } } } } diff --git a/yarn.lock b/yarn.lock index 7d29f7bc..427442e4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4106,11 +4106,6 @@ resolved "https://registry.npm.taobao.org/@popperjs/core/download/@popperjs/core-2.9.1.tgz?cache=0&sync_timestamp=1615219280778&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40popperjs%2Fcore%2Fdownload%2F%40popperjs%2Fcore-2.9.1.tgz#7f554e7368c9ab679a11f4a042ca17149d70cf12" integrity sha1-f1VOc2jJq2eaEfSgQsoXFJ1wzxI= -"@radishes/unblock@^2.0.1": - version "2.0.1" - resolved "https://registry.nlark.com/@radishes/unblock/download/@radishes/unblock-2.0.1.tgz#1c61829e8dd189d11d1edb3e2e3c22badea34d0a" - integrity sha1-HGGCno3RidEdHts+Ljwiut6jTQo= - "@reach/router@^1.3.4": version "1.3.4" resolved "https://registry.npm.taobao.org/@reach/router/download/@reach/router-1.3.4.tgz#d2574b19370a70c80480ed91f3da840136d10f8c" @@ -11468,6 +11463,21 @@ execa@^4.0.0, execa@^4.0.2, execa@^4.1.0: signal-exit "^3.0.2" strip-final-newline "^2.0.0" +execa@^5.0.0: + version "5.1.1" + resolved "https://registry.nlark.com/execa/download/execa-5.1.1.tgz?cache=0&sync_timestamp=1622825396605&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fexeca%2Fdownload%2Fexeca-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" + integrity sha1-+ArZy/Qpj3vR1MlVXCHpN0HEEd0= + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" + execall@^2.0.0: version "2.0.0" resolved "https://registry.npm.taobao.org/execall/download/execall-2.0.0.tgz#16a06b5fe5099df7d00be5d9c06eecded1663b45" @@ -12511,6 +12521,11 @@ get-stream@^5.0.0, get-stream@^5.1.0: dependencies: pump "^3.0.0" +get-stream@^6.0.0: + version "6.0.1" + resolved "https://registry.nlark.com/get-stream/download/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" + integrity sha1-omLY7vZ6ztV8KFKtYWdSakPL97c= + get-uri@3: version "3.0.2" resolved "https://registry.npm.taobao.org/get-uri/download/get-uri-3.0.2.tgz#f0ef1356faabc70e1f9404fa3b66b2ba9bfc725c" @@ -13582,6 +13597,11 @@ human-signals@^1.1.1: resolved "https://registry.npm.taobao.org/human-signals/download/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" integrity sha1-xbHNFPUK6uCatsWf5jujOV/k36M= +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.nlark.com/human-signals/download/human-signals-2.1.0.tgz?cache=0&sync_timestamp=1624364695595&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhuman-signals%2Fdownload%2Fhuman-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" + integrity sha1-3JH8ukLk0G5Kuu0zs+ejwC9RTqA= + humanize-ms@^1.2.1: version "1.2.1" resolved "https://registry.npm.taobao.org/humanize-ms/download/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" @@ -17460,7 +17480,7 @@ npm-run-path@^3.0.0: dependencies: path-key "^3.0.0" -npm-run-path@^4.0.0: +npm-run-path@^4.0.0, npm-run-path@^4.0.1: version "4.0.1" resolved "https://registry.npm.taobao.org/npm-run-path/download/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" integrity sha1-t+zR5e1T2o43pV4cImnguX7XSOo= @@ -17686,7 +17706,7 @@ onetime@^2.0.0: dependencies: mimic-fn "^1.0.0" -onetime@^5.1.0: +onetime@^5.1.0, onetime@^5.1.2: version "5.1.2" resolved "https://registry.npm.taobao.org/onetime/download/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" integrity sha1-0Oluu1awdHbfHdnEgG5SN5hcpF4= @@ -21087,7 +21107,7 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" -signal-exit@^3.0.0, signal-exit@^3.0.2: +signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: version "3.0.3" resolved "https://registry.npm.taobao.org/signal-exit/download/signal-exit-3.0.3.tgz?cache=0&sync_timestamp=1600349108829&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsignal-exit%2Fdownload%2Fsignal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" integrity sha1-oUEMLt2PB3sItOJTyOrPyvBXRhw= @@ -23524,15 +23544,15 @@ void-elements@^3.1.0: resolved "https://registry.npm.taobao.org/void-elements/download/void-elements-3.1.0.tgz#614f7fbf8d801f0bb5f0661f5b2f5785750e4f09" integrity sha1-YU9/v42AHwu18GYfWy9XhXUOTwk= -vue-cli-plugin-electron-builder@^2.0.0-rc.5: - version "2.0.0-rc.5" - resolved "https://registry.npm.taobao.org/vue-cli-plugin-electron-builder/download/vue-cli-plugin-electron-builder-2.0.0-rc.5.tgz#87cd8d09877f5f3ae339abc0bedc47d7d2b733ac" - integrity sha1-h82NCYd/XzrjOavAvtxH19K3M6w= +vue-cli-plugin-electron-builder@^2.1.1: + version "2.1.1" + resolved "https://registry.nlark.com/vue-cli-plugin-electron-builder/download/vue-cli-plugin-electron-builder-2.1.1.tgz#de8bed25b32e73e28dd08061dd2a3c6bfff73227" + integrity sha1-3ovtJbMuc+KN0IBh3So8a//3Mic= dependencies: "@vue/cli-shared-utils" "^4.5.6" chokidar "^3.0.2" electron-builder "^22.2.0" - execa "^4.0.0" + execa "^5.0.0" friendly-errors-webpack-plugin "^1.7.0" fs-extra "^9.0.1" lodash.merge "^4.6.1"