Skip to content

Commit

Permalink
feat: adding spectacular/role-houdini plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlking committed Jul 7, 2024
1 parent 73b182f commit 4904f9f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
5 changes: 2 additions & 3 deletions apps/console/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,9 @@ Default demo user's **username:** `[email protected]` **password:** `sumodemo123`
Generate `i18n` types, `schema.graphql` etc...

```shell
turbo run generate --filter=console
turbo --filter=console run generate
# or for prod, run:
cd apps/console
npm run generate:pull-schema:prod
turbo --filter=console run generate:prod
```

## Building
Expand Down
12 changes: 8 additions & 4 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# In repository root
cd "$(dirname $0)/.."

###------Root--------###

FILE=.env
if [[ -f "$FILE" || -n "$CI" ]]; then
echo "'$FILE' exists."
Expand All @@ -17,20 +19,22 @@ else
cp -n .secrets.example .secrets && echo 'Generated: .secrets, FIXIT'
fi

FILE=apps/console-fb/.env
FILE=.env.prod
if [[ -f "$FILE" || -n "$CI" ]]; then
echo "'$FILE' exists."
else
cp -n apps/console-fb/.env.example apps/console-fb/.env && echo 'Generated: apps/console-fb/.env, FIXIT'
cp -n .env.prod.example .env.prod && echo 'Generated: .env.prod, FIXIT'
fi

FILE=apps/console-fb/.secrets
FILE=.secrets.prod
if [[ -f "$FILE" || -n "$CI" ]]; then
echo "'$FILE' exists."
else
cp -n apps/console-fb/.secrets.example apps/console-fb/.secrets && echo 'Generated: apps/console-fb/.secrets, FIXIT'
cp -n .secrets.prod.example .secrets.prod && echo 'Generated: .secrets.prod, FIXIT'
fi

###------Console--------###

FILE=apps/console/.env
if [[ -f "$FILE" || -n "$CI" ]]; then
echo "'$FILE' exists."
Expand Down

0 comments on commit 4904f9f

Please sign in to comment.