Collection2 and SimpleSchema packages?

Since v4.0, aldeed:collection2 ships with aldeed:simple-schema built in. The npm simpl-schema is no longer involved, you can check the actual source: it imports from meteor/aldeed:simple-schema, not from npm :+1:

Your fix:

  1. meteor add aldeed:collection2
  2. Remove simpl-schema from npm
  3. Replace import SimpleSchema from 'simpl-schema' with import SimpleSchema from 'meteor/aldeed:simple-schema'

API is nearly identical so it’s mostly a search-and-replace on imports. Just tested on a fresh Meteor 3.4 app, everything works :wink:

I’ll submit a PR to fix that README :smile: