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

spike on PNPM #1722

Draft
wants to merge 19 commits into
base: master
Choose a base branch
from
Draft

spike on PNPM #1722

wants to merge 19 commits into from

Conversation

turadg
Copy link
Member

@turadg turadg commented Aug 14, 2023

  • build: adopt pnpm
  • build: remove yarn remnants
  • WIP: rm obsolete covnentional-commits patch
  • build: port @lerna/version patch
  • fixup! build: adopt pnpm
  • build: use 'workspace:' protocol
  • build: fix eslint-plugin resolution
  • WIP: remove obsolete 'events' patch
  • build: ack typescript dependency
  • build: ack 'ses' dependency
  • build: ack 'eventual-send' dependency
  • fixup! build: ack 'ses' dependency
  • build: ack 'pass-style' dep
  • fixup! build: ack 'ses' dependency

closes: #XXXX
refs: #XXXX

Description

Security Considerations

Scaling Considerations

Documentation Considerations

Testing Considerations

Upgrade Considerations

@turadg turadg mentioned this pull request Apr 18, 2024
@turadg turadg mentioned this pull request Apr 25, 2024
kriskowal added a commit that referenced this pull request Apr 26, 2024
closes: #2245 
refs: Agoric/agoric-sdk#451
refs: Agoric/ui-kit#105

## Description

Move from Yarn 1 to Yarn 4. Some advantages,

- actively maintained
- [workspace protocol](https://yarnpkg.com/protocol/workspace) (so we
don't have to maintain version numbers in all deps)
- [patch protocol](https://yarnpkg.com/protocol/patch) (so we don't need
patch-package)
- [constraints](https://yarnpkg.com/features/constraints) (e.g. to
enforce layering)
- path to adopt pnpm-style linker (without changing the UI) (see
#1722 )

However this defers workspace protocol until the publishing workflow can
support it.

### Security Considerations

This does a bulk update of `yarn.lock`. It was automated by Yarn 4.

### Scaling Considerations

n/a

### Documentation Considerations

I reviewed `yarn` commands in *.md and I think they're all accurate.

### Testing Considerations

This could interact with the publishing pipeline. @kriskowal may want to
push a draft before we merge. If problems are found, depending on the
severity, we could follow up in a separate PR to land this sooner reduce
merge conflicts.

This was failing on the Windows tests, something about corepack not
taking effect. I don't know whether Windows is officially supported by
Endo. We've since disabled them.
#2243 is the issue restore.


### Compatibility Considerations

Some CLI commands are slightly different. We are adopting it across the
org so we have to adjust sometime.

### Upgrade Considerations

n/a
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.

1 participant