Make optional packages depend on core only

This commit is contained in:
Sacha Greif 2015-04-22 16:52:42 +09:00
parent 799ea244aa
commit 9c5e3a56c6
29 changed files with 99 additions and 291 deletions

View file

@ -3,16 +3,41 @@
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.
# Telescope Packages (Required)
# note: eventually, the following packages will all be replaced by telescope:core, which will depend on them
############ Telescope Core ############
telescope:core
# Telescope Packages (Optional)
############ Telescope Packages (Optional) ############
# Note: all following packages depend on telescope:core; Additional internal dependencies are mentioned
telescope:api
telescope:daily # singleday
telescope:datetimepicker
telescope:email
telescope:embedly
telescope:getting-started
telescope:invites
telescope:kadira
telescope:migrations
telescope:newsletter
telescope:notifications
telescope:pages
telescope:post-by-feed
telescope:releases
telescope:rss
telescope:scoring
telescope:search
telescope:share
telescope:singleday
# telescope:sitemap
telescope:subscribe-to-posts # notifications
telescope:tagline-banner
telescope:tags
telescope:theme-base
telescope:theme-hubble
telescope:update-prompt
# Your Custom Packages
############ Your Custom Packages ############
# custom

View file

@ -4,6 +4,7 @@ accounts-password@1.1.1
accounts-twitter@1.0.4
aldeed:autoform@5.1.2
aldeed:collection2@2.3.3
aldeed:http@0.2.2
aldeed:simple-schema@1.3.2
anti:i18n@0.4.3
aramk:tinycolor@1.1.0_1
@ -20,6 +21,7 @@ cfs:http-methods@0.0.27
check@1.0.5
chuangbo:cookie@1.1.0
chuangbo:marked@0.3.5
cmather:handlebars-server@0.2.0
coffeescript@1.0.6
ddp@1.1.0
deps@1.0.7
@ -28,6 +30,7 @@ email@1.0.6
fastclick@1.0.3
fourseven:scss@2.1.1
geojson-utils@1.0.3
handlebars@1.0.3
html-tools@1.0.4
htmljs@1.0.4
http@1.1.0
@ -45,6 +48,8 @@ jparker:crypto-md5@0.1.1
jparker:gravatar@0.3.1
jquery@1.11.3_2
json@1.0.3
kestanous:herald@1.3.0
kestanous:herald-email@0.5.0
launch-screen@1.0.2
less@1.0.14
livedata@1.0.13
@ -56,13 +61,18 @@ meteor@1.1.6
meteor-platform@1.2.2
meteorhacks:fast-render@2.3.2
meteorhacks:inject-data@1.2.3
meteorhacks:kadira@2.20.1
meteorhacks:meteorx@1.3.1
meteorhacks:picker@1.0.2
meteorhacks:subs-manager@1.3.0
minifiers@1.1.5
minimongo@1.0.8
miro:mailchimp@1.0.4
mobile-status-bar@1.0.3
momentjs:moment@2.10.3
mongo@1.1.0
mongo-livedata@1.0.8
mrt:cookies@0.3.0
npm-bcrypt@0.7.8_2
oauth@1.1.4
oauth1@1.1.4
@ -75,6 +85,7 @@ reactive-var@1.0.5
reload@1.1.3
retry@1.0.3
routepolicy@1.0.5
sacha:juice@0.1.4
sacha:spin@0.2.4
service-configuration@1.0.4
session@1.1.0
@ -86,14 +97,39 @@ srp@1.0.3
standard-app-packages@1.0.5
stylus@1.0.7
tap:i18n@1.4.1
telescope:api@0.1.0
telescope:comments@0.1.0
telescope:core@0.1.0
telescope:daily@0.1.0
telescope:datetimepicker@0.1.0
telescope:email@0.3.0
telescope:embedly@0.3.1
telescope:events@0.1.1
telescope:getting-started@0.1.0
telescope:i18n@0.1.0
telescope:invites@0.1.0
telescope:kadira@0.1.0
telescope:lib@0.3.1
telescope:messages@0.1.0
telescope:migrations@0.1.0
telescope:newsletter@0.1.1
telescope:notifications@0.1.0
telescope:pages@0.1.0
telescope:post-by-feed@0.1.0
telescope:posts@0.1.2
telescope:releases@0.1.0
telescope:rss@0.1.0
telescope:scoring@0.1.0
telescope:search@0.1.0
telescope:settings@0.1.0
telescope:share@0.1.0
telescope:singleday@0.1.1
telescope:subscribe-to-posts@0.1.0
telescope:tagline-banner@0.1.0
telescope:tags@0.1.0
telescope:theme-base@0.1.0
telescope:theme-hubble@0.1.0
telescope:update-prompt@0.1.0
telescope:users@0.1.0
templating@1.1.1
tracker@1.0.7

View file

@ -9,11 +9,7 @@ Package.onUse(function (api) {
api.versionsFrom(['METEOR@1.0']);
api.use([
'telescope:lib@0.3.0',
'telescope:users@0.1.0',
'iron:router@1.0.5'
], ['server']);
api.use(['telescope:core@0.1.0']);
api.add_files(['lib/server/api.js', 'lib/server/routes.js'], ['server']);

View file

@ -10,21 +10,8 @@ Package.onUse(function (api) {
api.use([
'telescope:core@0.1.0',
'telescope:lib@0.3.0',
'telescope:settings@0.1.0',
'iron:router@1.0.5',
'meteorhacks:fast-render@2.3.2',
'meteorhacks:subs-manager@1.3.0',
'tap:i18n@1.4.1',
'telescope:singleday@0.1.0',
'fourseven:scss@2.1.1'
], ['client', 'server']);
api.use([
'jquery',
'underscore',
'templating'
], 'client');
]);
api.add_files([
'package-tap.i18n',
@ -49,5 +36,4 @@ Package.onUse(function (api) {
"i18n/zh-CN.i18n.json",
], ["client", "server"]);
api.export(['PostsDailyController']);
});

View file

@ -9,11 +9,7 @@ Package.onUse(function(api) {
api.versionsFrom("METEOR@1.0");
api.use('telescope:core@0.1.0');
api.use('templating');
api.use('blaze');
api.use('aldeed:autoform@5.1.2');
api.use('fourseven:scss@2.1.1');
api.use(['telescope:core@0.1.0']);
api.addFiles([
'datetimepicker.scss',

View file

@ -14,18 +14,10 @@ Package.onUse(function (api) {
api.versionsFrom(['METEOR@1.0']);
api.use([
'iron:router@1.0.5',
'telescope:settings@0.1.0',
'telescope:lib@0.3.0',
'telescope:users@0.1.0',
'telescope:i18n@0.1.0',
'tap:i18n@1.4.1',
'sacha:juice@0.1.4'
], ['client', 'server']);
api.use([
'telescope:core@0.1.0',
'sacha:juice@0.1.4',
'cmather:handlebars-server@0.2.0'
], ['server']);
]);
// do not use for now since tap:i18n doesn't support server-side templates yet
// api.add_files([

View file

@ -9,16 +9,7 @@ Package.onUse( function(api) {
api.versionsFrom("METEOR@1.0");
api.use([
'telescope:lib@0.3.0',
'telescope:posts@0.1.2',
'telescope:settings@0.1.0',
'aldeed:autoform@5.1.2',
'tap:i18n@1.4.1',
'fourseven:scss@2.1.1',
'templating',
'http'
]);
api.use(['telescope:core@0.1.0']);
api.use([
'telescope:messages@0.1.0'

View file

@ -17,14 +17,7 @@ Package.onUse(function (api) {
// automatic (let the package specify where it's needed)
api.use([
'tap:i18n@1.4.1', // internationalization package
'iron:router@1.0.5', // routing package
'telescope:lib@0.3.0', // useful functions
'telescope:i18n@0.1.0', // internationalization wrapper
'telescope:posts@0.1.2',
'momentjs:moment@2.10.0'
]);
api.use(['telescope:core@0.1.0']);
// client

View file

@ -17,17 +17,8 @@ Package.onUse(function (api) {
// automatic (let the package specify where it's needed)
api.use([
'tap:i18n@1.4.1',
'iron:router@1.0.5',
'telescope:settings@0.1.0',
'telescope:lib@0.3.0',
'telescope:users@0.1.0',
'telescope:i18n@0.1.0',
'aldeed:simple-schema@1.3.2',
'aldeed:autoform@5.1.2'
]);
api.use(['telescope:core@0.1.0']);
// client
api.use([

View file

@ -10,10 +10,7 @@ Package.onUse(function (api) {
api.versionsFrom(['METEOR@1.0']);
api.use([
'templating',
'telescope:lib@0.3.0',
'telescope:settings@0.1.0',
'tap:i18n@1.4.1',
'telescope:core@0.1.0',
'meteorhacks:kadira@2.20.1'
], ['client', 'server']);

View file

@ -14,6 +14,7 @@ Package.onUse(function (api) {
'accounts-base',
'accounts-password',
'accounts-twitter',
'http',
'aldeed:simple-schema@1.3.2',
'aldeed:collection2@2.3.3',
'aldeed:autoform@5.1.2',
@ -40,6 +41,7 @@ Package.onUse(function (api) {
'accounts-base',
'accounts-password',
'accounts-twitter',
'http',
'aldeed:simple-schema@1.3.2',
'aldeed:collection2@2.3.3',
'aldeed:autoform@5.1.2',

View file

@ -9,12 +9,7 @@ Package.onUse(function(api) {
api.versionsFrom("METEOR@1.0");
api.use([
'telescope:lib@0.3.0',
'telescope:users@0.1.0',
'telescope:comments@0.1.0',
'telescope:posts@0.1.2'
]);
api.use(['telescope:core@0.1.0']);
api.addFiles([
'lib/server/migrations.js'

View file

@ -14,15 +14,8 @@ Package.onUse(function (api) {
api.versionsFrom("METEOR@1.0");
api.use([
'telescope:lib@0.3.0',
'telescope:posts@0.1.2',
'telescope:users@0.1.0',
'telescope:settings@0.1.0',
'aldeed:simple-schema@1.3.2',
'iron:router@1.0.5',
'telescope:core@0.1.0',
'miro:mailchimp@1.0.4',
'tap:i18n@1.4.1',
'fourseven:scss@2.1.1'
], ['client', 'server']);
api.use([

View file

@ -10,27 +10,11 @@ Package.onUse(function (api) {
api.versionsFrom("METEOR@1.0");
api.use([
'telescope:lib@0.3.0',
'telescope:users@0.1.0',
'telescope:settings@0.1.0',
'telescope:email@0.1.0',
'telescope:posts@0.1.2',
'iron:router@1.0.5',
'telescope:core@0.1.0',
'kestanous:herald@1.3.0',
'kestanous:herald-email@0.5.0',
'tap:i18n@1.4.1'
], ['client', 'server']);
api.use([
'jquery',
'underscore',
'templating',
'tracker'
], ['client']);
api.use([
'cmather:handlebars-server@0.2.0'
], ['server']);
]);
api.add_files([
'lib/notifications.js',

View file

@ -9,18 +9,7 @@ Package.onUse(function(api) {
api.versionsFrom("METEOR@1.0");
api.use([
'aldeed:simple-schema@1.3.2',
'aldeed:autoform@5.1.2',
'tap:i18n@1.4.1',
'fourseven:scss@2.1.1',
'iron:router@1.0.5',
'templating',
'telescope:messages@0.1.0',
'telescope:lib@0.3.0',
'matb33:collection-hooks@0.7.11',
'chuangbo:marked@0.3.5'
]);
api.use(['telescope:core@0.1.0']);
api.addFiles([
'lib/pages.js'

View file

@ -16,15 +16,7 @@ Package.onUse(function(api) {
api.versionsFrom("METEOR@1.0");
api.use([
'telescope:tags@0.1.0',
'telescope:lib@0.3.0',
'telescope:posts@0.1.2',
'aldeed:simple-schema@1.3.2',
'aldeed:autoform@5.1.2',
'tap:i18n@1.4.1',
'fourseven:scss@2.1.1'
], ['client', 'server']);
api.use(['telescope:core@0.1.0']);
api.use([
'iron:router@1.0.5',

View file

@ -11,29 +11,7 @@ Package.onUse(function (api) {
// --------------------------- 1. Meteor packages dependencies ---------------------------
// automatic (let the package specify where it's needed)
api.use([
'tap:i18n@1.4.1', // internationalization package
'iron:router@1.0.5', // routing package
'telescope:lib@0.3.0', // useful functions
'telescope:i18n@0.1.0', // internationalization wrapper
'fourseven:scss@2.1.1' // SCSS compilation package
]);
// client
api.use([
'jquery', // useful for DOM interactions
'underscore', // JavaScript swiss army knife library
'templating' // required for client-side templates
], ['client']);
// server
api.use([
//
], ['server']);
api.use(['telescope:core@0.1.0']);
// ---------------------------------- 2. Files to include ----------------------------------

View file

@ -9,12 +9,7 @@ Npm.depends({rss: "0.3.2"});
Package.onUse(function (api) {
api.use([
'telescope:lib@0.3.0',
'telescope:settings@0.1.0',
'telescope:posts@0.1.2',
'iron:router@1.0.5'
], ['server']);
api.use(['telescope:core@0.1.0']);
api.add_files(['lib/server/rss.js', 'lib/server/routes.js'], ['server']);

View file

@ -9,12 +9,7 @@ Package.onUse(function (api) {
api.versionsFrom("METEOR@1.0");
api.use([
'telescope:lib@0.3.0',
'telescope:posts@0.1.2',
'telescope:comments@0.1.0',
'telescope:settings@0.1.0'
], ['client', 'server']);
api.use(['telescope:core@0.1.0']);
api.add_files([
'lib/scoring.js',

View file

@ -9,20 +9,7 @@ Package.onUse(function (api) {
api.versionsFrom("METEOR@1.0");
api.use([
'telescope:lib@0.3.0',
'telescope:settings@0.1.0',
'aldeed:simple-schema@1.3.2'
], ['client', 'server']);
api.use([
'jquery',
'underscore',
'iron:router@1.0.5',
'templating',
'tap:i18n@1.4.1',
'fourseven:scss@2.1.1'
], 'client');
api.use(['telescope:core@0.1.0']);
api.add_files([
'lib/search.js',

View file

@ -9,17 +9,8 @@ Package.onUse(function (api) {
api.versionsFrom("METEOR@1.0");
api.use([
'jquery',
'underscore',
'templating',
'fourseven:scss@2.1.1'
], 'client');
api.use([
'telescope:lib@0.3.0'
]);
api.use(['telescope:core@0.1.0']);
api.add_files([
'lib/share.js'
], ['client', 'server']);

View file

@ -14,29 +14,7 @@ Package.onUse(function (api) {
// --------------------------- 1. Meteor packages dependencies ---------------------------
// automatic (let the package specify where it's needed)
api.use([
'telescope:lib@0.3.0',
'telescope:i18n@0.1.0',
'telescope:posts@0.1.2',
'tap:i18n@1.4.1',
'iron:router@1.0.5'
]);
// client
api.use([
'jquery',
'underscore',
'templating'
], ['client']);
// server
api.use([
//
], ['server']);
api.use(['telescope:core@0.1.0']);
// ---------------------------------- 2. Files to include ----------------------------------

View file

@ -10,12 +10,7 @@ Package.onUse(function(api) {
api.versionsFrom("METEOR@1.0");
api.use([
"templating",
"underscore",
"check",
"iron:router@1.0.5",
"telescope:lib@0.3.0",
"telescope:posts@0.1.2",
"telescope:core@0.1.0",
"gadicohen:sitemaps@0.0.20"
]);

View file

@ -14,24 +14,7 @@ Package.onUse(function (api) {
// automatic (let the package specify where it's needed)
api.use([
'tap:i18n@1.4.1',
'iron:router@1.0.5',
'telescope:lib@0.3.0',
'telescope:i18n@0.1.0',
'fourseven:scss@2.1.1',
'telescope:notifications@0.1.0',
'telescope:posts@0.1.2'
]);
// client
api.use([
'jquery', // useful for DOM interactions
'underscore', // JavaScript swiss army knife library
'templating', // required for client-side templates
'telescope:messages@0.1.0'
], ['client']);
api.use(['telescope:core@0.1.0']);
// ---------------------------------- 2. Files to include ----------------------------------

View file

@ -10,23 +10,7 @@ Package.onUse(function (api) {
// --------------------------- 1. Meteor packages dependencies ---------------------------
// automatic (let the package specify where it's needed)
api.use([
'telescope:lib@0.3.0', // useful functions
'telescope:settings@0.1.0',
'fourseven:scss@2.1.1', // SCSS compilation package
'tap:i18n@1.4.1'
]);
// client
api.use([
'jquery', // useful for DOM interactions
'underscore', // JavaScript swiss army knife library
'templating' // required for client-side templates
], ['client']);
api.use(['telescope:core@0.1.0']);
// ---------------------------------- 2. Files to include ----------------------------------

View file

@ -9,22 +9,7 @@ Package.onUse(function (api) {
api.versionsFrom("METEOR@1.0");
api.use([
'telescope:lib@0.3.0',
'telescope:posts@0.1.2',
'aldeed:simple-schema@1.3.2',
'aldeed:autoform@5.1.2',
'tap:i18n@1.4.1',
'fourseven:scss@2.1.1',
'matb33:collection-hooks@0.7.11'
], ['client', 'server']);
api.use([
'jquery',
'underscore',
'iron:router@1.0.5',
'templating'
], 'client');
api.use(['telescope:core@0.1.0']);
api.addFiles([
'lib/categories.js',

View file

@ -8,10 +8,7 @@ Package.onUse(function (api) {
api.versionsFrom("METEOR@1.0");
api.use([
'telescope:lib@0.3.0',
'fourseven:scss@2.1.1'
], ['client', 'server']);
api.use(['telescope:core@0.1.0']);
api.addFiles(
[

View file

@ -9,12 +9,7 @@ Package.onUse(function (api) {
api.versionsFrom("METEOR@1.0");
api.use(
[
'telescope:lib@0.3.0',
'fourseven:scss@2.1.1'
], ['client', 'server']
);
api.use(['telescope:core@0.1.0']);
api.addFiles([
'lib/hubble.js',

View file

@ -9,20 +9,7 @@ Package.onUse(function (api) {
api.versionsFrom("METEOR@1.0");
api.use([
'telescope:lib@0.3.0',
'telescope:posts@0.1.2',
'telescope:comments@0.1.0',
'http'
], ['client', 'server']);
api.use([
'jquery',
'underscore',
'iron:router@1.0.5',
'templating'
], 'client');
api.use(['telescope:core@0.1.0']);
api.add_files([
'lib/client/update.js',