From bb95cf26a2dc21578c9473995cca9fa25a479ffe Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 22 May 2020 11:55:58 +0000 Subject: [PATCH 1/3] build(deps): pin dependency workbox-cli to 5.1.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9cc115b..6fd1cfc 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "docs", "devDependencies": { "prettier": "2.0.5", - "workbox-cli": "^5.1.3" + "workbox-cli": "5.1.3" }, "scripts": { "style": "prettier --check .", From 5c648af46748b29ecaff23fe5d35f02970fbb2a6 Mon Sep 17 00:00:00 2001 From: Jonah Snider Date: Fri, 22 May 2020 04:58:14 -0700 Subject: [PATCH 2/3] build(yarn): update Yarn install state --- yarn.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yarn.lock b/yarn.lock index 8534a67..ee7c142 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2063,7 +2063,7 @@ __metadata: resolution: "docs@workspace:." dependencies: prettier: 2.0.5 - workbox-cli: ^5.1.3 + workbox-cli: 5.1.3 languageName: unknown linkType: soft @@ -5248,7 +5248,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"workbox-cli@npm:^5.1.3": +"workbox-cli@npm:5.1.3": version: 5.1.3 resolution: "workbox-cli@npm:5.1.3" dependencies: From b48c71ca1433d1320bb9cd24c2135db491e323c5 Mon Sep 17 00:00:00 2001 From: Jonah Snider Date: Fri, 22 May 2020 05:00:24 -0700 Subject: [PATCH 3/3] style: format with Prettier --- overrides/main.html | 24 +++++++++++------------- workbox-config.js | 8 ++++---- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/overrides/main.html b/overrides/main.html index 9c4da79..ed82022 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -1,14 +1,12 @@ -{% extends "base.html" %} - -{% block libs %} - - +{% extends "base.html" %} {% block libs %} + + {% endblock %} diff --git a/workbox-config.js b/workbox-config.js index 4cbbc8a..307aad2 100644 --- a/workbox-config.js +++ b/workbox-config.js @@ -1,7 +1,7 @@ module.exports = { - "globDirectory": "site/", - "globPatterns": [ - "**/*.{html,png,js,css,Identifier,txt,webmanifest,json,xml,gz}" + globDirectory: "site/", + globPatterns: [ + "**/*.{html,png,js,css,Identifier,txt,webmanifest,json,xml,gz}", ], - "swDest": "site/sw.js" + swDest: "site/sw.js", };