i've got project started on older version of meteor , i've installed recent version. cloned project code , ran problems ran meteor deleted files except smart.json, smart.lock , packages.json
i ran meteor add meteorhacks:npm meteor install node modules require. looks packages need in smart.lock file.
this should simple, how install recent version of these packages? thought running meteor pick them apparently not. checked by doing meteor list , don't see packages need.
smart.json:
{ "packages": { "loading": {}, "jquery-jcrop": {}, "accounts-admin-ui-bootstrap-3": {}, "accounts-ui-bootstrap-3": {}, "font-awesome-4-less": {} } } smart.lock
{ "meteor": {}, "dependencies": { "basepackages": { "loading": {}, "jquery-jcrop": {}, "accounts-admin-ui-bootstrap-3": {}, "accounts-ui-bootstrap-3": {}, "font-awesome-4-less": {} }, "packages": { "loading": { "git": "https://github.com/bitio/meteor-loading.git", "tag": "v0.0.1", "commit": "48840a828a614e25d0e19c124494b16f255a902e" }, "jquery-jcrop": { "git": "https://github.com/waltyuyu/meteor-jquery-jcrop.git", "tag": "v0.0.3", "commit": "45a62562f3d13cbc72a7710472a76cf9c3c589cd" }, "accounts-admin-ui-bootstrap-3": { "git": "https://github.com/hharnisc/meteor-accounts-admin-ui-bootstrap-3.git", "tag": "v0.2.6", "commit": "fe74692303daf73d440f2729010bcf1557af62ca" }, "accounts-ui-bootstrap-3": { "git": "https://github.com/mangasocial/meteor-accounts-ui-bootstrap-3.git", "tag": "v0.3.5", "commit": "bbd0a8a46ae02526c2ebfee05fa8075d8d04a9ba" }, "font-awesome-4-less": { "git": "https://github.com/svub/fontawesome4-less.git", "tag": "v4.4.0", "commit": "250d2336a217c18eb70e9d074784a7db3ca38472" }, "roles": { "git": "https://github.com/alanning/meteor-roles.git", "tag": "v1.2.8", "commit": "68844ba216c348d332bdb840825850f497f515bb" } } } }
for meteor packages, 1 install using meteor add package:name
- their version stored in
.meteor/versions - running
meteor updateupdate them last available version - typing
meteor listlist used packages, version , comment if new version available.
for pure npm packages, 1 install through meteorhacks:npm listing them root based packages.json file
- their version , must defined in file directly
example of packages.json file:
{ "redis": "0.8.2", "github": "0.1.8" } i.e. "npmmodulename":"releaseversion", alternative being directly poing amodule.tar.gz file.
manually finding version can bit boring go project's git, , browse release path, example: https://github.com/user/projectname/releases/
my advise in case, not have lot of packages reinstall, manually find new name on http://www.atmospherejs.com , reinstall them manually. attempt manually editing
.meteor/packagesfile packages name (since meteor v0.9) prefixed contributor's name, meteor might not able find them back. way, unclaimed migrated packages takes prefixmrtper default examplefont-awesome-4-lessmrt:font-awesome-4-less
Comments
Post a Comment