diff --git a/README.md b/README.md index aad8221e03..b0c21fdab2 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,9 @@ If you have access to a server that supports one of the sources below, I recomme [![Install on Ubuntu](https://pool.jortage.com/voringme/misskey/3b62a443-1b44-45cf-8f9e-f1c588f803ed.png)](https://codeberg.org/calckey/ubuntu-bash-install)  [![Install on the Arch User Repository](https://pool.jortage.com/voringme/misskey/ba2a5c07-f078-43f1-8483-2e01acca9c40.png)](https://aur.archlinux.org/packages/calckey)  [![Install Calckey with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=calckey) +### 🐋 Docker + +[How to run Calckey with Docker](./docker-README.md). ## 🧑‍💻 Dependencies @@ -103,7 +106,8 @@ cd calckey/ # nvm install 19 && nvm use 19 corepack enable corepack prepare pnpm@latest --activate -pnpm i +# To build without TensorFlow, append --no-optional +pnpm i # --no-optional ``` ## 🐘 Create database @@ -157,10 +161,6 @@ NODE_ENV=production pnpm install && pnpm run build && pnpm run migrate pm2 start "NODE_ENV=production pnpm run start" --name Calckey ``` -### 🐋 Docker - -[How to run Calckey with Docker](./docker-README.md). - ## 😉 Tips & Tricks - When editing the config file, please don't fill out the settings at the bottom. They're designed *only* for managed hosting, not self hosting. Those settings are much better off being set in Calckey's control panel. diff --git a/packages/backend/src/misc/reaction-lib.ts b/packages/backend/src/misc/reaction-lib.ts index 5fe404b880..c0a5e8e2fb 100644 --- a/packages/backend/src/misc/reaction-lib.ts +++ b/packages/backend/src/misc/reaction-lib.ts @@ -68,7 +68,7 @@ export async function toDbReaction( const match = emojiRegex.exec(reaction); if (match) { const unicode = match[0]; - return unicode.match('\u200d') ? unicode : unicode.replace(/\ufe0f/g, ''); + return unicode.match("\u200d") ? unicode : unicode.replace(/\ufe0f/g, ""); } const custom = reaction.match(/^:([\w+-]+)(?:@\.)?:$/); diff --git a/packages/client/src/components/MkNotes.vue b/packages/client/src/components/MkNotes.vue index 66f3d92d47..a67b59d73d 100644 --- a/packages/client/src/components/MkNotes.vue +++ b/packages/client/src/components/MkNotes.vue @@ -1,5 +1,5 @@