Skip to content

Commit

Permalink
chore: ts fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js committed Dec 4, 2024
1 parent 98f0a2a commit f851e17
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ storybook-static/
# Test Coverage
coverage/

.react-router/

# Playwright
/test-results/
/playwright-report/
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"npm.packageManager": "pnpm"
"npm.packageManager": "pnpm",
"typescript.preferences.preferTypeOnlyAutoImports": true
}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"dev": "vite serve",
"build": "vite build",
"preview": "vite preview",
"typecheck": "tsc -b",
"test": "vitest",
"coverage": "vitest run --coverage",
"e2e": "playwright test",
Expand All @@ -18,7 +19,6 @@
"lint": "eslint src/ --ext .tsx,.jsx,.js,.ts",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"build-typescript": "tsc -b",
"format:check": "prettier --check .",
"format:write": "prettier --write ."
},
Expand Down Expand Up @@ -72,7 +72,6 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-unicorn": "^55.0.0",
"lightningcss": "^1.22.0",
"msw": "^1.3.3",
"nx": "20.1.4",
"postcss": "^8.4.41",
Expand All @@ -96,7 +95,7 @@
"dexie-react-hooks": "^1.1.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "^7.0.1",
"react-router": "^7.0.2",
"theme-change": "^2.5.0",
"uuid": "^9.0.0"
},
Expand Down
31 changes: 25 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file added src/layouts/base-layout.tsx
Empty file.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
"noImplicitAny": true,
"skipLibCheck": true
},
"include": ["src"]
"include": ["src", "vite-env.d.ts"]
}
1 change: 1 addition & 0 deletions vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/// <reference types="vite/client" />
/// <reference types="vite/types/importMeta.d.ts" />
declare const APP_VERSION;

0 comments on commit f851e17

Please sign in to comment.