-
Notifications
You must be signed in to change notification settings - Fork 40
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
Upgrade collection2 and SimpleSchema #126
base: master
Are you sure you want to change the base?
Conversation
…ma as the old versions of aldeed:collection2 and aldeed:simple-schema are now deprecated
…w use of denyInsert property
Do you have any idea why the Travis CI build is failing? I see the Npm.depends statement but it for some reason doesn't seem to run through. |
Sorry, I didn't see your message until today. From the logs: So it sees the package dependency. But then it says: I'm not sure why it's not installing simpl-schema even though it's listed as an npm dependency... I tested it on my machine, including deliberately removing simpl-schema from my overall project dependency to see if the comments-ui package would install it and it did. I'm not sure why it's not working in your Travis build. |
Is anyone still working on this pull request? @hashcutdev Thank you for this upgrade. |
@hashcutdev could you have a look at my code review feedback? |
Hi, Maybe it's related or maybe it's not, but I was testing this PR in my project (meteor 1.6, collection2, npm-simpl-schema and react) but it caused the client code to crash badly (too many unhelpful errors in console like: meteor/meteor#8693). Adding the new dependencies one by one I detected that the crash cause was the use of moment meteor package (because and I'm already using moment npm package ^2.19.1). The moment meteor package is 2.12 (not updated in the last two years). After switching your package locally to use momentjs via npm (minor change), all work as expected. The changes are minimal (some moment imports and add the moment dependency). Maybe this help others, |
I'm already testing this PR locally. Other issue (an old reference to simple-schema):
|
Fixes #124
Upgraded aldeed:collection2-core and new NPM version of simpl-schema as the old versions of aldeed:collection2 and aldeed:simple-schema are deprecated.
New pull request includes NPM dependency on the new package simpl-schema.