Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add type checking to build script #31

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
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
Next Next commit
chore: add type checking to build script
matthiasweiss committed Feb 24, 2025
commit a2da765d002c4338598e16507a4db243bf85d005
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"private": true,
"type": "module",
"scripts": {
"build": "vite build",
"build": "tsc && vite build",
"build:ssr": "vite build && vite build --ssr",
"dev": "vite",
"format": "prettier --write resources/",

Unchanged files with check annotations Beta

import { createInertiaApp } from '@inertiajs/react';
import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers';
import { createRoot } from 'react-dom/client';
import { route as routeFn } from 'ziggy-js';

Check failure on line 6 in resources/js/app.tsx

GitHub Actions / ci

Cannot find module 'ziggy-js' or its corresponding type declarations.
import { initializeTheme } from './hooks/use-appearance';
declare global {
}
export default function Login({ status, canResetPassword }: LoginProps) {
const { data, setData, post, processing, errors, reset } = useForm<LoginForm>({

Check failure on line 25 in resources/js/pages/auth/login.tsx

GitHub Actions / ci

Type 'LoginForm' does not satisfy the constraint 'FormDataType'.
email: '',
password: '',
remember: false,
}
export default function Register() {
const { data, setData, post, processing, errors, reset } = useForm<RegisterForm>({

Check failure on line 20 in resources/js/pages/auth/register.tsx

GitHub Actions / ci

Type 'RegisterForm' does not satisfy the constraint 'FormDataType'.
name: '',
email: '',
password: '',
}
export default function ResetPassword({ token, email }: ResetPasswordProps) {
const { data, setData, post, processing, errors, reset } = useForm<ResetPasswordForm>({

Check failure on line 24 in resources/js/pages/auth/reset-password.tsx

GitHub Actions / ci

Type 'ResetPasswordForm' does not satisfy the constraint 'FormDataType'.
token: token,
email: email,
password: '',
/>
</g>
<g
style={{ mixBlendMode: 'plus-darker' }}

Check failure on line 221 in resources/js/pages/welcome.tsx

GitHub Actions / ci

Type '"plus-darker"' is not assignable to type 'MixBlendMode | undefined'.
className="translate-y-0 opacity-100 transition-all delay-300 duration-750 starting:translate-y-4 starting:opacity-0"
>
<path