Skip to content

Commit

Permalink
chore/update-deps (#273)
Browse files Browse the repository at this point in the history
* feat: update deps on docs

* chore: update the root workspace deps

* chore: update deps for the react package

* chore: update missing react types in docs

* chore: remove prettier plugin astro from command and only add in plugins

* chore: remove formatting check to hooks for time being due to failing CI issues
  • Loading branch information
abhushanaj authored Jun 9, 2024
1 parent edb6030 commit ada4ce3
Show file tree
Hide file tree
Showing 11 changed files with 7,470 additions and 5,811 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pnpm lint:check && pnpm test:check
pnpm lint:check && pnpm run prettier:check && pnpm test:check
3 changes: 0 additions & 3 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/** @type {import("prettier").Config} */
const config = {
// we still need to add the `prettier-plugin-astro` in the script, due to upstream pnpm issue as mentioned on astro docs
// Reference: https://docs.astro.build/en/editor-setup/#prettier

plugins: ['@ianvs/prettier-plugin-sort-imports', 'prettier-plugin-astro', 'prettier-plugin-tailwindcss'],

// General
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "turbo build",
"dev": "turbo dev",
"lint": "pnpm run prettier:format && turbo lint",
"lint:check": "pnpm run prettier:check && turbo lint:check",
"lint:check": "turbo lint:check",
"test": "turbo test",
"test:check": "turbo test:check",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
Expand All @@ -15,21 +15,21 @@
"dev:hooks": "turbo dev --filter=@abhushanaj/react-hooks",
"build:hooks": "turbo build --filter=@abhushanaj/react-hooks",
"test:hooks": "turbo test --filter=@abhushanaj/react-hooks",
"prettier:format": "pnpm exec prettier . --write --plugin=prettier-plugin-astro",
"prettier:check": "pnpm exec prettier . --check --plugin=prettier-plugin-astro",
"prettier:format": "pnpm exec prettier . --write",
"prettier:check": "pnpm exec prettier . --check",
"prepare": "husky"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@changesets/cli": "^2.27.5",
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"prettier-plugin-astro": "^0.13.0",
"prettier-plugin-tailwindcss": "^0.5.14",
"prettier-plugin-astro": "^0.14.0",
"prettier-plugin-tailwindcss": "^0.6.2",
"rimraf": "^5.0.7",
"turbo": "^1.13.3"
},
"packageManager": "pnpm@8.9.0",
"packageManager": "pnpm@9.1.3",
"engines": {
"node": ">=18"
}
Expand Down
Loading

0 comments on commit ada4ce3

Please sign in to comment.