-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Migration filename incorrect/missing for Nx0.11.1 #418
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
Comments
Could you provide more info about the issue? The update command isn't working for you? |
The update command works fine, but it doesn't seem to always run the required migrations. What I was trying to say was... The 406 was merged after 400, but 400 has a newer migration name. So if you were to have updated & ran |
Might be worth extending the Perhaps using the date is unwise? Maybe |
You are right. We should have used the merge date instead of the creation date. I'm not sure if it is worth changing nx-migrate because we switched to using the default Angular CLI update mechanism in Nx 6. So we no longer use the nx-migrate command. I think the default CLI update mechanism has the same issue though, so it might make sense to add a check making sure that a PR doesn't add any migrations to an already released version of Nx (we can use tags for that). If you submit a PR adding this check to Travis, I'll merge it. Closing this issue. |
I'll see what I can do about creating a PR. |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
The migration:
packages/schematics/migrations/20180404-adding-dep-graph.ts
created in #406.The name for this file is:
20180404-adding-dep-graph
, yet in #40020180405-add-workspace-schematic-command
is created (which is a more recent date).And on that note, I can't even find20180404-adding-dep-graph
in the [schematics directory] (https://github.com/nrwl/nx/tree/bc559575f524aacbe3d25eb97210101e60de4526/packages/schematics/migrations).There are only 22 files in the git repo, but on my local (freshly installed) there are 48 (which you'd have to divide by 2, as there's a JS and TS copy of each).
Found the missing file(s) on git, still having the issue of the migration in Nx0.11.1 being older than the migration in Nx0.10.X
The text was updated successfully, but these errors were encountered: