From 2b0594e8d6cb8ff2ebd5182d933fe31c9c8fe9cc Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 15 May 2017 22:41:55 +0100 Subject: [PATCH 1/5] Move icon sizes inline, remove from sculpin_site.yml --- app/config/sculpin_site.yml | 2 -- source/_partials/head.twig | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index fe7900bf..815c7210 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -3,8 +3,6 @@ subtitle: 'Web Developer, System Administrator - PHP, Drupal, Symfony, Linux' description: 'Oliver Davies, Drupal Developer' default_date_format: 'jS F, Y' fuzzy_date_format: F Y -apple_touch_icon_sizes: [ 57, 114, 72, 144, 60, 120, 76, 152 ] -favicon_sizes: [ 160, 96, 32, 16 ] ansible_galaxy: url: https://galaxy.ansible.com/opdavies diff --git a/source/_partials/head.twig b/source/_partials/head.twig index 6a947642..e9189040 100644 --- a/source/_partials/head.twig +++ b/source/_partials/head.twig @@ -14,11 +14,11 @@ {% block styles %}{% endblock %} - {% for size in site.apple_touch_icon_sizes %} + {% for size in [57, 60, 72, 76, 114, 120, 144, 152] %} {% endfor %} - {% for size in site.favicon_sizes %} + {% for size in [16, 32, 96, 160] %} {% endfor %} From c0f56cb904eb25dfd2442fb2ea13aa2db9f205c3 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 16 May 2017 01:52:31 +0100 Subject: [PATCH 2/5] Move some partial contents into templates --- features/home.feature | 2 +- source/_partials/availability.twig | 4 +- source/_partials/experience/description.twig | 5 -- source/_partials/experience/item.twig | 16 ------ source/_partials/experience/logo.twig | 5 -- source/_partials/experience/role.twig | 4 -- source/_partials/experience/website.twig | 5 -- source/_partials/footer.twig | 13 ----- source/_partials/sidebar.twig | 9 ---- source/_partials/talk/events.twig | 11 ---- source/_partials/talk/slides.twig | 8 --- source/_partials/talk/video.twig | 8 --- source/_partials/title.twig | 7 --- source/_views/default.twig | 53 +++++++++++++++++--- source/_views/talk.twig | 32 ++++++++++-- source/experience.twig | 35 +++++++++++-- 16 files changed, 109 insertions(+), 108 deletions(-) delete mode 100644 source/_partials/experience/description.twig delete mode 100644 source/_partials/experience/item.twig delete mode 100644 source/_partials/experience/logo.twig delete mode 100644 source/_partials/experience/role.twig delete mode 100644 source/_partials/experience/website.twig delete mode 100644 source/_partials/footer.twig delete mode 100644 source/_partials/sidebar.twig delete mode 100644 source/_partials/talk/events.twig delete mode 100644 source/_partials/talk/slides.twig delete mode 100644 source/_partials/talk/video.twig delete mode 100644 source/_partials/title.twig diff --git a/features/home.feature b/features/home.feature index a1164ea1..7b35919e 100644 --- a/features/home.feature +++ b/features/home.feature @@ -6,7 +6,7 @@ Feature: Home Scenario: Given I am on the homepage Then the response status code should be 200 - And I should see "I’m a Web Developer and System Administrator based in Wales, UK." + And I should see "a Web Developer and System Administrator based in Wales, UK." And the active menu link should be "About" And the page title should be "Web Developer, System Administrator - PHP, Drupal, Symfony, Linux | Oliver Davies" And the page title should not be "About | Oliver Davies" diff --git a/source/_partials/availability.twig b/source/_partials/availability.twig index bd839f18..bd8b4685 100644 --- a/source/_partials/availability.twig +++ b/source/_partials/availability.twig @@ -1,7 +1,5 @@
-
- Availability -
+
Availability
{% for key, availability in site.availability %} diff --git a/source/_partials/experience/description.twig b/source/_partials/experience/description.twig deleted file mode 100644 index 044a0e95..00000000 --- a/source/_partials/experience/description.twig +++ /dev/null @@ -1,5 +0,0 @@ -{% if experience.description %} -
- {{ experience.description|markdown }} -
-{% endif %} diff --git a/source/_partials/experience/item.twig b/source/_partials/experience/item.twig deleted file mode 100644 index b287800f..00000000 --- a/source/_partials/experience/item.twig +++ /dev/null @@ -1,16 +0,0 @@ -{% set classes = [ - 'experience-item', - company.logo ? 'has-logo', -] %} - -
- {{ include('experience/logo') }} - -
-

{{ company.name }}

- - {{ include('experience/website') }} - {{ include('experience/role') }} - {{ include('experience/description') }} -
{# /.inner #} -
diff --git a/source/_partials/experience/logo.twig b/source/_partials/experience/logo.twig deleted file mode 100644 index 07f058c7..00000000 --- a/source/_partials/experience/logo.twig +++ /dev/null @@ -1,5 +0,0 @@ -{% if company.logo %} - -{% endif %} diff --git a/source/_partials/experience/role.twig b/source/_partials/experience/role.twig deleted file mode 100644 index 7a25ae65..00000000 --- a/source/_partials/experience/role.twig +++ /dev/null @@ -1,4 +0,0 @@ -
- {{- experience.role ~ ' from ' ~ experience.start ~ ' to ' ~ experience.end|default('Present') -}} - {%- if experience.location %} ({{ experience.location }}){% endif %}. -
diff --git a/source/_partials/experience/website.twig b/source/_partials/experience/website.twig deleted file mode 100644 index 676bad40..00000000 --- a/source/_partials/experience/website.twig +++ /dev/null @@ -1,5 +0,0 @@ -{% if company.url -%} - - {{- company.url -}} - -{%- endif %} diff --git a/source/_partials/footer.twig b/source/_partials/footer.twig deleted file mode 100644 index 045d911f..00000000 --- a/source/_partials/footer.twig +++ /dev/null @@ -1,13 +0,0 @@ -
- - - {% include 'meetups' %} -
- - - -{% if site.google_analytics_tracking_id %} - -{% endif %} diff --git a/source/_partials/sidebar.twig b/source/_partials/sidebar.twig deleted file mode 100644 index d11fd725..00000000 --- a/source/_partials/sidebar.twig +++ /dev/null @@ -1,9 +0,0 @@ -{% block sidebar_wrapper %} -
- {% block sidebar %} - {% include 'badges' %} - {% include 'availability' %} - {% include 'posts/latest' %} - {% endblock %} -
-{% endblock %} diff --git a/source/_partials/talk/events.twig b/source/_partials/talk/events.twig deleted file mode 100644 index 8fa1e1aa..00000000 --- a/source/_partials/talk/events.twig +++ /dev/null @@ -1,11 +0,0 @@ -
-

Events

- - {% set events = [] %} - {% for event in page.events %} - {% set event = event|merge({ talk: page })|merge(site.events[event.id]) %} - {% set events = events|merge([event]) %} - {% endfor %} - - {% include "talks-table" with { events: events, hide_talk: true } %} -
diff --git a/source/_partials/talk/slides.twig b/source/_partials/talk/slides.twig deleted file mode 100644 index dcec550e..00000000 --- a/source/_partials/talk/slides.twig +++ /dev/null @@ -1,8 +0,0 @@ -{% if page.slides.embed %} -
-

Slides

-
- {{ page.slides.embed|raw }} -
-
-{% endif %} diff --git a/source/_partials/talk/video.twig b/source/_partials/talk/video.twig deleted file mode 100644 index 6da8ec08..00000000 --- a/source/_partials/talk/video.twig +++ /dev/null @@ -1,8 +0,0 @@ -{% if page.video.embed %} -
-

Video

-
- {{ page.video.embed|raw }} -
-
-{% endif %} diff --git a/source/_partials/title.twig b/source/_partials/title.twig deleted file mode 100644 index 873e22b7..00000000 --- a/source/_partials/title.twig +++ /dev/null @@ -1,7 +0,0 @@ -{% spaceless %} - {% if page.url == '/.' %} - {{ site.subtitle }} | {{ site.title }} - {% else %} - {{ page.title }} | {{ site.title }} - {% endif %} -{% endspaceless %} diff --git a/source/_views/default.twig b/source/_views/default.twig index 82c9307c..44632213 100644 --- a/source/_views/default.twig +++ b/source/_views/default.twig @@ -1,7 +1,29 @@ - {% include 'head' %} + + {% if page.url == '/.' %}{{ site.subtitle }} | {{ site.title }}{% else %}{{ page.title }} | {{ site.title }}{% endif %} + + + + + {% if page.meta.description %} + + {% endif %} + + {% include 'og' with { og: page.meta.og } %} + + + {% block styles %}{% endblock %} + + {% for size in site.apple_touch_icon_sizes %} + + {% endfor %} + + {% for size in site.favicon_sizes %} + + {% endfor %} + {% include 'nav' %} @@ -9,17 +31,36 @@
{% block content_top %}{% endblock %} - {% block content_wrapper %} - {% block content %}{% endblock %} - {% endblock %} + {% block content_wrapper %}{% block content %}{% endblock %}{% endblock %} {% block content_bottom %}{% endblock %}
- {% include 'sidebar' %} + {% block sidebar_wrapper %} +
+ {% block sidebar %} + {% include 'badges' %} + {% include 'availability' %} + {% include 'posts/latest' %} + {% endblock %} +
+ {% endblock %} +
{# .row #}
{# .container #} - {% include 'footer' %} +
+ + + {% include 'meetups' %} +
+ + + + {% if site.google_analytics_tracking_id %} + + {% endif %} {% block scripts %}{% endblock %} diff --git a/source/_views/talk.twig b/source/_views/talk.twig index 6d92206e..902a457a 100644 --- a/source/_views/talk.twig +++ b/source/_views/talk.twig @@ -11,7 +11,33 @@ {% block content %}{% endblock %}
- {% include 'talk/slides' %} - {% include 'talk/video' %} - {% include 'talk/events' %} + {% if page.slides.embed %} +
+

Slides

+
+ {{ page.slides.embed|raw }} +
{# .presentation #} +
{# .talk-slides #} + {% endif %} + + {% if page.video.embed %} +
+

Video

+
+ {{ page.video.embed|raw }} +
+
{# .talk-video #} + {% endif %} + +
+

Events

+ + {% set events = [] %} + {% for event in page.events %} + {% set event = event|merge({ talk: page })|merge(site.events[event.id]) %} + {% set events = events|merge([event]) %} + {% endfor %} + + {% include "talks-table" with { events: events, hide_talk: true } %} +
{# .talk-events #} {% endblock %} diff --git a/source/experience.twig b/source/experience.twig index 8e1b2353..7518274f 100644 --- a/source/experience.twig +++ b/source/experience.twig @@ -102,8 +102,35 @@ use: [posts]

Experience

{% for experience in page.experiences %} - {% include "experience/item" with { - experience: experience, - company: site.companies[experience.company] - } %} + {% set company = site.companies[experience.company] %} + + {% endfor %} From 02a0d846adc5451d37cfc4ddeb60e3be38d4cce7 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 16 May 2017 01:55:08 +0100 Subject: [PATCH 3/5] Revert "Move icon sizes inline, remove from sculpin_site.yml" This reverts commit 2b0594e8d6cb8ff2ebd5182d933fe31c9c8fe9cc. --- app/config/sculpin_site.yml | 2 ++ source/_partials/head.twig | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index 815c7210..fe7900bf 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -3,6 +3,8 @@ subtitle: 'Web Developer, System Administrator - PHP, Drupal, Symfony, Linux' description: 'Oliver Davies, Drupal Developer' default_date_format: 'jS F, Y' fuzzy_date_format: F Y +apple_touch_icon_sizes: [ 57, 114, 72, 144, 60, 120, 76, 152 ] +favicon_sizes: [ 160, 96, 32, 16 ] ansible_galaxy: url: https://galaxy.ansible.com/opdavies diff --git a/source/_partials/head.twig b/source/_partials/head.twig index e9189040..6a947642 100644 --- a/source/_partials/head.twig +++ b/source/_partials/head.twig @@ -14,11 +14,11 @@ {% block styles %}{% endblock %} - {% for size in [57, 60, 72, 76, 114, 120, 144, 152] %} + {% for size in site.apple_touch_icon_sizes %} {% endfor %} - {% for size in [16, 32, 96, 160] %} + {% for size in site.favicon_sizes %} {% endfor %} From 288ae969d48c2f616029c6368475ba042ff84b73 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 15 Jun 2017 18:22:11 +0100 Subject: [PATCH 4/5] Remove Bower --- .bowerrc | 3 --- app.yml | 2 +- assets/sass/blog-post.sass | 2 +- assets/sass/blog.sass | 2 +- assets/sass/experience.sass | 4 +-- assets/sass/main.sass | 2 +- assets/sass/project.sass | 2 +- assets/sass/talk.sass | 2 +- assets/sass/testimonials.sass | 4 +-- bower.json | 9 ------- gulpfile.js | 15 +++++------ package.json | 6 +++++ yarn.lock | 50 +++++++++++++++++++++++++++++++++++ 13 files changed, 73 insertions(+), 30 deletions(-) delete mode 100644 .bowerrc delete mode 100644 bower.json diff --git a/.bowerrc b/.bowerrc deleted file mode 100644 index 1885a4ea..00000000 --- a/.bowerrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "directory": "vendor/bower_components" -} diff --git a/app.yml b/app.yml index f1148764..c325d993 100644 --- a/app.yml +++ b/app.yml @@ -3,7 +3,7 @@ api: '1' sculpin: theme: build: - bower: yes + bower: no npm: no type: gulp yarn: yes diff --git a/assets/sass/blog-post.sass b/assets/sass/blog-post.sass index 8ceb2bd1..5aae9333 100644 --- a/assets/sass/blog-post.sass +++ b/assets/sass/blog-post.sass @@ -1,4 +1,4 @@ -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' .post-pager clear: both diff --git a/assets/sass/blog.sass b/assets/sass/blog.sass index 674bdfc6..9a6c0478 100644 --- a/assets/sass/blog.sass +++ b/assets/sass/blog.sass @@ -1,4 +1,4 @@ -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' .page--blog__list ul.posts diff --git a/assets/sass/experience.sass b/assets/sass/experience.sass index 202ba3d6..99a7d764 100644 --- a/assets/sass/experience.sass +++ b/assets/sass/experience.sass @@ -1,5 +1,5 @@ -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/variables' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables' @import 'mixins' .experience-item diff --git a/assets/sass/main.sass b/assets/sass/main.sass index 7d476575..9f21df9b 100644 --- a/assets/sass/main.sass +++ b/assets/sass/main.sass @@ -1,4 +1,4 @@ -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap' @import 'base' @import 'mixins' diff --git a/assets/sass/project.sass b/assets/sass/project.sass index 516cfd9c..25c7bd5f 100644 --- a/assets/sass/project.sass +++ b/assets/sass/project.sass @@ -1,4 +1,4 @@ -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/variables' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables' @import 'mixins' .project-company diff --git a/assets/sass/talk.sass b/assets/sass/talk.sass index 3c048396..eb7f9ad6 100644 --- a/assets/sass/talk.sass +++ b/assets/sass/talk.sass @@ -1,4 +1,4 @@ -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/variables' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables' @import 'mixins' .talk-full h1 diff --git a/assets/sass/testimonials.sass b/assets/sass/testimonials.sass index 1cbaff0a..2e2da81f 100644 --- a/assets/sass/testimonials.sass +++ b/assets/sass/testimonials.sass @@ -1,5 +1,5 @@ -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/variables' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables' @import 'mixins' .testimonial diff --git a/bower.json b/bower.json deleted file mode 100644 index 12927282..00000000 --- a/bower.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "oliverdavies.uk", - "devDependencies": { - "bootstrap-sass": "~3.3.6", - "font-awesome": "fontawesome#~4.5.0", - "jquery2": "^2.0.0", - "prism": "prismjs#^1.6.0" - } -} diff --git a/gulpfile.js b/gulpfile.js index b92db22b..4be68294 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -5,7 +5,6 @@ var plugins = require('gulp-load-plugins')(); var del = require('del'); var config = { - bowerDir: 'vendor/bower_components', fontsDir: 'source/assets/fonts', js: { sourceDir: 'assets/js', @@ -46,14 +45,14 @@ app.sass = function (sourceFiles, filename) { gulp.task('styles', function () { app.sass([ - config.bowerDir + '/font-awesome/css/font-awesome.css', + 'node_modules/font-awesome/css/font-awesome.css', config.sass.sourceDir + '/main.sass' ], 'main.css'); app.sass(config.sass.sourceDir + '/about.sass', 'about.css'); app.sass(config.sass.sourceDir + '/blog.sass', 'blog.css'); app.sass([ - config.bowerDir + '/prism/themes/prism-twilight.css', + 'node_modules/prism/themes/prism-twilight.css', config.sass.sourceDir + '/blog-post.sass' ], 'blog-post.css'); app.sass(config.sass.sourceDir + '/experience.sass', 'experience.css'); @@ -65,10 +64,10 @@ gulp.task('styles', function () { gulp.task('scripts', function () { return gulp.src([ - config.bowerDir + '/jquery2/jquery.js', - config.bowerDir + '/bootstrap-sass/assets/javascripts/bootstrap.js', - config.bowerDir + '/prism/prism.js', - config.bowerDir + '/prism/components/prism-{apacheconf,bash,css,diff,ini,json,nginx,php,sass,scss,sql,less,twig,xml,yaml}.js', + 'node_modules/jquery2/jquery.js', + 'node_modules/bootstrap-sass/assets/javascripts/bootstrap.js', + 'node_modules/prism/prism.js', + 'node_modules/prism/components/prism-{apacheconf,bash,css,diff,ini,json,nginx,php,sass,scss,sql,less,twig,xml,yaml}.js', config.js.sourceDir + config.js.pattern ]) .pipe(plugins.plumber()) @@ -80,7 +79,7 @@ gulp.task('scripts', function () { }); gulp.task('fonts', function () { - return gulp.src(config.bowerDir + "/font-awesome/fonts/*") + return gulp.src('node_modules/font-awesome/fonts/*') .pipe(gulp.dest(config.fontsDir)); }); diff --git a/package.json b/package.json index e85b32da..f3a12277 100644 --- a/package.json +++ b/package.json @@ -21,5 +21,11 @@ "gulp-sourcemaps": "^1.6.0", "gulp-uglify": "^1.5.3", "gulp-util": "^3.0.7" + }, + "dependencies": { + "bootstrap-sass": "^3.3.7", + "font-awesome": "^4.7.0", + "jquery.2": "^1.0.0", + "prismjs": "^1.6.0" } } diff --git a/yarn.lock b/yarn.lock index c8eb43dc..8ad1c31b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -188,6 +188,10 @@ boom@2.x.x: dependencies: hoek "2.x.x" +bootstrap-sass@^3.3.7: + version "3.3.7" + resolved "https://registry.yarnpkg.com/bootstrap-sass/-/bootstrap-sass-3.3.7.tgz#6596c7ab40f6637393323ab0bc80d064fc630498" + bower@^1.7.7: version "1.7.9" resolved "https://registry.yarnpkg.com/bower/-/bower-1.7.9.tgz#b7296c2393e0d75edaa6ca39648132dd255812b0" @@ -296,6 +300,14 @@ clean-css@^4.0.4: dependencies: source-map "0.5.x" +clipboard@^1.5.5: + version "1.7.1" + resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-1.7.1.tgz#360d6d6946e99a7a1fef395e42ba92b5e9b5a16b" + dependencies: + good-listener "^1.2.2" + select "^1.1.2" + tiny-emitter "^2.0.0" + cliui@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" @@ -473,6 +485,10 @@ delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" +delegate@^3.1.2: + version "3.1.3" + resolved "https://registry.yarnpkg.com/delegate/-/delegate-3.1.3.tgz#9a8251a777d7025faa55737bc3b071742127a9fd" + delegates@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" @@ -679,6 +695,10 @@ flagged-respawn@^0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/flagged-respawn/-/flagged-respawn-0.3.2.tgz#ff191eddcd7088a675b2610fffc976be9b8074b5" +font-awesome@^4.7.0: + version "4.7.0" + resolved "https://registry.yarnpkg.com/font-awesome/-/font-awesome-4.7.0.tgz#8fa8cf0411a1a31afd07b06d2902bb9fc815a133" + for-in@^0.1.5: version "0.1.6" resolved "https://registry.yarnpkg.com/for-in/-/for-in-0.1.6.tgz#c9f96e89bfad18a545af5ec3ed352a1d9e5b4dc8" @@ -920,6 +940,12 @@ glogg@^1.0.0: dependencies: sparkles "^1.0.0" +good-listener@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/good-listener/-/good-listener-1.2.2.tgz#d53b30cdf9313dffb7dc9a0d477096aa6d145c50" + dependencies: + delegate "^3.1.2" + graceful-fs@^3.0.0: version "3.0.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-3.0.11.tgz#7613c778a1afea62f25c630a086d7f3acbbdd818" @@ -1402,6 +1428,16 @@ jodid25519@^1.0.0: dependencies: jsbn "~0.1.0" +jquery.2@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/jquery.2/-/jquery.2-1.0.0.tgz#a8995f96fb804c335d08b90a57ec47db0faae6f8" + dependencies: + jquery "^2.0" + +jquery@^2.0: + version "2.2.4" + resolved "https://registry.yarnpkg.com/jquery/-/jquery-2.2.4.tgz#2c89d6889b5eac522a7eea32c14521559c6cbf02" + js-base64@^2.1.9: version "2.1.9" resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.1.9.tgz#f0e80ae039a4bd654b5f281fc93f04a914a7fcce" @@ -2027,6 +2063,12 @@ pretty-hrtime@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/pretty-hrtime/-/pretty-hrtime-1.0.2.tgz#70ca96f4d0628a443b918758f79416a9a7bc9fa8" +prismjs@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.6.0.tgz#118d95fb7a66dba2272e343b345f5236659db365" + optionalDependencies: + clipboard "^1.5.5" + process-nextick-args@~1.0.6: version "1.0.7" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" @@ -2254,6 +2296,10 @@ sass-graph@^2.1.1: lodash "^4.0.0" yargs "^4.7.1" +select@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/select/-/select-1.1.2.tgz#0e7350acdec80b1108528786ec1d4418d11b396d" + semver@^4.1.0: version "4.3.6" resolved "https://registry.yarnpkg.com/semver/-/semver-4.3.6.tgz#300bc6e0e86374f7ba61068b5b1ecd57fc6532da" @@ -2493,6 +2539,10 @@ time-stamp@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/time-stamp/-/time-stamp-1.0.1.tgz#9f4bd23559c9365966f3302dbba2b07c6b99b151" +tiny-emitter@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.0.0.tgz#bad327adb1804b42a231afa741532bd884cd09ad" + tough-cookie@~2.3.0: version "2.3.1" resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.1.tgz#99c77dfbb7d804249e8a299d4cb0fd81fef083fd" From 1b6033f49165dcd35fb92fdfc4272aeea1036131 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 18 Jun 2017 18:13:14 +0100 Subject: [PATCH 5/5] Fix jQuery path --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 4be68294..d9eb4510 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -64,7 +64,7 @@ gulp.task('styles', function () { gulp.task('scripts', function () { return gulp.src([ - 'node_modules/jquery2/jquery.js', + 'node_modules/jquery/dist/jquery.js', 'node_modules/bootstrap-sass/assets/javascripts/bootstrap.js', 'node_modules/prism/prism.js', 'node_modules/prism/components/prism-{apacheconf,bash,css,diff,ini,json,nginx,php,sass,scss,sql,less,twig,xml,yaml}.js',