mirror of
https://github.com/penpot/penpot.git
synced 2026-05-25 18:03:43 +00:00
- Configure @penpot/ui package with full tooling: ESLint 9, Stylelint, Prettier, Vitest, Storybook (react-vite), vite-plugin-dts, React Compiler - Add AGENTS.md with architecture overview, conventions, and migration table - Fix Storybook react-docgen TypeScript parse error by removing empty .babelrc that disabled Babel's built-in typescript plugin - Fix vite.config.mts for @vitejs/plugin-react v6 (reactCompilerPreset()) - Fix tsconfig.storybook.json (remove emitDecoratorMetadata without decorator) - Add shared SCSS foundations: _borders, _sizes, _utils, typography - Migrate Text, Heading (foundations/typography) with stories and tests - Migrate Icon (foundations/assets) with full iconIds catalogue and stories - Migrate Cta (product) with stories and tests - Migrate Button (buttons) with polymorphic anchor/button rendering, 4 variants, optional icon, and onRef callback; add _buttons.scss partial - All checks passing: lint, check-fmt, typecheck, test (41 tests)
28 lines
556 B
JSON
28 lines
556 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"outDir": "",
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler"
|
|
},
|
|
"exclude": [
|
|
"src/**/*.spec.ts",
|
|
"src/**/*.test.ts",
|
|
"src/**/*.spec.js",
|
|
"src/**/*.test.js",
|
|
"src/**/*.spec.tsx",
|
|
"src/**/*.test.tsx",
|
|
"src/**/*.spec.jsx",
|
|
"src/**/*.test.js"
|
|
],
|
|
"include": [
|
|
"src/**/*.stories.ts",
|
|
"src/**/*.stories.js",
|
|
"src/**/*.stories.jsx",
|
|
"src/**/*.stories.tsx",
|
|
"src/**/*.stories.mdx",
|
|
".storybook/*.js",
|
|
".storybook/*.ts"
|
|
]
|
|
}
|