-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Edit Site: Add tsconfig.json validation for package #67406
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
cebe85e
Add basic tsconfig.json validation for edit-site package
ramonjd 52c289c
@ts-nocheck not required
ramonjd 2c17303
Prevent definition files from being generated
ramonjd b34c8a0
See if this works
ramonjd 8e3b7c6
Added to components changelog
ramonjd c8b775b
Es6 for unbrotli.js methods
ramonjd 05ec91a
Removing useless excludes. The font lib files are imported in the pro…
ramonjd 62dfe19
Roll back unbrotil changes. Limiting to files and ignoring import TS …
ramonjd 88a4bed
Roll back changes to external files. I'll update these later in anoth…
ramonjd bd63a8a
Implementing feedback. Using `@ts-expect-error` instead of ignore, an…
ramonjd 9de3486
Rebase and update types
ramonjd f991092
bad rebase
ramonjd f68ecd5
Add missing path
ramonjd ada9c41
Implement feedback
ramonjd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/tsconfig.json", | ||
"extends": "../../tsconfig.base.json", | ||
"references": [ | ||
{ "path": "../a11y" }, | ||
{ "path": "../api-fetch" }, | ||
{ "path": "../autop" }, | ||
{ "path": "../blob" }, | ||
{ "path": "../block-library" }, | ||
{ "path": "../block-editor" }, | ||
{ "path": "../components" }, | ||
{ "path": "../compose" }, | ||
{ "path": "../core-data" }, | ||
{ "path": "../data" }, | ||
{ "path": "../dataviews" }, | ||
{ "path": "../date" }, | ||
{ "path": "../deprecated" }, | ||
{ "path": "../dom" }, | ||
{ "path": "../editor" }, | ||
{ "path": "../element" }, | ||
{ "path": "../escape-html" }, | ||
{ "path": "../fields" }, | ||
{ "path": "../hooks" }, | ||
{ "path": "../html-entities" }, | ||
{ "path": "../i18n" }, | ||
{ "path": "../icons" }, | ||
{ "path": "../interactivity" }, | ||
{ "path": "../interactivity-router" }, | ||
{ "path": "../media-utils" }, | ||
{ "path": "../notices" }, | ||
{ "path": "../keycodes" }, | ||
{ "path": "../plugins" }, | ||
{ "path": "../primitives" }, | ||
{ "path": "../private-apis" }, | ||
{ "path": "../rich-text" }, | ||
{ "path": "../router" }, | ||
{ "path": "../style-engine" }, | ||
{ "path": "../url" }, | ||
{ "path": "../wordcount" } | ||
], | ||
// NOTE: This package is being progressively typed. You are encouraged to | ||
// expand this array with files which can be type-checked. At some point in | ||
// the future, this can be simplified to an `includes` of `src/**/*`. | ||
"files": [ | ||
ramonjd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"src/components/style-book/categories.ts", | ||
"src/components/style-book/constants.ts", | ||
"src/components/style-book/types.ts", | ||
"src/components/style-book/color-examples.tsx", | ||
"src/components/style-book/duotone-examples.tsx", | ||
"src/components/style-book/examples.tsx" | ||
], | ||
"include": [] | ||
} |
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.
All this is for the TS parser
If there are any major type tweaks required, I'd rather do them in a follow up.
This is just to get typing working for this package.