Skip to content

Commit 997a0db

Browse files
Princesseuhematipico
authored andcommitted
feat: use external @astrojs/check (#7892)
* feat: use @astrojs/check * fix: what happened in my rebase?? * nit: adjust with feedback
1 parent 32669cd commit 997a0db

File tree

6 files changed

+160
-520
lines changed

6 files changed

+160
-520
lines changed

.changeset/three-onions-repeat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': major
3+
---
4+
5+
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.

packages/astro/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@
117117
"dependencies": {
118118
"@astrojs/compiler": "^1.8.0",
119119
"@astrojs/internal-helpers": "workspace:*",
120-
"@astrojs/language-server": "^1.0.0",
121120
"@astrojs/markdown-remark": "workspace:*",
122121
"@astrojs/telemetry": "workspace:*",
123122
"@babel/core": "^7.22.5",
@@ -165,7 +164,6 @@
165164
"string-width": "^5.1.2",
166165
"strip-ansi": "^7.1.0",
167166
"tsconfig-resolver": "^3.0.1",
168-
"typescript": "*",
169167
"unist-util-visit": "^4.1.2",
170168
"vfile": "^5.3.7",
171169
"vite": "^4.4.6",
@@ -197,6 +195,7 @@
197195
"@types/send": "^0.17.1",
198196
"@types/server-destroy": "^1.0.1",
199197
"@types/unist": "^2.0.6",
198+
"@astrojs/check": "^0.1.0",
200199
"astro-scripts": "workspace:*",
201200
"chai": "^4.3.7",
202201
"cheerio": "1.0.0-rc.12",

0 commit comments

Comments
 (0)