summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-04-01 15:40:29 -0400
committerHazelnoot <acomputerdog@gmail.com>2025-04-01 15:40:29 -0400
commit4d42107acb470116808bd2752639678a24b1f7c5 (patch)
tree19b11714d884b937cce65fc36e491a75d55e507a /CONTRIBUTING.md
parentregenerate settings search index (diff)
downloadsharkey-4d42107acb470116808bd2752639678a24b1f7c5.tar.gz
sharkey-4d42107acb470116808bd2752639678a24b1f7c5.tar.bz2
sharkey-4d42107acb470116808bd2752639678a24b1f7c5.zip
docs: add instructions to regenerate assets and search index
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5815ec44fd..4efda4ef04 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -686,6 +686,8 @@ seems to do a decent job)
* if there have been any changes to the federated user data (the `renderPerson` function in `packages/backend/src/core/activitypub/ApRendererService.ts`), make sure that the set of fields in `userNeedsPublishing` and `profileNeedsPublishing` in `packages/backend/src/server/api/endpoints/i/update.ts` are still correct.
* check the changes against our `develop` (`git diff develop`) and against Misskey (`git diff misskey/develop`)
* re-generate `misskey-js` (`pnpm build-misskey-js-with-types`) and commit
+* re-generate locales (`pnpm run build-assets`) and commit
+* re-generate search index (`pnpm run build-frontend-search-index`) and commit
* build the frontend: `rm -rf built/; NODE_ENV=development pnpm --filter=frontend --filter=frontend-embed --filter=frontend-shared build` (the `development` tells it to keep some of the original filenames in the built files)
* make sure there aren't any new `ti-*` classes (Tabler Icons), and replace them with appropriate `ph-*` ones (Phosphor Icons) in [`vite.replaceicons.ts`](packages/frontend/vite.replaceIcons.ts).
* This command should show you want to change: `grep -ohrP '(?<=["'\'']ti )(ti-(?!fw)[\w\-]+)' --exclude \*.map -- built/ | sort -u`.