Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

cli: sort generated paths #12

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

cli: sort generated paths #12

wants to merge 22 commits into from

Conversation

nirtamir2
Copy link

@nirtamir2 nirtamir2 commented Aug 26, 2022

This PR sort generated routes.
I run the build command and test it with the example app.

image

Notice:

I could extract a function that creates the routes map so I won't have to use the sortedRoutes variable and I could just call it routes, but I'm not sure what is the code style in this repo - so feel free to comment and I will fix it as you want :)

Closes #11

@changeset-bot
Copy link

changeset-bot bot commented Aug 26, 2022

⚠️ No Changeset found

Latest commit: 93f0a71

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@nirtamir2 nirtamir2 changed the title Sort generated Paths to avoid git diff when running next-static-paths cli: sort generated Paths to avoid git diff when running next-static-paths Aug 26, 2022
@nirtamir2 nirtamir2 changed the title cli: sort generated Paths to avoid git diff when running next-static-paths cli: sort generated paths Aug 26, 2022
@nirtamir2
Copy link
Author

@Schniz Any update?

nirtamir2 and others added 21 commits June 20, 2023 17:02
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sort generated Paths to avoid git diff when running next-static-paths
2 participants