Skip to content

Commit abfed97

Browse files
fix: replace withastro/language-tools mentions (#14740)
* fix: replace `withastro/language-tools` mentions * docs: add changeset
1 parent 09bbdbb commit abfed97

File tree

11 files changed

+28
-16
lines changed

11 files changed

+28
-16
lines changed

.changeset/real-actors-peel.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@astrojs/language-server': patch
3+
'@astrojs/check': patch
4+
'@astrojs/ts-plugin': patch
5+
'astro-vscode': patch
6+
---
7+
8+
Fixes link targets in documentation following repository relocation.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ Join us on [Discord](https://astro.build/chat) to meet other maintainers. We'll
6969
| [@astrojs/db](packages/db) | [![@astrojs/db version](https://img.shields.io/npm/v/@astrojs/db.svg?label=%20)](packages/db/CHANGELOG.md) |
7070
| [@astrojs/rss](packages/astro-rss) | [![@astrojs/rss version](https://img.shields.io/npm/v/@astrojs/rss.svg?label=%20)](packages/astro-rss/CHANGELOG.md) |
7171
| [@astrojs/netlify](packages/integrations/netlify) | [![@astrojs/netlify version](https://img.shields.io/npm/v/@astrojs/netlify.svg?label=%20)](packages/integrations/netlify/CHANGELOG.md) |
72+
| [@astrojs/check](packages/language-tools/astro-check) | [![astro-check version](https://img.shields.io/npm/v/@astrojs/check.svg?label=%20)](packages/language-tools/astro-check/CHANGELOG.md) |
73+
| [@astrojs/language-server](packages/language-tools/language-server) | [![@astrojs/language-server version](https://img.shields.io/npm/v/@astrojs/language-server.svg?label=%20)](packages/language-tools/language-server/CHANGELOG.md) |
74+
| [@astrojs/ts-plugin](packages/language-tools/ts-plugin) | [![@astrojs/ts-plugin version](https://img.shields.io/npm/v/@astrojs/ts-plugin.svg?label=%20)](packages/language-tools/ts-plugin/CHANGELOG.md) |
75+
| [astro-vscode](packages/language-tools/vscode) | [![astro-vscode version](https://img.shields.io/npm/v/astro-vscode.svg?label=%20)](packages/language-tools/vscode/CHANGELOG.md) |
7276

7377
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/6178/badge)](https://bestpractices.coreinfrastructure.org/projects/6178)
7478

@@ -77,7 +81,7 @@ Several official projects are maintained outside of this repo:
7781
| Project | Repository |
7882
| ------------------------------------------------------------------- | ----------------------------------------------------------------------- |
7983
| [@astrojs/compiler](https://github.com/withastro/compiler) | [withastro/compiler](https://github.com/withastro/compiler) |
80-
| [Astro Language Tools](https://github.com/withastro/language-tools) | [withastro/language-tools](https://github.com/withastro/language-tools) |
84+
| [Starlight](https://github.com/withastro/starlight) | [withastro/starlight](https://github.com/withastro/starlight) |
8185

8286
## Links
8387

packages/language-tools/astro-check/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This package powers the `astro check` CLI command for running type checking and diagnostics in Astro projects.
44

5-
This package's internal logic is powered by [the Astro language server](https://github.com/withastro/language-tools/blob/main/packages/language-server/src/check.ts).
5+
This package's internal logic is powered by [the Astro language server](https://github.com/withastro/astro/blob/main/packages/language-tools/language-server/src/check.ts).
66

77
## Documentation
88

@@ -30,9 +30,9 @@ Copyright (c) 2022–present [Astro][astro]
3030

3131
[astro]: https://astro.build/
3232
[docs]: https://docs.astro.build/en/guides/typescript/#type-checking
33-
[contributing]: https://github.com/withastro/language-tools/blob/main/CONTRIBUTING.md
33+
[contributing]: https://github.com/withastro/astro/blob/main/packages/language-tools/CONTRIBUTING.md
3434
[coc]: https://github.com/withastro/.github/blob/main/CODE_OF_CONDUCT.md
3535
[community]: https://github.com/withastro/.github/blob/main/COMMUNITY_GUIDE.md
3636
[discord]: https://astro.build/chat/
37-
[issues]: https://github.com/withastro/language-tools/issues
37+
[issues]: https://github.com/withastro/astro/issues
3838
[astro-integration]: https://docs.astro.build/en/guides/integrations-guide/

packages/language-tools/astro-check/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.9.5",
55
"author": "withastro",
66
"license": "MIT",
7-
"homepage": "https://github.com/withastro/language-tools/tree/main/packages/astro-check",
7+
"homepage": "https://github.com/withastro/astro/tree/main/packages/language-tools/astro-check",
88
"repository": {
99
"type": "git",
1010
"url": "https://github.com/withastro/astro.git",

packages/language-tools/language-server/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Minor Changes
66

7-
- [#14584](https://github.com/withastro/astro/pull/14584) [`3c7ab17`](https://github.com/withastro/astro/commit/3c7ab178da26d095777495bcee94b468937936a3) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds a new setting for disabling the Auto Import Cache. The cache can cause an issue where new files are not able to be automatically imported using autocomplete in certain cases. Check https://github.com/withastro/language-tools/issues/1035 for more details.
7+
- [#14584](https://github.com/withastro/astro/pull/14584) [`3c7ab17`](https://github.com/withastro/astro/commit/3c7ab178da26d095777495bcee94b468937936a3) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds a new setting for disabling the Auto Import Cache. The cache can cause an issue where new files are not able to be automatically imported using autocomplete in certain cases. Check https://github.com/withastro/astro/issues/14642 for more details.
88

99
## 2.15.5
1010

packages/language-tools/language-server/src/core/astro2tsx.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function safeConvertToTSX(content: string, options: ConvertToTSXOptions)
2828
return tsx;
2929
} catch (e) {
3030
console.error(
31-
`There was an error transforming ${options.filename} to TSX. An empty file will be returned instead. Please create an issue: https://github.com/withastro/language-tools/issues\nError: ${e}.`,
31+
`There was an error transforming ${options.filename} to TSX. An empty file will be returned instead. Please create an issue: https://github.com/withastro/astro/issues\nError: ${e}.`,
3232
);
3333

3434
return {
@@ -46,7 +46,7 @@ export function safeConvertToTSX(content: string, options: ConvertToTSXOptions)
4646
code: 1000,
4747
location: { file: options.filename!, line: 1, column: 1, length: content.length },
4848
severity: 1,
49-
text: `The Astro compiler encountered an unknown error while transform this file to TSX. Please create an issue with your code and the error shown in the server's logs: https://github.com/withastro/language-tools/issues`,
49+
text: `The Astro compiler encountered an unknown error while transform this file to TSX. Please create an issue with your code and the error shown in the server's logs: https://github.com/withastro/astro/issues`,
5050
},
5151
],
5252
metaRanges: {

packages/language-tools/language-server/src/core/parseAstro.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function safeParseAst(fileName: string, input: string, parseOptions: ParseOption
2626
return parseResult;
2727
} catch (e) {
2828
console.error(
29-
`There was an error parsing ${fileName}'s AST. An empty AST will be returned instead to avoid breaking the server. Please create an issue: https://github.com/withastro/language-tools/issues\nError: ${e}.`,
29+
`There was an error parsing ${fileName}'s AST. An empty AST will be returned instead to avoid breaking the server. Please create an issue: https://github.com/withastro/astro/issues\nError: ${e}.`,
3030
);
3131

3232
return {
@@ -44,7 +44,7 @@ function safeParseAst(fileName: string, input: string, parseOptions: ParseOption
4444
length: input.length,
4545
},
4646
severity: 1,
47-
text: `The Astro compiler encountered an unknown error while parsing this file's AST. Please create an issue with your code and the error shown in the server's logs: https://github.com/withastro/language-tools/issues`,
47+
text: `The Astro compiler encountered an unknown error while parsing this file's AST. Please create an issue with your code and the error shown in the server's logs: https://github.com/withastro/astro/issues`,
4848
},
4949
],
5050
};

packages/language-tools/ts-plugin/src/astro2tsx.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function safeConvertToTSX(content: string, options: ConvertToTSXOptions) {
1111
return tsx;
1212
} catch (e) {
1313
console.error(
14-
`There was an error transforming ${options.filename} to TSX. An empty file will be returned instead. Please create an issue: https://github.com/withastro/language-tools/issues\nError: ${e}.`,
14+
`There was an error transforming ${options.filename} to TSX. An empty file will be returned instead. Please create an issue: https://github.com/withastro/astro/issues\nError: ${e}.`,
1515
);
1616

1717
return {
@@ -29,7 +29,7 @@ function safeConvertToTSX(content: string, options: ConvertToTSXOptions) {
2929
code: 1000,
3030
location: { file: options.filename!, line: 1, column: 1, length: content.length },
3131
severity: 1,
32-
text: `The Astro compiler encountered an unknown error while parsing this file. Please create an issue with your code and the error shown in the server's logs: https://github.com/withastro/language-tools/issues`,
32+
text: `The Astro compiler encountered an unknown error while parsing this file. Please create an issue with your code and the error shown in the server's logs: https://github.com/withastro/astro/issues`,
3333
},
3434
],
3535
metaRanges: {

packages/language-tools/vscode/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Minor Changes
66

7-
- [#14584](https://github.com/withastro/astro/pull/14584) [`3c7ab17`](https://github.com/withastro/astro/commit/3c7ab178da26d095777495bcee94b468937936a3) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds a new setting for disabling the Auto Import Cache. The cache can cause an issue where new files are not able to be automatically imported using autocomplete in certain cases. Check https://github.com/withastro/language-tools/issues/1035 for more details.
7+
- [#14584](https://github.com/withastro/astro/pull/14584) [`3c7ab17`](https://github.com/withastro/astro/commit/3c7ab178da26d095777495bcee94b468937936a3) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds a new setting for disabling the Auto Import Cache. The cache can cause an issue where new files are not able to be automatically imported using autocomplete in certain cases. Check https://github.com/withastro/astro/issues/14642 for more details.
88

99
## 2.15.5
1010

@@ -29,7 +29,7 @@
2929

3030
### Patch Changes
3131

32-
- 43f66cd: Fixes publishing on OpenVSX. For full changelogs between 2.11.0 and this version, please see [CHANGELOG.md](https://github.com/withastro/language-tools/blob/main/packages/vscode/CHANGELOG.md) in the repository.
32+
- 43f66cd: Fixes publishing on OpenVSX. For full changelogs between 2.11.0 and this version, please see [CHANGELOG.md](https://github.com/withastro/astro/blob/main/packages/language-tools/vscode/CHANGELOG.md) in the repository.
3333

3434
## 2.15.1
3535

packages/language-tools/vscode/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> 🧑‍🚀 Not sure what Astro is? See our website at [astro.build](https://astro.build)!
44
5-
Provides language support for `.astro` files. This extension is powered by the [Astro language server](https://github.com/withastro/language-tools/tree/main/packages/language-server).
5+
Provides language support for `.astro` files. This extension is powered by the [Astro language server](https://github.com/withastro/astro/tree/main/packages/language-tools/language-server).
66

77
## Features
88

0 commit comments

Comments
 (0)