Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
},
],
"no-case-declarations": "off",
"no-console": ["error", { allow: ["warn", "error"] }],
"no-console": ["error", { allow: ["debug", "warn", "error"] }],
"no-shadow": "error",
"react-hooks/exhaustive-deps": "error",
"react-hooks/rules-of-hooks": "error",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
cache: npm

- name: Use corepack
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "packages/protobufs/protos"]
path = packages/protobufs/protos
url = https://github.com/fishjam-cloud/protos.git
branch = master
branch = master
1 change: 1 addition & 0 deletions examples/react-client/text-chat/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_FISHJAM_ID="your-fishjam-id" # get it at https://fishjam.io/app/
2 changes: 2 additions & 0 deletions examples/react-client/text-chat/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
4 changes: 4 additions & 0 deletions examples/react-client/text-chat/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": ["../../../.eslintrc.js"],
"ignorePatterns": ["lib"],
}
3 changes: 3 additions & 0 deletions examples/react-client/text-chat/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"printWidth": 80
}
12 changes: 12 additions & 0 deletions examples/react-client/text-chat/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Fishjam Chat</title>
Comment thread
Qizot marked this conversation as resolved.
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
40 changes: 40 additions & 0 deletions examples/react-client/text-chat/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"name": "@fishjam-example/text-chat-example",
"private": true,
"version": "0.10.2",
"type": "module",
"license": "Apache-2.0",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"watch": "tsc --noEmit --watch",
"preview": "vite preview",
"format": "prettier --write . --ignore-path ./.eslintignore",
"format:check": "prettier --check . --ignore-path ./.eslintignore",
"lint": "eslint . --ext .ts,.tsx --fix",
"lint:check": "eslint . --ext .ts,.tsx"
},
"dependencies": {
"@fishjam-cloud/react-client": "workspace:*",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react-swc": "^3.8.1",
"autoprefixer": "^10.4.21",
"postcss": "^8.5.3",
"typescript": "^5.8.3",
"vite": "^6.2.6",
"vite-plugin-checker": "^0.9.1"
},
"lint-staged": {
"*": [
"yarn format"
],
"*.(js|ts|tsx)": [
"yarn lint"
]
}
}
Loading
Loading