Skip to content

Commit

Permalink
Copy package.json from internal plugins to dist
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed May 20, 2017
1 parent f040052 commit 0dbd702
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 4 additions & 2 deletions packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"chokidar": "^1.6.1",
"chunk-manifest-webpack-plugin": "0.1.0",
"commander": "^2.9.0",
"copyfiles": "^1.2.0",
"css-loader": "^0.26.1",
"debug": "^2.6.0",
"detect-port": "^1.1.1",
Expand Down Expand Up @@ -139,11 +140,12 @@
"url": "git+https://github.com/gatsbyjs/gatsby.git"
},
"scripts": {
"build": "rimraf dist && npm run build:src && npm run build:cli",
"build": "rimraf dist && npm run build:src && npm run build:cli && npm run build:internal-plugins",
"build:src": "babel src --out-dir dist --source-maps --ignore gatsby-cli.js,__tests__",
"build:internal-plugins": "copyfiles -u 1 src/bootstrap/internal-plugins/**/package.json dist",
"build:cli": "babel src/gatsby-cli.js --out-file dist/gatsby-cli.js --presets es2015",
"clean-test-bundles": "find test/ -type f -name bundle.js* -exec rm -rf {} +",
"test-coverage": "node_modules/.bin/nyc --reporter=lcov --reporter=text npm test",
"watch": "rimraf dist && npm run build:src -- --watch"
"watch": "rimraf dist && npm run build:src -- --watch && npm run build:internal-plugins"
}
}
2 changes: 0 additions & 2 deletions packages/gatsby/src/bootstrap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,6 @@ data
})
}

console.log(`created js pages`)

return new Promise(resolve => {
QueryRunner.isInitialPageQueryingDone(() => {
apiRunnerNode(`generateSideEffects`).then(() => {
Expand Down

0 comments on commit 0dbd702

Please sign in to comment.