Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(lang-ts): support lang="ts" in <style> and <custom> blocks#208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Tahul wants to merge4 commits intovuejs:master
base:master
Choose a base branch
Loading
fromTahul:master

Conversation

Tahul
Copy link

@TahulTahul commentedSep 13, 2023
edited
Loading

Resolvs#207 ;

This PR is stillwork in progress.

It currently:

  • Adds a fixture for expected working setup
  • Adds two tests for expected working outputs
  • Begins implementation by:
    • Change filtering of nodes inast-utils to castlang="ts" blocks as <script> elements
    • ChangegetScriptSetupModuleCodeBlocks,parseScriptSetupElements andparseAsSFC implementation to supportscriptElements instead ofscriptElement

Any idea or suggestion for next steps is welcome :)

@Tahul
Copy link
Author

Here is a little snippet of current status:

CleanShot.2023-09-13.at.17.46.44.mp4

@Tahul
Copy link
Author

The CI failing seem to be caused by this:

node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts:60:44 - error TS2694: Namespace 'ts' has no exported member 'JsxNamespacedName'.

That seem to be due to the fact this repository does not use alockfile and so it is impossible for me to know which exact version of this dependency is used to run the tests.

@ota-meshi
Copy link
Member

Thank you!
I will change the tsconfig.json to avoid the error in CI.#209

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Tahul@ota-meshi

[8]ページ先頭

©2009-2025 Movatter.jp