Merge branch 'master' into update/sass

This commit is contained in:
Alexander Shelepenok 2021-01-17 20:56:02 +03:00 committed by GitHub
commit a0be12564e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 501 additions and 391 deletions

View File

@ -2,7 +2,7 @@ version: 2
defaults: &defaults defaults: &defaults
docker: docker:
- image: circleci/node:10.23.0 - image: circleci/node:10.23.1
working_directory: ~/gatsby-starter-lumen working_directory: ~/gatsby-starter-lumen
jobs: jobs:
@ -59,7 +59,7 @@ jobs:
- dependencies-{{ checksum "yarn.lock" }} - dependencies-{{ checksum "yarn.lock" }}
- restore_cache: - restore_cache:
keys: keys:
- coverage-output-{{ .Environment.CIRCLE_SHA1 }} - coverage-{{ .Environment.CIRCLE_SHA1 }}
- run: yarn global add codecov - run: yarn global add codecov
- run: yarn codecov - run: yarn codecov
@ -79,4 +79,4 @@ workflows:
- install - install
- codecov: - codecov:
requires: requires:
- coverage - coverage

View File

@ -83,7 +83,7 @@ To deploy to github pages, simply do the following:
- Run the standard deploy command - Run the standard deploy command
```sh ```sh
npm run deploy yarn deploy
``` ```
@ -92,11 +92,11 @@ npm run deploy
$ git clone https://github.com/[GITHUB_USERNAME]/[REPO_NAME].git $ git clone https://github.com/[GITHUB_USERNAME]/[REPO_NAME].git
$ cd [REPO_NAME] $ cd [REPO_NAME]
$ yarn $ yarn
$ npm run develop $ yarn develop
``` ```
To test the CMS locally, you'll need run a production build of the site: To test the CMS locally, you'll need run a production build of the site:
``` ```
$ npm run build $ yarn build
$ gatsby serve $ gatsby serve
``` ```

View File

@ -4,14 +4,14 @@
"description": "A minimal, lightweight and mobile-first starter for creating blazing-fast static blogs", "description": "A minimal, lightweight and mobile-first starter for creating blazing-fast static blogs",
"main": "n/a", "main": "n/a",
"scripts": { "scripts": {
"develop": "yarn run clean && gatsby develop", "develop": "yarn clean && gatsby develop",
"build": "yarn run clean && gatsby build", "build": "yarn clean && gatsby build",
"deploy": "yarn run clean && gatsby build --prefix-paths && gh-pages -d public", "deploy": "yarn clean && gatsby build --prefix-paths && gh-pages -d public",
"clean": "rimraf .cache public", "clean": "rimraf .cache public",
"flow": "flow", "flow": "flow",
"lint:js": "eslint --cache --ext .js,.jsx .", "lint:js": "eslint --cache --ext .js,.jsx .",
"lint:scss": "stylelint \"src/**/*.scss\"", "lint:scss": "stylelint \"src/**/*.scss\"",
"lint": "concurrently \"yarn run lint:js\" \"yarn run lint:scss\" \"yarn flow\"", "lint": "concurrently \"yarn lint:js\" \"yarn lint:scss\" \"yarn flow\"",
"test": "jest --config ./jest/jest-config.js", "test": "jest --config ./jest/jest-config.js",
"test:coverage": "jest --coverage --config ./jest/jest-config.js", "test:coverage": "jest --coverage --config ./jest/jest-config.js",
"test:watch": "jest --watch --config ./jest/jest-config.js" "test:watch": "jest --watch --config ./jest/jest-config.js"
@ -38,42 +38,43 @@
"disqus" "disqus"
], ],
"dependencies": { "dependencies": {
"@sentry/gatsby": "^5.29.2", "@sentry/gatsby": "^5.30.0",
"@sentry/tracing": "^5.29.2", "@sentry/tracing": "^5.30.0",
"bluebird": "^3.7.2", "bluebird": "^3.7.2",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"codecov": "^3.8.1", "codecov": "^3.8.1",
"gatsby": "^2.29.3", "gatsby": "^2.30.3",
"gatsby-link": "^2.8.0", "gatsby-link": "^2.9.0",
"gatsby-plugin-catch-links": "^2.7.0", "gatsby-plugin-catch-links": "^2.8.0",
"gatsby-plugin-feed": "^2.10.0", "gatsby-plugin-feed": "^2.11.0",
"gatsby-plugin-flow": "^1.7.0", "gatsby-plugin-flow": "^1.8.0",
"gatsby-plugin-google-gtag": "^2.5.0", "gatsby-plugin-google-gtag": "^2.6.0",
"gatsby-plugin-manifest": "^2.9.1", "gatsby-plugin-manifest": "^2.10.0",
"gatsby-plugin-netlify": "^2.8.0", "gatsby-plugin-netlify": "^2.9.0",
"gatsby-plugin-netlify-cms": "^4.7.0", "gatsby-plugin-netlify-cms": "^4.8.0",
"gatsby-plugin-offline": "^3.7.1", "gatsby-plugin-offline": "^3.8.0",
"gatsby-plugin-optimize-svgs": "^1.0.4", "gatsby-plugin-optimize-svgs": "^1.0.5",
"gatsby-plugin-react-helmet": "^3.7.0", "gatsby-plugin-react-helmet": "^3.8.0",
"gatsby-plugin-sass": "^2.8.0", "gatsby-plugin-sass": "^3.0.0",
"gatsby-plugin-sharp": "^2.11.2", "gatsby-plugin-sharp": "^2.12.2",
"gatsby-plugin-sitemap": "^2.9.0", "gatsby-plugin-sitemap": "^2.10.0",
"gatsby-remark-autolink-headers": "^2.8.0", "gatsby-remark-autolink-headers": "^2.9.0",
"gatsby-remark-copy-linked-files": "^2.7.0", "gatsby-remark-copy-linked-files": "^2.8.0",
"gatsby-remark-external-links": "0.0.4", "gatsby-remark-external-links": "0.0.4",
"gatsby-remark-images": "^3.8.1", "gatsby-remark-images": "^3.9.0",
"gatsby-remark-katex": "^3.7.0", "gatsby-remark-katex": "^3.8.0",
"gatsby-remark-prismjs": "^3.10.0", "gatsby-remark-prismjs": "^3.11.0",
"gatsby-remark-relative-images": "^2.0.2", "gatsby-remark-relative-images": "^2.0.2",
"gatsby-remark-responsive-iframe": "^2.8.0", "gatsby-remark-responsive-iframe": "^2.9.0",
"gatsby-remark-smartypants": "^2.7.0", "gatsby-remark-smartypants": "^2.8.0",
"gatsby-source-filesystem": "^2.8.1", "gatsby-source-filesystem": "^2.9.1",
"gatsby-transformer-remark": "^2.13.1", "gatsby-transformer-remark": "^2.14.0",
"gatsby-transformer-sharp": "^2.9.0", "gatsby-transformer-sharp": "^2.10.1",
"invariant": "^2.2.4", "invariant": "^2.2.4",
"katex": "^0.12.0", "katex": "^0.12.0",
"lodash": "^4.17.20", "lodash": "^4.17.20",
"netlify-cms-app": "^2.14.8", "netlify-cms-app": "^2.14.12",
"node-sass": "^5.0.0",
"normalize-scss": "^7.0.1", "normalize-scss": "^7.0.1",
"prismjs": "^1.23.0", "prismjs": "^1.23.0",
"react": "^17.0.1", "react": "^17.0.1",
@ -92,10 +93,10 @@
"babel-core": "7.0.0-bridge.0", "babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0", "babel-eslint": "10.1.0",
"babel-jest": "26.6.3", "babel-jest": "26.6.3",
"babel-preset-gatsby": "0.9.1", "babel-preset-gatsby": "0.10.0",
"browserslist": "4.16.0", "browserslist": "4.16.1",
"concurrently": "5.3.0", "concurrently": "5.3.0",
"eslint": "7.17.0", "eslint": "7.18.0",
"eslint-config-airbnb-base": "14.2.1", "eslint-config-airbnb-base": "14.2.1",
"eslint-plugin-import": "2.22.1", "eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.1.3", "eslint-plugin-jest": "24.1.3",

809
yarn.lock

File diff suppressed because it is too large Load Diff