<type>(<optional scope>): <emoji> <description>
<optional body>
<optional footer>
This file contains hidden or 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
| import { resolve } from 'node:path' | |
| import { getDirname } from '@adonisjs/core/helpers' | |
| import inertia from '@adonisjs/inertia/client' | |
| import adonisjs from '@adonisjs/vite/client' | |
| import react from '@vitejs/plugin-react' | |
| import { build } from 'esbuild' | |
| import { defineConfig, loadEnv } from 'vite' | |
| export default defineConfig((config) => ({ |
This file contains hidden or 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
| version: '3.3' | |
| services: | |
| mysql: | |
| image: mysql | |
| restart: always | |
| environment: | |
| # So you don't have to use root, but you can if you like | |
| MYSQL_USER: 'root' | |
| # You can use whatever password you like | |
| MYSQL_PASSWORD: 'password' |
This file contains hidden or 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
Show hidden characters
| { | |
| "env": { | |
| "browser": true, | |
| "es2021": true | |
| }, | |
| "extends": [ | |
| "plugin:react/recommended", | |
| "plugin:react/jsx-runtime", | |
| "standard", | |
| "plugin:import/recommended", |
This file contains hidden or 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
| import { message, warn, fail, markdown, danger } from "danger"; | |
| const newFiles = danger.git.created_files.length; | |
| const deletedFiles = danger.git.deleted_files.length; | |
| const modifiedFiles = danger.git.modified_files.length; | |
| const { additions = 0, deletions = 0 } = danger.github.pr; | |
| const hasRequestedForReview = !!danger.github.reviews.map(review => review.state).length | |
| const { teams: teammates, users: reviewers } = danger.github.requested_reviewers | |
| const changes = additions + deletions; | |
| const maximumChanges = 640; |