Skip to content
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

refactor(patterns): improve pattern types. Flatten @imports #2256

Merged
merged 3 commits into from
Apr 29, 2024

Conversation

erights
Copy link
Contributor

@erights erights commented Apr 29, 2024

closes: #XXXX
refs: #2248 #1584 Agoric/agoric-sdk#6432

Description

Pure refactor. Changes only static info. Mostly more consistent and more readable use of @import.

One case made less readable: Remove newlines within a large @import directive. The reason is that
yarn lerna run build:types chokes on those newlines. TODO minimal repro + report issue.

Extracted from other PRs #1584 #2248 which are now staged on this one. But this should be a reviewable and mergeable improvement regardless of whether we move forward on the others.

Security Considerations

none

Scaling Considerations

none

Documentation Considerations

none

Testing Considerations

none

Compatibility Considerations

none

Upgrade Considerations

none

  • [ ] Includes *BREAKING*: in the commit message with migration instructions for any breaking change.
  • [ ] Updates NEWS.md for user-facing changes.

@erights erights self-assigned this Apr 29, 2024
@erights erights marked this pull request as ready for review April 29, 2024 19:36
packages/patterns/src/keys/copySet.js Outdated Show resolved Hide resolved
packages/patterns/src/keys/keycollection-operators.js Outdated Show resolved Hide resolved
packages/patterns/src/keys/merge-bag-operators.js Outdated Show resolved Hide resolved
packages/patterns/src/keys/merge-set-operators.js Outdated Show resolved Hide resolved
@erights erights enabled auto-merge (squash) April 29, 2024 20:13
@erights erights merged commit 258dfc6 into master Apr 29, 2024
17 checks passed
@erights erights deleted the markm-better-pattern-types branch April 29, 2024 20:18
@turadg turadg mentioned this pull request Apr 29, 2024
1 task
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.

3 participants