forked from BetterAngelsLA/monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_aliases
23 lines (21 loc) · 1.25 KB
/
.bash_aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
alias ynx-check-migrations="yarn nx affected -t check-migrations"
alias ynx-format-be="yarn nx affected -t format betterangels-backend"
alias ynx-generate-schema="yarn nx affected -t generate-graphql-schema"
alias ynx-generate-types="yarn nx affected -t generate-graphql-types"
alias ynx-generate="ynx-generate-schema && ynx-generate-types"
alias ynx-lint-be="yarn nx lint betterangels-backend"
alias ynx-lint-fe="yarn nx lint betterangels"
alias ynx-lint="yarn nx affected -t lint"
alias ynx-makemigrations="yarn nx run betterangels-backend:makemigrations"
alias ynx-migrate="yarn nx run betterangels-backend:migrate"
alias ynx-poetry-add="yarn nx run betterangels-backend:add --name"
alias ynx-poetry-install="yarn nx run betterangels-backend:install"
alias ynx-reset_db="yarn nx run betterangels-backend:reset_db"
alias ynx-start-be="yarn nx start betterangels-backend"
alias ynx-start-fe="yarn nx start betterangels"
alias ynx-test-be="yarn nx test betterangels-backend"
alias ynx-test-fe="yarn nx test betterangels"
alias ynx-typecheck="yarn nx affected -t typecheck"
alias ynx-validate-schema="yarn nx affected -t validate-graphql-schema"
alias ynx-precommit="ynx-lint && ynx-check-migrations && ynx-validate-schema && ynx-typecheck"
alias rebash="source .bash_aliases"