forked from sadkodev/Bla-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Juan Camilo Carreno Beleno
authored and
Juan Camilo Carreno Beleno
committed
Apr 9, 2024
0 parents
commit 574710d
Showing
18 changed files
with
13,301 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
{ | ||
"check_status": true, | ||
"commit_type": { | ||
"enable": true, | ||
"initial_value": "feat", | ||
"infer_type_from_branch": true, | ||
"append_emoji_to_label": false, | ||
"append_emoji_to_commit": false, | ||
"options": [ | ||
{ | ||
"value": "feat", | ||
"label": "feat", | ||
"hint": "A new feature", | ||
"emoji": "β¨", | ||
"trailer": "Changelog: feature" | ||
}, | ||
{ | ||
"value": "fix", | ||
"label": "fix", | ||
"hint": "A bug fix", | ||
"emoji": "π", | ||
"trailer": "Changelog: fix" | ||
}, | ||
{ | ||
"value": "docs", | ||
"label": "docs", | ||
"hint": "Documentation only changes", | ||
"emoji": "π", | ||
"trailer": "Changelog: documentation" | ||
}, | ||
{ | ||
"value": "refactor", | ||
"label": "refactor", | ||
"hint": "A code change that neither fixes a bug nor adds a feature", | ||
"emoji": "π¨", | ||
"trailer": "Changelog: refactor" | ||
}, | ||
{ | ||
"value": "perf", | ||
"label": "perf", | ||
"hint": "A code change that improves performance", | ||
"emoji": "π", | ||
"trailer": "Changelog: performance" | ||
}, | ||
{ | ||
"value": "test", | ||
"label": "test", | ||
"hint": "Adding missing tests or correcting existing tests", | ||
"emoji": "π¨", | ||
"trailer": "Changelog: test" | ||
}, | ||
{ | ||
"value": "build", | ||
"label": "build", | ||
"hint": "Changes that affect the build system or external dependencies", | ||
"emoji": "π§", | ||
"trailer": "Changelog: build" | ||
}, | ||
{ | ||
"value": "ci", | ||
"label": "ci", | ||
"hint": "Changes to our CI configuration files and scripts", | ||
"emoji": "π€", | ||
"trailer": "Changelog: ci" | ||
}, | ||
{ | ||
"value": "chore", | ||
"label": "chore", | ||
"hint": "Other changes that do not modify src or test files", | ||
"emoji": "π§Ή", | ||
"trailer": "Changelog: chore" | ||
}, | ||
{ | ||
"value": "", | ||
"label": "none" | ||
} | ||
] | ||
}, | ||
"commit_scope": { | ||
"enable": true, | ||
"custom_scope": false, | ||
"initial_value": "app", | ||
"options": [ | ||
{ | ||
"value": "app", | ||
"label": "app" | ||
}, | ||
{ | ||
"value": "shared", | ||
"label": "shared" | ||
}, | ||
{ | ||
"value": "api", | ||
"label": "api" | ||
}, | ||
{ | ||
"value": "utils", | ||
"label": "utils" | ||
}, | ||
{ | ||
"value": "", | ||
"label": "none" | ||
} | ||
] | ||
}, | ||
"check_ticket": { | ||
"infer_ticket": true, | ||
"confirm_ticket": true, | ||
"add_to_title": true, | ||
"append_hashtag": false, | ||
"prepend_hashtag": "Never", | ||
"surround": "", | ||
"title_position": "start" | ||
}, | ||
"commit_title": { | ||
"max_size": 70 | ||
}, | ||
"commit_body": { | ||
"enable": true, | ||
"required": false | ||
}, | ||
"breaking_change": { | ||
"add_exclamation_to_title": true | ||
}, | ||
"confirm_commit": true, | ||
"confirm_with_editor": false, | ||
"print_commit_output": true, | ||
"branch_pre_commands": [], | ||
"branch_post_commands": [], | ||
"worktree_pre_commands": [], | ||
"worktree_post_commands": [], | ||
"branch_user": { | ||
"enable": true, | ||
"required": false, | ||
"separator": "/" | ||
}, | ||
"branch_type": { | ||
"enable": true, | ||
"separator": "/" | ||
}, | ||
"branch_version": { | ||
"enable": false, | ||
"required": false, | ||
"separator": "/" | ||
}, | ||
"branch_ticket": { | ||
"enable": true, | ||
"required": false, | ||
"separator": "-" | ||
}, | ||
"branch_description": { | ||
"max_length": 70, | ||
"separator": "" | ||
}, | ||
"branch_action_default": "branch", | ||
"branch_order": ["user", "version", "type", "ticket", "description"], | ||
"enable_worktrees": true, | ||
"overrides": { | ||
"shell": "/bin/sh" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# build output | ||
dist/ | ||
|
||
# generated types | ||
.astro/ | ||
|
||
# dependencies | ||
node_modules/ | ||
|
||
# logs | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# environment variables | ||
.env | ||
.env.production | ||
|
||
# macOS-specific files | ||
.DS_Store | ||
|
||
# jetbrains setting folder | ||
.idea/ | ||
|
||
# git packager maanager | ||
.package-lock.json | ||
.pnpm-lock.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"recommendations": ["astro-build.astro-vscode"], | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"command": "./node_modules/.bin/astro dev", | ||
"name": "Development server", | ||
"request": "launch", | ||
"type": "node-terminal" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Astro Starter Kit: Basics | ||
|
||
```sh | ||
npm create astro@latest -- --template basics | ||
``` | ||
|
||
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics) | ||
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics) | ||
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json) | ||
|
||
> π§βπ **Seasoned astronaut?** Delete this file. Have fun! | ||
![just-the-basics](https://github.com/withastro/astro/assets/2244813/a0a5533c-a856-4198-8470-2d67b1d7c554) | ||
|
||
## π Project Structure | ||
|
||
Inside of your Astro project, you'll see the following folders and files: | ||
|
||
```text | ||
/ | ||
βββ public/ | ||
β βββ favicon.svg | ||
βββ src/ | ||
β βββ components/ | ||
β β βββ Card.astro | ||
β βββ layouts/ | ||
β β βββ Layout.astro | ||
β βββ pages/ | ||
β βββ index.astro | ||
βββ package.json | ||
``` | ||
|
||
Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. | ||
|
||
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. | ||
|
||
Any static assets, like images, can be placed in the `public/` directory. | ||
|
||
## π§ Commands | ||
|
||
All commands are run from the root of the project, from a terminal: | ||
|
||
| Command | Action | | ||
| :------------------------ | :----------------------------------------------- | | ||
| `npm install` | Installs dependencies | | ||
| `npm run dev` | Starts local dev server at `localhost:4321` | | ||
| `npm run build` | Build your production site to `./dist/` | | ||
| `npm run preview` | Preview your build locally, before deploying | | ||
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | | ||
| `npm run astro -- --help` | Get help using the Astro CLI | | ||
|
||
## π Want to learn more? | ||
|
||
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import tailwind from "@astrojs/tailwind"; | ||
import { defineConfig } from "astro/config"; | ||
|
||
import react from "@astrojs/react"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
integrations: [tailwind(), react()], | ||
}); |
Oops, something went wrong.