Skip to content

Commit 97b9e3f

Browse files
committed
0 parents  commit 97b9e3f

File tree

264 files changed

+39020
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

264 files changed

+39020
-0
lines changed

.circleci/config.yml

+82
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
version: 2
2+
3+
defaults: &defaults
4+
docker:
5+
- image: circleci/node:10.20.1
6+
working_directory: ~/gatsby-starter-lumen
7+
8+
jobs:
9+
install:
10+
<<: *defaults
11+
steps:
12+
- checkout
13+
- restore_cache:
14+
keys:
15+
- dependencies-{{ checksum "yarn.lock" }}
16+
- run: yarn install --frozen-lockfile
17+
- save_cache:
18+
paths:
19+
- node_modules
20+
key: dependencies-{{ checksum "yarn.lock" }}
21+
22+
lint:
23+
<<: *defaults
24+
steps:
25+
- checkout
26+
- restore_cache:
27+
keys:
28+
- dependencies-{{ checksum "yarn.lock" }}
29+
- run: yarn lint
30+
31+
test:
32+
<<: *defaults
33+
steps:
34+
- checkout
35+
- restore_cache:
36+
keys:
37+
- dependencies-{{ checksum "yarn.lock" }}
38+
- run: yarn test --runInBand --no-cache
39+
40+
coverage:
41+
<<: *defaults
42+
steps:
43+
- checkout
44+
- restore_cache:
45+
keys:
46+
- dependencies-{{ checksum "yarn.lock" }}
47+
- run: yarn test:coverage --runInBand --no-cache
48+
- save_cache:
49+
key: coverage-{{ .Environment.CIRCLE_SHA1 }}
50+
paths:
51+
- coverage
52+
53+
codecov:
54+
<<: *defaults
55+
steps:
56+
- checkout
57+
- restore_cache:
58+
keys:
59+
- dependencies-{{ checksum "yarn.lock" }}
60+
- restore_cache:
61+
keys:
62+
- coverage-output-{{ .Environment.CIRCLE_SHA1 }}
63+
- run: yarn global add codecov
64+
- run: yarn codecov
65+
66+
workflows:
67+
version: 2
68+
test:
69+
jobs:
70+
- install
71+
- lint:
72+
requires:
73+
- install
74+
- test:
75+
requires:
76+
- install
77+
- coverage:
78+
requires:
79+
- install
80+
- codecov:
81+
requires:
82+
- coverage

.dockerignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.git
2+
node_modules
3+
npm-debug.log
4+
yarn-error.log

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/flow-typed/*
2+
/public/*
3+
/node_modules/*

.eslintrc.json

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"parser": "babel-eslint",
3+
"extends": "airbnb-base",
4+
"env": {
5+
"browser": true,
6+
"node": true,
7+
"es6": true,
8+
"jest/globals": true
9+
},
10+
"plugins": [
11+
"react",
12+
"jest",
13+
"jsx-a11y",
14+
"import"
15+
],
16+
"globals": {
17+
"graphql": true
18+
},
19+
"rules": {
20+
"comma-dangle": 0,
21+
"import/imports-first": 0,
22+
"global-require": 0,
23+
"class-methods-use-this": 0,
24+
"arrow-body-style": [
25+
2,
26+
"as-needed"
27+
],
28+
"arrow-parens": [
29+
"error",
30+
"always"
31+
],
32+
"import/no-extraneous-dependencies": [
33+
"error",
34+
{
35+
"devDependencies": true
36+
}
37+
],
38+
"no-debugger": 0,
39+
"dot-notation": 0,
40+
"no-console": 0,
41+
"new-cap": 0,
42+
"strict": 0,
43+
"no-param-reassign": [
44+
"error",
45+
{
46+
"props": false
47+
}
48+
],
49+
"no-underscore-dangle": 0,
50+
"no-use-before-define": 0,
51+
"eol-last": 0,
52+
"no-shadow": 0,
53+
"quotes": [
54+
2,
55+
"single"
56+
],
57+
"jsx-quotes": [
58+
0,
59+
"prefer-single"
60+
],
61+
"react/jsx-no-undef": 1,
62+
"react/jsx-uses-react": 1,
63+
"react/jsx-uses-vars": 1
64+
}
65+
}

.flowconfig

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[ignore]
2+
3+
[include]
4+
5+
[libs]
6+
flow-typed
7+
8+
[lints]
9+
10+
[options]
11+
module.name_mapper.extension='scss' -> '<PROJECT_ROOT>/flow/css-module-stub.js'
12+
server.max_workers=4
13+
14+
[strict]
15+
nonstrict-import
16+
unclear-type
17+
untyped-type-import
18+
unsafe-getters-setters
19+
sketchy-null

.gitattributes

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/.github export-ignore
2+
/.gitattributes export-ignore
3+
/.editorconfig export-ignore
4+
/.travis.yml export-ignore
5+
**/*.js.snap export-ignore
6+
/static/css export-ignore

.github/FUNDING.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
open_collective: lumen

.github/ISSUE_TEMPLATE/bug_report.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Description
2+
3+
<!-- Write a brief description of the changes introduced by this PR -->
4+
5+
## Related Issues
6+
7+
<!--
8+
Link to the issue that is fixed by this PR (if there is one)
9+
e.g. Fixes #1234, Addresses #1234, Related to #1234, etc.
10+
-->

.github/logo.png

38.2 KB
Loading

.github/screenshot.png

147 KB
Loading

.github/workflows/nodejs.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Node.js CI
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
node-version: [10.x, 12.x]
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v1
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- run: npm install -g yarn
28+
- run: yarn install --frozen-lockfile
29+
- run: yarn run lint
30+
- run: yarn run test --runInBand --no-cache
31+
env:
32+
CI: true

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
node_modules/
2+
.cache/
3+
public/
4+
npm-debug.log
5+
.eslintcache
6+
.gatsby-context.js
7+
.idea
8+
gatsby-starter-lumen.iml

.stylelintrc.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"extends": "stylelint-config-recommended-scss",
3+
"rules": {
4+
"color-named": "never",
5+
"font-family-name-quotes": "always-where-required",
6+
"font-weight-notation": "named-where-possible",
7+
"function-url-no-scheme-relative": true,
8+
"function-url-quotes": "always",
9+
"string-quotes": "single",
10+
"value-keyword-case": "lower",
11+
"unit-blacklist": [],
12+
"max-empty-lines": 2,
13+
"no-descending-specificity": true,
14+
"no-duplicate-selectors": true,
15+
"font-family-no-missing-generic-family-keyword": null,
16+
"property-no-unknown": [true, {
17+
"ignoreProperties": ["/^lost-/"]
18+
}]
19+
},
20+
"ignoreFiles": [
21+
"node_modules/*",
22+
"src/assets/**"
23+
],
24+
"defaultSeverity": "error"
25+
}

.travis.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: node_js
2+
node_js:
3+
- '10'
4+
install:
5+
- npm install -g codecov
6+
script:
7+
- yarn install
8+
- yarn lint
9+
- yarn test:coverage --runInBand --no-cache
10+
- yarn test --runInBand --no-cache
11+
- codecov
12+
cache:
13+
directories:
14+
- node_modules

CHANGELOG.md

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Change Log
2+
All notable changes to this project will be documented in this file.
3+
4+
## [3.0.3] - 2019-07-25
5+
### Added
6+
- [Pull #321](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/321): Add title to <Icon /> for accessibility
7+
- [Pull #319](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/319): Fixed invalid Telegram contact url
8+
- [Pull #314](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/314): Hides the contact icon if empty in config
9+
- [Pull #295](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/295): Add external link defaults for markdown
10+
- [Pull #283](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/283): Add pathPrefix configuration
11+
- [Pull #231](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/231): Add Twitter Card
12+
- [Pull #210](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/210): Bug fixes
13+
- [Pull #181](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/181): Add More Flow typings
14+
- [Pull #178](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/178): Integrate Flow typing
15+
16+
## [3.0.1] - 2019-03-03
17+
### Added
18+
- [Pull #118](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/118): feat: add gatsby-remark-autolink-headers support
19+
- [Pull #99](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/99): Add lang="en" to <html>
20+
- [Pull #95](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/95): Fixed url prop bug for <ReactDisqusComments />
21+
- [Pull #94](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/94): Add isIndex prop to Sidebar in index-template
22+
- [Pull #93](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/93): Upgrade React version to 16.8.1
23+
- [Pull #89](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/89): Removed .gatsby-highlight selectors
24+
25+
## [3.0.0] - 2019-01-22
26+
- Heavy refactoring
27+
- Netlify CMS support
28+
- Pagination support
29+
- Reorganize content
30+
31+
## [2.0.4] - 2019-01-22
32+
### Added
33+
- [Pull #78](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/78): Upgrade gatsby-remark-prismjs
34+
- [Pull #77](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/77): Add more service urls and tweak a layout
35+
36+
## [2.0.3] - 2018-11-09
37+
### Added
38+
- [Pull #70](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/70): Refactor the React logic and introduce Fragment
39+
- [Pull #63](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/63): We want `yarn.lock` in git
40+
- [Pull #56](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/56): Add Simple Netlify Deploy Support
41+
- [Pull #55](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/55): Fix prefix-links error upon deploy
42+
- [Pull #54](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/54): Improve RSS channel defaults
43+
- [Pull #51](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/51): Decouple the node side code and the browser side code
44+
- [Pull #50](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/50): Fixed two typos.
45+
- [Pull #49](https://github.com/alxshelepenok/gatsby-starter-lumen/pull/49): Fix twitter link in post details

0 commit comments

Comments
 (0)