mirror of
https://github.com/kremalicious/gatsby-redirect-from.git
synced 2024-12-22 09:13:20 +01:00
deprecation changes (#493)
* readme updates * package updates * package-lock update
This commit is contained in:
parent
a5561f8a9e
commit
c71a4e6426
10
README.md
10
README.md
@ -10,7 +10,13 @@
|
|||||||
> 🎯 Set redirect urls in your YAML frontmatter within your [Gatsby](https://www.gatsbyjs.org) site's Markdown files. Mimics the behavior of [jekyll-redirect-from](https://github.com/jekyll/jekyll-redirect-from).
|
> 🎯 Set redirect urls in your YAML frontmatter within your [Gatsby](https://www.gatsbyjs.org) site's Markdown files. Mimics the behavior of [jekyll-redirect-from](https://github.com/jekyll/jekyll-redirect-from).
|
||||||
> https://kremalicious.com/gatsby-redirect-from/
|
> https://kremalicious.com/gatsby-redirect-from/
|
||||||
|
|
||||||
**Deprecation notice: [Gatsby has been abandoned](https://github.com/gatsbyjs/gatsby/issues/38696) so maintaining this plugin does not make much sense. It will only receive occasional dependency updates and will be archived at the end of 2024. If you choose to switch to [Astro](https://astro.build), you can use [astro-redirect-from](https://github.com/kremalicious/astro-redirect-from).**
|
---
|
||||||
|
|
||||||
|
**Deprecation notice: Gatsby has been abandoned (see ["Is Gatsby discontinued?"](https://github.com/gatsbyjs/gatsby/issues/38696) and ["Is GatsbyJS Officially Dead?"](https://github.com/gatsbyjs/gatsby/discussions/39062)) so this plugin is deprecated and won't receive any more updates.**
|
||||||
|
|
||||||
|
**If you choose to switch to [Astro](https://astro.build), you can use [astro-redirect-from](https://github.com/kremalicious/astro-redirect-from).**
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
By adding a `redirect_from` list of URLs to your Markdown file's YAML frontmatter, this plugin creates client-side redirects for all of them at build time, with Gatsby's [`createRedirect`](https://www.gatsbyjs.org/docs/actions/#createRedirect) used under the hood.
|
By adding a `redirect_from` list of URLs to your Markdown file's YAML frontmatter, this plugin creates client-side redirects for all of them at build time, with Gatsby's [`createRedirect`](https://www.gatsbyjs.org/docs/actions/#createRedirect) used under the hood.
|
||||||
|
|
||||||
@ -105,7 +111,7 @@ See [CHANGELOG.md](CHANGELOG.md).
|
|||||||
|
|
||||||
The MIT License
|
The MIT License
|
||||||
|
|
||||||
Copyright (c) 2020 Matthias Kretschmann
|
Copyright (c) 2024 Matthias Kretschmann
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
46263
package-lock.json
generated
46263
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
124
package.json
124
package.json
@ -1,67 +1,61 @@
|
|||||||
{
|
{
|
||||||
"name": "gatsby-redirect-from",
|
"name": "gatsby-redirect-from",
|
||||||
"version": "1.2.1",
|
"version": "1.2.1",
|
||||||
"author": "Matthias Kretschmann <m@kretschmann.io>",
|
"author": "Matthias Kretschmann <m@kretschmann.io>",
|
||||||
"description": "Set redirect urls in your YAML frontmatter within your Gatsby site's Markdown files. Mimics the behavior of jekyll-redirect-from.",
|
"description": "Set redirect urls in your YAML frontmatter within your Gatsby site's Markdown files. Mimics the behavior of jekyll-redirect-from.",
|
||||||
"homepage": "https://kremalicious.com/gatsby-redirect-from/",
|
"homepage": "https://kremalicious.com/gatsby-redirect-from/",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "cross-env NODE_ENV=production babel src --out-dir .",
|
"build": "cross-env NODE_ENV=production babel src --out-dir .",
|
||||||
"start": "babel -w src --out-dir .",
|
"start": "babel -w src --out-dir .",
|
||||||
"test": "npm run lint && jest --coverage --config ./test/jest.config.json",
|
"test": "npm run lint && jest --coverage --config ./test/jest.config.json",
|
||||||
"lint": "eslint ./{src,test}/**/*.js",
|
"lint": "eslint ./{src,test}/**/*.js",
|
||||||
"format": "prettier --write '{src,test}/**/*.{js,jsx}'",
|
"format": "prettier --write '{src,test}/**/*.{js,jsx}'",
|
||||||
"release": "release-it --non-interactive",
|
"release": "release-it --non-interactive",
|
||||||
"changelog": "auto-changelog -p",
|
"changelog": "auto-changelog -p",
|
||||||
"prepublishOnly": "npm run build"
|
"prepublishOnly": "npm run build"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": ["maintained node versions"],
|
||||||
"maintained node versions"
|
"devDependencies": {
|
||||||
],
|
"@babel/cli": "^7.26.4",
|
||||||
"devDependencies": {
|
"@babel/core": "^7.26.0",
|
||||||
"@babel/cli": "^7.24.8",
|
"@babel/preset-env": "^7.26.0",
|
||||||
"@babel/core": "^7.24.9",
|
"auto-changelog": "^2.5.0",
|
||||||
"@babel/preset-env": "^7.25.0",
|
"cross-env": "^7.0.3",
|
||||||
"auto-changelog": "^2.4.0",
|
"eslint": "^8.50.0",
|
||||||
"cross-env": "^7.0.3",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint": "^8.50.0",
|
"eslint-plugin-prettier": "^5.2.1",
|
||||||
"eslint-config-prettier": "^9.1.0",
|
"jest": "^29.7.0",
|
||||||
"eslint-plugin-prettier": "^5.2.1",
|
"jest-environment-jsdom": "^29.7.0",
|
||||||
"jest": "^29.7.0",
|
"prettier": "^3.4.2",
|
||||||
"jest-environment-jsdom": "^29.7.0",
|
"release-it": "^17.10.0"
|
||||||
"prettier": "^3.3.3",
|
},
|
||||||
"release-it": "^17.6.0"
|
"peerDependencies": {
|
||||||
},
|
"gatsby": "^4.0.0 || ^5.0.0",
|
||||||
"peerDependencies": {
|
"gatsby-plugin-meta-redirect": ">=1.1.0"
|
||||||
"gatsby": "^4.0.0 || ^5.0.0",
|
},
|
||||||
"gatsby-plugin-meta-redirect": ">=1.1.0"
|
"engines": {
|
||||||
},
|
"node": ">=18"
|
||||||
"engines": {
|
},
|
||||||
"node": ">=18"
|
"repository": "github:kremalicious/gatsby-redirect-from",
|
||||||
},
|
"bugs": {
|
||||||
"repository": "github:kremalicious/gatsby-redirect-from",
|
"url": "https://github.com/kremalicious/gatsby-redirect-from/issues"
|
||||||
"bugs": {
|
},
|
||||||
"url": "https://github.com/kremalicious/gatsby-redirect-from/issues"
|
"keywords": ["gatsby", "gatsby-plugin", "redirect"],
|
||||||
},
|
"release-it": {
|
||||||
"keywords": [
|
"hooks": {
|
||||||
"gatsby",
|
"before:init": "npm test",
|
||||||
"gatsby-plugin",
|
"after:bump": "npm run changelog"
|
||||||
"redirect"
|
},
|
||||||
],
|
"git": {
|
||||||
"release-it": {
|
"tagName": "v${version}"
|
||||||
"hooks": {
|
},
|
||||||
"before:init": "npm test",
|
"github": {
|
||||||
"after:bump": "npm run changelog"
|
"release": true
|
||||||
},
|
},
|
||||||
"git": {
|
"npm": {
|
||||||
"tagName": "v${version}"
|
"publish": false
|
||||||
},
|
}
|
||||||
"github": {
|
}
|
||||||
"release": true
|
|
||||||
},
|
|
||||||
"npm": {
|
|
||||||
"publish": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user