Commit 33e6dfe6 authored by Chris Shantz's avatar Chris Shantz
Browse files

Updated webform to use a local patch that will use our git repo for libraries.

parent 26fd7030
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
"extra": { "extra": {
"merge-plugin": { "merge-plugin": {
"include": [ "include": [
"composer.libraries.json" "modules/contrib/webform/composer.libraries.json"
] ]
}, },
"installer-types": [ "installer-types": [
...@@ -142,6 +142,9 @@ ...@@ -142,6 +142,9 @@
}, },
"drupal/imagemagick": { "drupal/imagemagick": {
"ImageMagick scale breaks animated gifs":"https://www.drupal.org/files/issues/imagemagick-resize_animated_gifs-1802534-31.patch" "ImageMagick scale breaks animated gifs":"https://www.drupal.org/files/issues/imagemagick-resize_animated_gifs-1802534-31.patch"
},
"drupal/webform": {
"Allow webform libraries to use our repos": "patches/modules/webform/ISTWCMS-3283-use-wcms-repo.patch"
} }
} }
} }
......
diff --git a/composer.libraries.json b/composer.libraries.json
index ec02a397d..616bedafa 100644
--- a/composer.libraries.json
+++ b/composer.libraries.json
@@ -24,21 +24,23 @@
"forum": "https://drupal.stackexchange.com/questions/tagged/webform"
},
"repositories": {
+ "0": {
+ "type": "composer",
+ "url": "http://wms-ci-s1.private.uwaterloo.ca/packages.json"
+ },
"algolia.places": {
"type": "package",
"package": {
"name": "algolia/places",
- "version": "1.16.4",
+ "version": "v1.16.4",
"type": "drupal-library",
"extra": {
"installer-name": "algolia.places"
},
- "dist": {
- "url": "https://registry.npmjs.org/places.js/-/places.js-1.16.4.tgz",
- "type": "tar"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/places.git",
+ "type": "git",
+ "reference": "v1.16.4"
}
}
},
@@ -46,21 +48,23 @@
"type": "package",
"package": {
"name": "choices/choices",
- "version": "7.0.0",
+ "version": "v7.0.0",
"type": "drupal-library",
"extra": {
"installer-name": "choices"
},
- "dist": {
- "url": "https://github.com/jshjohnson/Choices/archive/v7.0.0.zip",
- "type": "zip"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/Choices.git",
+ "type": "git",
+ "reference": "v7.0.0"
},
"require": {
- "composer/installers": "~1.0"
+ "composer/installers": "*"
}
}
},
"ckeditor.autogrow": {
+ "_webform": true,
"type": "package",
"package": {
"name": "ckeditor/autogrow",
@@ -69,12 +73,10 @@
"extra": {
"installer-name": "ckeditor.autogrow"
},
- "dist": {
- "url": "https://download.ckeditor.com/autogrow/releases/autogrow_4.11.4.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/ckeditor-autogrow.git",
+ "type": "git",
+ "reference": "4.11.4"
}
}
},
@@ -87,12 +89,10 @@
"extra": {
"installer-name": "ckeditor.codemirror"
},
- "dist": {
- "url": "https://github.com/w8tcha/CKEditor-CodeMirror-Plugin/releases/download/v1.17.12/CKEditor-CodeMirror-Plugin.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/CKEditor-CodeMirror-Plugin.git",
+ "type": "git",
+ "reference": "v1.17.12"
}
}
},
@@ -105,12 +105,10 @@
"extra": {
"installer-name": "ckeditor.fakeobjects"
},
- "dist": {
- "url": "https://download.ckeditor.com/fakeobjects/releases/fakeobjects_4.11.4.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/ckeditor-fakeobjects.git",
+ "type": "git",
+ "reference": "4.11.4"
}
}
},
@@ -123,12 +121,10 @@
"extra": {
"installer-name": "ckeditor.image"
},
- "dist": {
- "url": "https://download.ckeditor.com/image/releases/image_4.11.4.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/ckeditor-image.git",
+ "type": "git",
+ "reference": "4.11.4"
}
}
},
@@ -141,12 +137,10 @@
"extra": {
"installer-name": "ckeditor.link"
},
- "dist": {
- "url": "https://download.ckeditor.com/link/releases/link_4.11.4.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/ckeditor-link.git",
+ "type": "git",
+ "reference": "4.11.4"
}
}
},
@@ -159,12 +153,10 @@
"extra": {
"installer-name": "codemirror"
},
- "dist": {
- "url": "https://github.com/components/codemirror/archive/5.48.2.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/codemirror.git",
+ "type": "git",
+ "reference":"5.48.2"
}
}
},
@@ -172,17 +164,15 @@
"type": "package",
"package": {
"name": "jquery/chosen",
- "version": "1.8.7",
+ "version": "v1.8.7",
"type": "drupal-library",
"extra": {
"installer-name": "jquery.chosen"
},
- "dist": {
- "url": "https://github.com/harvesthq/chosen/releases/download/v1.8.7/chosen_v1.8.7.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/jquery-chosen.git",
+ "type": "git",
+ "reference": "v1.8.7"
}
}
},
@@ -195,12 +185,10 @@
"extra": {
"installer-name": "jquery.hotkeys"
},
- "dist": {
- "url": "https://github.com/jeresig/jquery.hotkeys/archive/0.2.0.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/jquery-hotkeys.git",
+ "type": "git",
+ "reference": "0.2.0"
}
}
},
@@ -213,12 +201,10 @@
"extra": {
"installer-name": "jquery.icheck"
},
- "dist": {
- "url": "https://github.com/fronteed/icheck/archive/1.0.2.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/jquery-icheck.git",
+ "type": "git",
+ "reference": "1.0.2"
}
}
},
@@ -231,12 +217,10 @@
"extra": {
"installer-name": "jquery.image-picker"
},
- "dist": {
- "url": "https://github.com/rvera/image-picker/archive/0.3.0.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/jquery-image-picker.git",
+ "type": "git",
+ "reference": "0.3.0"
}
}
},
@@ -249,12 +233,10 @@
"extra": {
"installer-name": "jquery.inputmask"
},
- "dist": {
- "url": "https://github.com/RobinHerbots/jquery.inputmask/archive/4.0.8.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/jquery-inputmask.git",
+ "type": "git",
+ "reference":"4.0.8"
}
}
},
@@ -262,17 +244,15 @@
"type": "package",
"package": {
"name": "jquery/intl-tel-input",
- "version": "15.1.0",
+ "version": "v15.1.0",
"type": "drupal-library",
"extra": {
"installer-name": "jquery.intl-tel-input"
},
- "dist": {
- "url": "https://github.com/jackocnr/intl-tel-input/archive/v15.1.0.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/jquery-intl-tel-input.git",
+ "type": "git",
+ "reference": "v15.1.0"
}
}
},
@@ -285,12 +265,10 @@
"extra": {
"installer-name": "jquery.rateit"
},
- "dist": {
- "url": "https://github.com/gjunge/rateit.js/archive/1.1.2.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/jquery-rateit.git",
+ "type": "git",
+ "reference": "1.1.2"
}
}
},
@@ -303,12 +281,10 @@
"extra": {
"installer-name": "jquery.select2"
},
- "dist": {
- "url": "https://github.com/select2/select2/archive/4.0.8.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/jquery-select2.git",
+ "type": "git",
+ "reference": "4.0.8"
}
}
},
@@ -321,12 +297,10 @@
"extra": {
"installer-name": "jquery.textcounter"
},
- "dist": {
- "url": "https://github.com/ractoon/jQuery-Text-Counter/archive/0.8.0.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/jquery-textcounter.git",
+ "type": "git",
+ "reference":"0.8.0"
}
}
},
@@ -339,12 +313,10 @@
"extra": {
"installer-name": "jquery.timepicker"
},
- "dist": {
- "url": "https://github.com/jonthornton/jquery-timepicker/archive/1.11.15.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/jquery-timepicker.git",
+ "type": "git",
+ "reference": "1.11.15"
}
}
},
@@ -352,14 +324,15 @@
"type": "package",
"package": {
"name": "jquery/toggles",
- "version": "4.0.0",
+ "version": "v4.0.0",
"type": "drupal-library",
"extra": {
"installer-name": "jquery.toggles"
},
- "dist": {
- "url": "https://github.com/simontabor/jquery-toggles/archive/v4.0.0.zip",
- "type": "zip"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/jquery-toggles.git",
+ "type": "git",
+ "reference": "v4.0.0"
},
"require": {
"composer/installers": "~1.0"
@@ -370,17 +343,15 @@
"type": "package",
"package": {
"name": "progress-tracker/progress-tracker",
- "version": "1.4.0",
+ "version": "v1.4.0",
"type": "drupal-library",
"extra": {
"installer-name": "progress-tracker"
},
- "dist": {
- "url": "https://github.com/NigelOToole/progress-tracker/archive/v1.4.0.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/progress-tracker.git",
+ "type": "git",
+ "reference": "v1.4.0"
}
}
},
@@ -388,17 +359,15 @@
"type": "package",
"package": {
"name": "signature_pad/signature_pad",
- "version": "2.3.0",
+ "version": "v2.3.0",
"type": "drupal-library",
"extra": {
"installer-name": "signature_pad"
},
- "dist": {
- "url": "https://github.com/szimek/signature_pad/archive/v2.3.0.zip",
- "type": "zip"
- },
- "require": {
- "composer/installers": "~1.0"
+ "source": {
+ "url": "https://git.uwaterloo.ca/libraries/signature-pad.git",
+ "type": "git",
+ "reference": "v2.3.0"
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment