feat: add shared/ui and shared barrel exports; add FSD path aliases to tsconfig
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
export * from './ui'
|
||||||
|
export * from './lib'
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
export { Badge } from './Badge'
|
||||||
|
export type { BadgeVariant } from './Badge'
|
||||||
|
|
||||||
|
export { Button } from './Button'
|
||||||
|
export type { ButtonVariant, ButtonSize } from './Button'
|
||||||
|
|
||||||
|
export { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter } from './Card'
|
||||||
|
export type { CardBackground } from './Card'
|
||||||
|
|
||||||
|
export { Input, Textarea } from './Input'
|
||||||
|
|
||||||
|
export { Section, Container } from './Section'
|
||||||
|
export type { SectionBackground, ContainerSize } from './Section'
|
||||||
|
|
||||||
|
export { SectionAccordion } from './SectionAccordion'
|
||||||
|
|
||||||
|
export { TechStackBrick, TechStackGrid } from './TechStack'
|
||||||
+13
-1
@@ -19,7 +19,19 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./*"]
|
"@/*": ["./*"],
|
||||||
|
"$shared/*": ["./src/shared/*"],
|
||||||
|
"$shared": ["./src/shared"],
|
||||||
|
"$entities/*": ["./src/entities/*"],
|
||||||
|
"$entities": ["./src/entities"],
|
||||||
|
"$features/*": ["./src/features/*"],
|
||||||
|
"$features": ["./src/features"],
|
||||||
|
"$widgets/*": ["./src/widgets/*"],
|
||||||
|
"$widgets": ["./src/widgets"],
|
||||||
|
"$app/*": ["./src/app/*"],
|
||||||
|
"$app": ["./src/app"],
|
||||||
|
"$routes/*": ["./src/routes/*"],
|
||||||
|
"$routes": ["./src/routes"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
|||||||
Reference in New Issue
Block a user