Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.mp4 filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.webp filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
17 changes: 16 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,15 @@ jobs:
- name: Checkout Head
uses: actions/checkout@v4
with:
lfs: true
ref: ${{ github.event.pull_request.head.sha }}

- name: Set-up Build-time env file
run: |
echo "${PR_ENV}" > .env
env:
PR_ENV: ${{ vars[format('PR_{0}', github.event.pull_request.number)] }}

- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
Expand All @@ -73,7 +80,15 @@ jobs:

- name: Build Image
run: |
docker build -t ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO }}/${{ env.IMAGE }}:${{ github.event.pull_request.number }} -f ci/Dockerfile .
set -a
source .env
set +a

docker build \
--build-arg NODE_ENV="$NODE_ENV" \
--build-arg VITE_API_BASE_URL="$VITE_API_BASE_URL" \
-t ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO }}/${{ env.IMAGE }}:${{ github.event.pull_request.number }} \
-f ci/Dockerfile .

- name: Push Image
run: |
Expand Down
6 changes: 5 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Ignore artifacts:
dist
build
coverage
node_modules
.turbo
.out
pnpm-lock.yaml
26 changes: 12 additions & 14 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,24 @@
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"jsxSingleQuote": false,
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"tabWidth": 2,
Comment thread
itssimmons marked this conversation as resolved.
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
"importOrderParserPlugins": [
"typescript",
"decorators"
],
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"],
"importOrder": [
"^solid-js$",
"^solid-js/web$",
"^solid-devtools$",
"<BUILTIN_MODULES>",
"<THIRD_PARTY_MODULES>",
"",
"^@/(.*)$",
"",
"<TYPES>",
"^@bootstrap/(.*)$",
"^@config/(.*)$",
"^@controllers/(.*)$",
"^@database/(.*)$",
"^@core/(.*)$",
"^@exceptions/(.*)$",
"^@lib/(.*)$",
"^@routes/(.*)$",
"^@validations/(.*)$",
"",
"^[.]"
"^.*\\.css$"
]
}
4 changes: 0 additions & 4 deletions apps/challenge-mf/eslint.config.mjs

This file was deleted.

7 changes: 0 additions & 7 deletions apps/challenge-mf/lib/entry-client.tsx

This file was deleted.

6 changes: 0 additions & 6 deletions apps/challenge-mf/lib/entry-server.tsx

This file was deleted.

31 changes: 0 additions & 31 deletions apps/challenge-mf/package.json

This file was deleted.

17 changes: 0 additions & 17 deletions apps/challenge-mf/src/App.tsx

This file was deleted.

This file was deleted.

63 changes: 0 additions & 63 deletions apps/challenge-mf/src/components/templates/code-editor/index.tsx

This file was deleted.

This file was deleted.

Loading
Loading