-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
979 additions
and
892 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Add your env variables here | ||
DEPLOYMENT_ENV="staging" | ||
APP_DEPLOYMENT_ENV="staging" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Add your env variables here | ||
DEPLOYMENT_ENV="staging" | ||
APP_DEPLOYMENT_ENV="staging" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,52 +17,37 @@ jobs: | |
name: ⬣ Biome lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
- name: Setup Biome | ||
uses: biomejs/setup-biome@v2 | ||
- name: Run Biome | ||
run: biome ci . | ||
- uses: actions/checkout@v4 | ||
- uses: biomejs/setup-biome@v2 | ||
- run: biome ci . --reporter=github | ||
|
||
typecheck: | ||
needs: lint | ||
name: 🔎 Type check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v4 | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- name: 📥 Download deps | ||
uses: bahmutov/npm-install@v1 | ||
with: | ||
useLockFile: false | ||
- name: 🔎 Type check | ||
run: npm run typecheck | ||
node-version-file: "package.json" | ||
cache: "pnpm" | ||
- run: pnpm install --prefer-offline --frozen-lockfile | ||
- run: pnpm run typecheck | ||
|
||
vitest: | ||
needs: typecheck | ||
name: ⚡ Unit Tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- name: 📥 Download deps | ||
uses: bahmutov/npm-install@v1 | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
useLockFile: false | ||
- name: Install dotenv cli | ||
run: npm install -g dotenv-cli | ||
- name: ⚡ Run vitest | ||
run: npm run test:cov | ||
node-version-file: "package.json" | ||
cache: "pnpm" | ||
- run: pnpm install --prefer-offline --frozen-lockfile | ||
- run: pnpm run test:cov | ||
- name: "Report Coverage" | ||
# Only works if you set `reportOnFailure: true` in your vite config as specified above | ||
if: always() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,94 @@ | ||
node_modules | ||
/.cache | ||
/build | ||
.env | ||
public/build | ||
build | ||
dist | ||
out | ||
coverage | ||
.history | ||
.react-router | ||
.react-router | ||
|
||
# Other Coverage tools | ||
*.lcov | ||
|
||
# macOS | ||
.DS_* | ||
|
||
# Cache Directories and files | ||
.cache | ||
.yarn* | ||
.env* | ||
!.env.example | ||
.swp* | ||
.turbo | ||
.npm | ||
.stylelintcache | ||
*.tsbuildinfo | ||
.node_repl_history | ||
|
||
# Lock files from other package managers | ||
package-lock.json | ||
yarn.lock | ||
|
||
# General tempory files and directories | ||
t?mp | ||
.t?mp | ||
*.t?mp | ||
|
||
# Docusaurus cache and generated files | ||
.docusaurus | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
*.tar | ||
*.tar.gz | ||
*.tar.bz2 | ||
*.tbz | ||
*.zip | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Diagnostic reports (https://nodejs.org/api/report.html) | ||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
.pnpm-debug.log* | ||
vite.config.ts.* | ||
|
||
# Playwright various test reports | ||
test-results | ||
playwright-report | ||
blob-report | ||
|
||
|
||
# Editors | ||
.idea/workspace.xml | ||
.idea/usage.statistics.xml | ||
.idea/shelf | ||
|
||
|
||
# Make it harder to accidentally commit files in the root | ||
/*.json | ||
/*.yaml | ||
/*.yml | ||
/*.toml | ||
/*.ts | ||
/*.tsx | ||
/*.js | ||
/*.jsx | ||
/*.sh | ||
|
||
# Dont commit sqlite database files | ||
*.db | ||
*.sqlite | ||
*.sqlite3 | ||
*.db-journal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
enable-pre-post-scripts=true | ||
side-effects-cache=false | ||
save-exact=true | ||
audit=false | ||
fund=false | ||
progress=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
// This file is generated by icon spritesheet generator | ||
|
||
export const iconNames = ["ShoppingCart"] as const | ||
export const iconNames = [ | ||
"ShoppingCart", | ||
] as const | ||
|
||
export type IconName = (typeof iconNames)[number] | ||
export type IconName = typeof iconNames[number] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
{ | ||
"$schema": "https://unpkg.com/knip@5/schema.json", | ||
"entry": ["scripts/*.{ts,js}", "app/routes.ts"], | ||
"entry": ["scripts/*.{ts,js}", "app/routes.ts","vite.config.ts"], | ||
"remix": true, | ||
"project": ["**/*.{js,cjs,mjs,jsx,ts,cts,mts,tsx}", "vite.config.ts"], | ||
"ignore": ["app/library/icon/icons/types.ts"], | ||
"ignoreDependencies": ["virtual:react-router", "lefthook"] | ||
"ignore": ["app/library/icon/icons/types.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.