-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from dylanon/gatsby-v4-support
Gatsby v4 support
- Loading branch information
Showing
27 changed files
with
22,254 additions
and
2,534 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,6 @@ node_modules | |
coverage | ||
.DS_Store | ||
.idea | ||
.env | ||
.env | ||
.yalc | ||
yalc.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
node_modules | ||
coverage | ||
.DS_Store | ||
.idea | ||
.env | ||
.yalc | ||
yalc.lock | ||
|
||
/__mocks__ | ||
/__tests__ | ||
/fixtures | ||
/test_sites | ||
/testing | ||
/.npmignore | ||
/.nvmrc | ||
/.prettierrc | ||
/.releaserc.json | ||
/.travis.yml | ||
/generateFixtures.js | ||
/jest.config.js | ||
/testUtils.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
14.18.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
{ | ||
"branch": "master", | ||
"dryRun": false | ||
"branches": [ | ||
"+([0-9])?(.{+([0-9]),x}).x", | ||
"master", | ||
{ "name": "alpha", "prerelease": true }, | ||
{ "name": "beta", "prerelease": true } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,14 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- 10.15.3 | ||
|
||
cache: yarn | ||
|
||
jobs: | ||
include: | ||
- stage: release | ||
node_js: 10.15.3 | ||
deploy: | ||
provider: script | ||
on: | ||
branch: master | ||
all_branches: true | ||
skip_cleanup: true | ||
script: | ||
- npx semantic-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
node_modules/ | ||
.cache/ | ||
.env | ||
.env.development | ||
public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Gatsby v3 Test Site | ||
|
||
## Developing | ||
|
||
In this repo's root directory: | ||
|
||
- Run `yalc publish` | ||
|
||
In this directory: | ||
|
||
- Create `.env.development` and populate with your secrets: | ||
|
||
```bash | ||
GATSBY_ETSY_API_KEY=your-api-key | ||
GATSBY_ETSY_STORE_ID=your-store-id | ||
``` | ||
|
||
- `yalc add gatsby-source-etsy` | ||
- `yarn develop` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
require('dotenv').config({ | ||
path: `.env.${process.env.NODE_ENV}`, | ||
}) | ||
|
||
module.exports = { | ||
siteMetadata: { | ||
siteUrl: 'https://www.yourdomain.tld', | ||
title: 'Gatsby v3 Test Site', | ||
}, | ||
plugins: [ | ||
{ | ||
resolve: `gatsby-source-etsy`, | ||
options: { | ||
api_key: process.env.GATSBY_ETSY_API_KEY, | ||
shop_id: process.env.GATSBY_ETSY_STORE_ID, | ||
}, | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"name": "gatsby-v3-test-site", | ||
"version": "1.0.0", | ||
"private": true, | ||
"description": "Gatsby v3 Test Site", | ||
"author": "Dylan On", | ||
"keywords": [ | ||
"gatsby" | ||
], | ||
"scripts": { | ||
"develop": "gatsby develop", | ||
"start": "gatsby develop", | ||
"build": "gatsby build", | ||
"serve": "gatsby serve", | ||
"clean": "gatsby clean" | ||
}, | ||
"dependencies": { | ||
"gatsby": "^3.0.0", | ||
"gatsby-source-etsy": "^2.0.0-alpha.1", | ||
"gatsby-source-filesystem": "^3.0.0", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.