Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

fix: release yaml #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"@semantic-release/release-notes-generator",
"@semantic-release/commit-analyzer",
["@semantic-release/changelog", {
"changelogFile": "Assets/Mirror/Websocket/CHANGELOG.md",
"changelogFile": "Assets/Mirage/Websocket/CHANGELOG.md",
}],
["@semantic-release/npm", {
"npmPublish": false,
"pkgRoot": "Assets/Mirror/Websocket"
"pkgRoot": "Assets/Mirage/Websocket"
}],
["@semantic-release/git", {
"assets": ["Assets/Mirror/Websocket/package.json", "Assets/Mirror/Websocket/CHANGELOG.md"],
"assets": ["Assets/Mirage/Websocket/package.json", "Assets/Mirage/Websocket/CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
]
Expand Down
4 changes: 2 additions & 2 deletions Assets/Websocket/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "com.mirrorng.websocket",
"name": "com.miragenet.websocket",
"displayName": "Mirage Websocket",
"version": "2.1.0",
"unity": "2019.1",
Expand All @@ -10,7 +10,7 @@
"url": "https://github.com/Mirage/Mirage_Websocket.git"
},
"dependencies": {
"com.mirrorng.mirrorng": "59.0.0",
"com.miragenet.mirage": "62.0.0",
"com.cysharp.unitask": "2.0.36"
},
"samples": [
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
[![Documentation](https://img.shields.io/badge/documentation-brightgreen.svg)](https://mirrorng.github.io/MirrorNG_Websocket/)
[![Forum](https://img.shields.io/badge/forum-brightgreen.svg)](https://forum.unity.com/threads/mirror-networking-for-unity-aka-hlapi-community-edition.425437/)
[![Discord](https://img.shields.io/discord/343440455738064897.svg)](https://discordapp.com/invite/N9QVxbM)
[![release](https://img.shields.io/github/release/MirrorNG/MirrorNG_Websocket.svg)](https://github.com/MirrorNG/MirrorNG_Websocket/releases/latest)
[![release](https://img.shields.io/github/release/MirageNet/MirrorNG_Websocket.svg)](https://github.com/MirageNet/MirrorNG_Websocket/releases/latest)

[![Build](https://github.com/MirrorNG/MirrorNG_Websocket/workflows/CI/badge.svg)](https://github.com/MirrorNG/MirrorNG_Websocket/actions?query=workflow%3ACI)
[![Build](https://github.com/MirageNet/MirrorNG_Websocket/workflows/CI/badge.svg)](https://github.com/MirageNet/MirrorNG_Websocket/actions?query=workflow%3ACI)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=MirrorNG_MirrorNG_Websocket&metric=alert_status)](https://sonarcloud.io/dashboard?id=MirrorNG_MirrorNG_Websocket)
[![SonarCloud Coverage](https://sonarcloud.io/api/project_badges/measure?project=MirrorNG_MirrorNG_Websocket&metric=coverage)](https://sonarcloud.io/component_measures?id=MirrorNG_MirrorNG_Websocket&metric=coverage)
[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=MirrorNG_MirrorNG_Websocket&metric=ncloc)](https://sonarcloud.io/dashboard?id=MirrorNG_MirrorNG_Websocket)
[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=MirrorNG_MirrorNG_Websocket&metric=sqale_index)](https://sonarcloud.io/dashboard?id=MirrorNG_MirrorNG_Websocket)
[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=MirrorNG_MirrorNG_Websocket&metric=code_smells)](https://sonarcloud.io/dashboard?id=MirrorNG_MirrorNG_Websocket)


MirrorNG Websocket is a transport for [MirrorNG](https://github.com/MirrorNG/MirrorNG) suitable for building and running webgl clients.
Mirage Websocket is a transport for [Mirage](https://github.com/MirageNet/Mirage) suitable for building and running webgl clients.

This is based on the [Ninja Websockets](https://github.com/ninjasource/Ninja.WebSockets), a pure C# library for serving and consuming websockets.

Expand All @@ -26,13 +26,13 @@ The preferred installation method is Unity Package manager.
If you are using unity 2019.3 or later:

1) Open your project in unity
2) Install [MirrorNG](https://github.com/MirrorNG/MirrorNG)
2) Install [Mirage](https://github.com/MirageNet/Mirage)
3) Click on Windows -> Package Manager
4) Click on the plus sign on the left and click on "Add package from git URL..."
5) enter https://github.com/MirrorNG/MirrorNG_Websocket.git?path=/Assets/Mirror/Websocket
6) Unity will download and install MirrorNG Websocket
5) enter https://github.com/MirageNet/MirrorNG_Websocket.git?path=/Assets/Mirage/Websocket
6) Unity will download and install Mirage Websocket

Alternatively you can download it from [Download Mirror](https://github.com/MirrorNG/MirrorNG_Websocket/releases). You will need to install some dependencies yourself such as cecil.
Alternatively you can download it from [Download Mirror](https://github.com/MirageNet/MirrorNG_Websocket/releases). You will need to install some dependencies yourself such as cecil.

## Usage

Expand Down