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

Yarn 4 #6215

Open
wants to merge 87 commits into
base: main
Choose a base branch
from
Open

Yarn 4 #6215

wants to merge 87 commits into from

Conversation

snowystinger
Copy link
Member

@snowystinger snowystinger commented Apr 17, 2024

Closes

Comments inline below
I've left a couple peer dependency resolutions for later because they'll be solved by some other PRs we have.

I still want to replace the rest of patch-package, but that can be done in followup

I've managed to remove a total of 99 unique dependencies, a good chunk of that is lerna related.

βœ… Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

πŸ“ Test Instructions:

🧒 Your Project:

@rspbot
Copy link

rspbot commented Apr 17, 2024

# Conflicts:
#	yarn.lock
@rspbot
Copy link

rspbot commented Apr 17, 2024

@rspbot
Copy link

rspbot commented Apr 17, 2024

@rspbot
Copy link

rspbot commented Apr 17, 2024

@rspbot
Copy link

rspbot commented Apr 17, 2024

@rspbot
Copy link

rspbot commented Apr 17, 2024

@rspbot
Copy link

rspbot commented Apr 17, 2024

@rspbot
Copy link

rspbot commented Apr 17, 2024

@rspbot
Copy link

rspbot commented Jun 1, 2024

@rspbot
Copy link

rspbot commented Jun 1, 2024

1 similar comment
@rspbot
Copy link

rspbot commented Jun 1, 2024

@rspbot
Copy link

rspbot commented Jun 1, 2024

1 similar comment
@rspbot
Copy link

rspbot commented Jun 1, 2024

@@ -0,0 +1,106 @@
#
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

included so we could do anonymous publishing to verdaccio

@@ -18,12 +18,10 @@ function cleanup {
then
lsof -ti tcp:4000 | xargs kill
# Clean up generated dists if run locally
shopt -s globstar extglob
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only intel macs need this, m macs will throw on this and crash, failing to cleanup. now that the majority of the common users of this script are on m macs, I'm removing it

rm -rf packages/**/dist
rm -rf storage/ ~/.config/verdaccio/storage/ $output
if [ "$commit_to_revert" != "HEAD" ];
then
git tag -d $(git tag -l)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lerna default tagged everything and created a commit, using yarn, we can simplify and not create tags and not create extra commits

# build prod docs with a public url of /reactspectrum/COMMIT_HASH_BEFORE_PUBLISH/verdaccio/docs
PUBLIC_URL=/reactspectrum/`git rev-parse HEAD~1`/verdaccio/docs make website-production
PUBLIC_URL=/reactspectrum/`git rev-parse HEAD~0`/verdaccio/docs make website-production
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the simplification based on lerna used to create an extra commit with tags, now we don't do that, so we can just use the current commit

@rspbot
Copy link

rspbot commented Jun 1, 2024

@rspbot
Copy link

rspbot commented Jun 1, 2024

@rspbot
Copy link

rspbot commented Jun 1, 2024

@rspbot
Copy link

rspbot commented Jun 1, 2024

@rspbot
Copy link

rspbot commented Jun 1, 2024

@rspbot
Copy link

rspbot commented Jun 1, 2024

@rspbot
Copy link

rspbot commented Jun 1, 2024

@rspbot
Copy link

rspbot commented Jun 1, 2024

@rspbot
Copy link

rspbot commented Jun 3, 2024

@rspbot
Copy link

rspbot commented Jun 3, 2024

## API Changes

unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any', access: 'private' }
unknown top level export { type: 'any', access: 'private' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'identifier', name: 'Column' }
unknown top level export { type: 'identifier', name: 'Column' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown type { type: 'link' }
unknown type { type: 'link' }
unknown type { type: 'link' }
unknown type { type: 'link' }
unknown type { type: 'link' }
unknown type { type: 'link' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }
unknown top level export { type: 'any' }

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.

None yet

2 participants