Skip to content

Commit

Permalink
Merge pull request #131 from qwikerx/feat/husky
Browse files Browse the repository at this point in the history
Feat/husky
  • Loading branch information
jcfauchet authored Jun 20, 2024
2 parents 225c0e5 + 87885f2 commit 67f6746
Show file tree
Hide file tree
Showing 10 changed files with 202 additions and 292 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ lerna-debug.log*
# Yarn
.yarn/*
!.yarn/releases
/coverage/
/server/
coverage/
/server/
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pnpm --filter flowbite-qwik lint-staged

pnpm --filter flowbite-qwik readme.components
git add .
1 change: 1 addition & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm test
2 changes: 1 addition & 1 deletion apps/web/src/routes/docs/components/badge/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const head = () => ({
{
name: 'description',
content:
'The badge component can be used to complement other elements such as buttons or text elements as a label or to show the count of a given data, such as the number of comments for an article or how much time has passed by since a comment has been made.',
'The badge component can be used to complement other elements such as buttons or text elements as a label or to show the count of a given data.',
},
],
})
3 changes: 1 addition & 2 deletions apps/web/src/routes/docs/components/card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ export const head = () => ({
meta: [
{
name: 'description',
content:
'Use these responsive card components to show data entries and information to your users in multiple forms and contexts such as for your blog, application, user profiles, and more.',
content: 'Use these responsive card components to show data entries and information to your users in multiple forms and contexts.',
},
],
})
2 changes: 1 addition & 1 deletion apps/web/src/routes/docs/components/footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default component$(() => {

export const head = () => ({
title: 'Qwik Footer - Flowbite',
name: [
meta: [
{
name: 'description',
content:
Expand Down
284 changes: 0 additions & 284 deletions apps/web/vite.config.ts.timestamp-1718715415063-b7b45ec604d07.mjs

This file was deleted.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@
"clean": "rm -rf node_modules && pnpm -r exec rm -rf node_modules && pnpm -r exec rm -rf dist",
"prebuild": "tsc --build --clean",
"test": "pnpm -r test",
"test:coverage": "pnpm -r test:coverage"
"test:coverage": "pnpm -r test:coverage",
"prepare": "husky"
},
"keywords": [],
"author": "",
"license": "",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.0.0-alpha.30",
"@typescript-eslint/parser": "^7.13.0",
"husky": "^9.0.11",
"typescript": "^5.4.5"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"release": "np",
"start": "vite --open --mode ssr",
"qwik": "qwik",
"test": "vitest run --coverage"
"test": "vitest run --coverage --passWithNoTests"
},
"dependencies": {
"@floating-ui/dom": "^1.6.5",
Expand All @@ -75,6 +75,7 @@
"clsx": "^2.1.1",
"eslint": "^9.5.0",
"eslint-config-prettier": "^9.1.0",
"lint-staged": "^15.2.7",
"np": "^10.0.5",
"postcss": "^8.4.38",
"prettier": "^3.3.2",
Expand Down
Loading

0 comments on commit 67f6746

Please sign in to comment.