diff --git a/.npmrc b/.npmrc index 7dbd43e..3bbdc74 100644 --- a/.npmrc +++ b/.npmrc @@ -1,3 +1,3 @@ package-lock=false save-exact=true -@techniker-me:regi +@techniker-me:registry="https://npm.techniker.me" diff --git a/package.json b/package.json index c3d34ee..134a7aa 100644 --- a/package.json +++ b/package.json @@ -1,39 +1,42 @@ { "name": "painter-portfolio", "private": true, - "version": "0.0.0", + "version": "0.0.1", "type": "module", "scripts": { + "ci-build:dist": "npm run build", "dev": "vite", + "prebuild": "npm run lint", "build": "tsc -b && vite build", "lint": "eslint .", + "lint:fix": "eslint --fix .", "preview": "vite preview" }, "dependencies": { - "class-variance-authority": "^0.7.1", - "clsx": "^2.1.1", - "lucide-react": "^0.545.0", - "react": "^19.1.1", - "react-dom": "^19.1.1", - "tailwind-merge": "^3.3.1", - "tailwindcss-animate": "^1.0.7" + "class-variance-authority": "0.7.1", + "clsx": "2.1.1", + "lucide-react": "0.545.0", + "react": "19.1.1", + "react-dom": "19.1.1", + "tailwind-merge": "3.3.1", + "tailwindcss-animate": "1.0.7" }, "devDependencies": { - "@eslint/js": "^9.36.0", - "@types/node": "^24.7.2", - "@types/react": "^19.1.16", - "@types/react-dom": "^19.1.9", - "@vitejs/plugin-react": "^5.0.4", - "autoprefixer": "^10.4.21", - "eslint": "^9.36.0", - "eslint-plugin-react-hooks": "^5.2.0", - "eslint-plugin-react-refresh": "^0.4.22", - "globals": "^16.4.0", - "postcss": "^8.5.6", - "prettier": "^3.6.2", - "tailwindcss": "^3.4.18", + "@eslint/js": "9.36.0", + "@types/node": "24.7.2", + "@types/react": "19.1.16", + "@types/react-dom": "19.1.9", + "@vitejs/plugin-react": "5.0.4", + "autoprefixer": "10.4.21", + "eslint": "9.36.0", + "eslint-plugin-react-hooks": "5.2.0", + "eslint-plugin-react-refresh": "0.4.22", + "globals": "16.4.0", + "postcss": "8.5.6", + "prettier": "3.6.2", + "tailwindcss": "3.4.18", "typescript": "~5.9.3", - "typescript-eslint": "^8.45.0", - "vite": "^7.1.7" + "typescript-eslint": "8.45.0", + "vite": "7.1.7" } } diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx index 2111449..45eb523 100644 --- a/src/components/ui/button.tsx +++ b/src/components/ui/button.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import {cva, type VariantProps} from 'class-variance-authority'; import {cn} from '@/lib/utils'; - +/* eslint-disable */ const buttonVariants = cva( 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50', { diff --git a/src/components/ui/input.tsx b/src/components/ui/input.tsx index 0864e29..105d0d7 100644 --- a/src/components/ui/input.tsx +++ b/src/components/ui/input.tsx @@ -1,9 +1,7 @@ import * as React from 'react'; import {cn} from '@/lib/utils'; -export interface InputProps extends React.InputHTMLAttributes {} - -const Input = React.forwardRef(({className, type, ...props}, ref) => { +const Input = React.forwardRef>(({className, type, ...props}, ref) => { return ( (({className, type, }); Input.displayName = 'Input'; -export {Input}; +export {Input}; \ No newline at end of file