Skip to content

Commit 5409e3e

Browse files
committed
Changed CRA to VITE πŸŽ‰βœ¨
1 parent 60a0796 commit 5409e3e

25 files changed

+708
-26272
lines changed

β€Ž.devcontainer/devcontainer.json

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,41 @@
66
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-18",
77
// Features to add to the dev container. More info: https://containers.dev/features.
88
"features": {
9-
"ghcr.io/devcontainers/features/aws-cli:1": {},
10-
"ghcr.io/devcontainers/features/azure-cli:1": {},
11-
"ghcr.io/devcontainers/features/common-utils:2": {},
12-
"ghcr.io/devcontainers/features/git:1": {},
13-
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {},
9+
"ghcr.io/devcontainers/features/aws-cli:1": {
10+
"version": "latest"
11+
},
12+
"ghcr.io/devcontainers/features/azure-cli:1": {
13+
"installBicep": true,
14+
"version": "latest"
15+
},
16+
"ghcr.io/devcontainers/features/common-utils:2": {
17+
"installZsh": true,
18+
"configureZshAsDefaultShell": true,
19+
"installOhMyZsh": true,
20+
"upgradePackages": true,
21+
"username": "automatic",
22+
"userUid": "automatic",
23+
"userGid": "automatic"
24+
},
25+
"ghcr.io/devcontainers/features/git:1": {
26+
"ppa": true,
27+
"version": "os-provided"
28+
},
29+
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
30+
"upgradePackages": true,
31+
"packages": ""
32+
},
1433
"ghcr.io/devcontainers-contrib/features/curl-apt-get:1": {},
15-
"ghcr.io/devcontainers-contrib/features/zsh-plugins:0": {},
16-
"ghcr.io/eitsupi/devcontainer-features/jq-likes:1": {}
34+
"ghcr.io/devcontainers-contrib/features/zsh-plugins:0": {
35+
"plugins": "ssh-agent npm",
36+
"omzPlugins": "https://github.com/zsh-users/zsh-autosuggestions",
37+
"username": "root"
38+
},
39+
"ghcr.io/eitsupi/devcontainer-features/jq-likes:1": {
40+
"jqVersion": "os-provided",
41+
"yqVersion": "latest",
42+
"gojqVersion": "latest"
43+
}
1744
},
1845
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1946
"forwardPorts": [
@@ -29,7 +56,7 @@
2956
"waitFor": "onCreateCommand",
3057
"updateContentCommand": "yarn install",
3158
"postAttachCommand": {
32-
"server": "yarn start"
59+
"server": "npm run dev"
3360
},
3461
// Configure tool-specific properties.
3562
"customizations": {

β€Ž.gitignore

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2-
3-
# dependencies
4-
/node_modules
5-
/.pnp
6-
.pnp.js
7-
8-
# testing
9-
/coverage
10-
11-
# production
12-
/build
13-
14-
# misc
15-
.DS_Store
16-
.env.local
17-
.env.development.local
18-
.env.test.local
19-
.env.production.local
20-
1+
# Logs
2+
logs
3+
*.log
214
npm-debug.log*
225
yarn-debug.log*
236
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

β€ŽREADME.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

β€Žindex.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Vite + React + TS</title>
8+
</head>
9+
<body>
10+
<div id="root"></div>
11+
<script type="module" src="/src/main.tsx"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
Β (0)