-
-
Notifications
You must be signed in to change notification settings - Fork 988
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
web: add HTMLTagNameElementMaps to everything to activate lit analyzer #10217
Merged
kensternberg-authentik
merged 62 commits into
main
from
web/add-htmltagmaps-to-activate-lit-analyzer
Jul 15, 2024
Merged
Changes from 58 commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
3146e5a
web: fix esbuild issue with style sheets
kensternberg-authentik fe52f44
Merge branch 'main' into dev
kensternberg-authentik e505f27
Merge branch 'main' into dev
kensternberg-authentik 5090621
Merge branch 'main' into dev
kensternberg-authentik 035bda4
Merge branch 'main' into dev
kensternberg-authentik 2d0117d
Merge branch 'main' into dev
kensternberg-authentik 22cb5b7
Merge branch 'main' into dev
kensternberg-authentik 8b4e036
Merge branch 'main' into dev
kensternberg-authentik db96e1a
Merge branch 'main' into dev
kensternberg-authentik 8946b81
Merge branch 'main' into dev
kensternberg-authentik 30beca9
Merge branch 'main' into dev
kensternberg-authentik 5d84082
Merge branch 'main' into dev
kensternberg-authentik a7e3dca
Merge branch 'main' into dev
kensternberg-authentik 2d254d6
Merge branch 'main' into dev
kensternberg-authentik 3f95020
Merge branch 'main' into dev
kensternberg-authentik a056703
Merge branch 'main' into dev
kensternberg-authentik fc00bde
Merge branch 'main' into dev
kensternberg-authentik 7123b2c
Merge branch 'main' into dev
kensternberg-authentik 5d4c380
Merge branch 'main' into dev
kensternberg-authentik 66cefcc
Merge branch 'main' into dev
kensternberg-authentik 875fc5c
Merge branch 'main' into dev
kensternberg-authentik c84be1d
Merge branch 'main' into dev
kensternberg-authentik b08dcc2
Merge branch 'main' into dev
kensternberg-authentik 272fdc5
Merge branch 'main' into dev
kensternberg-authentik 23665d1
Merge branch 'main' into dev
kensternberg-authentik cacdf64
Merge branch 'main' into dev
kensternberg-authentik 085debf
Merge branch 'main' into dev
kensternberg-authentik f19ed14
Merge branch 'main' into dev
kensternberg-authentik ac4ba5d
Merge branch 'main' into dev
kensternberg-authentik 98503f6
Merge branch 'main' into dev
kensternberg-authentik 2d94b16
Merge branch 'main' into dev
kensternberg-authentik 34de6bf
Merge branch 'main' into dev
kensternberg-authentik ca42506
Merge branch 'main' into dev
kensternberg-authentik 2a96900
Merge branch 'main' into dev
kensternberg-authentik 9acebec
Merge branch 'main' into dev
kensternberg-authentik 8248163
Merge branch 'main' into dev
kensternberg-authentik ee37e92
Merge branch 'main' into dev
kensternberg-authentik e1d565d
Merge branch 'main' into dev
kensternberg-authentik 3d532d4
Merge branch 'main' into dev
kensternberg-authentik fffc8c7
Merge branch 'main' into dev
kensternberg-authentik 3fae9e5
Merge branch 'main' into dev
kensternberg-authentik 09803fe
Merge branch 'main' into dev
kensternberg-authentik 5752497
Merge branch 'main' into dev
kensternberg-authentik 61eb9fa
Merge branch 'main' into dev
kensternberg-authentik 3ff20ca
Merge branch 'main' into dev
kensternberg-authentik 5b132c8
Merge branch 'main' into dev
kensternberg-authentik 2488eb9
Merge branch 'main' into dev
kensternberg-authentik 312f364
Merge branch 'main' into dev
kensternberg-authentik fcab990
Merge branch 'main' into dev
kensternberg-authentik 10bfc4e
erge branch 'main' into dev
kensternberg-authentik c49185d
Merge branch 'main' into dev
kensternberg-authentik 7b208d9
Merge branch 'main' into dev
kensternberg-authentik 75b605f
Merge branch 'main' into dev
kensternberg-authentik 10a4db6
web: add more linting
kensternberg-authentik e1248b3
A reliable test for the extra code needed in analyzer, passing shellc…
kensternberg-authentik c2a277a
web: re-enable custom-element-manifest and enable component checking …
kensternberg-authentik e537d89
Added building the manifest to the build process, rather than storing…
kensternberg-authentik 2226c8c
web: the most boring PR in the universe: Add HTMLTagNameElementMap to…
kensternberg-authentik 4dd7905
Merge branch 'main' into web/add-more-linting
kensternberg-authentik dd625d5
Merge branch 'main' into web/add-htmltagmaps-to-activate-lit-analyzer
kensternberg-authentik e4861f6
Merge branch 'web/add-more-linting' into web/add-htmltagmaps-to-activ…
kensternberg-authentik d002b35
Merge branch 'main' into web/add-htmltagmaps-to-activate-lit-analyzer
kensternberg-authentik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,3 +109,4 @@ temp/ | |
# End of https://www.gitignore.io/api/node | ||
api/** | ||
storybook-static/ | ||
custom-elements.json |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
TARGET="./node_modules/@custom-elements-manifest/analyzer/src/features/analyse-phase/creators/handlers.js" | ||
|
||
# If the second question mark is not there in this test, put it there. The flags to grep ensure it | ||
# will behave correctly on both MacOS and Linux by requiring it to use only the POSIX "basic" | ||
# regular expression behavior. | ||
# | ||
|
||
if ! grep -GL 'node\.name?\.text?\.startsWith' "$TARGET" > /dev/null 2>&1; then | ||
patch --forward -V none --no-backup-if-mismatch -p0 $TARGET <<EOF | ||
--- a/packages/analyzer/src/features/analyse-phase/creators/handlers.js | ||
+++ b/packages/analyzer/src/features/analyse-phase/creators/handlers.js | ||
@@ -34,7 +34,7 @@ export function handleModifiers(doc, node) { | ||
} | ||
}); | ||
|
||
- if (node.name?.text.startsWith('#')) { | ||
+ if (node.name?.text?.startsWith('#')) { | ||
doc.privacy = 'private'; | ||
} | ||
EOF | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Warning: Aside from the last two files in this PR, this one and the next 359 after it are all exactly this. If you want to see how this was done, scroll down and read those last two.