diff --git a/composer.json b/composer.json index b9d0c7f0f63..39978818ee3 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,10 @@ "staudenmeir/laravel-upsert": "^1.3", "cweagans/composer-patches": "^1.7", "composer/semver": "*", - "php81_bc/strftime": "^0.5.0" + "php81_bc/strftime": "^0.5.0", + "components/jquery": "3.7.1", + "jquery/ui": "1.13.3", + "jquery/validation": "1.19.5" }, "require-dev": { "phpunit/phpunit": "~9", @@ -41,16 +44,38 @@ }, "scripts": { "post-install-cmd": [ - "@copyNodeModuleDeps" + "@copyVendorAssets" ], - "copyNodeModuleDeps": [ - "PKP\\dev\\ComposerScript::copyNodeModuleDeps" + "copyVendorAssets": [ + "PKP\\dev\\ComposerScript::copyVendorAssets" ] }, "repositories": [ { "type": "vcs", "url": "https://github.com/asmecher/ADOdb" + }, + { + "type": "package", + "package": { + "name": "jquery/ui", + "version": "1.13.3", + "dist": { + "url": "https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.13.3.tgz", + "type": "tar" + } + } + }, + { + "type": "package", + "package": { + "name": "jquery/validation", + "version": "1.19.5", + "dist": { + "url": "https://registry.npmjs.org/jquery-validation/-/jquery-validation-1.19.5.tgz", + "type": "tar" + } + } } ], "extra": { diff --git a/composer.lock b/composer.lock index 9f820e2b0c0..1c04322ceb6 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7ebb5f0c529987f8becd22d0efc02c99", + "content-hash": "637353834a38d38f4cf3361cde14bfe0", "packages": [ { "name": "adodb/adodb-php", @@ -115,6 +115,55 @@ ], "time": "2021-01-20T22:51:39+00:00" }, + { + "name": "components/jquery", + "version": "v3.7.1", + "source": { + "type": "git", + "url": "https://github.com/components/jquery.git", + "reference": "8edc7785239bb8c2ad2b83302b856a1d61de60e7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/components/jquery/zipball/8edc7785239bb8c2ad2b83302b856a1d61de60e7", + "reference": "8edc7785239bb8c2ad2b83302b856a1d61de60e7", + "shasum": "" + }, + "type": "component", + "extra": { + "component": { + "scripts": [ + "jquery.js" + ], + "files": [ + "jquery.min.js", + "jquery.min.map", + "jquery.slim.js", + "jquery.slim.min.js", + "jquery.slim.min.map" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "JS Foundation and other contributors" + } + ], + "description": "jQuery JavaScript Library", + "homepage": "http://jquery.com", + "support": { + "forum": "http://forum.jquery.com", + "irc": "irc://irc.freenode.org/jquery", + "issues": "https://github.com/jquery/jquery/issues", + "source": "https://github.com/jquery/jquery", + "wiki": "http://docs.jquery.com/" + }, + "time": "2023-09-22T01:43:46+00:00" + }, { "name": "composer/semver", "version": "3.3.1", @@ -1307,6 +1356,24 @@ ], "time": "2020-09-30T07:37:11+00:00" }, + { + "name": "jquery/ui", + "version": "1.13.3", + "dist": { + "type": "tar", + "url": "https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.13.3.tgz" + }, + "type": "library" + }, + { + "name": "jquery/validation", + "version": "1.19.5", + "dist": { + "type": "tar", + "url": "https://registry.npmjs.org/jquery-validation/-/jquery-validation-1.19.5.tgz" + }, + "type": "library" + }, { "name": "laravel/framework", "version": "v7.30.4",