Skip to content

Commit da85742

Browse files
committed
add tailwind
2 parents d07c57d + 7117d8f commit da85742

Some content is hidden

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

63 files changed

+19418
-38
lines changed

.editorconfig

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = CRLF
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.hbs]
12+
insert_final_newline = false
13+
14+
[*.json]
15+
indent_size = 2
16+
17+
[*.md]
18+
trim_trailing_whitespace = false
19+
20+
[*.{yml,yaml}]
21+
indent_size = 2
22+
23+
[Makefile]
24+
indent_style = tab

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
public/**
2+
plugins/**/*.js
3+
plugins/*/node_modules/*
4+
!plugins/*/src/*.js

.eslintrc.js

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
module.exports = {
2+
parser: "babel-eslint",
3+
parserOptions: {
4+
ecmaVersion: 6,
5+
ecmaFeatures: {
6+
jsx: true,
7+
experimentalObjectRestSpread: true,
8+
},
9+
},
10+
plugins: ["ghost", "react"],
11+
extends: [
12+
"plugin:ghost/node",
13+
"plugin:ghost/ember",
14+
"plugin:react/recommended",
15+
"prettier",
16+
],
17+
settings: {
18+
react: {
19+
createClass: "createReactClass",
20+
pragma: "React",
21+
version: "16.0",
22+
flowVersion: "0.53",
23+
},
24+
propWrapperFunctions: ["forbidExtraProps"],
25+
},
26+
rules: {
27+
"ghost/sort-imports-es6-autofix/sort-imports-es6": "off",
28+
"ghost/ember/use-ember-get-and-set": "off",
29+
"no-console": "off",
30+
"no-inner-declarations": "off",
31+
"valid-jsdoc": "off",
32+
"require-jsdoc": "off",
33+
quotes: ["error", "backtick"],
34+
"consistent-return": ["error"],
35+
"arrow-body-style": [
36+
"error",
37+
"as-needed",
38+
{ requireReturnForObjectLiteral: true },
39+
],
40+
"jsx-quotes": ["error", "prefer-double"],
41+
semi: ["error", "never"],
42+
"object-curly-spacing": ["error", "always"],
43+
"comma-dangle": [
44+
"error",
45+
{
46+
arrays: "always-multiline",
47+
objects: "always-multiline",
48+
imports: "always-multiline",
49+
exports: "always-multiline",
50+
functions: "ignore",
51+
},
52+
],
53+
"react/prop-types": [
54+
"error",
55+
{
56+
ignore: ["children"],
57+
},
58+
],
59+
},
60+
};

.ghost.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"development": {
3+
"apiUrl": "https://gatsby.ghost.io",
4+
"contentApiKey": "9cc5c67c358edfdd81455149d0"
5+
},
6+
"production": {
7+
"apiUrl": "https://gatsby.ghost.io",
8+
"contentApiKey": "9cc5c67c358edfdd81455149d0"
9+
}
10+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: "\U0001F41B Bug report"
3+
about: Report reproducible software issues so we can improve
4+
---
5+
6+
Welcome to the Gatsby Starter Ghost GitHub repo! 👋🎉
7+
8+
We use GitHub only for bug reports 🐛
9+
10+
Anything else should be posted to https://forum.ghost.org 👫
11+
12+
For questions related to the usage of Gatsby or GraphQL, please check out their docs at https://www.gatsbyjs.org/ and https://graphql.org/
13+
14+
🚨For support, help & questions use https://forum.ghost.org/c/help
15+
💡For feature requests & ideas you can post and vote on https://forum.ghost.org/c/Ideas
16+
17+
If your issue is with Gatsby.js itself, please report it at the Gatsby repo ➡️ https://github.com/gatsbyjs/gatsby/issues/new.
18+
19+
### Issue Summary
20+
21+
A summary of the issue and the browser/OS environment in which it occurs.
22+
23+
### To Reproduce
24+
25+
1. This is the first step
26+
2. This is the second step, etc.
27+
28+
Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
29+
30+
### Technical details:
31+
32+
- Ghost Version:
33+
- Gatsby Version:
34+
- Node Version:
35+
- OS:
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: "\U0001F4A1Anything else"
3+
about: "For help, support, features & ideas - please use https://forum.ghost.org \U0001F46B "
4+
---
5+
6+
--------------^ Click "Preview" for a nicer view!
7+
8+
We use GitHub only for bug reports 🐛
9+
10+
Anything else should be posted to https://forum.ghost.org 👫.
11+
12+
🚨For support, help & questions use https://forum.ghost.org/c/help
13+
💡For feature requests & ideas you can post and vote on https://forum.ghost.org/c/Ideas
14+
15+
Alternatively, check out these resources below. Thanks! 😁.
16+
17+
- [Forum](https://forum.ghost.org/c/help)
18+
- [Gatsby API reference](https://docs.ghost.org/api/gatsby/)
19+
- [Content API Docs](https://docs.ghost.org/api/content/)
20+
- [Gatsby.js](https://www.gatsbyjs.org)
21+
- [GraphQL](https://graphql.org/)
22+
- [Feature Requests / Ideas](https://forum.ghost.org/c/Ideas)
23+
- [Contributing Guide](https://docs.ghost.org/docs/contributing)
24+
- [Self-hoster Docs](https://docs.ghost.org/)

.gitignore

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Node template
2+
3+
# Logs
4+
logs
5+
*.log
6+
npm-debug.log*
7+
yarn-debug.log*
8+
yarn-error.log*
9+
10+
# Runtime data
11+
pids
12+
*.pid
13+
*.seed
14+
*.pid.lock
15+
16+
# Directory for instrumented libs generated by jscoverage/JSCover
17+
lib-cov
18+
19+
# Coverage directory used by tools like istanbul
20+
coverage
21+
22+
# nyc test coverage
23+
.nyc_output
24+
25+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
26+
.grunt
27+
28+
# Bower dependency directory (https://bower.io/)
29+
bower_components
30+
31+
# node-waf configuration
32+
.lock-wscript
33+
34+
# Compiled binary addons (https://nodejs.org/api/addons.html)
35+
build/Release
36+
37+
# Dependency directories
38+
node_modules/
39+
jspm_packages/
40+
41+
# Typescript v1 declaration files
42+
typings/
43+
44+
# Optional npm cache directory
45+
.npm
46+
47+
# Optional eslint cache
48+
.eslintcache
49+
50+
# Optional REPL history
51+
.node_repl_history
52+
53+
# Output of 'npm pack'
54+
*.tgz
55+
56+
# Yarn Integrity file
57+
.yarn-integrity
58+
59+
# dotenv environment variables file
60+
.env
61+
.env.development
62+
.env.production
63+
64+
# IDE
65+
.idea/*
66+
*.iml
67+
*.sublime-*
68+
69+
# OSX
70+
.DS_Store
71+
.vscode
72+
73+
# Docs Custom
74+
.cache/
75+
public
76+
yarn-error.log
77+
.netlify/
78+
79+
# Local Netlify folder
80+
.netlify

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Ignore artifacts:
2+
build
3+
.cache

0 commit comments

Comments
 (0)