Skip to content

feat: support FASTElement define calls - #342

Open
SisyphusZheng wants to merge 1 commit into
open-wc:masterfrom
SisyphusZheng:codex/fast-define
Open

SisyphusZheng wants to merge 1 commit into
open-wc:masterfrom
SisyphusZheng:codex/fast-define

Conversation

@SisyphusZheng

Copy link
Copy Markdown

Summary

  • recognize direct FASTElement subclass registrations using MyElement.define({ name: 'my-element' })
  • emit a custom-element definition so the existing package link phase attaches the tag name
  • add a FAST fixture covering the supported static form

This intentionally handles the basic statically analyzable subset discussed in #71: a direct FASTElement subclass and an inline string-literal name. Dynamic definitions remain out of scope.

Fixes #276.

Testing

  • npm test --prefix packages/analyzer

@netlify

netlify Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for custom-elements-manifest-analyzer ready!

Name Link
🔨 Latest commit 7e2531a
🔍 Latest deploy log https://app.netlify.com/projects/custom-elements-manifest-analyzer/deploys/6aa24ec90d71200008314c8f
😎 Deploy Preview https://deploy-preview-342--custom-elements-manifest-analyzer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@SisyphusZheng SisyphusZheng changed the title Support FASTElement define calls feat: support FASTElement define calls Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Analyzer needs to support microsoft fast v2 breaking change

1 participant