Refactor imports
This update replaces all global Meteor variables and collections with the import / export syntax. So instead of using e.g. Template as a global variable, simply add
import { Template } from 'meteor/templating';
to the top of the file and the variable will be imported as a local variable.