From bf47ed878f477c8220c3daada75c943d5fce9b6b Mon Sep 17 00:00:00 2001 From: Johannes Goslar <jogo@kronberger-spiele.de> Date: Sat, 3 Jun 2017 00:02:01 +0200 Subject: [PATCH] [TASK] Move jquery to npm Resolves: #81446 Change-Id: I10fd5950636d2e4b992e1a03f1720759d9e7c55d Releases: master, 8.7 Reviewed-on: https://review.typo3.org/53066 Reviewed-by: Markus Sommer <markussom@posteo.de> Tested-by: Markus Sommer <markussom@posteo.de> Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> --- Build/Gruntfile.js | 4 ++-- Build/bower.json | 1 - Build/package-lock.json | 6 ++++++ Build/package.json | 1 + 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Build/Gruntfile.js b/Build/Gruntfile.js index d39b434f93a2..0265f549721d 100644 --- a/Build/Gruntfile.js +++ b/Build/Gruntfile.js @@ -453,8 +453,8 @@ module.exports = function (grunt) { /** * copy needed parts of jquery */ - 'jquery/jquery-3.2.1.js': 'jquery/dist/jquery.js', - 'jquery/jquery-3.2.1.min.js': 'jquery/dist/jquery.min.js', + 'jquery/jquery-3.2.1.js': '../node_modules/jquery/dist/jquery.js', + 'jquery/jquery-3.2.1.min.js': '../node_modules/jquery/dist/jquery.min.js', /** * copy needed parts of jquery-ui */ diff --git a/Build/bower.json b/Build/bower.json index ed4c5501a86f..e12e820916c4 100644 --- a/Build/bower.json +++ b/Build/bower.json @@ -28,7 +28,6 @@ }, "dependencies": { "requirejs": "^2.3.2", - "jquery": "^3.2.1", "jquery-ui": "1.11.4", "eonasdan-bootstrap-datetimepicker": "^4.17.45", "moment": "^2.17.1", diff --git a/Build/package-lock.json b/Build/package-lock.json index dae4661e8c2d..1082f36acff3 100644 --- a/Build/package-lock.json +++ b/Build/package-lock.json @@ -2230,6 +2230,12 @@ "dev": true, "optional": true }, + "jquery": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.2.1.tgz", + "integrity": "sha1-XE2d5lKvbNCncBVKYxu6ErAVx4c=", + "dev": true + }, "js-base64": { "version": "2.1.9", "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.1.9.tgz", diff --git a/Build/package.json b/Build/package.json index 01571e34b295..39868b2f1d0e 100644 --- a/Build/package.json +++ b/Build/package.json @@ -31,6 +31,7 @@ "grunt-ts": "^5.5.1", "grunt-tslint": "^3.2.1", "jasmine-core": "~2.6.0", + "jquery": "^3.2.1", "karma": "^1.3.0", "karma-chrome-launcher": "^2.0.0", "karma-coverage": "^1.0.0", -- GitLab