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/frameworks/vite-monorepo-imports/apps/web/components.json
vendored
Normal file
18
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/apps/web/components.json
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"style": "new-york",
|
||||
"tailwind": {
|
||||
"config": "",
|
||||
"css": "../../packages/ui/src/styles/globals.css",
|
||||
"baseColor": "zinc",
|
||||
"cssVariables": true
|
||||
},
|
||||
"rsc": false,
|
||||
"tsx": true,
|
||||
"aliases": {
|
||||
"components": "#components",
|
||||
"ui": "@workspace/ui/components",
|
||||
"lib": "#lib",
|
||||
"hooks": "#hooks",
|
||||
"utils": "@workspace/ui/lib/utils"
|
||||
}
|
||||
}
|
||||
12
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/apps/web/package.json
vendored
Normal file
12
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/apps/web/package.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "web",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"imports": {
|
||||
"#*": "./src/*"
|
||||
},
|
||||
"dependencies": {
|
||||
"@workspace/ui": "workspace:*",
|
||||
"tailwindcss": "^4.2.1"
|
||||
}
|
||||
}
|
||||
8
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/apps/web/tsconfig.json
vendored
Normal file
8
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/apps/web/tsconfig.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "esnext",
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"resolvePackageJsonImports": true
|
||||
}
|
||||
}
|
||||
5
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/package.json
vendored
Normal file
5
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/package.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "vite-monorepo-imports",
|
||||
"private": true,
|
||||
"workspaces": ["apps/*", "packages/*"]
|
||||
}
|
||||
18
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/packages/ui/components.json
vendored
Normal file
18
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/packages/ui/components.json
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"style": "new-york",
|
||||
"tailwind": {
|
||||
"config": "",
|
||||
"css": "src/styles/globals.css",
|
||||
"baseColor": "zinc",
|
||||
"cssVariables": true
|
||||
},
|
||||
"rsc": false,
|
||||
"tsx": true,
|
||||
"aliases": {
|
||||
"components": "#components",
|
||||
"ui": "#components",
|
||||
"lib": "#lib",
|
||||
"hooks": "#hooks",
|
||||
"utils": "#lib/utils"
|
||||
}
|
||||
}
|
||||
14
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/packages/ui/package.json
vendored
Normal file
14
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/packages/ui/package.json
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "@workspace/ui",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"imports": {
|
||||
"#*": "./src/*"
|
||||
},
|
||||
"exports": {
|
||||
"./globals.css": "./src/styles/globals.css",
|
||||
"./components/*": "./src/components/*.tsx",
|
||||
"./lib/*": "./src/lib/*.ts",
|
||||
"./hooks/*": "./src/hooks/*.ts"
|
||||
}
|
||||
}
|
||||
3
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/packages/ui/src/lib/utils.ts
vendored
Normal file
3
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/packages/ui/src/lib/utils.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export function cn(...inputs: Array<string | undefined | false | null>) {
|
||||
return inputs.filter(Boolean).join(" ")
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@import "tailwindcss";
|
||||
8
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/packages/ui/tsconfig.json
vendored
Normal file
8
packages/shadcn/test/fixtures/frameworks/vite-monorepo-imports/packages/ui/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