-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.0] Change directory structure #802
Merged
KyleAMathews
merged 35 commits into
gatsbyjs:1.0
from
fabien0102:1.0-typescript-support
Apr 18, 2017
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
ad3e387
Add a note on windows installation
fabien0102 9834943
Add missing dependencies into gatsby-plugin-typescript doc
fabien0102 e3c4245
Make HTMLPath configurable
fabien0102 1f999dd
Fix dev-cli readme
fabien0102 f45a455
Use redux to managed program.extensions
fabien0102 abb0351
Slashify all paths
fabien0102 3af80ea
Fix relativePath and clean no-used var
fabien0102 240f5da
Get program.extensions from redux
fabien0102 72e706f
Add a rootPath config
fabien0102 d73cda5
Some refactors
fabien0102 871d31c
Run yarn format
fabien0102 0c71ab9
Deal with config.rootPath for default layout
fabien0102 2de4528
Fix bad rebase
fabien0102 f4b80ed
Fix documention style
fabien0102 186ed2b
Merge remote-tracking branch 'upstream/1.0' into 1.0-typescript-support
fabien0102 c8ee94b
Add typescript definition for gatsby-link
fabien0102 d3c99a3
Remove superfluous typescript example
fabien0102 5501d78
Add vscode config to execute prettier on save
fabien0102 55d14b8
Imprive joi validation on rootPath
fabien0102 e85fe81
Remove useless tsconfig.json
fabien0102 3d3ce81
Remove unused var
fabien0102 7c58180
Use program from redux
fabien0102 d232690
Improve rootPath config (default config and regex validator)
fabien0102 7d1f719
Ensure schema is created even if the project hasn't got any source pl…
fabien0102 9886ac0
Find a webpack config that deals with all env \o/
fabien0102 297100e
Move default config into redux
fabien0102 3df19af
Take english version to vscode/settings comment
fabien0102 5c87433
Merge remote-tracking branch 'upstream/1.0' into 1.0-typescript-support
fabien0102 c913534
Add some unit-test for `rootPath`
fabien0102 b3dd006
Make `src` as default rootPath
fabien0102 ad073ef
Rename `intermediate-representation` to `cache`
fabien0102 e43b022
Add `public` into webpack root entries
fabien0102 46c6b0f
Ignore .cache folders
fabien0102 9aad264
Refactor `www` project with the new file directory
fabien0102 04a8508
Refactor gatsbygram project with the new file directory
fabien0102 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -38,4 +38,4 @@ test/**/public | |
.DS_Store | ||
public/ | ||
node_modules/ | ||
.intermediate-representation/ | ||
.cache/ |
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,6 @@ | ||
// Place your settings in this file to overwrite the default settings | ||
{ | ||
"prettier.semi": false, | ||
"prettier.trailingComma": "es5", | ||
"editor.formatOnSave": 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
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,3 +1,3 @@ | ||
public | ||
.intermediate-representation | ||
.cache | ||
node_modules |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
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,7 @@ | ||
import { ClassicComponentClass } from "react"; | ||
import { LinkProps } from "react-router"; | ||
|
||
type GatsbyLink = ClassicComponentClass<LinkProps>; | ||
declare const GatsbyLink: GatsbyLink; | ||
|
||
export = GatsbyLink; |
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 was deleted.
Oops, something went wrong.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
2 changes: 1 addition & 1 deletion
2
packages/gatsby/lib/redux/__tests__/__snapshots__/site-config.js.snap
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there some pages discussing this issue that you can link to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just my personal experience for instant, but I can search ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this is what you need to do to get Hyper setup vercel/hyper#946 (comment)
Perhaps just add this to the instructions instead of this section?