Skip to content

Commit

Permalink
feat: use sync version of the compiler (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh authored Jun 1, 2023
1 parent adc0dc1 commit af9324e
Show file tree
Hide file tree
Showing 13 changed files with 1,037 additions and 2,458 deletions.
5 changes: 5 additions & 0 deletions .changeset/dirty-ladybugs-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'prettier-plugin-astro': minor
---

Use the sync entrypoint of the Astro compiler instead of `synckit`, improving performance and reducing the dependency count of the plugin
35 changes: 17 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,26 @@
"release": "pnpm build && changeset publish"
},
"dependencies": {
"@astrojs/compiler": "^1.0.1",
"prettier": "^2.8.3",
"sass-formatter": "^0.7.5",
"synckit": "^0.8.4"
"@astrojs/compiler": "^1.5.0",
"prettier": "^2.8.8",
"sass-formatter": "^0.7.6"
},
"devDependencies": {
"@changesets/cli": "^2.26.0",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-typescript": "^11.0.0",
"@types/node": "^18.11.18",
"@types/prettier": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"@vitest/ui": "^0.28.1",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"@changesets/cli": "^2.26.1",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-typescript": "^11.1.1",
"@types/node": "^20.2.5",
"@types/prettier": "^2.7.3",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vitest/ui": "^0.31.3",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier-doc": "^1.1.0",
"rollup": "^3.10.1",
"tslib": "^2.4.1",
"typescript": "^4.9.4",
"vitest": "^0.28.1"
"rollup": "^3.23.0",
"tslib": "^2.5.2",
"typescript": "^5.0.4",
"vitest": "^0.31.3"
}
}
Loading

0 comments on commit af9324e

Please sign in to comment.