This repository has been archived by the owner on Sep 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 131
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 #150 from 30-seconds/yild-v2
- Loading branch information
Showing
92 changed files
with
1,863 additions
and
2,684 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ENV=development | ||
CACHE_KEY=dev_2020_08 |
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,2 @@ | ||
ENV=production | ||
CACHE_KEY=30swp20200826234402 |
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 |
---|---|---|
|
@@ -114,3 +114,4 @@ public | |
.content | ||
content/data | ||
static/assets | ||
src/xml/sitemap.xml |
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,16 @@ | ||
{ | ||
"editor.tabSize": 2, | ||
"editor.insertSpaces": true, | ||
"editor.detectIndentation": false, | ||
"eslint.autoFixOnSave": true, | ||
"git.detectSubmodules": false, | ||
"editor.rulers": [ | ||
80 | ||
], | ||
"files.insertFinalNewline": true, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
}, | ||
"diffEditor.ignoreTrimWhitespace": false, | ||
"files.trimTrailingWhitespace": true | ||
} |
Binary file not shown.
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
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
Submodule 30blog
updated
from a14b59 to adbf1f
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 |
---|---|---|
@@ -1,29 +1,14 @@ | ||
const { green } = require('kleur'); | ||
const env = require('./.build/env').default; | ||
|
||
const { green } = require('chalk'); | ||
const { | ||
sourceNodes, | ||
createPages, | ||
onCreateWebpackConfig, | ||
} = require(`./src/build`); | ||
const { | ||
parseQueries, | ||
parseRequirables, | ||
parseTemplates, | ||
} = require(`./src/build/parsers`); | ||
const paths = require(`./src/config/paths`); | ||
|
||
const requirables = parseRequirables(paths.contentPath); | ||
console.log(`${green('success')} parse requirables`); | ||
|
||
const templates = parseTemplates(env === 'DEVELOPMENT' ? paths.devTemplates : paths.templates, paths.templatesPath); | ||
console.log(`${green('success')} parse templates`); | ||
|
||
const pagesQuery = parseQueries(paths.queryPath); | ||
console.log(`${green('success')} parse queries`); | ||
|
||
exports.createPages = createPages(pagesQuery, templates, requirables); | ||
onPostBuild, | ||
parseRequirements, | ||
} = require(`./src/gatsby`); | ||
|
||
exports.sourceNodes = sourceNodes(requirables); | ||
const { requirables, templates} = parseRequirements(); | ||
console.log(`${green('success')} parse requirements`); | ||
|
||
exports.createPages = createPages(templates, requirables); | ||
exports.onCreateWebpackConfig = onCreateWebpackConfig; | ||
exports.onPostBuild = onPostBuild; |
Oops, something went wrong.