Reproduction case for prepare script not running
~/P/p/github (main)> rm -rf node_modules/
~/P/p/github (main)> rm package-lock.json
~/P/p/github (main)> npm --version
7.11.2
~/P/p/github (main)> npm install
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: This loader has been deprecated. Please use eslint-webpack-plugin
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi'
added 2061 packages, and audited 2062 packages in 1m
171 packages are looking for funding
run `npm fund` for details
5 moderate severity vulnerabilities
To address all issues, run:
npm audit fix
Run `npm audit` for details.
~/P/p/github (main)> ls node_modules/gatsby-plugin-advanced-sitemap/
BaseSiteMapGenerator.js README.md defaults.js index.js jest.setup.js renovate.json utils.js
IndexMapGenerator.js SiteMapGenerator.js gatsby-node.js jest-transformer.js node_modules src
LICENSE SiteMapManager.js gatsby-ssr.js jest.config.js package.json static
Notably, the following files have been generated:
BaseSitemapGenerator.js
IndexMapGenerator.js
SiteMapGenerator.js
SiteMapManager.js
defaults.js
gatsby-node.js
gatsby-ssr.js
utils.js
~/P/p/tarball (main)> rm -rf node_modules/
~/P/p/tarball (main)> rm package-lock.json
~/P/p/tarball (main)> npm --version
7.11.2
~/P/p/tarball (main)> npm install
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: This loader has been deprecated. Please use eslint-webpack-plugin
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi'
added 2061 packages, and audited 2062 packages in 36s
171 packages are looking for funding
run `npm fund` for details
5 moderate severity vulnerabilities
To address all issues, run:
npm audit fix
Run `npm audit` for details.
~/P/p/tarball (main)> ls node_modules/gatsby-plugin-advanced-sitemap/
LICENSE index.js jest.config.js node_modules renovate.json static
README.md jest-transformer.js jest.setup.js package.json src yarn.lock
Notably, the following files are missing:
BaseSitemapGenerator.js
IndexMapGenerator.js
SiteMapGenerator.js
SiteMapManager.js
defaults.js
gatsby-node.js
gatsby-ssr.js
utils.js