Skip to content

Commit da04237

Browse files
committed
copy files
1 parent 669b6b3 commit da04237

File tree

10 files changed

+120
-0
lines changed

10 files changed

+120
-0
lines changed

drizzle-orm/.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/** @type {import('eslint').Linter.Config} */
2+
module.exports = {
3+
extends: ["@remix-run/eslint-config", "@remix-run/eslint-config/node"],
4+
};

drizzle-orm/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
3+
/.cache
4+
/build
5+
/public/build
6+
.env

drizzle-orm/app/root.tsx

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import type { MetaFunction } from "@remix-run/node";
2+
import {
3+
Links,
4+
LiveReload,
5+
Meta,
6+
Outlet,
7+
Scripts,
8+
ScrollRestoration,
9+
} from "@remix-run/react";
10+
11+
export const meta: MetaFunction = () => ({
12+
charset: "utf-8",
13+
title: "New Remix App",
14+
viewport: "width=device-width,initial-scale=1",
15+
});
16+
17+
export default function App() {
18+
return (
19+
<html lang="en">
20+
<head>
21+
<Meta />
22+
<Links />
23+
</head>
24+
<body>
25+
<Outlet />
26+
<ScrollRestoration />
27+
<Scripts />
28+
<LiveReload />
29+
</body>
30+
</html>
31+
);
32+
}

drizzle-orm/app/routes/_index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export default function Index() {
2+
return (
3+
<div style={{ fontFamily: "system-ui, sans-serif", lineHeight: "1.8" }}>
4+
<h1>Welcome to Remix</h1>
5+
</div>
6+
);
7+
}

drizzle-orm/package.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"private": true,
3+
"sideEffects": false,
4+
"scripts": {
5+
"build": "remix build",
6+
"dev": "remix dev",
7+
"start": "remix-serve build",
8+
"typecheck": "tsc"
9+
},
10+
"dependencies": {
11+
"@remix-run/node": "^1.19.3",
12+
"@remix-run/react": "^1.19.3",
13+
"@remix-run/serve": "^1.19.3",
14+
"isbot": "^3.6.5",
15+
"react": "^18.2.0",
16+
"react-dom": "^18.2.0"
17+
},
18+
"devDependencies": {
19+
"@remix-run/dev": "^1.19.3",
20+
"@remix-run/eslint-config": "^1.19.3",
21+
"@types/react": "^18.0.25",
22+
"@types/react-dom": "^18.0.8",
23+
"eslint": "^8.27.0",
24+
"typescript": "^4.8.4"
25+
},
26+
"engines": {
27+
"node": ">=14.0.0"
28+
}
29+
}

drizzle-orm/public/favicon.ico

16.6 KB
Binary file not shown.

drizzle-orm/remix.config.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/** @type {import('@remix-run/dev').AppConfig} */
2+
module.exports = {
3+
future: {
4+
v2_routeConvention: true,
5+
},
6+
ignoredRouteFiles: ["**/.*"],
7+
// appDirectory: "app",
8+
// assetsBuildDirectory: "public/build",
9+
// publicPath: "/build/",
10+
// serverBuildPath: "build/index.js",
11+
};

drizzle-orm/remix.env.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/// <reference types="@remix-run/dev" />
2+
/// <reference types="@remix-run/node" />

drizzle-orm/sandbox.config.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hardReloadOnChange": true,
3+
"template": "remix",
4+
"container": {
5+
"port": 3000
6+
}
7+
}

drizzle-orm/tsconfig.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"include": ["remix.env.d.ts", "**/*.ts", "**/*.tsx"],
3+
"compilerOptions": {
4+
"lib": ["DOM", "DOM.Iterable", "ES2019"],
5+
"isolatedModules": true,
6+
"esModuleInterop": true,
7+
"jsx": "react-jsx",
8+
"moduleResolution": "node",
9+
"resolveJsonModule": true,
10+
"target": "ES2019",
11+
"strict": true,
12+
"allowJs": true,
13+
"forceConsistentCasingInFileNames": true,
14+
"baseUrl": ".",
15+
"paths": {
16+
"~/*": ["./app/*"]
17+
},
18+
19+
// Remix takes care of building everything in `remix build`.
20+
"noEmit": true
21+
}
22+
}

0 commit comments

Comments
 (0)