Skip to content

Commit bfdfdeb

Browse files
authored
Merge pull request #1 from factman/genesis
## Key Changes: **New Feature:** * Added .devcontainer setup for a consistent development environment. * Introduced .editorconfig for consistent coding styles. * Created package.json with scripts and dev dependencies. * Added pnpm-workspace.yaml to define workspace structure. **Chore:** * Expanded .gitignore and added .eslintignore .prettierignore files. * Added VS Code settings and extensions recommendations. * Configured Nx workspace settings in nx.json. **Documentation:** * Updated CODE_OF_CONDUCT.md and README.md for better readability. ## WalkThrough: The recent update introduces a standardized development environment, coding style rules, and project metadata to enhance productivity and maintainability.
2 parents ca7c5b0 + f46cb78 commit bfdfdeb

18 files changed

Lines changed: 4584 additions & 31 deletions

.devcontainer/devcontainer.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"name": "WebApis",
3+
"image": "mcr.microsoft.com/devcontainers/base:jammy",
4+
"features": {
5+
"ghcr.io/devcontainers/features/node:1": {
6+
"nodeGypDependencies": true,
7+
"version": "18",
8+
"nvmVersion": "latest"
9+
}
10+
},
11+
"customizations": {
12+
"vscode": {
13+
"extensions": [
14+
"dbaeumer.vscode-eslint",
15+
"christian-kohler.path-intellisense",
16+
"christian-kohler.npm-intellisense",
17+
"redhat.vscode-yaml",
18+
"aaron-bond.better-comments",
19+
"eamodio.gitlens",
20+
"editorconfig.editorconfig",
21+
"esbenp.prettier-vscode",
22+
"mikestead.dotenv",
23+
"wix.vscode-import-cost",
24+
"streetsidesoftware.code-spell-checker",
25+
"davidanson.vscode-markdownlint",
26+
"nrwl.angular-console",
27+
"stringham.move-ts",
28+
"pmneo.tsimporter",
29+
"wallabyjs.quokka-vscode",
30+
"wallabyjs.console-ninja",
31+
"antfu.vite",
32+
"mhutchie.git-graph",
33+
"shardulm94.trailing-spaces",
34+
"usernamehw.errorlens",
35+
"yzhang.markdown-all-in-one",
36+
"vivaxy.vscode-conventional-commits",
37+
"wayou.vscode-todo-highlight",
38+
"gruntfuggly.todo-tree",
39+
"folke.vscode-monorepo-workspace",
40+
"formulahendry.auto-close-tag",
41+
"formulahendry.auto-rename-tag",
42+
"haydenbleasel.vercel-vscode",
43+
"steoates.autoimport",
44+
"yoavbls.pretty-ts-errors",
45+
"bradlc.vscode-tailwindcss",
46+
"pranaygp.vscode-css-peek",
47+
"codezombiech.gitignore",
48+
"github.vscode-github-actions"
49+
]
50+
}
51+
},
52+
"portsAttributes": {
53+
"5173": {
54+
"label": "app",
55+
"onAutoForward": "notify"
56+
}
57+
}
58+
}

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
indent_style = space
8+
indent_size = 2
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true

.eslintignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.vscode
2+
.pnpm-store
3+
.nx
4+
pnpm-*.yaml
5+
6+
node_modules

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto eol=lf
Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
4+
title: ""
5+
labels: ""
6+
assignees: ""
87
---
98

109
**Describe the bug**
1110
A clear and concise description of what the bug is.
1211

1312
**To Reproduce**
1413
Steps to reproduce the behavior:
14+
1515
1. Go to '...'
1616
2. Click on '....'
1717
3. Scroll down to '....'
@@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
2424
If applicable, add screenshots to help explain your problem.
2525

2626
**Desktop (please complete the following information):**
27-
- OS: [e.g. iOS]
28-
- Browser [e.g. chrome, safari]
29-
- Version [e.g. 22]
27+
28+
- OS: [e.g. iOS]
29+
- Browser [e.g. chrome, safari]
30+
- Version [e.g. 22]
3031

3132
**Smartphone (please complete the following information):**
32-
- Device: [e.g. iPhone6]
33-
- OS: [e.g. iOS8.1]
34-
- Browser [e.g. stock browser, safari]
35-
- Version [e.g. 22]
33+
34+
- Device: [e.g. iPhone6]
35+
- OS: [e.g. iOS8.1]
36+
- Browser [e.g. stock browser, safari]
37+
- Version [e.g. 22]
3638

3739
**Additional context**
3840
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
4+
title: ""
5+
labels: ""
6+
assignees: ""
87
---
98

109
**Is your feature request related to a problem? Please describe.**

.gitignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,40 @@ dist
128128
.yarn/build-state.yml
129129
.yarn/install-state.gz
130130
.pnp.*
131+
132+
# Editor directories and files
133+
.husky/_
134+
.vscode/*
135+
!.vscode/settings.json
136+
!.vscode/tasks.json
137+
!.vscode/launch.json
138+
!.vscode/extensions.json
139+
.history/*
140+
.idea
141+
.DS_Store
142+
Thumbs.db
143+
*.suo
144+
*.ntvs*
145+
*.njsproj
146+
*.sln
147+
*.sw?
148+
.pnpm-store/
149+
/.sass-cache
150+
/connect.lock
151+
/coverage
152+
/libpeerconnection.log
153+
npm-debug.log
154+
yarn-error.log
155+
testem.log
156+
/typings
157+
.project
158+
.classpath
159+
.c9/
160+
*.launch
161+
.settings/
162+
*.sublime-workspace
163+
tmp
164+
/out-tsc
165+
166+
.nx/cache
167+
.nx/workspace-data

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
link-workspace-packages=true
2+
prefer-workspace-packages=true

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.vscode
2+
.pnpm-store
3+
.nx
4+
pnpm-*.yaml

.vscode/extensions.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"recommendations": [
3+
"dbaeumer.vscode-eslint",
4+
"christian-kohler.path-intellisense",
5+
"christian-kohler.npm-intellisense",
6+
"redhat.vscode-yaml",
7+
"aaron-bond.better-comments",
8+
"eamodio.gitlens",
9+
"editorconfig.editorconfig",
10+
"esbenp.prettier-vscode",
11+
"mikestead.dotenv",
12+
"wix.vscode-import-cost",
13+
"streetsidesoftware.code-spell-checker",
14+
"davidanson.vscode-markdownlint",
15+
"nrwl.angular-console",
16+
"stringham.move-ts",
17+
"pmneo.tsimporter",
18+
"wallabyjs.quokka-vscode",
19+
"wallabyjs.console-ninja",
20+
"antfu.vite",
21+
"mhutchie.git-graph",
22+
"shardulm94.trailing-spaces",
23+
"usernamehw.errorlens",
24+
"yzhang.markdown-all-in-one",
25+
"vivaxy.vscode-conventional-commits",
26+
"wayou.vscode-todo-highlight",
27+
"gruntfuggly.todo-tree",
28+
"folke.vscode-monorepo-workspace",
29+
"formulahendry.auto-close-tag",
30+
"formulahendry.auto-rename-tag",
31+
"haydenbleasel.vercel-vscode",
32+
"steoates.autoimport",
33+
"yoavbls.pretty-ts-errors",
34+
"bradlc.vscode-tailwindcss",
35+
"pranaygp.vscode-css-peek",
36+
"codezombiech.gitignore",
37+
"github.vscode-github-actions"
38+
]
39+
}

0 commit comments

Comments
 (0)