forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bootstrap missing files in gatsby-cli (gatsbyjs#2658)
* Don't install yarn as already installed * Fix missing files during lerna bootstrap * Use path.posix.join instead of path.join File comparisons are being made using === resulting in string comparisons that are platform dependent.
- Loading branch information
1 parent
8a262a4
commit 0b8a7d5
Showing
6 changed files
with
12 additions
and
8 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
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,5 @@ | ||
/lib | ||
/*.js | ||
!/bin.js | ||
/reporter | ||
yarn.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,4 @@ | ||
#!/usr/bin/env node | ||
// This file exists to fix a problem lerna has with symlinks on Windows | ||
// See https://github.com/gatsbyjs/gatsby/pull/2658 | ||
require(`lib/index.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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
"version": "1.1.11", | ||
"author": "Kyle Mathews <[email protected]>", | ||
"bin": { | ||
"gatsby": "lib/index.js" | ||
"gatsby": "bin.js" | ||
}, | ||
"dependencies": { | ||
"babel-code-frame": "^6.26.0", | ||
|
@@ -32,7 +32,7 @@ | |
"gatsby" | ||
], | ||
"license": "MIT", | ||
"main": "lib/index.js", | ||
"main": "bin.js", | ||
"scripts": { | ||
"build": "babel src --out-dir lib --ignore __tests__", | ||
"watch": "babel -w src --out-dir lib --ignore __tests__", | ||
|
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