Skip to content

Commit

Permalink
chore(root): update dependencies (#7)
Browse files Browse the repository at this point in the history
* chore(root): update `dependencies`

- @changesets/cli
- @commitlint/cli
- @commitlint/config-conventional
- astro
- husky
- lint-staged
- prettier
- prettier-plugin-astro

* chore(root): fix `.prettierrc`

Fix `prettier-plugin-astro` plugin path

* chore(root): add dependencies

Astro v3 dependencies
- @astrojs/check
- typescript

* chore(root): update `.gitignore`

Add `env.d.ts`

* chore(root): update `engines`

- `node` to reflect Astro min version
- `pnpm` to latest
  • Loading branch information
theisel authored Oct 22, 2023
1 parent 612080e commit 8f3b1c2
Show file tree
Hide file tree
Showing 4 changed files with 3,222 additions and 2,664 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
dist
*.log
*.log
packages/**/env.d.ts
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"singleQuote": false,
"trailingComma": "es5",
"arrowParens": "always",
"plugins": ["./node_modules/prettier-plugin-astro"],
"plugins": ["./node_modules/prettier-plugin-astro/dist/index.js"],
"overrides": [
{
"files": "*.astro",
Expand Down
26 changes: 14 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,27 @@
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/theisel/astro-toc.git"
"url": "https://github.com/theisel/astro-toc.git"
},
"bugs": {
"url": "https://github.com/theisel/astro-toc/issues"
},
"homepage": "https://github.com/theisel/astro-toc#readme",
"devDependencies": {
"astro": "^1.5.2",
"@changesets/cli": "^2.25.0",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prettier-plugin-astro": "^0.6.0"
"@astrojs/check": "^0.2.1",
"@changesets/cli": "^2.26.2",
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"astro": "^3.3.2",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"prettier-plugin-astro": "^0.12.0",
"typescript": "^5.2.2"
},
"engines": {
"node": "^14.15.0 || >=16.0.0",
"pnpm": ">=7.14.0"
"node": ">=18.14.1",
"pnpm": ">=8.9.2"
},
"packageManager": "pnpm@7.14.0"
"packageManager": "pnpm@8.9.2"
}
Loading

0 comments on commit 8f3b1c2

Please sign in to comment.