diff --git a/README.md b/README.md index 5ef6c31e..eebb475e 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ This is the official repository for the Dokploy Open Source Templates. If you want to run the project locally, you can run the project with the following command: ```bash +cd app pnpm install pnpm run dev go to http://localhost:5173/ diff --git a/.gitignore b/app/.gitignore similarity index 100% rename from .gitignore rename to app/.gitignore diff --git a/components.json b/app/components.json similarity index 100% rename from components.json rename to app/components.json diff --git a/index.html b/app/index.html similarity index 100% rename from index.html rename to app/index.html diff --git a/package.json b/app/package.json similarity index 100% rename from package.json rename to app/package.json diff --git a/pnpm-lock.yaml b/app/pnpm-lock.yaml similarity index 100% rename from pnpm-lock.yaml rename to app/pnpm-lock.yaml diff --git a/public/vite.svg b/app/public/vite.svg similarity index 100% rename from public/vite.svg rename to app/public/vite.svg diff --git a/src/App.css b/app/src/App.css similarity index 100% rename from src/App.css rename to app/src/App.css diff --git a/src/App.tsx b/app/src/App.tsx similarity index 100% rename from src/App.tsx rename to app/src/App.tsx diff --git a/src/assets/react.svg b/app/src/assets/react.svg similarity index 100% rename from src/assets/react.svg rename to app/src/assets/react.svg diff --git a/src/components/TemplateGrid.tsx b/app/src/components/TemplateGrid.tsx similarity index 100% rename from src/components/TemplateGrid.tsx rename to app/src/components/TemplateGrid.tsx diff --git a/src/components/ui/button.tsx b/app/src/components/ui/button.tsx similarity index 100% rename from src/components/ui/button.tsx rename to app/src/components/ui/button.tsx diff --git a/src/components/ui/card.tsx b/app/src/components/ui/card.tsx similarity index 100% rename from src/components/ui/card.tsx rename to app/src/components/ui/card.tsx diff --git a/src/components/ui/dialog.tsx b/app/src/components/ui/dialog.tsx similarity index 100% rename from src/components/ui/dialog.tsx rename to app/src/components/ui/dialog.tsx diff --git a/src/components/ui/input.tsx b/app/src/components/ui/input.tsx similarity index 100% rename from src/components/ui/input.tsx rename to app/src/components/ui/input.tsx diff --git a/src/components/ui/sonner.tsx b/app/src/components/ui/sonner.tsx similarity index 100% rename from src/components/ui/sonner.tsx rename to app/src/components/ui/sonner.tsx diff --git a/src/index.css b/app/src/index.css similarity index 100% rename from src/index.css rename to app/src/index.css diff --git a/src/lib/utils.ts b/app/src/lib/utils.ts similarity index 100% rename from src/lib/utils.ts rename to app/src/lib/utils.ts diff --git a/src/main.tsx b/app/src/main.tsx similarity index 100% rename from src/main.tsx rename to app/src/main.tsx diff --git a/src/vite-env.d.ts b/app/src/vite-env.d.ts similarity index 100% rename from src/vite-env.d.ts rename to app/src/vite-env.d.ts diff --git a/tsconfig.app.json b/app/tsconfig.app.json similarity index 83% rename from tsconfig.app.json rename to app/tsconfig.app.json index 9f0a5124..177ca690 100644 --- a/tsconfig.app.json +++ b/app/tsconfig.app.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", + "tsBuildInfoFile": "app/node_modules/.tmp/tsconfig.app.tsbuildinfo", "target": "ES2020", "useDefineForClassFields": true, "lib": ["ES2020", "DOM", "DOM.Iterable"], @@ -23,8 +23,8 @@ "noUncheckedSideEffectImports": true, "baseUrl": ".", "paths": { - "@/*": ["./src/*"] + "@/*": app/src/*/*"] } }, - "include": ["src"] + "include": app/srcrc"] } diff --git a/tsconfig.json b/app/tsconfig.json similarity index 87% rename from tsconfig.json rename to app/tsconfig.json index fec8c8e5..d320f313 100644 --- a/tsconfig.json +++ b/app/tsconfig.json @@ -7,7 +7,7 @@ "compilerOptions": { "baseUrl": ".", "paths": { - "@/*": ["./src/*"] + "@/*": ["app/src/*"] } } } diff --git a/tsconfig.node.json b/app/tsconfig.node.json similarity index 87% rename from tsconfig.node.json rename to app/tsconfig.node.json index db0becc8..584284d2 100644 --- a/tsconfig.node.json +++ b/app/tsconfig.node.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", + "tsBuildInfoFile": "app/node_modules/.tmp/tsconfig.node.tsbuildinfo", "target": "ES2022", "lib": ["ES2023"], "module": "ESNext", diff --git a/vite.config.ts b/app/vite.config.ts similarity index 90% rename from vite.config.ts rename to app/vite.config.ts index 91fbb576..482c1773 100644 --- a/vite.config.ts +++ b/app/vite.config.ts @@ -9,11 +9,11 @@ export default defineConfig({ viteStaticCopy({ targets: [ { - src: 'blueprints/*', + src: '../blueprints/*', dest: 'blueprints' // raíz de dist (public root) }, { - src: 'meta.json', + src: '../meta.json', dest: '' // raíz de dist } ]