Skip to content

Commit

Permalink
initial: 🎉 first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dino3616 committed Oct 9, 2024
0 parents commit 02d4983
Show file tree
Hide file tree
Showing 77 changed files with 171,613 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "wanna-be-human",
"workspaceFolder": "/workspaces/wanna-be-human/",
"dockerComposeFile": ["../docker/docker-compose.development.yaml"],
"service": "app",
"customizations": {
"vscode": {
"extensions": [
"adam-bender.commit-message-editor",
"biomejs.biome",
"chakra-ui.panda-css-vscode",
"editorconfig.editorconfig",
"oven.bun-vscode"
]
}
}
}
32 changes: 32 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# debug
**/*.log

# deliverable
**/.next/
**/build/
**/dist/
**/out/

# dependency
**/node_modules/

# generated
**/style/css/
**/style/jsx/
**/style/patterns/
**/style/tokens/
**/style/types/
**/style/helpers.*

# env file
**/.env*
!**/.env.example

# storybook
**/.storybook/static/

# testing
**/coverage

# typescript
**/*.tsbuildinfo
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
COMPOSE_PROJECT_NAME="wanna-be-human"
OPENAI_API_KEY=""
35 changes: 35 additions & 0 deletions .github/workflows/app-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: app test

on: push

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.29

- name: get bun cache directory
id: get-bun-cache-directory
run: echo "STORE_PATH=$(bun pm cache)" >> $GITHUB_OUTPUT

- name: cache bun dependencies
uses: actions/cache@v4
with:
path: ${{ steps.get-bun-cache-directory.outputs.STORE_PATH }}
key: ${{ runner.os }}-bun-dependencies-${{ hashFiles('**/bun.lockb') }}
restore-keys: ${{ runner.os }}-bun-dependencies-

- name: install dependencies
run: bun install --frozen-lockfile

- name: check
run: bun run check

- name: test
run: bun run test
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# deliverable
.next/
build/
dist/
out/

# dependency
node_modules/

# env file
.env*
!.env.example

# generated
**/style/css/
**/style/jsx/
**/style/patterns/
**/style/tokens/
**/style/types/
**/style/helpers.*

# misc
.DS_Store
*.pem

# vercel
.turbo/
.vercel/
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
auto-install-peers = true
engine-strict = true
save-exact = true
1 change: 1 addition & 0 deletions .prototools
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bun = "1.1.29"
178 changes: 178 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
{
"commit-message-editor.tokens": [
{
"label": "Type",
"name": "type",
"type": "enum",
"description": "Type of changes.",
"combobox": true,
"options": [
{
"label": "feat: ✨",
"value": "feat: ✨",
"description": "Implementation of new features."
},
{
"label": "feat: 🎈",
"value": "feat: 🎈",
"description": "Repair of existing features."
},
{
"label": "feat: ⚰️",
"value": "feat: ⚰️",
"description": "Deletion of features."
},
{
"label": "fix: 🐛",
"value": "fix: 🐛",
"description": "Bug fixes."
},
{
"label": "fix: 🚑️",
"value": "fix: 🚑️",
"description": "Critical bug fixes or major changes."
},
{
"label": "doc: 📝",
"value": "doc: 📝",
"description": "Documentation changes."
},
{
"label": "typo: 🖋️",
"value": "typo: 🖋️",
"description": "Typography changes."
},
{
"label": "style: 💄",
"value": "style: 💄",
"description": "Style changes."
},
{
"label": "refactor: ♻️",
"value": "refactor: ♻️",
"description": "Code formatting or refactoring."
},
{
"label": "test: 🧪",
"value": "test: 🧪",
"description": "Test cases changes."
},
{
"label": "ci: 🦺",
"value": "ci: 🦺",
"description": "CI changes."
},
{
"label": "build: 📦️",
"value": "build: 📦️",
"description": "Build system or dependency changes."
},
{
"label": "container: 🐳",
"value": "container: 🐳",
"description": "The Dockerfile changes."
},
{
"label": "container: 🐙",
"value": "container: 🐙",
"description": "The docker-compose changes."
},
{
"label": "chore: 🔧",
"value": "chore: 🔧",
"description": "Configuration changes."
},
{
"label": "chore: 🔨",
"value": "chore: 🔨",
"description": "Development script changes."
},
{
"label": "chore: 🍱",
"value": "chore: 🍱",
"description": "Assets changes."
},
{
"label": "revert: ⏪️",
"value": "revert: ⏪️",
"description": "Reversion of changes."
},
{
"label": "wip: 🚧",
"value": "wip: 🚧",
"description": "Changes that will be squashed."
},
{
"label": "initial: 🎉",
"value": "initial: 🎉",
"description": "The first commit."
}
]
},
{
"label": "Scope",
"name": "scope",
"type": "text",
"description": "Scope of changes.",
"prefix": " (",
"suffix": ")"
},
{
"label": "Short Description",
"name": "description",
"type": "text",
"description": "Commit summary.",
"prefix": " "
},
{
"label": "Body",
"name": "body",
"type": "text",
"description": "Detailed description of commit.",
"maxLines": 10,
"multiline": true,
"lines": 5
},
{
"label": "Footer",
"name": "footer",
"description": "Description of disruptive changes or signature.",
"type": "text",
"multiline": true
}
],
"commit-message-editor.dynamicTemplate": ["{type}{scope}{description}", "", "{body}", "", "{footer}"],
"commit-message-editor.staticTemplate": ["label: emoji (scope) short-description", "", "body", "", "footer"],
"commit-message-editor.view.defaultView": "form",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.organizeImports": "explicit",
"source.organizeImports.biome": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"files.encoding": "utf8",
"files.eol": "\n",
"panda.completions.enabled": true,
"panda.diagnostics.enabled": true,
"panda.hovers.display.mode": "nested",
"panda.hovers.tokens.css-preview.enabled": true,
"panda.rem-to-px.enabled": true,
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
9 changes: 9 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# MIT License

Copyright © 2024 shio

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading

0 comments on commit 02d4983

Please sign in to comment.