Skip to content

Commit

Permalink
feat: use external @astrojs/check (#7892)
Browse files Browse the repository at this point in the history
* feat: use @astrojs/check

* fix: what happened in my rebase??

* nit: adjust with feedback
  • Loading branch information
Princesseuh authored and ematipico committed Aug 8, 2023
1 parent 32669cd commit 997a0db
Show file tree
Hide file tree
Showing 6 changed files with 160 additions and 520 deletions.
5 changes: 5 additions & 0 deletions .changeset/three-onions-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': major
---

The `astro check` command now requires an external package `@astrojs/check` and an install of `typescript` in your project. This was done in order to make the main `astro` package smaller and give more flexibility to users in regard to the version of TypeScript they use.
3 changes: 1 addition & 2 deletions packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
"dependencies": {
"@astrojs/compiler": "^1.8.0",
"@astrojs/internal-helpers": "workspace:*",
"@astrojs/language-server": "^1.0.0",
"@astrojs/markdown-remark": "workspace:*",
"@astrojs/telemetry": "workspace:*",
"@babel/core": "^7.22.5",
Expand Down Expand Up @@ -165,7 +164,6 @@
"string-width": "^5.1.2",
"strip-ansi": "^7.1.0",
"tsconfig-resolver": "^3.0.1",
"typescript": "*",
"unist-util-visit": "^4.1.2",
"vfile": "^5.3.7",
"vite": "^4.4.6",
Expand Down Expand Up @@ -197,6 +195,7 @@
"@types/send": "^0.17.1",
"@types/server-destroy": "^1.0.1",
"@types/unist": "^2.0.6",
"@astrojs/check": "^0.1.0",
"astro-scripts": "workspace:*",
"chai": "^4.3.7",
"cheerio": "1.0.0-rc.12",
Expand Down
Loading

0 comments on commit 997a0db

Please sign in to comment.