From b00d373a07dfeddc8b089e229b7ee7282b3390fe Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Sun, 2 Apr 2023 06:24:28 +0900 Subject: [PATCH 1/2] chore: move repo --- .changeset/config.json | 2 +- .github/ISSUE_TEMPLATE/bug_report.yml | 4 +- CHANGELOG.md | 46 +++++++++---------- README.md | 24 +++++----- docs/internal-mechanism.md | 4 +- explorer-v2/src/lib/Header.svelte | 2 +- explorer-v2/src/lib/SnsBar.svelte | 4 +- package.json | 4 +- src/parser/typescript/analyze/index.ts | 4 +- src/parser/typescript/context.ts | 2 +- .../type-info-tests/reactive2-input.svelte | 2 +- 11 files changed, 49 insertions(+), 49 deletions(-) diff --git a/.changeset/config.json b/.changeset/config.json index bfe5c91b..a6b9e318 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -3,7 +3,7 @@ "changelog": [ "@changesets/changelog-github", { - "repo": "ota-meshi/svelte-eslint-parser" + "repo": "sveltejs/svelte-eslint-parser" } ], "commit": false, diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 2e1fe899..338810d1 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -12,8 +12,8 @@ body: label: Before You File a Bug Report Please Confirm You Have Done The Following... description: If any of these required steps are not taken, we may not be able to review your issue. Help us to help you! options: - - label: I'm using [eslint-plugin-svelte](https://github.com/ota-meshi/eslint-plugin-svelte). (`*.svelte` file linting does not work with the parser alone. You should also use eslint-plugin-svelte with it.) - - label: I'm sure the problem is a parser problem. (If you are not sure, search for the issue in [eslint-plugin-svelte](https://github.com/ota-meshi/eslint-plugin-svelte) repo and open the issue in [eslint-plugin-svelte](https://github.com/ota-meshi/eslint-plugin-svelte) repo if there is no solution. + - label: I'm using [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte). (`*.svelte` file linting does not work with the parser alone. You should also use eslint-plugin-svelte with it.) + - label: I'm sure the problem is a parser problem. (If you are not sure, search for the issue in [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte) repo and open the issue in [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte) repo if there is no solution. required: true - label: I have tried restarting my IDE and the issue persists. required: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 77de1c1c..c250d3cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,126 +4,126 @@ ### Minor Changes -- [#296](https://github.com/ota-meshi/svelte-eslint-parser/pull/296) [`21d8c1c`](https://github.com/ota-meshi/svelte-eslint-parser/commit/21d8c1ccc81e1d456327c1a16925b81044ef051a) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: improved event handler type +- [#296](https://github.com/sveltejs/svelte-eslint-parser/pull/296) [`21d8c1c`](https://github.com/sveltejs/svelte-eslint-parser/commit/21d8c1ccc81e1d456327c1a16925b81044ef051a) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: improved event handler type ## 0.24.2 ### Patch Changes -- [#301](https://github.com/ota-meshi/svelte-eslint-parser/pull/301) [`ce2deb9`](https://github.com/ota-meshi/svelte-eslint-parser/commit/ce2deb9ddc67211fe5c6b67172e1da9d53d082a3) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: wrong typing for typescript v5 +- [#301](https://github.com/sveltejs/svelte-eslint-parser/pull/301) [`ce2deb9`](https://github.com/sveltejs/svelte-eslint-parser/commit/ce2deb9ddc67211fe5c6b67172e1da9d53d082a3) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: wrong typing for typescript v5 ## 0.24.1 ### Patch Changes -- [#299](https://github.com/ota-meshi/svelte-eslint-parser/pull/299) [`472a3bb`](https://github.com/ota-meshi/svelte-eslint-parser/commit/472a3bb625adbc451f789b8787e79f771e27fd10) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: wrong scope for reactive block statement +- [#299](https://github.com/sveltejs/svelte-eslint-parser/pull/299) [`472a3bb`](https://github.com/sveltejs/svelte-eslint-parser/commit/472a3bb625adbc451f789b8787e79f771e27fd10) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: wrong scope for reactive block statement ## 0.24.0 ### Minor Changes -- [#292](https://github.com/ota-meshi/svelte-eslint-parser/pull/292) [`ec061f5`](https://github.com/ota-meshi/svelte-eslint-parser/commit/ec061f574d73aa25c13a631bb3be6fa2f861e8e8) Thanks [@ota-meshi](https://github.com/ota-meshi)! - BREAKING: fix resolve to module scope for top level statements +- [#292](https://github.com/sveltejs/svelte-eslint-parser/pull/292) [`ec061f5`](https://github.com/sveltejs/svelte-eslint-parser/commit/ec061f574d73aa25c13a631bb3be6fa2f861e8e8) Thanks [@ota-meshi](https://github.com/ota-meshi)! - BREAKING: fix resolve to module scope for top level statements This change corrects the result of `context.getScope()`, but it is a breaking change. -- [#294](https://github.com/ota-meshi/svelte-eslint-parser/pull/294) [`14d6e95`](https://github.com/ota-meshi/svelte-eslint-parser/commit/14d6e95773ea638855c25927c11f7a2df1632801) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add peerDependenciesMeta to package.json +- [#294](https://github.com/sveltejs/svelte-eslint-parser/pull/294) [`14d6e95`](https://github.com/sveltejs/svelte-eslint-parser/commit/14d6e95773ea638855c25927c11f7a2df1632801) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add peerDependenciesMeta to package.json -- [#295](https://github.com/ota-meshi/svelte-eslint-parser/pull/295) [`924cd3e`](https://github.com/ota-meshi/svelte-eslint-parser/commit/924cd3e72db0d9d09aed1da5ec3f2e5995c9ca77) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: export name property +- [#295](https://github.com/sveltejs/svelte-eslint-parser/pull/295) [`924cd3e`](https://github.com/sveltejs/svelte-eslint-parser/commit/924cd3e72db0d9d09aed1da5ec3f2e5995c9ca77) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: export name property ## 0.23.0 ### Minor Changes -- [#271](https://github.com/ota-meshi/svelte-eslint-parser/pull/271) [`e355d5c`](https://github.com/ota-meshi/svelte-eslint-parser/commit/e355d5c4d1210ae8b74fd50be6263efc08b849e1) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: wrong variable scope in let directive +- [#271](https://github.com/sveltejs/svelte-eslint-parser/pull/271) [`e355d5c`](https://github.com/sveltejs/svelte-eslint-parser/commit/e355d5c4d1210ae8b74fd50be6263efc08b849e1) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: wrong variable scope in let directive ## 0.22.4 ### Patch Changes -- [#266](https://github.com/ota-meshi/svelte-eslint-parser/pull/266) [`d890090`](https://github.com/ota-meshi/svelte-eslint-parser/commit/d8900904d99e43acd2cff8f96258bcd1e2e01f29) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: virtual references remained +- [#266](https://github.com/sveltejs/svelte-eslint-parser/pull/266) [`d890090`](https://github.com/sveltejs/svelte-eslint-parser/commit/d8900904d99e43acd2cff8f96258bcd1e2e01f29) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: virtual references remained ## 0.22.3 ### Patch Changes -- [#262](https://github.com/ota-meshi/svelte-eslint-parser/pull/262) [`03971d7`](https://github.com/ota-meshi/svelte-eslint-parser/commit/03971d737371a4288e2d08466df469a16d4b03b2) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: parsing errors (or wrong AST) for js comments in template +- [#262](https://github.com/sveltejs/svelte-eslint-parser/pull/262) [`03971d7`](https://github.com/sveltejs/svelte-eslint-parser/commit/03971d737371a4288e2d08466df469a16d4b03b2) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: parsing errors (or wrong AST) for js comments in template ## 0.22.2 ### Patch Changes -- [`e670d44`](https://github.com/ota-meshi/svelte-eslint-parser/commit/e670d4406a188c56505205ef84bd9c0819e78d94) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: virtual references remained +- [`e670d44`](https://github.com/sveltejs/svelte-eslint-parser/commit/e670d4406a188c56505205ef84bd9c0819e78d94) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: virtual references remained ## 0.22.1 ### Patch Changes -- [#252](https://github.com/ota-meshi/svelte-eslint-parser/pull/252) [`fd8adbd`](https://github.com/ota-meshi/svelte-eslint-parser/commit/fd8adbd21a4c6a5ed7e9b15e22562d305024f32b) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: self-closing style with external source +- [#252](https://github.com/sveltejs/svelte-eslint-parser/pull/252) [`fd8adbd`](https://github.com/sveltejs/svelte-eslint-parser/commit/fd8adbd21a4c6a5ed7e9b15e22562d305024f32b) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: self-closing style with external source ## 0.22.0 ### Minor Changes -- [#249](https://github.com/ota-meshi/svelte-eslint-parser/pull/249) [`d560864`](https://github.com/ota-meshi/svelte-eslint-parser/commit/d560864681773fb1e795f8f656b3c90c5ca05e5d) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: parsing error when use with member expr +- [#249](https://github.com/sveltejs/svelte-eslint-parser/pull/249) [`d560864`](https://github.com/sveltejs/svelte-eslint-parser/commit/d560864681773fb1e795f8f656b3c90c5ca05e5d) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: parsing error when use with member expr ## 0.21.0 ### Minor Changes -- [#244](https://github.com/ota-meshi/svelte-eslint-parser/pull/244) [`7ebf326`](https://github.com/ota-meshi/svelte-eslint-parser/commit/7ebf326c97576bfc721bc133e24c6c643e87e6de) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: `