snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
18
packages/shadcn/test/fixtures/config-imports/components.json
vendored
Normal file
18
packages/shadcn/test/fixtures/config-imports/components.json
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"style": "new-york",
|
||||
"tailwind": {
|
||||
"config": "tailwind.config.ts",
|
||||
"css": "src/app/globals.css",
|
||||
"baseColor": "zinc",
|
||||
"cssVariables": true
|
||||
},
|
||||
"rsc": true,
|
||||
"tsx": true,
|
||||
"aliases": {
|
||||
"components": "#components",
|
||||
"ui": "#components/ui",
|
||||
"lib": "#lib",
|
||||
"hooks": "#hooks",
|
||||
"utils": "#utils"
|
||||
}
|
||||
}
|
||||
11
packages/shadcn/test/fixtures/config-imports/package.json
vendored
Normal file
11
packages/shadcn/test/fixtures/config-imports/package.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "config-imports",
|
||||
"type": "module",
|
||||
"imports": {
|
||||
"#components/*": "./src/components/*",
|
||||
"#components/ui/*": "./src/components/ui/*",
|
||||
"#lib/*": "./src/lib/*",
|
||||
"#hooks": "./src/hooks/index.ts",
|
||||
"#utils": "./src/lib/utils.ts"
|
||||
}
|
||||
}
|
||||
8
packages/shadcn/test/fixtures/config-imports/tsconfig.json
vendored
Normal file
8
packages/shadcn/test/fixtures/config-imports/tsconfig.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "esnext",
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"resolvePackageJsonImports": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user