chore(pkg manager): Use yarn v2 instead of npm (#385)

This commit is contained in:
Yannis Petitot
2021-04-08 22:28:15 +02:00
committed by GitHub
parent 3f544fa481
commit 4fb5f9392b
8 changed files with 15886 additions and 49164 deletions
+9
View File
@@ -18,6 +18,15 @@ lib
*.bs.js
*gen.js
#yarn
.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*
# misc
.DS_Store
.env.local
+55
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -0,0 +1,2 @@
yarnPath: '.yarn/releases/yarn-berry.cjs'
nodeLinker: node-modules
+13 -11
View File
@@ -1,5 +1,5 @@
Beatconnect client [![license](https://img.shields.io/github/license/yadpe/beatconnect_client.svg?style=flat-square)]() <a href="https://snyk.io/test/github/yadPe/beatconnect_client?targetFile=package.json"><img src="https://snyk.io/test/github/yadPe/beatconnect_client/badge.svg" alt="" data-canonical-src="https://snyk.io/test/github/yadPe/beatconnect_client" style="max-width:100%;"></a> [![CircleCI](https://circleci.com/gh/yadPe/beatconnect_client.svg?style=svg)](https://circleci.com/gh/yadPe/beatconnect_client)
======
# Beatconnect client [![license](https://img.shields.io/github/license/yadpe/beatconnect_client.svg?style=flat-square)]() <a href="https://snyk.io/test/github/yadPe/beatconnect_client?targetFile=package.json"><img src="https://snyk.io/test/github/yadPe/beatconnect_client/badge.svg" alt="" data-canonical-src="https://snyk.io/test/github/yadPe/beatconnect_client" style="max-width:100%;"></a> [![CircleCI](https://circleci.com/gh/yadPe/beatconnect_client.svg?style=svg)](https://circleci.com/gh/yadPe/beatconnect_client)
The official client for [Beatconnect](https://beatconnect.io) which is a mirror for [Osu!](https://osu.ppy.sh/home) Beatmaps
**Table of contents:**
@@ -16,15 +16,16 @@ The official client for [Beatconnect](https://beatconnect.io) which is a mirror
<!-- tocstop -->
## Quick Tour
- This App gives you access to all the beatmaps mirrored on [Beatconnect](https://beatconnect.io). You can downloads multiple beatmaps that will be automaticaly imported into osu! </br>
<img src="https://user-images.githubusercontent.com/46972108/90391453-75d31600-e08d-11ea-9ad0-bdb881219fdd.png">
<img src="https://user-images.githubusercontent.com/46972108/90391453-75d31600-e08d-11ea-9ad0-bdb881219fdd.png">
- You can launch an <b>IRC bot</b> from the app that will make all [available commands](./docs/commands.md) usable to peoples pming you and from all the matches chats that the bot is connected to. (how to connect docs soon..)</br>
Comming with the <b>autobeat</b> feature that send the Beatconnect download link in the #multuplayer channel each time host change the beatmap
<img src="./docs/m3krbwj3sfdG480M.gif">
Comming with the <b>autobeat</b> feature that send the Beatconnect download link in the #multuplayer channel each time host change the beatmap
<img src="./docs/m3krbwj3sfdG480M.gif">
- Manage connected matchs
<img src="https://cdn.discordapp.com/attachments/414474227710820352/621679191292772352/unknown.png">
<img src="https://cdn.discordapp.com/attachments/414474227710820352/621679191292772352/unknown.png">
## Technology
@@ -48,7 +49,7 @@ These instructions will get you a copy of the project up and running on your loc
### Prerequisites
* NodeJs v8.10 or higher and npm installed
- NodeJs v14 or higher and yarn
### Installing
@@ -60,15 +61,16 @@ $ git clone https://github.com/yadPe/beatconnect_client.git
$ cd beatconnect_client
# Install dependencies
$ npm i
$ yarn
# Start the dev server and launch the app
$ npm run dev
$ yarn dev
# (if you're running WSL you will have to start electron from within Windows with "npm run electron-dev")
# (if you're running WSL you will have to start electron from within Windows with "yarn electron-dev")
```
## Download
## Download
- Latest release available [here](https://github.com/yadPe/beatconnect_client/releases/latest)
## License
-49150
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -101,10 +101,10 @@
"electron-updater": "^4.3.5",
"electron-window-state": "^5.0.3",
"fs-extra": "^9.0.1",
"irc": "yadPe/node-irc#master",
"irc": "git+https://github.com/yadPe/node-irc.git",
"long": "^4.0.0",
"node-machine-id": "^1.1.12",
"osu-db-parser": "yadPe/osu-db-parser#6cc783f3a9270f730cd5038d03ada4a78634cd65",
"osu-db-parser": "git+https://github.com/yadPe/osu-db-parser.git#6cc783f3a9270f730cd5038d03ada4a78634cd65",
"prop-types": "^15.7.2",
"ps-node": "^0.1.6",
"react": "^16.13.1",
+1 -1
View File
@@ -139,7 +139,7 @@ checkBrowsers(paths.appPath, isInteractive)
if (isWsl){
console.log(chalk.green("WSL does not support graphical program natively,"));
console.log(chalk.green("Electron couldn't be launched,"));
console.log(chalk.green("Run 'npm run electron-dev' from either powershell or cmd."));
console.log(chalk.green("Run 'yarn electron-dev' from either powershell or cmd."));
} else {
console.log(chalk.yellow("Couldn't launch electron, try starting it manually"));
}
+15804
View File
File diff suppressed because it is too large Load Diff