Skip to content

Commit 63c0e59

Browse files
committed
clean up
1 parent aec912b commit 63c0e59

15 files changed

Lines changed: 15 additions & 3678 deletions

File tree

.ghost.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

gatsby-config.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,6 @@
11
const path = require(`path`)
22

33
const config = require(`./src/utils/siteConfig`)
4-
const generateRSSFeed = require(`./src/utils/rss/generate-feed`)
5-
6-
let ghostConfig
7-
8-
try {
9-
ghostConfig = require(`./.ghost`)
10-
} catch (e) {
11-
ghostConfig = {
12-
production: {
13-
apiUrl: process.env.GHOST_API_URL,
14-
contentApiKey: process.env.GHOST_CONTENT_API_KEY,
15-
},
16-
}
17-
} finally {
18-
const { apiUrl, contentApiKey } = process.env.NODE_ENV === `development` ? ghostConfig.development : ghostConfig.production
19-
20-
if (!apiUrl || !contentApiKey || contentApiKey.match(/<key>/)) {
21-
throw new Error(`GHOST_API_URL and GHOST_CONTENT_API_KEY are required to build. Check the README.`) // eslint-disable-line
22-
}
23-
}
24-
25-
if (process.env.NODE_ENV === `production` && config.siteUrl === `http://localhost:8000` && !process.env.SITEURL) {
26-
throw new Error(`siteUrl can't be localhost and needs to be configured in siteConfig. Check the README.`) // eslint-disable-line
27-
}
284

295
/**
306
* This is the place where you can tell Gatsby which plugins to use

package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
"url": "https://github.com/tryghost/gatsby-starter-ghost/issues"
2020
},
2121
"keywords": [
22-
"gatsby",
23-
"ghost"
22+
"gatsby"
2423
],
2524
"main": "n/a",
2625
"scripts": {
@@ -36,7 +35,6 @@
3635
"@emotion/styled": "^11.3.0",
3736
"babel-eslint": "10.1.0",
3837
"eslint": "7.24.0",
39-
"eslint-plugin-ghost": "2.0.0",
4038
"eslint-plugin-react": "7.23.2",
4139
"gatsby-plugin-emotion": "^6.3.0",
4240
"gh-pages": "^3.1.0"
@@ -47,8 +45,6 @@
4745
"@fortawesome/free-regular-svg-icons": "^5.15.3",
4846
"@fortawesome/free-solid-svg-icons": "^5.15.3",
4947
"@fortawesome/react-fontawesome": "^0.1.14",
50-
"@tryghost/helpers": "1.1.41",
51-
"@tryghost/helpers-gatsby": "1.0.47",
5248
"autoprefixer": "^10.2.5",
5349
"cheerio": "1.0.0-rc.5",
5450
"dotenv": "^8.2.0",
@@ -72,7 +68,6 @@
7268
"gatsby-plugin-styled-components": "^4.3.0",
7369
"gatsby-remark-prismjs": "^5.2.0",
7470
"gatsby-source-filesystem": "2.11.1",
75-
"gatsby-source-ghost": "4.2.3",
7671
"gatsby-transformer-remark": "^4.2.0",
7772
"gatsby-transformer-sharp": "2.12.1",
7873
"hamburger-react": "^2.4.0",

plugins/gatsby-plugin-ghost-manifest/.babelrc

Lines changed: 0 additions & 10 deletions
This file was deleted.

plugins/gatsby-plugin-ghost-manifest/common.js

Lines changed: 0 additions & 55 deletions
This file was deleted.

plugins/gatsby-plugin-ghost-manifest/gatsby-node.js

Lines changed: 0 additions & 100 deletions
This file was deleted.

plugins/gatsby-plugin-ghost-manifest/gatsby-ssr.js

Lines changed: 0 additions & 61 deletions
This file was deleted.

plugins/gatsby-plugin-ghost-manifest/index.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

plugins/gatsby-plugin-ghost-manifest/package.json

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)