Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
707 commits
Select commit Hold shift + click to select a range
65fca95
chore: update dependencies
Princesseuh Jul 26, 2023
6c85ad0
Version Packages (#615)
github-actions[bot] Jul 26, 2023
bb38a76
fix(formatting): Fix Prettier not importing the right file when forma…
Princesseuh Jul 28, 2023
93ae6e5
Version Packages (#618)
github-actions[bot] Jul 28, 2023
8ac32d9
`@astrojs/check` package (#613)
Princesseuh Jul 31, 2023
83bcb64
[ci] format
Princesseuh Jul 31, 2023
c0a6e65
Version Packages (#620)
github-actions[bot] Jul 31, 2023
9759fdb
Fix wordpattern syntax in astro-language-configuration.json (#628)
sebthom Aug 21, 2023
1bb48f4
feat: Add new completions for getStaticPaths, interface Props and pre…
Princesseuh Aug 23, 2023
cd0f5d5
feat(completions): Order `astro:` completions higher (#631)
Princesseuh Aug 23, 2023
95e091c
Support prettier-plugin-astro v0.12 in language-server (#634)
bluwy Aug 23, 2023
4b510dd
Fix TypeScript plugin crash (#633)
Princesseuh Aug 23, 2023
2ac4220
chore: update extension to use latest version of Prettier plugin
Princesseuh Aug 23, 2023
2400719
chore: lockfile
Princesseuh Aug 23, 2023
58ee7f7
Version Packages (#630)
github-actions[bot] Aug 23, 2023
4e10283
fix(ts-plugin): TypeScript server crash, for real this time
Princesseuh Aug 24, 2023
0a34d96
Use editor formatting settings as fallback when there's no Prettier c…
Princesseuh Aug 24, 2023
437fbe7
Version Packages (#638)
github-actions[bot] Aug 24, 2023
4115714
Fix `astro check` printing newlines by accident (#640)
Princesseuh Aug 29, 2023
0a90a98
Version Packages (#641)
github-actions[bot] Aug 30, 2023
b41e9fd
chore: update deps
Princesseuh Sep 5, 2023
351f5dd
chore: changeset
Princesseuh Sep 5, 2023
1e84fac
Version Packages (#647)
github-actions[bot] Sep 5, 2023
4046fb8
fix(parser): nested <script> tags are not extracted (#656)
Princesseuh Sep 26, 2023
06af685
Version Packages (#657)
github-actions[bot] Oct 12, 2023
9381e1d
chore: update volar and vscode deps (#662)
johnsoncodehk Oct 12, 2023
2bc8e56
Version Packages (#665)
github-actions[bot] Oct 12, 2023
0e9861e
parseJS will now ignore JSON scripts (#669)
goulvenclech Oct 24, 2023
bae3749
fix #668 (#672)
goulvenclech Oct 24, 2023
b5db019
Version Packages (#670)
github-actions[bot] Oct 24, 2023
f4402eb
Update compiler (#671)
Princesseuh Oct 24, 2023
d74b9e8
chore: make it a minor instead
Princesseuh Oct 24, 2023
f88ab0b
Version Packages (#673)
github-actions[bot] Oct 30, 2023
89d4613
feat: add full reason for editor integration failing to load (#676)
Princesseuh Oct 30, 2023
e20b01e
[ci] format
Princesseuh Oct 30, 2023
585fb54
fix: remove non-existing target
Princesseuh Oct 30, 2023
9473850
Version Packages (#677)
github-actions[bot] Oct 30, 2023
c6fef5d
feat: run CI on latest Node versions (#678)
Princesseuh Oct 30, 2023
178d28b
config: apparently people don't like getting pinged on everything rel…
Princesseuh Oct 31, 2023
ee41dce
feat(ts-plugin): compatible with TS 5.3 (#679)
johnsoncodehk Oct 31, 2023
861e001
[ci] format
Princesseuh Oct 31, 2023
bd3d933
fix: formatting messing up inline scripts (#681)
Princesseuh Nov 1, 2023
19217c4
chore: update compiler
Princesseuh Nov 2, 2023
7e5ccb7
Version Packages (#680)
github-actions[bot] Nov 2, 2023
9022997
ci: Add auto-labelling like the main repo has for issues
Princesseuh Nov 12, 2023
015a667
Fix ignored minimal severity flag (#686)
Igloczek Nov 13, 2023
598689a
fix: improve Astro detection to avoid false warnings (#682)
Princesseuh Dec 6, 2023
dc98b0b
Prevent type checking `define:vars` scripts (#718)
lilnasy Dec 7, 2023
e9d7e43
[ci] format
Princesseuh Dec 7, 2023
621320a
fix(ast): Don't crash language-server if the compiler fails to parse …
Princesseuh Dec 11, 2023
707fcdc
[ci] format
Princesseuh Dec 11, 2023
dd23bc1
Version Packages (#696)
github-actions[bot] Dec 11, 2023
7c9c981
fix(check): Fix TypeScript files not being properly checked by `astro…
Princesseuh Dec 13, 2023
5013f2e
fix(syntax): Fix autoclosing not working inside of tags sometimes (#725)
Princesseuh Dec 15, 2023
45d49f5
fix(parseJS): Suffix inline attributes with a semicolon to avoid erro…
Princesseuh Dec 15, 2023
937b929
Version Packages (#723)
github-actions[bot] Dec 15, 2023
7de75d3
feat: upgrade to Volar 2.0 alpha (#701)
johnsoncodehk Dec 15, 2023
ec13a9f
feat: update to Volar new API (#732)
Princesseuh Dec 21, 2023
beccfef
[ci] format
Princesseuh Dec 21, 2023
0207697
revert: Volar 2.0 Upgrade (#735)
Princesseuh Dec 21, 2023
b16fcbb
fix: temporarily disable checking `.js(x)` files (#737)
Princesseuh Dec 21, 2023
271d99d
Version Packages (#738)
github-actions[bot] Dec 21, 2023
37434ab
Fix incorrectly highlighted escaped interpolation in template literal…
MoustaphaDev Dec 29, 2023
6ba5766
Version Packages (#744)
github-actions[bot] Jan 2, 2024
dab6801
Properly account for new TSX prefix (#733)
Princesseuh Jan 5, 2024
a314bcc
feat: remove astro check hotfix (#750)
Princesseuh Jan 8, 2024
f8b2a50
Version Packages (#748)
github-actions[bot] Jan 8, 2024
5cd3bae
fix: fallback types on version of Astro older than 4.0.8 when React t…
Princesseuh Jan 9, 2024
886157a
Version Packages (#752)
github-actions[bot] Jan 9, 2024
63e2c81
fix: fallback types when React is installed and an old version of Ast…
Princesseuh Jan 9, 2024
7821762
Version Packages (#753)
github-actions[bot] Jan 9, 2024
d37334d
fix: typos in docs (#756)
GoodDaisy Jan 12, 2024
a97c048
Adds an entry for transition:persist (#770)
martrapp Feb 5, 2024
ada26ac
Version Packages (#771)
github-actions[bot] Feb 8, 2024
15a5532
Update to Volar 2 stable (#762)
johnsoncodehk Feb 8, 2024
00b7bf8
[ci] format
Princesseuh Feb 8, 2024
12ed6dc
Version Packages (#774)
github-actions[bot] Feb 8, 2024
7cc3dc1
chore: add biome to sort imports and format code (#712)
ematipico Feb 8, 2024
7b1ab72
fix: TypeScript not working inside of script tags
Princesseuh Feb 8, 2024
684b4b2
[ci] format
Princesseuh Feb 8, 2024
82ef517
Version Packages (#776)
github-actions[bot] Feb 8, 2024
a2280a8
fix(check): Skip Vue and Svelte files (#777)
Princesseuh Feb 9, 2024
b8158fa
Version Packages (#779)
github-actions[bot] Feb 9, 2024
e0c02b9
Fixed volarjs URL (#784)
Quraian Feb 12, 2024
de58706
chore: update Volar to latest version
Princesseuh Feb 12, 2024
5a5a098
Version Packages (#786)
github-actions[bot] Feb 12, 2024
0fc51cf
test: add tests for Svelte and Vue inside `astro check` (#789)
Princesseuh Feb 12, 2024
aa1198f
[ci] format
Princesseuh Feb 12, 2024
310fbfe
fix: decode `fileId` (#791)
johnsoncodehk Feb 13, 2024
6924c7e
chore: Upgrade Volar to latest (#793)
Princesseuh Feb 13, 2024
c2c2a46
Version Packages (#792)
github-actions[bot] Feb 13, 2024
1436e6e
map compiler location to LSP range (#799)
martrapp Feb 19, 2024
7c4c1f2
chore: update dependencies (#803)
Princesseuh Feb 20, 2024
28ecc47
Version Packages (#801)
github-actions[bot] Feb 20, 2024
fe6165b
Makes astro check --tsconfig understand relative file names (#804)
martrapp Feb 23, 2024
153e9bb
Version Packages (#807)
github-actions[bot] Feb 26, 2024
1b68dfb
Format/improve descriptions for Astro attributes (#810)
VoxelMC Feb 27, 2024
af052d0
Updates deprecated Node.js 16 github actions (#813)
martrapp Feb 28, 2024
2bad6a8
add data-astro-rerun to scripts (#773)
OliverSpeir Mar 11, 2024
19610cb
Version Packages (#811)
github-actions[bot] Mar 11, 2024
ba47241
chore: don't format fixtures (#818)
ematipico Mar 11, 2024
85b42dc
chore: update all deps (#821)
Princesseuh Mar 12, 2024
b707b06
[ci] format
Princesseuh Mar 12, 2024
1a55b6f
Version Packages (#822)
github-actions[bot] Mar 12, 2024
15c9455
add: new highlight rule (#824)
dreyfus92 Mar 13, 2024
390637f
[ci] format
Princesseuh Mar 13, 2024
f1447ef
chore: Update `volar-service-prettier` (#823)
johnsoncodehk Mar 13, 2024
f4ea483
[ci] format
Princesseuh Mar 13, 2024
f3e69cc
Version Packages (#825)
github-actions[bot] Mar 13, 2024
db49ff7
fix `tmLanguage`: text.astro pattern (#826)
goulvenclech Mar 13, 2024
f5c2944
[ci] format
Princesseuh Mar 13, 2024
79b7968
fix: organize imports not working (#831)
Princesseuh Mar 14, 2024
2a1bb02
[ci] format
Princesseuh Mar 14, 2024
cc0c86b
refactor(tmLanguage): text pattern (#830)
goulvenclech Mar 14, 2024
d324217
[ci] format
Princesseuh Mar 14, 2024
96af6a2
nit: clearer changesets
Princesseuh Mar 14, 2024
97c422b
Version Packages (#827)
github-actions[bot] Mar 14, 2024
c1fa115
Fixes `.prettierignore` and `.editorconfig` not working (#832)
Princesseuh Mar 15, 2024
8d45381
[ci] format
Princesseuh Mar 15, 2024
6fd9314
Version Packages (#833)
github-actions[bot] Mar 15, 2024
d57daad
fix(format): Fix notification about Prettier being missing appearing …
Princesseuh Mar 21, 2024
ad3c572
test(typescript): Add tests for Volar caching (#836)
Princesseuh Mar 21, 2024
349ae9d
test: skip failing tests
Princesseuh Mar 22, 2024
d0168fc
[ci] format
Princesseuh Mar 22, 2024
b166787
fix: Fixes text edits inside script tags not being mapped correctly (…
Princesseuh Mar 22, 2024
eb49fb2
fix(html): Load custom data the proper way (#841)
Princesseuh Mar 22, 2024
3e93693
fix: ignore built syntaxes in biome.json
Princesseuh Mar 22, 2024
b4ab19c
[ci] format
Princesseuh Mar 22, 2024
9ca368b
chore: upgrade deps
Princesseuh Mar 22, 2024
1fe7503
Version Packages (#839)
github-actions[bot] Mar 22, 2024
8e55c37
fix(syntax): Don't highlight attributes for HTML events that are not …
Princesseuh Mar 23, 2024
47e7d2b
nit: remove unnecessary hoisting patterns
Princesseuh Mar 25, 2024
0503392
Version Packages (#845)
github-actions[bot] Mar 25, 2024
85a47b3
fix(syntax): Apply JSX latest rules for our language (#858)
Princesseuh Apr 23, 2024
7ff9cf5
Version Packages (#859)
github-actions[bot] Apr 23, 2024
65d3425
feat: Upgrade to Volar 2.2 (#863)
johnsoncodehk May 7, 2024
2a86df7
Version Packages (#865)
github-actions[bot] May 7, 2024
64a46b8
ci: update Node version
Princesseuh May 7, 2024
a401068
fix: don't generate mappings for Svelte and Vue files (#871)
Princesseuh May 15, 2024
113ec21
Version Packages (#872)
github-actions[bot] May 15, 2024
c8af6db
chore: update Volar
Princesseuh May 15, 2024
260167f
Version Packages (#873)
github-actions[bot] May 15, 2024
5f4541d
ci: fixes broken release on OpenVSX
Princesseuh May 15, 2024
60402d8
Version Packages (#874)
github-actions[bot] May 15, 2024
a8d8804
fix: openvsx, again
Princesseuh May 15, 2024
eb7215c
Version Packages (#875)
github-actions[bot] May 15, 2024
a1769da
Add `@astrojs/check` README (#883)
delucis Jul 8, 2024
b8a6af3
feat: Update to Volar 2.4 alpha (#879)
johnsoncodehk Jul 8, 2024
829093f
feat: highlight Astro code blocks in MDX (#878)
remcohaszing Jul 8, 2024
d7b38c4
Fix/restore a few caching tests (#881)
machty Jul 8, 2024
9e45765
Version Packages (#894)
github-actions[bot] Jul 8, 2024
5eb20f2
fix(yarn): Uses direct versions for Yarn 4 nonsense
Princesseuh Jul 10, 2024
4a10d24
Version Packages (#899)
github-actions[bot] Jul 10, 2024
d993c0d
fix: scripts affecting intellisense (#900)
Princesseuh Jul 16, 2024
aae45af
chore: update prettier plugin
Princesseuh Jul 16, 2024
1f78295
Version Packages (#903)
github-actions[bot] Jul 16, 2024
708167e
Fixes script and style tags being wrongfully included in the generate…
Princesseuh Jul 17, 2024
48689d1
Version Packages (#906)
github-actions[bot] Jul 17, 2024
7938491
chore: changeset
Princesseuh Jul 17, 2024
994a86a
Version Packages (#907)
github-actions[bot] Jul 17, 2024
a360c7e
chore: changeset
Princesseuh Jul 17, 2024
bb7f875
Version Packages (#908)
github-actions[bot] Jul 17, 2024
de10bb2
chore: changeset
Princesseuh Jul 17, 2024
4875b2d
Version Packages (#909)
github-actions[bot] Jul 17, 2024
91e77e1
chore: changeset
Princesseuh Jul 17, 2024
f2de948
Version Packages (#910)
github-actions[bot] Jul 17, 2024
2b16082
chore: changeset
Princesseuh Jul 23, 2024
5497d22
[ci] format
Princesseuh Jul 23, 2024
dd70a90
revert: commits
Princesseuh Jul 23, 2024
adc8d53
chore: changeset
Princesseuh Jul 23, 2024
4ca26c0
Version Packages (#913)
github-actions[bot] Jul 23, 2024
72f61e1
feat: put emmet in JSX mode to avoid expressions completions (#911)
Princesseuh Jul 25, 2024
0a46801
Fixes regressions in script / style tag handling (#918)
Princesseuh Jul 25, 2024
b4bc869
fix: unnecessary ts-plugin bump
Princesseuh Jul 25, 2024
97d2558
Version Packages (#917)
github-actions[bot] Jul 25, 2024
398b41c
Revert "feat: put emmet in JSX mode to avoid expressions completions …
Princesseuh Jul 25, 2024
7733a56
chore: changeset
Princesseuh Jul 25, 2024
5a79bbd
Version Packages (#919)
github-actions[bot] Jul 25, 2024
8fd9a6c
Update bug issue template (#922)
Trombach Jul 29, 2024
b65d6b4
Adds support for SCSS and LESS intellisense inside style tags (#923)
Princesseuh Jul 30, 2024
3a60f00
Fix `Astro.glob` CodeLens (#924)
HiDeoo Jul 30, 2024
93b5c30
Version Packages (#925)
github-actions[bot] Jul 31, 2024
cc94bef
chore: changeset
Princesseuh Jul 31, 2024
492b2bf
Version Packages (#926)
github-actions[bot] Jul 31, 2024
e8e18a8
chore: update compiler (#929)
Princesseuh Aug 6, 2024
b6d5aab
Version Packages (#930)
github-actions[bot] Aug 6, 2024
1172836
chore: update formatting config to match main repo
Princesseuh Aug 8, 2024
88b6c0c
chore: add git-blame-ignore-revs
Princesseuh Aug 8, 2024
47d362e
chore: match main repo linting config and fix linting issues
Princesseuh Aug 8, 2024
5186329
chore: update lockfile
Princesseuh Aug 13, 2024
86656d2
Version Packages (#934)
github-actions[bot] Aug 13, 2024
e5732ff
chore: update compiler
Princesseuh Aug 14, 2024
3a4d60b
Version Packages (#935)
github-actions[bot] Aug 14, 2024
d624646
Content Collections Intellisense (#915)
Princesseuh Aug 15, 2024
9b6c8b3
[ci] format
Princesseuh Aug 15, 2024
b52c0f4
Version Packages (#937)
github-actions[bot] Aug 15, 2024
28dfebe
feat: Update to Volar 2.4.0 (#938)
johnsoncodehk Aug 18, 2024
cb4dc89
Version Packages (#940)
github-actions[bot] Aug 18, 2024
99ec87f
chore(astro-check): remove unused fast-glob dep (#944)
bluwy Aug 28, 2024
af5bbc5
fix: mdoc language identifier (#943)
alexanderniebuhr Aug 28, 2024
572e9cb
fix: Update Astro syntax highlighting for MDX files (#950)
liruifengv Sep 6, 2024
7e48b9f
[bugfix] Executing tests on folder with a space on the name doesn't w…
alexrecuenco Sep 6, 2024
b79ff82
Version Packages (#945)
github-actions[bot] Sep 6, 2024
9ee02e8
fix: test
Princesseuh Sep 20, 2024
6fc305d
[ci] format
Princesseuh Sep 20, 2024
7b51794
fix: test, again
Princesseuh Sep 20, 2024
0ef6401
fix: grammar tests on Windows (#955)
Princesseuh Sep 20, 2024
45bede5
[ci] format
Princesseuh Sep 20, 2024
35cf3bc
refactor(language-server): unused resolveLanguageServiceHost hook (#953)
johnsoncodehk Sep 20, 2024
5f79dce
[ci] format
Princesseuh Sep 20, 2024
0c3f30e
chore(language-server): move `@volar/typescript` as dev dep (#954)
bluwy Sep 20, 2024
6e62aaa
chore: upgrade chokidar (#956)
bluwy Oct 1, 2024
50fd4e9
chore: upgrade to pnpm 9 (#957)
bluwy Oct 1, 2024
2199106
fix: override prettier version in yaml-language-server
Princesseuh Oct 1, 2024
706fba9
Revert "fix: override prettier version in yaml-language-server"
Princesseuh Oct 1, 2024
5a44072
fix: fallback to bundled Prettier when finding Prettier 2 (#960)
Princesseuh Oct 2, 2024
3a836de
feat: allow disabling handling updating files on file renames (#961)
Princesseuh Oct 3, 2024
a38afdd
Version Packages (#959)
github-actions[bot] Oct 4, 2024
e0ead1a
fix: remove deprecated TypeScript option
Princesseuh Oct 5, 2024
40ebf98
Attempt to fix Linux tests (#963)
Princesseuh Oct 7, 2024
0fad8bf
Version Packages (#964)
github-actions[bot] Oct 7, 2024
43f66cd
fix: publishing on OpenVSX
Princesseuh Oct 7, 2024
f1bdeab
Version Packages (#965)
github-actions[bot] Oct 7, 2024
8673fa5
fix: reload content on collections change (#966)
Princesseuh Oct 16, 2024
4db55f0
Version Packages (#968)
github-actions[bot] Oct 17, 2024
128cf11
chore: update volar dependencies (#973)
Princesseuh Oct 25, 2024
c32181a
[ci] format
Princesseuh Oct 25, 2024
df90fe5
Version Packages (#974)
github-actions[bot] Oct 25, 2024
2cbd3f6
remove `import.meta.env` as an option for export const prerender (#1005)
sarah11918 May 31, 2025
6dfd814
feat: update deps (#1031)
Princesseuh Oct 15, 2025
c33dc7c
Version Packages (#1006)
github-actions[bot] Oct 15, 2025
d415d4e
fix: update display colors for zero errors and warnings (#1034)
ocavue Oct 20, 2025
d7096ca
Version Packages (#1036)
github-actions[bot] Oct 20, 2025
a926705
Merge language-tools into monorepo
Princesseuh Oct 20, 2025
611ecc4
chore: lockfile
Princesseuh Oct 20, 2025
474f300
fix: tsconfig
Princesseuh Oct 20, 2025
7ab5ce5
feat: migrate tests to node:test (#1033)
Princesseuh Oct 20, 2025
e2af5dc
[ci] format
Princesseuh Oct 20, 2025
820a866
Update from language-tools
Princesseuh Oct 20, 2025
85b833d
Merge branch 'main' into merge-language-tools
Princesseuh Oct 20, 2025
444ec04
fix: integrate better with the repo
Princesseuh Oct 20, 2025
527e261
fix: remove unrelated files
Princesseuh Oct 20, 2025
7a78786
fix: checkServer type
Princesseuh Oct 20, 2025
38a4f64
fix: try to untangle this mess?
Princesseuh Oct 20, 2025
e2b70b3
fix: try just ignoring?
Princesseuh Oct 21, 2025
e28d4cf
fix: run the language-tools tests separately
Princesseuh Oct 21, 2025
88ecfb9
fix: try another strategy
Princesseuh Oct 21, 2025
7999204
fix: oops didn't mean for this
Princesseuh Oct 21, 2025
7ebaafb
fix: astro check
Princesseuh Oct 21, 2025
7ce996e
fix: jesus
Princesseuh Oct 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,54 @@ jobs:
- name: Test ${{ matrix.TEST_SUITE.name }}
run: ${{ matrix.TEST_SUITE.script }}

test-language-tools:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
needs: build
strategy:
matrix:
os: [ubuntu-latest]
node_version: [20.9.0, 22]
include:
- os: windows-latest
node_version: 20.9.0
- os: macos-latest
node_version: 20.9.0
fail-fast: false

name: 'Test (language-tools): node-${{ matrix.node_version }}, ${{ matrix.os }}'
steps:
- name: Checkout
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0

- name: Setup PNPM
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0

- name: Setup node@${{ matrix.node_version }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node_version }}
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Build the packages
run: pnpm build

- name: Test (Linux)
if: runner.os == 'Linux'
run: |
pnpm run test:language-tools:no-vs
cd packages/language-tools/vscode
xvfb-run -a pnpm test
cd ../ts-plugin
xvfb-run -a pnpm test

- name: Test
run: pnpm test:language-tools
if: runner.os != 'Linux'

e2e:
name: "Test (E2E): ${{ matrix.os }} (node@${{ matrix.NODE_VERSION }})"
runs-on: ${{ matrix.os }}
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
"format:code:ci": "biome format && prettier -w \"**/*\" --ignore-unknown --cache --check",
"format:imports": "biome check --formatter-enabled=false --write",
"format:imports:ci": "biome ci --formatter-enabled=false",
"test": "pnpm run test:astro && pnpm run test:integrations",
"test": "pnpm run test:astro && pnpm run test:integrations && pnpm run test:language-tools",
"test:astro": "turbo run test --concurrency=1 --filter=astro --only",
"test:integrations": "turbo run test --concurrency=1 --filter=create-astro --filter=\"@astrojs/*\" --only",
"test:integrations": "turbo run test --concurrency=1 --filter=create-astro --filter=\"@astrojs/*\" --filter=\"!./packages/language-tools/**/*\" --only",
"test:language-tools": "turbo run test --concurrency=1 --filter=\"./packages/language-tools/**/*\" --only",
"test:language-tools:no-vs": "turbo run test --filter=\"@astrojs/language-server\" --filter=\"@astrojs/check\" --only",
"test:citgm": "pnpm -r --filter=astro test",
"test:match": "cd packages/astro && pnpm run test:match",
"test:cli": "cd packages/astro && pnpm run test:cli",
Expand Down
3 changes: 1 addition & 2 deletions packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
],
"scripts": {
"prebuild": "astro-scripts prebuild --to-string \"src/runtime/server/astro-island.ts\" \"src/runtime/client/{idle,load,media,only,visible}.ts\"",
"build": "pnpm run prebuild && astro-scripts build \"src/**/*.{ts,js}\" --copy-wasm && tsc && astro-check --root ./components",
"build": "pnpm run prebuild && astro-scripts build \"src/**/*.{ts,js}\" --copy-wasm && tsc",
"build:ci": "pnpm run prebuild && astro-scripts build \"src/**/*.{ts,js}\" --copy-wasm",
"dev": "astro-scripts dev --copy-wasm --prebuild \"src/runtime/server/astro-island.ts\" --prebuild \"src/runtime/client/{idle,load,media,only,visible}.ts\" \"src/**/*.{ts,js}\"",
"test": "pnpm run test:unit && pnpm run test:integration && pnpm run test:types",
Expand Down Expand Up @@ -173,7 +173,6 @@
"sharp": "^0.34.0"
},
"devDependencies": {
"@astrojs/check": "^0.9.4",
"@playwright/test": "1.51.1",
"@types/aria-query": "^5.0.4",
"@types/common-ancestor-path": "^1.0.2",
Expand Down
1 change: 1 addition & 0 deletions packages/astro/src/cli/check/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export async function check(flags: Flags) {
skipAsk: !!flags.yes || !!flags.y,
cwd: flags.root,
};
// @ts-ignore For some unknown reason, in CI TS isn't able to get the type here even though it works locally.
const checkPackage = await getPackage<typeof import('@astrojs/check')>(
'@astrojs/check',
logger,
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ async function runCommand(cmd: string, flags: yargs.Arguments) {
if (flags.watch) {
return await new Promise(() => {}); // lives forever
} else {
return process.exit(checkServer ? 1 : 0);
return process.exit(typeof checkServer === 'boolean' && checkServer ? 1 : 0);
}
}
}
Expand Down
Loading
Loading