From 4da32e0c41ea87f3c0e0dbb30b9267f3adf15d96 Mon Sep 17 00:00:00 2001 From: Frederik Schubert Date: Fri, 10 Jun 2016 19:03:25 +0800 Subject: [PATCH 1/2] Add npm:bootstrap@4.0.0-alpha.2 override --- .../npm/bootstrap@4.0.0-alpha.2.json | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 package-overrides/npm/bootstrap@4.0.0-alpha.2.json diff --git a/package-overrides/npm/bootstrap@4.0.0-alpha.2.json b/package-overrides/npm/bootstrap@4.0.0-alpha.2.json new file mode 100644 index 0000000..daab544 --- /dev/null +++ b/package-overrides/npm/bootstrap@4.0.0-alpha.2.json @@ -0,0 +1,23 @@ +{ + "main": "dist/js/bootstrap", + "files": null, + "ignore": [ + "dist/js/npm" + ], + "directories": { + "lib": "." + }, + "shim": { + "dist/js/bootstrap": { + "deps": [ + "jquery", + "tether" + ], + "exports": "$" + } + }, + "dependencies": { + "jquery": "*", + "tether": "github:HubSpot/tether@^1.1.1" + } +} \ No newline at end of file From 0684f90eedd86ddedca1555fe330afe1a433c4f0 Mon Sep 17 00:00:00 2001 From: Frederik Schubert Date: Sat, 11 Jun 2016 07:54:58 +0800 Subject: [PATCH 2/2] Add files array to npm:bootstrap@4.0.0-alpha.2 to match npm's behavior --- package-overrides/npm/bootstrap@4.0.0-alpha.2.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package-overrides/npm/bootstrap@4.0.0-alpha.2.json b/package-overrides/npm/bootstrap@4.0.0-alpha.2.json index daab544..71c0c83 100644 --- a/package-overrides/npm/bootstrap@4.0.0-alpha.2.json +++ b/package-overrides/npm/bootstrap@4.0.0-alpha.2.json @@ -1,6 +1,13 @@ { "main": "dist/js/bootstrap", - "files": null, + "files": [ + "dist", + "grunt", + "js/*.js", + "scss/**/*.scss", + "Gruntfile.js", + "LICENSE" + ], "ignore": [ "dist/js/npm" ],