mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-04-28 01:26:58 +00:00
docs: run more tests after merging
also, reformat the markdown to get the correct list nesting
This commit is contained in:
parent
67ff1969b0
commit
f2382e951e
1 changed files with 28 additions and 27 deletions
|
@ -692,8 +692,11 @@ seems to do a decent job)
|
|||
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`.
|
||||
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`.
|
||||
* NOTE: `ti-fw` is a special class that's defined by Misskey, leave it alone.
|
||||
* After every change, re-build the frontend and check again, until
|
||||
there are no more `ti-*` classes in the built files.
|
||||
|
@ -701,10 +704,8 @@ seems to do a decent job)
|
|||
* double-check the new migration, that they won't conflict with our db
|
||||
changes: `git diff develop -- packages/backend/migration/`
|
||||
* `pnpm clean; pnpm build`
|
||||
* run tests `pnpm --filter='!megalodon' test; pnpm --filter backend
|
||||
test:e2e` (requires a test database, [see above](#testing)) and fix
|
||||
as much as you can
|
||||
* right now `megalodon` doesn't pass its tests, so we skip them
|
||||
* run tests `pnpm test; pnpm --filter backend test:e2e` (requires a
|
||||
test database, [see above](#testing)) and fix as much as you can
|
||||
* run lint `pnpm --filter=backend --filter=frontend-shared lint` +
|
||||
`pnpm --filter=frontend --filter=frontend-embed eslint` and fix as
|
||||
much as you can
|
||||
|
|
Loading…
Add table
Reference in a new issue