snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
4
packages/shadcn/test/fixtures/frameworks/next-app-imports/next.config.js
vendored
Normal file
4
packages/shadcn/test/fixtures/frameworks/next-app-imports/next.config.js
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {}
|
||||
|
||||
export default nextConfig
|
||||
21
packages/shadcn/test/fixtures/frameworks/next-app-imports/package.json
vendored
Normal file
21
packages/shadcn/test/fixtures/frameworks/next-app-imports/package.json
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "next-app-imports",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start"
|
||||
},
|
||||
"dependencies": {
|
||||
"tailwindcss": "^3.0.0"
|
||||
},
|
||||
"imports": {
|
||||
"#components/*": "./src/components/*",
|
||||
"#components/ui/*": "./src/components/ui/*",
|
||||
"#lib/*": "./src/lib/*",
|
||||
"#hooks": "./src/hooks/index.ts",
|
||||
"#utils": "./src/lib/utils.ts"
|
||||
}
|
||||
}
|
||||
11
packages/shadcn/test/fixtures/frameworks/next-app-imports/src/app/layout.tsx
vendored
Normal file
11
packages/shadcn/test/fixtures/frameworks/next-app-imports/src/app/layout.tsx
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
)
|
||||
}
|
||||
3
packages/shadcn/test/fixtures/frameworks/next-app-imports/src/app/page.tsx
vendored
Normal file
3
packages/shadcn/test/fixtures/frameworks/next-app-imports/src/app/page.tsx
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function Page() {
|
||||
return <div>Hello</div>
|
||||
}
|
||||
3
packages/shadcn/test/fixtures/frameworks/next-app-imports/src/app/styles.css
vendored
Normal file
3
packages/shadcn/test/fixtures/frameworks/next-app-imports/src/app/styles.css
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
1
packages/shadcn/test/fixtures/frameworks/next-app-imports/tailwind.config.ts
vendored
Normal file
1
packages/shadcn/test/fixtures/frameworks/next-app-imports/tailwind.config.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export default {}
|
||||
25
packages/shadcn/test/fixtures/frameworks/next-app-imports/tsconfig.json
vendored
Normal file
25
packages/shadcn/test/fixtures/frameworks/next-app-imports/tsconfig.json
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"noEmit": true,
|
||||
"esModuleInterop": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "bundler",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "preserve",
|
||||
"incremental": true,
|
||||
"plugins": [
|
||||
{
|
||||
"name": "next"
|
||||
}
|
||||
],
|
||||
"resolvePackageJsonImports": true
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
Reference in New Issue
Block a user