From a04ab0e4b5da5802654602061c599dbc6ae76ffc Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 30 Aug 2018 01:54:01 +0200 Subject: [PATCH] package updates, add gatsby-redirect-from --- .gitignore | 1 + .../posts/2008-04-04-aperture-file-types.md | 2 +- content/redirects.yml | 8 +++++ gatsby-config.js | 3 +- package.json | 33 ++++++++++--------- 5 files changed, 29 insertions(+), 18 deletions(-) create mode 100644 content/redirects.yml diff --git a/.gitignore b/.gitignore index 1b4e9ac6..546b06fa 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ package-lock.json public .cache src/components/svg +plugins/gatsby-redirect-from diff --git a/content/posts/2008-04-04-aperture-file-types.md b/content/posts/2008-04-04-aperture-file-types.md index 8b534abe..615b4a31 100644 --- a/content/posts/2008-04-04-aperture-file-types.md +++ b/content/posts/2008-04-04-aperture-file-types.md @@ -23,7 +23,7 @@ These icons are free for your personal use and include icons for all file types - Leopard ready (512×512) - custom 32px and 16px icons -Get them from [the goodies-page](https://kremalicious.com/goodies/) and have fun. +Get them and have fun.

Download diff --git a/content/redirects.yml b/content/redirects.yml new file mode 100644 index 00000000..c643bece --- /dev/null +++ b/content/redirects.yml @@ -0,0 +1,8 @@ +- from: '/new-goodies-aperture-file-types-icons/' + to: '/aperture-file-types/' + +- from: '/2008/02/how-to-quickly-generate-encrypted-logins-on-a-mac-for-htaccess-protected-sites/' + to: '/how-to-quickly-generate-encrypted-logins-on-a-mac-for-htaccess-protected-sites/' + +- from: '/2007/06/finally-a-universal-scanner-driver-for-the-canon-canoscan-lide-500f-for-intel-macs/' + to: '/finally-a-universal-scanner-driver-for-the-canon-canoscan-lide-500f-for-intel-macs/' diff --git a/gatsby-config.js b/gatsby-config.js index a55a2cec..0e7c5953 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -108,6 +108,7 @@ module.exports = { 'gatsby-transformer-sharp', 'gatsby-plugin-sharp', 'gatsby-plugin-sitemap', - 'gatsby-plugin-catch-links' + 'gatsby-plugin-catch-links', + 'gatsby-redirect-from' ] } diff --git a/package.json b/package.json index 97bf54dc..2c36be3b 100644 --- a/package.json +++ b/package.json @@ -22,24 +22,25 @@ "last 3 versions" ], "dependencies": { - "gatsby": "^2.0.0-rc.0", - "gatsby-image": "^2.0.0-rc.0", - "gatsby-plugin-catch-links": "^2.0.2-rc.0", + "gatsby": "^2.0.0-rc.4", + "gatsby-image": "^2.0.0-rc.1", + "gatsby-plugin-catch-links": "^2.0.2-rc.1", "gatsby-plugin-lunr": "^1.1.0", "gatsby-plugin-matomo": "^0.5.0", - "gatsby-plugin-react-helmet": "^3.0.0-rc.0", - "gatsby-plugin-sass": "^2.0.0-rc.0", - "gatsby-plugin-sharp": "^2.0.0-rc.0", - "gatsby-plugin-sitemap": "^2.0.0-rc.0", - "gatsby-remark-autolink-headers": "^2.0.0-rc.0", - "gatsby-remark-copy-linked-files": "^2.0.0-rc.0", - "gatsby-remark-images": "^2.0.1-rc.0", - "gatsby-remark-prismjs": "^3.0.0-rc.0", - "gatsby-remark-smartypants": "^2.0.0-rc.0", - "gatsby-source-filesystem": "^2.0.1-rc.0", - "gatsby-transformer-remark": "^2.1.1-rc.0", - "gatsby-transformer-sharp": "^2.1.1-rc.0", - "gatsby-transformer-yaml": "^2.1.1-rc.0", + "gatsby-plugin-react-helmet": "^3.0.0-rc.1", + "gatsby-plugin-sass": "^2.0.0-rc.1", + "gatsby-plugin-sharp": "^2.0.0-rc.2", + "gatsby-plugin-sitemap": "^2.0.0-rc.1", + "gatsby-redirect-from": "0.0.3", + "gatsby-remark-autolink-headers": "^2.0.0-rc.1", + "gatsby-remark-copy-linked-files": "^2.0.0-rc.1", + "gatsby-remark-images": "^2.0.1-rc.1", + "gatsby-remark-prismjs": "^3.0.0-rc.2", + "gatsby-remark-smartypants": "^2.0.0-rc.1", + "gatsby-source-filesystem": "^2.0.1-rc.1", + "gatsby-transformer-remark": "^2.1.1-rc.1", + "gatsby-transformer-sharp": "^2.1.1-rc.2", + "gatsby-transformer-yaml": "^2.1.1-rc.1", "graphql": "^0.13.2", "intersection-observer": "^0.5.0", "node-sass": "^4.9.3",