-
Notifications
You must be signed in to change notification settings - Fork 80
feat(compartment-mapper)!: new hooks & type overhaul #2988
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
Merged
+6,928
−1,271
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
9a1aff5
chore(compartment-mapper): create guards module
boneskull 01f4f3b
chore(compartment-mapper): add Simplify to util types
boneskull 7f092ac
chore(compartment-mapper): create CanonicalName type and module
boneskull 9874769
chore(compartment-mapper): narrow types of CompartmentDescriptor & Mo…
boneskull db6fec4
chore(compartment-mapper): move PackageDescriptor to node-modules.ts …
boneskull 025454c
chore(compartment-mapper): add comments & nice things to policy-schem…
boneskull f29da29
chore(compartment-mapper): update tsconfig.json
boneskull 4015a6b
fix(env-options): actually expose the generated types
boneskull 0326b8a
chore(compartment-mapper): add test harness for snapshotting large ob…
boneskull 4ca4a55
chore(compartment-mapper): update ProjectFixture and other test utili…
boneskull a021dee
chore(compartment-mapper): enable logging in scaffolding harness via …
boneskull dd28a19
feat(compartment-mapper)!: new hooks
boneskull 974176a
docs(compartment-mapper): update NEWS.md
boneskull ccf0ae1
docs(compartment-mapper): add internal documentation of hooks wiring
naugtur 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.
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.
I think this is incorrect. deferredErrors are deferred because we don't know if they're actual errors until runtime. They should not be a reason to fail anything prior to that. It's the whole purpose of their existence (as opposed to throwing right away)
I know it's not being introduced in this PR, but let's at least file an issue for it so it's there when @kriskowal comes back to the bundler.
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.
What is incorrect? The actual change or the behavior itself?
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.
The behavior itself seems wrong to me. It's effectively banning a module like this:
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.
please add an issue to look into this and mention @kriskowal in it too.