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

2024-01 - update remix #1639

Merged
merged 9 commits into from
Jan 19, 2024
Merged

2024-01 - update remix #1639

merged 9 commits into from
Jan 19, 2024

Conversation

wizardlyhel
Copy link
Contributor

WHY are these changes introduced?

Fixes #0000

WHAT is this pull request doing?

HOW to test your changes?

Post-merge steps

Checklist

  • I've read the Contributing Guidelines
  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've added a changeset if this PR contains user-facing or noteworthy changes
  • I've added tests to cover my changes
  • I've added or updated the documentation

This comment has been minimized.

Comment on lines +12 to +13
// skip .DS_Store files
if (srcEntry.endsWith('.DS_Store')) continue;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not sure why this is a problem now

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe you opened packages/cli/src/virtual-routes with Mac's Finder or something similar? It seems it created a .DS_Store file in your machine but we shouldn't have this generally here.

The change doesn't hurt, though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The change doesn't hurt .. and this is happening in CI as well

Copy link
Contributor

Choose a reason for hiding this comment

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

Did someone accidentally add .DS_Store to VC?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

couldn't find it

Copy link
Contributor Author

@wizardlyhel wizardlyhel Jan 19, 2024

Choose a reason for hiding this comment

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

Edit: This is only a problem when running locally when trying to run npm run build in root folder

@frandiox
Copy link
Contributor

frandiox commented Jan 16, 2024

@wizardlyhel I've reverted changes to peerDependencies because we still want to be compatible with Remix 2.1 to 2.4, it's up to the user (even if we only test for 2.5 now). Otherwise we'd be forcing them to update to 2.5.

Also, the Remix version in the assets package.json is automatically adjusted to the user project version, so we don't need to update it with the rest of the deps.


Remix 2.5.0 has a bug in the build types: remix-run/remix#8492
I've fixed that in remix-oxygen but not sure if we should wait for 2.5.1

@wizardlyhel
Copy link
Contributor Author

thanks @frandiox - would it cause any issues if remix-oxygen is the only one that requires to update to 2.5.0?

@frandiox
Copy link
Contributor

would it cause any issues if remix-oxygen is the only one that requires to update to 2.5.0?

It's only for devDependencies so it shouldn't be a problem 👍

Comment on lines +22 to +23
v3_fetcherPersist: true,
v3_relativeSplatpath: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

We should add a changeset that describes these changes. Probably linking off to the Remix docs: https://remix.run/docs/en/main/hooks/use-resolved-path#splat-paths and https://remix.run/docs/en/main/file-conventions/remix-config#future

Copy link
Contributor

Choose a reason for hiding this comment

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

I assume v3_fetcherPersist was tested to not break our optimistic data functionality?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it doesn't break existing optimistic data functionality

@wizardlyhel wizardlyhel merged commit 335375a into main Jan 19, 2024
10 checks passed
@wizardlyhel wizardlyhel deleted the hl-2024-01-update-remix branch January 19, 2024 16:08
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