Skip to content

Commit

Permalink
feat(ssr): poc
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Perales committed Jun 8, 2024
1 parent d2aea91 commit f705cd4
Show file tree
Hide file tree
Showing 10 changed files with 12,306 additions and 8,815 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# build output
dist/

Target/

# generated types
.astro/

Expand Down
2 changes: 1 addition & 1 deletion .husky/commit-msg
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
4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"

yarn lint-staged
yarn test:ci
npx lint-staged
npm run test:ci
8 changes: 4 additions & 4 deletions lint-staged.config.cjs
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;
Loading

0 comments on commit f705cd4

Please sign in to comment.