Skip to content

Commit

Permalink
build:データベースセットアップ
Browse files Browse the repository at this point in the history
Initialize new Vite + TypeScript project

Added a new Vite + TypeScript setup including essential configuration files, source code, and dependencies. This setup includes a starter HTML file, TypeScript files for main functionality, and a package.json with scripts for development, build, and testing.
  • Loading branch information
k2works committed Oct 3, 2024
1 parent c4d6463 commit 77b9759
Show file tree
Hide file tree
Showing 74 changed files with 11,842 additions and 18 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,5 @@ public
docker/schemaspy/output
docker/mssql/data
docker/mssql/log

tmp
24 changes: 24 additions & 0 deletions db/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
13 changes: 13 additions & 0 deletions db/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + TS</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
12 changes: 12 additions & 0 deletions db/jest.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
moduleFileExtensions: [
"ts",
"js"
],
transform: {
"^.+\\.ts$": ["ts-jest", { tsconfig: "tsconfig.json" }]
},
testMatch: [
"**/**/*.test.ts"
]
};
Loading

0 comments on commit 77b9759

Please sign in to comment.