mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
package updates
This commit is contained in:
parent
b540f223b9
commit
172fb77976
@ -8,7 +8,7 @@
|
||||
<a href="https://kremalicious.com">kremalicious.com</a>
|
||||
</p>
|
||||
<p align="center">
|
||||
<a href="https://travis-ci.com/kremalicious/blog"><img src="https://travis-ci.com/kremalicious/blog.svg?branch=master" /></a>
|
||||
<a href="https://travis-ci.com/kremalicious/blog"><img src="https://travis-ci.com/kremalicious/blog.svg?branch=main" /></a>
|
||||
<a href="https://codeclimate.com/github/kremalicious/blog/maintainability"><img src="https://api.codeclimate.com/v1/badges/4e86c791349cd12368cd/maintainability" /></a>
|
||||
<a href="https://codeclimate.com/github/kremalicious/blog/test_coverage"><img src="https://api.codeclimate.com/v1/badges/4e86c791349cd12368cd/test_coverage" /></a>
|
||||
<a href="https://dependabot.com"><img src="https://badgen.net/dependabot/thepracticaldev/dev.to?icon=dependabot" /></a>
|
||||
@ -235,7 +235,7 @@ npm run new photo /path/to/photo.jpg
|
||||
|
||||
Automatic deployments are triggered upon successful tests & builds on Travis:
|
||||
|
||||
- push to `master` initiates a live deployment
|
||||
- push to `main` initiates a live deployment
|
||||
- any Pull Request, and subsequent pushes to it, initiates a beta deployment
|
||||
|
||||
The deploy command simply calls the [`scripts/deploy.sh`](scripts/deploy.sh) script, syncing the contents of the `public/` folder to S3:
|
||||
|
@ -20,7 +20,7 @@ module.exports = {
|
||||
jsonfeed: '/feed.json',
|
||||
typekitID: 'msu4qap',
|
||||
itemsPerPage: 20,
|
||||
repoContentPath: 'https://github.com/kremalicious/blog/tree/master/content',
|
||||
repoContentPath: 'https://github.com/kremalicious/blog/tree/main/content',
|
||||
menu: [
|
||||
{
|
||||
title: 'Photos',
|
||||
|
@ -17,7 +17,7 @@
|
||||
"fields": {
|
||||
"slug": "/6-web-design-tips-from-leonardo-da-vinci",
|
||||
"date": "2008-04-04T18:43:05.000Z",
|
||||
"githubLink": "https://github.com/kremalicious/blog/tree/master/content/posts/2008-04-04-6-web-design-tips-from-leonardo-da-vinci.md"
|
||||
"githubLink": "https://github.com/kremalicious/blog/tree/main/content/posts/2008-04-04-6-web-design-tips-from-leonardo-da-vinci.md"
|
||||
},
|
||||
"rawMarkdownBody": "\nAn awesome creative idea for a blog post about Web-Design from Joshua Clanton:\n\n> Leonardo Da Vinci was one of the greatest artists of the Renaissance, leaving behind a legacy that continues to inspire artists, scientists and others. Here are six things we can learn from him about web design.\n",
|
||||
"tableOfContents": ""
|
||||
|
@ -33,7 +33,7 @@
|
||||
"rss": "/feed.xml",
|
||||
"jsonfeed": "/feed.json",
|
||||
"itemsPerPage": 20,
|
||||
"repoContentPath": "https://github.com/kremalicious/blog/tree/master/content",
|
||||
"repoContentPath": "https://github.com/kremalicious/blog/tree/main/content",
|
||||
"ad": {
|
||||
"title": "",
|
||||
"link": ""
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3617
package-lock.json
generated
3617
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
55
package.json
55
package.json
@ -31,7 +31,7 @@
|
||||
"dependencies": {
|
||||
"@ethersproject/providers": "^5.0.3",
|
||||
"@ethersproject/units": "^5.0.1",
|
||||
"@loadable/component": "^5.12.0",
|
||||
"@loadable/component": "^5.13.1",
|
||||
"@web3-react/core": "^6.1.1",
|
||||
"@web3-react/injected-connector": "^6.0.7",
|
||||
"classnames": "^2.2.6",
|
||||
@ -41,36 +41,35 @@
|
||||
"fast-exif": "^1.0.1",
|
||||
"feather-icons": "^4.28.0",
|
||||
"fraction.js": "^4.0.12",
|
||||
"gatsby": "^2.23.11",
|
||||
"gatsby-image": "^2.4.9",
|
||||
"gatsby-plugin-catch-links": "^2.3.7",
|
||||
"gatsby-plugin-feed": "^2.5.7",
|
||||
"gatsby": "^2.23.17",
|
||||
"gatsby-image": "^2.4.12",
|
||||
"gatsby-plugin-catch-links": "^2.3.10",
|
||||
"gatsby-plugin-feed": "^2.5.10",
|
||||
"gatsby-plugin-lunr": "^1.5.2",
|
||||
"gatsby-plugin-manifest": "^2.4.14",
|
||||
"gatsby-plugin-manifest": "^2.4.17",
|
||||
"gatsby-plugin-matomo": "^0.8.3",
|
||||
"gatsby-plugin-meta-redirect": "^1.1.1",
|
||||
"gatsby-plugin-offline": "^3.2.13",
|
||||
"gatsby-plugin-react-helmet": "^3.3.6",
|
||||
"gatsby-plugin-sass": "^2.3.6",
|
||||
"gatsby-plugin-sharp": "^2.6.14",
|
||||
"gatsby-plugin-sitemap": "^2.4.7",
|
||||
"gatsby-plugin-offline": "^3.2.16",
|
||||
"gatsby-plugin-react-helmet": "^3.3.9",
|
||||
"gatsby-plugin-sass": "^2.3.10",
|
||||
"gatsby-plugin-sharp": "^2.6.17",
|
||||
"gatsby-plugin-sitemap": "^2.4.10",
|
||||
"gatsby-plugin-svgr": "^2.0.2",
|
||||
"gatsby-plugin-use-dark-mode": "^1.1.2",
|
||||
"gatsby-plugin-webpack-size": "^1.0.0",
|
||||
"gatsby-redirect-from": "^0.2.4",
|
||||
"gatsby-remark-autolink-headers": "^2.3.7",
|
||||
"gatsby-remark-autolink-headers": "^2.3.10",
|
||||
"gatsby-remark-breaks": "^1.0.0",
|
||||
"gatsby-remark-copy-linked-files": "^2.3.7",
|
||||
"gatsby-remark-images": "^3.3.13",
|
||||
"gatsby-remark-copy-linked-files": "^2.3.10",
|
||||
"gatsby-remark-images": "^3.3.17",
|
||||
"gatsby-remark-images-medium-zoom": "^1.7.0",
|
||||
"gatsby-remark-smartypants": "^2.3.6",
|
||||
"gatsby-remark-smartypants": "^2.3.9",
|
||||
"gatsby-remark-vscode": "^2.1.2",
|
||||
"gatsby-source-filesystem": "^2.3.14",
|
||||
"gatsby-source-graphql": "^2.5.7",
|
||||
"gatsby-transformer-remark": "^2.8.19",
|
||||
"gatsby-transformer-sharp": "^2.5.7",
|
||||
"graphql": "^14.6.0",
|
||||
"intersection-observer": "^0.10.0",
|
||||
"gatsby-source-filesystem": "^2.3.17",
|
||||
"gatsby-source-graphql": "^2.6.1",
|
||||
"gatsby-transformer-remark": "^2.8.23",
|
||||
"gatsby-transformer-sharp": "^2.5.10",
|
||||
"intersection-observer": "^0.11.0",
|
||||
"node-fetch": "^2.6.0",
|
||||
"nord-visual-studio-code": "github:arcticicestudio/nord-visual-studio-code",
|
||||
"pigeon-maps": "^0.15.0",
|
||||
@ -89,8 +88,8 @@
|
||||
"use-dark-mode": "^2.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/node": "^7.10.3",
|
||||
"@babel/preset-typescript": "^7.10.1",
|
||||
"@babel/node": "^7.10.4",
|
||||
"@babel/preset-typescript": "^7.10.4",
|
||||
"@svgr/webpack": "^5.4.0",
|
||||
"@testing-library/jest-dom": "^5.11.0",
|
||||
"@testing-library/react": "^10.4.3",
|
||||
@ -105,8 +104,8 @@
|
||||
"@types/react-helmet": "^6.0.0",
|
||||
"@types/react-transition-group": "^4.4.0",
|
||||
"@types/shortid": "^0.0.29",
|
||||
"@typescript-eslint/eslint-plugin": "^3.4.0",
|
||||
"@typescript-eslint/parser": "^3.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^3.5.0",
|
||||
"@typescript-eslint/parser": "^3.5.0",
|
||||
"@welldone-software/why-did-you-render": "^4.2.5",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"eslint": "^7.3.1",
|
||||
@ -115,13 +114,13 @@
|
||||
"eslint-plugin-graphql": "^4.0.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.3.1",
|
||||
"eslint-plugin-prettier": "^3.1.4",
|
||||
"eslint-plugin-react": "^7.20.1",
|
||||
"eslint-plugin-react": "^7.20.3",
|
||||
"eslint-plugin-testing-library": "^3.3.1",
|
||||
"fs-extra": "^9.0.1",
|
||||
"gatsby-plugin-webpack-bundle-analyser-v2": "^1.1.10",
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
"jest": "^26.1.0",
|
||||
"markdownlint-cli": "^0.23.1",
|
||||
"markdownlint-cli": "^0.23.2",
|
||||
"node-iptc": "^1.0.5",
|
||||
"node-sass": "^4.14.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
@ -133,7 +132,7 @@
|
||||
"stylelint-config-prettier": "^8.0.2",
|
||||
"stylelint-config-standard": "^20.0.0",
|
||||
"stylelint-prettier": "^1.1.2",
|
||||
"typescript": "^3.9.5"
|
||||
"typescript": "^3.9.6"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -48,16 +48,16 @@ function s3sync {
|
||||
}
|
||||
|
||||
##
|
||||
## check for pull request against master
|
||||
## check for pull request against main
|
||||
##
|
||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
|
||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "main" ]; then
|
||||
|
||||
s3sync $AWS_S3_BUCKET_BETA
|
||||
|
||||
##
|
||||
## check for master push which is no pull request
|
||||
## check for main push which is no pull request
|
||||
##
|
||||
elif [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] || [ "$TRAVIS" != true ]; then
|
||||
elif [ "$TRAVIS_BRANCH" == "main" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] || [ "$TRAVIS" != true ]; then
|
||||
|
||||
s3sync $AWS_S3_BUCKET
|
||||
|
||||
|
@ -26,7 +26,7 @@ export function PureChangelog({
|
||||
const changelogHtml =
|
||||
object && remark().use(remarkReact).processSync(object.text).result
|
||||
|
||||
const filePathUrl = `${url}/tree/master/CHANGELOG.md`
|
||||
const filePathUrl = `${url}/tree/main/CHANGELOG.md`
|
||||
const filePathDisplay = `${owner.login}/${repo}:CHANGELOG.md`
|
||||
|
||||
return (
|
||||
@ -61,7 +61,7 @@ const queryGithub = graphql`
|
||||
owner {
|
||||
login
|
||||
}
|
||||
object(expression: "master:CHANGELOG.md") {
|
||||
object(expression: "main:CHANGELOG.md") {
|
||||
id
|
||||
... on GitHub_Blob {
|
||||
text
|
||||
|
Loading…
Reference in New Issue
Block a user