Commit 74109799 authored by Chris Shantz's avatar Chris Shantz
Browse files

add and updating files for webform libraries.

parents bb9e1843 280b5be4
......@@ -20,7 +20,7 @@
"sort-packages": true,
"vendor-dir": "../../vendor"
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"require": {
"behat/mink": "v1.7.1",
"behat/mink-goutte-driver": "v1.2.1",
......@@ -93,24 +93,7 @@
"hirak/prestissimo": "0.3.9",
"jcalderonzumba/gastonjs": "v1.2.0",
"jcalderonzumba/mink-phantomjs-driver": "v0.3.3",
"libraries/ckeditor-codemirror-plugin": "v1.17.3",
"libraries/ckeditor-autogrow": "4.9.0",
"libraries/ckeditor-fakeobjects": "4.9.0",
"libraries/ckeditor-image": "4.9.0",
"libraries/ckeditor-link": "4.9.0",
"libraries/codemirror": "5.36.0",
"libraries/drupal-composer-info-rewrite": "dev-master#b17a052",
"libraries/jquery-geocomplete": "1.7.0",
"libraries/jquery-image-picker": "0.3.0",
"libraries/jquery-inputmask": "3.3.10",
"libraries/jquery-intl-tel-input": "v12.1.0",
"libraries/jquery-rateit": "1.1.1",
"libraries/jquery-select2": "4.0.5",
"libraries/jquery-timepicker": "1.11.12",
"libraries/jquery-toggles": "v4.0.0",
"libraries/jquery-word-and-character-counter-plugin": "2.5.1",
"libraries/progress-tracker": "v1.4.0",
"libraries/signature-pad": "v2.3.0",
"mikey179/vfsstream": "v1.6.7",
"onelogin/php-saml": "3.2.1",
"oomphinc/composer-installers-extender": "v1.1.2",
......@@ -125,34 +108,44 @@
"wcms/uw_ct_web_page": "dev-8.x-1.x",
"wcms/uw_fdsu_theme_resp": "dev-8.x-1.x",
"wcms/uw_site_dev": "dev-8.x-1.x",
"wcms/uw_sites_all": "dev-8.x-1.x"
"wcms/uw_sites_all": "dev-8.x-1.x",
"wikimedia/composer-merge-plugin": "^1.4"
},
"extra": {
"merge-plugin": {
"include": [
"modules/contrib/webform/composer.libraries.json"
]
},
"installer-types": [
"wcms-module",
"wcms-theme",
"libraries-module"
"drupal-library"
],
"installer-paths": {
"../../core": ["type:drupal-core"],
"../../libraries/{$name}": ["type:libraries-module"],
"modules/features/{$name}": ["type:wcms-module"],
"modules/contrib/{$name}": ["type:drupal-module"],
"themes/{$name}": ["type:wcms-theme"]
},
"patches": {
"drupal/samlauth": {
"ISTWCMS-2268: Rewrite the samlauth to allow for autoassigning roles": "patches/modules/samlauth/remove_presave_hook-samlauth-2925171-1.patch"
},
"drupal/paragraphs": {
"Integrity constraint violation: 1048 Column 'langcode' cannot be null": "https://www.drupal.org/files/issues/2019-07-10/paragraphs-set_langcode_widgets-2901390-29.patch"
},
"drupal/eck": {
"After 8.7.x core update install profile with ECK config has fatal errors on install": "https://www.drupal.org/files/issues/2019-07-17/%203055007-8-after-8.7-core-update-fatal-errors-on-install-profile-install.patch"
},
"drupal/imagemagick": {
"ImageMagick scale breaks animated gifs":"https://www.drupal.org/files/issues/imagemagick-resize_animated_gifs-1802534-31.patch"
}
"installer-paths": {
"../../core": ["type:drupal-core"],
"libraries/{$name}": ["type:drupal-library"],
"modules/features/{$name}": ["type:wcms-module"],
"modules/contrib/{$name}": ["type:drupal-module"],
"themes/{$name}": ["type:wcms-theme"]
},
"patches": {
"drupal/samlauth": {
"ISTWCMS-2268: Rewrite the samlauth to allow for autoassigning roles": "patches/modules/samlauth/remove_presave_hook-samlauth-2925171-1.patch"
},
"drupal/paragraphs": {
"Integrity constraint violation: 1048 Column 'langcode' cannot be null": "https://www.drupal.org/files/issues/2019-07-10/paragraphs-set_langcode_widgets-2901390-29.patch"
},
"drupal/eck": {
"After 8.7.x core update install profile with ECK config has fatal errors on install": "https://www.drupal.org/files/issues/2019-07-17/%203055007-8-after-8.7-core-update-fatal-errors-on-install-profile-install.patch"
},
"drupal/imagemagick": {
"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"
}
}
}
......@@ -25,6 +25,12 @@ echo ""
echo "Done rebuilding profile."
echo ""
echo "Running composer update..."
composer update --with-dependencies
echo ""
echo "Done updating profile."
echo ""
echo ""
echo "Running setuptheme..."
echo ""
......@@ -37,3 +43,6 @@ ln --force --symbolic "$pattern_lab_root_path/uw_wcms_pattern_lab"
# Symbolic link need to components because the module Unified Twig Extensions
# needs to extend twig and can only read theme/*/_twig_component directories
ln --force --symbolic "$pattern_lab_root_path/uw_wcms_pattern_lab/components"
# Add symbolic link for the libraries folder so we can have it in our base profile instead
ln --force --symbolic /var/www/drupal8/profiles/uw_base_profile/libraries /var/www/drupal8/libraries
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