Skip to content

Commit

Permalink
Rename app -> src
Browse files Browse the repository at this point in the history
  • Loading branch information
aldahick committed Oct 20, 2024
1 parent 85df90f commit 818e0d7
Show file tree
Hide file tree
Showing 51 changed files with 7 additions and 9 deletions.
2 changes: 0 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@
"vitest.config.mts",
"vite.config.ts",
"codegen*.ts",
"app/root.tsx",
"app/routes/*.tsx",
"*.config.js",
"*.config.ts"
],
Expand Down
2 changes: 1 addition & 1 deletion web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN pnpm build:ci
WORKDIR /rex/web
COPY web/postcss.config.js web/tailwind.config.ts web/tsconfig.json web/vite.config.ts ./
COPY web/public public
COPY web/app app
COPY web/src src
RUN pnpm build

FROM base AS server
Expand Down
6 changes: 3 additions & 3 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Rex | Alex Hicks</title>
<link href="/app/tailwind.css" rel="stylesheet" />
<link href="/src/tailwind.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/ReactToastify.min.css" rel="stylesheet" />
<link href="/app/styles/global.scss" rel="stylesheet" />
<link href="/src/styles/global.scss" rel="stylesheet" />
</head>
<body data-bs-theme="dark">
<div id="root"></div>
<script type="module" src="/app/main.tsx"></script>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "vite",
"build": "concurrently 'vite build' 'tsc --noEmit'",
"lint": "biome check app",
"lint": "biome check src",
"test": "echo 'No tests yet'"
},
"engines": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion web/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Config } from "tailwindcss";

export default {
content: ["./app/**/*.{ts,tsx}"],
content: ["./src/**/*.{ts,tsx}"],
theme: {
extend: {},
},
Expand Down
2 changes: 1 addition & 1 deletion web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
"esModuleInterop": false,
"types": ["vite/client"]
},
"include": ["app"]
"include": ["src"]
}

0 comments on commit 818e0d7

Please sign in to comment.