Open MichaelDeBoey opened 4 years ago
kcd-scripts
6.6.0
node
14.14.0
npm
6.14.8
Relevant code or config
$ kcd-scripts build --out-dir .
What you did: Run npm run build in the root of the project
npm run build
What happened: src/__tests__/gatsby-node.js was deleted
src/__tests__/gatsby-node.js
Reproduction repository: https://github.com/MichaelDeBoey/gatsby-plugin-pinterest/tree/support-pluginOptionsSchema
Problem description: When implementing https://github.com/robinmetral/gatsby-plugin-pinterest/pull/15 and running npm run build or npm run validate in the root of the project, src/__tests__/gatsby-node.js was deleted.
npm run validate
Suggested solution: Investigation needed 🤔
I'm guessing it's an issue with this code:
https://github.com/kentcdodds/kcd-scripts/blob/4961e9741460825131f5de47d93d41b0a9ffe99d/src/scripts/build/babel.js#L53-L64
kcd-scripts
version:6.6.0
node
version:14.14.0
npm
version:6.14.8
Relevant code or config
What you did: Run
npm run build
in the root of the projectWhat happened:
src/__tests__/gatsby-node.js
was deletedReproduction repository: https://github.com/MichaelDeBoey/gatsby-plugin-pinterest/tree/support-pluginOptionsSchema
Problem description: When implementing https://github.com/robinmetral/gatsby-plugin-pinterest/pull/15 and running
npm run build
ornpm run validate
in the root of the project,src/__tests__/gatsby-node.js
was deleted.Suggested solution: Investigation needed 🤔