Skip to content

Commit

Permalink
cdn: there was a problem in downloading components, because of
Browse files Browse the repository at this point in the history
Github permanent redirects. Fixed it using:
componentjs/builder.js#143 (comment)
  • Loading branch information
prateekbhatt committed Jun 3, 2014
1 parent 4713e85 commit 552d60e
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 50 deletions.
107 changes: 58 additions & 49 deletions apps/cdn/component.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,59 @@
{
"name": "userjoy",
"repo": "prateekbhatt/littlejohn",
"description": "Analytics + messaging for SaaS Applications",
"version": "1.0.0",
"dependencies": {
"avetisk/defaults": "0.0.4",
"component/clone": "0.1.0",
"component/cookie": "1.0.1",
"component/each": "0.0.1",
"component/event": "0.1.1",
"component/inherit": "0.0.2",
"component/object": "0.0.3",
"component/querystring": "1.1.0",
"component/url": "0.1.0",
"ianstormtaylor/bind": "0.0.2",
"ianstormtaylor/callback": "0.0.1",
"ianstormtaylor/is": "0.1.0",
"segmentio/after": "0.0.1",
"segmentio/canonical": "0.0.1",
"segmentio/extend": "0.0.1",
"segmentio/is-email": "0.1.1",
"segmentio/is-meta": "0.0.1",
"segmentio/isodate-traverse": "0.3.0",
"segmentio/json": "0.0.1",
"segmentio/new-date": "0.3.0",
"segmentio/store.js": "1.3.8",
"segmentio/top-domain": "0.0.1",
"visionmedia/debug": "0.7.4",
"yields/prevent": "0.0.2",
"lodash/lodash": "2.4.1",
"visionmedia/node-querystring": "*",
"ForbesLindesay/ajax": "*"
},
"scripts": [
"lib/index.js",
"lib/company.js",
"lib/cookie.js",
"lib/entity.js",
"lib/feedback.js",
"lib/feedback-template.js",
"lib/notification.js",
"lib/notification-template.js",
"lib/queue.js",
"lib/store.js",
"lib/user.js",
"lib/userjoy.js"
],
"main": "lib/index.js"
}
"name": "userjoy",
"repo": "prateekbhatt/littlejohn",
"description": "Analytics + messaging for SaaS Applications",
"version": "1.0.0",
"dependencies": {
"avetisk/defaults": "0.0.4",
"component/clone": "0.1.0",
"component/cookie": "1.0.1",
"component/each": "0.0.1",
"component/event": "0.1.1",
"component/inherit": "0.0.2",
"component/object": "0.0.3",
"component/querystring": "1.1.0",
"component/url": "0.1.0",
"ianstormtaylor/bind": "0.0.2",
"ianstormtaylor/callback": "0.0.1",
"ianstormtaylor/is": "0.1.0",
"segmentio/after": "0.0.1",
"segmentio/canonical": "0.0.1",
"segmentio/extend": "0.0.1",
"segmentio/is-email": "0.1.1",
"segmentio/is-meta": "0.0.1",
"segmentio/isodate-traverse": "0.3.0",
"segmentio/json": "0.0.1",
"segmentio/new-date": "0.3.0",
"segmentio/store.js": "1.3.8",
"segmentio/top-domain": "0.0.1",
"visionmedia/debug": "0.7.4",
"yields/prevent": "0.0.2",
"lodash/lodash": "2.4.1",
"visionmedia/node-querystring": "*",
"ForbesLindesay/ajax": "*"
},
"scripts": [
"lib/index.js",
"lib/company.js",
"lib/cookie.js",
"lib/entity.js",
"lib/feedback.js",
"lib/feedback-template.js",
"lib/notification.js",
"lib/notification-template.js",
"lib/queue.js",
"lib/store.js",
"lib/user.js",
"lib/userjoy.js"
],


// There was a problem installing components with Github redirects
// REF: https://github.com/component/builder.js/issues/143#issuecomment-41465994
"remotes": [
"https://raw.githubusercontent.com",
"https://cdn.rawgit.com",
"https://rawgit.com"
],
"main": "lib/index.js"
}
2 changes: 1 addition & 1 deletion apps/cdn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"main": "userjoy.js",
"dependencies": {},
"devDependencies": {
"component": "0.19.5",
"component": "~0.19.8",
"express": "~3.1.0",
"hbs": "~2.3.0",
"mocha-phantomjs": "3.1.2",
Expand Down

0 comments on commit 552d60e

Please sign in to comment.