From aabce3018af323eb57cc442f56ce6997367de574 Mon Sep 17 00:00:00 2001 From: Aaron Roberson Date: Thu, 17 Sep 2015 11:49:32 -0700 Subject: [PATCH 1/2] feat(registry): add cloudinary to registry Add cloudinary_js to registry and include overrides for dependent files --- .../github/cloudinary/cloudinary_js@1.0.25.json | 16 ++++++++++++++++ registry.json | 1 + 2 files changed, 17 insertions(+) create mode 100644 package-overrides/github/cloudinary/cloudinary_js@1.0.25.json diff --git a/package-overrides/github/cloudinary/cloudinary_js@1.0.25.json b/package-overrides/github/cloudinary/cloudinary_js@1.0.25.json new file mode 100644 index 0000000..4ae8475 --- /dev/null +++ b/package-overrides/github/cloudinary/cloudinary_js@1.0.25.json @@ -0,0 +1,16 @@ +"github:cloudinary/cloudinary_js@1.0.25": { + "main": "js/jquery.cloudinary", + "map": { + "jquery.ui.widget": "./js/jquery.ui.widget" + }, + "shim": { + "js/jquery.cloudinary": { + "exports": "$", + "deps": [ + "./jquery.ui.widget", + "./jquery.iframe-transport", + "./jquery.fileupload" + ] + } + } +} \ No newline at end of file diff --git a/registry.json b/registry.json index be72472..f8c9c05 100644 --- a/registry.json +++ b/registry.json @@ -154,6 +154,7 @@ "child_process": "github:jspm/nodelibs-child_process", "chosen": "github:harvesthq/chosen", "chronoman": "npm:chronoman", + "cloudinary_js": "github:/cloudinary/cloudinary_js", "cluster": "github:jspm/nodelibs-cluster", "cola": "github:cujojs/cola", "comma-separated-values": "github:knrz/CSV.js", From e356a17c63a1fcad188ed350073da37c19ba845c Mon Sep 17 00:00:00 2001 From: Aaron Roberson Date: Fri, 18 Sep 2015 11:18:56 -0700 Subject: [PATCH 2/2] fix(cloudinary): fix package name and override --- package-overrides/github/cloudinary/cloudinary_js@1.0.25.json | 2 +- registry.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-overrides/github/cloudinary/cloudinary_js@1.0.25.json b/package-overrides/github/cloudinary/cloudinary_js@1.0.25.json index 4ae8475..c8b7b72 100644 --- a/package-overrides/github/cloudinary/cloudinary_js@1.0.25.json +++ b/package-overrides/github/cloudinary/cloudinary_js@1.0.25.json @@ -1,4 +1,4 @@ -"github:cloudinary/cloudinary_js@1.0.25": { +{ "main": "js/jquery.cloudinary", "map": { "jquery.ui.widget": "./js/jquery.ui.widget" diff --git a/registry.json b/registry.json index f8c9c05..749de5b 100644 --- a/registry.json +++ b/registry.json @@ -154,7 +154,7 @@ "child_process": "github:jspm/nodelibs-child_process", "chosen": "github:harvesthq/chosen", "chronoman": "npm:chronoman", - "cloudinary_js": "github:/cloudinary/cloudinary_js", + "cloudinary_js": "github:cloudinary/cloudinary_js", "cluster": "github:jspm/nodelibs-cluster", "cola": "github:cujojs/cola", "comma-separated-values": "github:knrz/CSV.js",