-
Notifications
You must be signed in to change notification settings - Fork 1k
[labs/analyzer] Add separate entrypoint for createPackageAnalyzer #3980
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: 6bffda8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📊 Tachometer Benchmark ResultsSummarynop-update
render
update
update-reflect
Resultslit-element-list
render
update
update-reflect
lit-html-kitchen-sink
render
update
nop-update
lit-html-repeat
render
update
lit-html-template-heavy
render
update
reactive-element-list
render
update
update-reflect
|
rictic
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build is failing
kevinpschaaf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, modulo the naming issue @rictic raised. Did you want the top-level import to be package-analyzer.js to match analyzer.js? If so, need to rename the file, otherwise rename the exports in package.json.
|
Argh. I don't understand why the build is failing on CI now. Build and tests are passing on my machine even after a git clean. I also don't understand why it was passing on my machine earlier as I had some obviously bad imports. |
Previously
index.tsimported both the mainAnalyzerclass andcreatePackageAnalyzer(), which uses Node APIs.This PR separates the entrypoints into
index.tswhich only exports the Analyzer class and model interfaces, andpackage-analyzer.tswhich exports all of that, pluscreatePackageAnalyzer().This is a breaking change.