-
Notifications
You must be signed in to change notification settings - Fork 4
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
Gabriel Perales
committed
Jun 8, 2024
1 parent
d2aea91
commit f705cd4
Showing
10 changed files
with
12,306 additions
and
8,815 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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# build output | ||
dist/ | ||
|
||
Target/ | ||
|
||
# generated types | ||
.astro/ | ||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/common.sh" | ||
|
||
yarn commitlint --edit $1 | ||
npx commitlint --edit $1 |
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
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
const config = { | ||
'**/*.(ts|js|cjs|mjs)': (filenames) => [ | ||
'yarn tsc', | ||
`yarn lint --fix ${filenames.join(' ')}`, | ||
`yarn prettier --write ${filenames.join(' ')}`, | ||
'npm run tsc', | ||
`npm run lint --fix ${filenames.join(' ')}`, | ||
`npx prettier --write ${filenames.join(' ')}`, | ||
], | ||
|
||
'**/*.(md|json)': (filenames) => | ||
`yarn prettier --write ${filenames.join(' ')}`, | ||
`npx prettier --write ${filenames.join(' ')}`, | ||
}; | ||
|
||
module.exports = config; |
Oops, something went wrong.