Skip to content

Commit

Permalink
chore: update some data after repo moved to org (#185)
Browse files Browse the repository at this point in the history
* chore: updated repo links

* chore: config comment translated to en

* chore: change package name
  • Loading branch information
hmbanan666 authored Jun 27, 2024
1 parent 195f3fc commit 7c009e7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

env:
IMAGE_NAME: ghcr.io/hmbanan666/chat-game/app
IMAGE_NAME: ghcr.io/chat-game/app

jobs:
docker:
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- 📺 [Developing and playing it live](https://www.twitch.tv/hmbanan666)
- 👾 [Our community in Discord](https://discord.gg/B6etUajrGZ)

![Screen](https://github.com/hmbanan666/chat-game/assets/25910785/a22468a4-0bf1-43e3-91fc-23a1e2a675fc)
![Screen](https://github.com/chat-game/app/assets/25910785/a22468a4-0bf1-43e3-91fc-23a1e2a675fc)

🤔 Imagine procedurally generated world where you and your viewers can:

Expand Down Expand Up @@ -32,12 +32,12 @@ Let's build a similar world together! ⭐️ Become a Stargazer ⭐️

You can develop in isolated container with prepared options:

[![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/hmbanan666/chat-game)
[![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/chat-game/app)

Make a fork. Or clone this repo and use standard commands:

```shell
git clone https://github.com/hmbanan666/chat-game
git clone https://github.com/chat-game/app
yarn install
yarn run dev
```
Expand All @@ -46,8 +46,8 @@ yarn run dev

A huge thank you to everyone who is helping to improve. Thanks to you, the project can evolve!

<img src="https://raw.githubusercontent.com/hmbanan666/chat-game/main/.github/static/contributors.svg" alt="Chat Game Contributors" width="100%"/>
<img src="https://raw.githubusercontent.com/chat-game/app/main/.github/static/contributors.svg" alt="Chat Game Contributors" width="100%"/>

## 🪀 License

This project is licensed under the MIT License - see the [**MIT License**](https://github.com/hmbanan666/chat-game/blob/main/LICENSE) file for details.
This project is licensed under the MIT License - see the [**MIT License**](https://github.com/chat-game/app/blob/main/LICENSE) file for details.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "chat-game",
"name": "app",
"type": "module",
"version": "0.2.0",
"description": "Chat Game for Twitch",
Expand All @@ -8,10 +8,10 @@
"homepage": "https://chatgame.space",
"repository": {
"type": "git",
"url": "git+https://github.com/hmbanan666/chat-game.git"
"url": "git+https://github.com/chat-game/app.git"
},
"bugs": {
"url": "https://github.com/hmbanan666/chat-game/issues"
"url": "https://github.com/chat-game/app/issues"
},
"keywords": [
"game",
Expand Down
12 changes: 6 additions & 6 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ import { z } from 'zod'
import { env as publicEnv } from '$env/dynamic/public'

/**
* Здесь объявляется схема конфигурации приложения.
* Содержит только публичные переменные окружения.
* This is where the application configuration schema is declared.
* Contains only public environment variables.
*
* Приватные переменные окружения хранятся в '$env/dynamic/private'
* По политике безопасности они не должны быть доступны на клиенте.
* И каждое использование приватной переменной окружения должно в ручном режиме.
* Private environment variables are stored in '$env/dynamic/private'
* According to security policy, they should not be available on the client.
* Every use of a private environment variable must be done manually.
*/

const allEnv = z.object({
PUBLIC_COOKIE_KEY: z.string().default(''),
PUBLIC_SIGNIN_REDIRECT_URL: z.string().default(''),
PUBLIC_WEBSOCKET_URL: z.string().default(''),
PUBLIC_DONATE_URL: z.string().default('https://www.donationalerts.com/r/hmbanan666'),
PUBLIC_GITHUB_REPO_URL: z.string().default('https://github.com/hmbanan666/chat-game'),
PUBLIC_GITHUB_REPO_URL: z.string().default('https://github.com/chat-game/app'),
PUBLIC_DISCORD_SERVER_INVITE_URL: z.string().default('https://discord.gg/B6etUajrGZ'),
PUBLIC_GAME_ADMIN_PLAYER_ID: z.string().default('svhjz9p5467wne9ybasf1bwy'),
PUBLIC_TWITCH_CLIENT_ID: z.string().default(''),
Expand Down

0 comments on commit 7c009e7

Please sign in to comment.