-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Dropped routes with "convert routes" #10
Comments
@jfsiii Thank you for the report! I've been trying to figure this one out because it was reported to me but had no luck due to lack of info. This is greatly appreciated. Will try to replicate with this to find the root cause. |
@jfsiii there have been some improvements to the underlying code, could you try this again if it works? I have a feeling it is due to an OS difference because when I test it on windows it works. |
@AlemTuzlak Still no luck. Here's some info about the before/initial routes remix-routes-main.txt And here's what I saw running in VS Code Here's the routes after conversion remix-routes-forge.txt The diff of the last line from the two - 21 directories, 53 files
+ 1 directory, 22 files I'm not sure of the process for conversion but it's losing alot of routes. All (?) the routes in users/bulk-import/* for example. In getting the screenshots for this response, I started fresh and ran it in VS Code again. This time I got only the "Flattening route to v2 convention finished!" success message but the results were still the same on disk. We do have some non-route files in there (a
|
What I did
I ran "Convert routes to v2 convention" from on a directory that looked like this
tree routes
before: 19 directories, 47 filesnpx remix routes
beforeWhat I observed
It said it succeeded but it lost a lot of files
tree routes
after: 1 directory, 19 filesnpx remix routes
afterIt's not clear to me what the issue is, but hopefully the before/after routes will help. Let me know if I can do any thing to give more data or context.
The text was updated successfully, but these errors were encountered: