{"name":"gatsby-cli","version":"5.17.0-react19.0","keywords":["gatsby"],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"license":"MIT","_id":"gatsby-cli@5.17.0-react19.0","maintainers":[{"name":"pieh","email":"misiek.piechowiak@gmail.com"},{"name":"kathmbeck","email":"katherine.beck@netlify.com"},{"name":"serhalp-netlify","email":"philippe.serhal@netlify.com"},{"name":"mlgualtieri-gatsby","email":"mike.gualtieri@netlify.com"},{"name":"kylemathews","email":"mathews.kyle@gmail.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"dschau","email":"dustinschau@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"m-allanson","email":"michael.allanson@gmail.com"},{"name":"moocar","email":"anthony@moocar.me"}],"homepage":"https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-cli#readme","bugs":{"url":"https://github.com/gatsbyjs/gatsby/issues"},"bin":{"gatsby":"cli.js"},"dist":{"shasum":"2f749f721997d2f059a4599a367c8fde66217f51","tarball":"http://registry-npm.ywwl.com/gatsby-cli/download/gatsby-cli-5.17.0-react19.0.tgz","fileCount":104,"integrity":"sha512-i4dK9iF2KtaqQcAcw4aLEVqeXB6OUC/diWiQQkMbABg9ir42V8C2hfY+kusyxY+YkCvN0WfI0w/mzim+oEmaeA==","signatures":[{"sig":"MEUCIEAZDoVxrbq+7jGcab97YYIK2FKEsPcbtlL+grf7X5BeAiEAy2RrDEPuGcGois/71p7+XVzlCa8W5WvTItmPgQLFmKI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":739130,"size":168536,"noattachment":false,"key":"/gatsby-cli/-/gatsby-cli-5.17.0-react19.0.tgz"},"main":"lib/index.js","engines":{"node":">=18.0.0"},"gitHead":"ad34f2199560f6c212ff45c2ebaf33273fc837f0","scripts":{"build":"npm-run-all --npm-path npm -p build:babel build:rollup","watch":"npm-run-all --npm-path npm -p watch:babel watch:rollup","prepare":"cross-env NODE_ENV=production npm run build && npm run typegen","typegen":"rimraf \"lib/**/*.d.ts\" && tsc --emitDeclarationOnly --declaration --declarationDir lib/","build:babel":"babel src --out-dir lib --ignore \"**/__tests__\" --ignore \"src/reporter/loggers/ink/**/*\" --extensions \".ts,.js,.tsx\"","postinstall":"node scripts/postinstall.js","watch:babel":"npm run build:babel -- --watch","build:rollup":"rollup -c","watch:rollup":"npm run build:rollup -- -w"},"_npmUser":{"name":"serhalp-netlify","email":"philippe.serhal@netlify.com"},"deprecated":"This React 19 prerelease version may be selected unexpectedly by npm when resolving version ranges. Please use the latest stable version, or use @next to install React 19 compatible prerelease version.","repository":{"url":"git+https://github.com/gatsbyjs/gatsby.git","type":"git","directory":"packages/gatsby-cli"},"_npmVersion":"lerna/3.22.1/node@v22.19.0+arm64 (darwin)","description":"Gatsby command-line interface for creating new sites and running Gatsby commands","directories":{},"_nodeVersion":"22.19.0","dependencies":{"joi":"^17.9.2","boxen":"^5.1.2","chalk":"^4.1.2","execa":"^5.1.1","redux":"4.2.1","yargs":"^15.4.1","lodash":"^4.17.21","semver":"^7.5.3","envinfo":"^7.10.0","prompts":"^2.4.2","fs-extra":"^11.2.0","progress":"^2.0.3","yurnalist":"^2.1.0","better-opn":"^2.1.1","clipboardy":"^4.0.0","node-fetch":"^2.6.11","strip-ansi":"^6.0.1","@babel/core":"^7.20.12","common-tags":"^1.8.2","opentracing":"^0.14.7","resolve-cwd":"^3.0.0","signal-exit":"^3.0.7","stack-trace":"^0.0.10","@babel/types":"^7.20.7","pretty-error":"^2.1.2","create-gatsby":"^3.17.0-react19.0","is-valid-path":"^0.1.1","@babel/runtime":"^7.20.13","convert-hrtime":"^3.0.0","@babel/template":"^7.20.7","hosted-git-info":"^3.0.8","@babel/generator":"^7.20.14","fs-exists-cached":"^1.0.0","@babel/code-frame":"^7.18.6","gatsby-core-utils":"^4.16.0-next.0","@types/common-tags":"^1.8.1","yoga-layout-prebuilt":"^1.10.0","@babel/preset-typescript":"^7.18.6","@jridgewell/trace-mapping":"^0.3.18","@babel/helper-plugin-utils":"^7.20.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ink":"^3.2.0","react":"^18.2.0","rimraf":"^3.0.2","rollup":"^2.79.2","cross-env":"^7.0.3","@babel/cli":"^7.20.7","typescript":"^5.1.6","ink-spinner":"^4.0.3","npm-run-all":"4.1.5","@types/yargs":"^15.0.19","@rollup/plugin-json":"^4.1.0","@rollup/plugin-babel":"^5.3.1","@rollup/plugin-replace":"^2.4.2","@types/hosted-git-info":"^3.0.5","rollup-plugin-internal":"^1.0.4","@rollup/plugin-commonjs":"^17.1.0","@rollup/plugin-node-resolve":"^8.4.0","babel-preset-gatsby-package":"^3.16.0-next.0","rollup-plugin-auto-external":"^2.0.0","@sigmacomputing/babel-plugin-lodash":"^3.3.5"},"_npmOperationalInternal":{"tmp":"tmp/gatsby-cli_5.17.0-react19.0_1764189806483_0.7793818104085324","host":"s3://npm-registry-packages-npm-production"},"readme":"# gatsby-cli\n\nThe Gatsby command line interface (CLI) is the main tool you use to initialize, build and develop Gatsby sites.\n\n## How to use gatsby-cli\n\nTo use the Gatsby CLI you must either:\n\n- Install it globally with `npm install -g gatsby-cli`, where you execute commands with the syntax `gatsby new`, or\n- Run commands directly with [`npx`](https://nodejs.dev/en/learn/the-npx-nodejs-package-runner/), where you execute commands with the syntax `npx gatsby new`\n\nUseful Gatsby CLI commands are also pre-defined in [starters](https://gatsbyjs.com/docs/starters/) as [run scripts](https://gatsbyjs.com/docs/glossary#run-script).\n\n## CLI Commands\n\nAll the following documentation is available in the tool by running `gatsby --help`.\n\nAvailable commands are:\n\n- [new](#new)\n- [develop](#develop)\n- [build](#build)\n- [serve](#serve)\n- [clean](#clean)\n- [info](#info)\n- [repl](#repl)\n\n### `new`\n\nRuns an interactive shell with a prompt that helps you set up a [CMS](https://gatsbyjs.com/docs/glossary#cms), styling system and plugins if you wish.\n\nTo create a new site with the prompt, execute:\n\n```shell\ngatsby new\n```\n\nYou can also skip the prompt and clone a starter directly from GitHub. For example, to clone a new [gatsby-starter-blog](https://github.com/gatsbyjs/gatsby-starter-blog), execute:\n\n```shell\ngatsby new my-new-blog https://github.com/gatsbyjs/gatsby-starter-blog\n```\n\nThe first argument (e.g. `my-new-blog`) is the name of your site, and the second argument is the GitHub URL of the starter you want to clone.\n\n> Note: The site name should only consist of letters and numbers. If you specify a `.`, `./` or a `<space>` in the name, `gatsby new` will throw an error.\n\n### `develop`\n\nCompiles and serves a development build of your site that reflects your source code changes in the browser in real time. Should be run from the root of your project.\n\n```shell\ngatsby develop\n```\n\nOptions include:\n\n| Option          | Description                                     |\n| --------------- | ----------------------------------------------- |\n| `-H`, `--host`  | Set host. Defaults to `localhost`               |\n| `-p`, `--port`  | Set port. Defaults to `env.PORT` or `8000`      |\n| `-o`, `--open`  | Open the site in your (default) browser for you |\n| `-S`, `--https` | Use HTTPS                                       |\n| `--inspect`     | Opens a port for debugging                      |\n\nTo set up HTTPS, follow the [Local HTTPS guide](https://gatsbyjs.com/docs/local-https/).\n\nTo include a URL you can access from other devices on the same network, execute:\n\n```shell\ngatsby develop -H 0.0.0.0\n```\n\nYou will see this output:\n\n```shell\nYou can now view gatsbyjs.com in the browser.\n⠀\n  Local:            http://0.0.0.0:8000/\n  On Your Network:  http://192.168.0.212:8000/ // highlight-line\n```\n\nYou can use the \"On Your Network\" URL to access your site within your network.\n\n### `build`\n\nCompiles your site for production so it can be deployed. Should be run from the root of your project.\n\n```shell\ngatsby build\n```\n\nOptions include:\n\n| Option                       | Description                                                                                                                                                      |\n| ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `--prefix-paths`             | Build site with link paths prefixed (set `pathPrefix` in your config)                                                                                            |\n| `--no-uglify`                | Build site without uglifying JS bundles (for debugging)                                                                                                          |\n| `--profile`                  | Build site with react profiling. See [Profiling Site Performance with React Profiler](https://gatsbyjs.com/docs/profiling-site-performance-with-react-profiler/) |\n| `--open-tracing-config-file` | Tracer configuration file (OpenTracing compatible). See [Performance Tracing](https://gatsbyjs.com/docs/performance-tracing/)                                    |\n| `--graphql-tracing`          | Trace (see above) every graphql resolver, may have performance implications.                                                                                     |\n| `--no-color`, `--no-colors`  | Disables colored terminal output                                                                                                                                 |\n\nIn addition to these build options, there are some optional [build environment variables](https://gatsbyjs.com/docs/how-to/local-development/environment-variables/#build-variables) for more advanced configurations that can adjust how a build runs. For example, setting `CI=true` as an environment variable will tailor output for [dumb terminals](https://en.wikipedia.org/wiki/Computer_terminal#Dumb_terminals).\n\n### `serve`\n\nServes the production build of your site for testing prior to deployment. Should be run from the root of your project.\n\n```shell\ngatsby serve\n```\n\nOptions include:\n\n| Option           | Description                                                                                    |\n| ---------------- | ---------------------------------------------------------------------------------------------- |\n| `-H`, `--host`   | Set host. Defaults to `localhost`                                                              |\n| `-p`, `--port`   | Set port. Defaults to `9000`                                                                   |\n| `-o`, `--open`   | Open the site in your default browser for you                                                  |\n| `--prefix-paths` | Serve site with link paths prefixed (if built with `pathPrefix` in your `gatsby-config` file). |\n\n### `info`\n\nShow helpful environment information which is required in bug reports. Should be run from the root of your project.\n\n```shell\ngatsby info\n```\n\nOptions include:\n\n| Option              | Description                                    |\n| ------------------- | ---------------------------------------------- |\n| `-C`, `--clipboard` | Copy environment information to your clipboard |\n\n### `clean`\n\nDelete the `.cache` and `public` directories. Should be run from the root of your project.\n\n```shell\ngatsby clean\n```\n\nThis is useful as a last resort when your local project seems to have issues or content does not seem to be refreshing. Issues this may fix commonly include:\n\n- Stale data, e.g. this file/resource/etc. isn't appearing\n- GraphQL error, e.g. this GraphQL resource should be present but is not\n- Dependency issues, e.g. invalid version, cryptic errors in console, etc.\n- Plugin issues, e.g. developing a local plugin and changes don't seem to be taking effect\n\n### `repl`\n\nOpen a Node.js REPL (interactive shell) with context of your Gatsby environment. Should be run from the root of your project.\n\n```shell\ngatsby repl\n```\n\nGatsby will prompt you to type in commands and explore. When it shows this: `gatsby >`, you can type in one of these commands to see their values in real time:\n\n- `babelrc`\n- `components`\n- `dataPaths`\n- `getNodes()`\n- `nodes`\n- `pages`\n- `schema`\n- `siteConfig`\n- `staticQueries`\n\nTo exit the REPL:\n\n- Press `Ctrl+C` or `Ctrl+D` twice, or\n- Type `.exit` and press `Enter`\n\nWhen combined with the [GraphQL explorer](https://gatsbyjs.com/docs/how-to/querying-data/running-queries-with-graphiql/), these REPL commands could be very helpful for understanding your Gatsby site's data.\n","publish_time":1764189806687,"_cnpm_publish_time":1764189806687,"dist-tags":{"alpha-9689ff":"4.23.0-alpha-9689ff.25","alpha-a5-peer":"4.23.0-alpha-a5-peer.70","alpha-adapters":"5.10.0-alpha-adapters.165","alpha-cg-tailwind":"5.9.0-alpha-cg-tailwind.23","alpha-job-progress":"4.2.0-alpha-jobs-progress.16","alpha-mdx-v2":"4.18.0-alpha-mdx-v2.68","alpha-ot-global-span":"4.2.0-alpha-ot-global-span.15","alpha-parallel":"3.2.0-alpha-parallel.28","alpha-parallel-query":"3.6.0-alpha-parallel-query.75","alpha-qe-sm":"3.14.0-alpha-qe-sm.46","alpha-react-profiling-env":"5.8.0-alpha-react-profiling-env.8","alpha-remote-fetch":"3.14.0-alpha-remote-fetch.79","alpha-remote-file":"3.10.0-alpha-remote-file.48","alpha-segfault-handler":"4.10.0-alpha-segfault-handler.12","alpha-sl-test-pieh":"4.23.0-alpha-sl-test-pieh.80","alpha-trailing-slash":"4.5.0-alpha-trailing-slash.71","alpha-transformer-json":"4.14.0-alpha-transformer-json.26","alpha-ts-aot":"4.7.0-alpha-ts-aot.33","alpha-ts-jit":"4.6.0-alpha-ts-jit.26","alpha-v5":"5.0.0-alpha-v5.d20221012t101120.57","alt-image-cdn":"5.13.0-alpha-alt-image-cdn.44","autotruncate-long-paths":"2.12.62-autotruncate-long-paths.31","berry-mdx":"2.8.28-berry-mdx.26","beta":"1.2.0-alphasldfjsljfd","canary":"2.11.4-alpha.53","cbp3":"3.0.0-cpb3.20","cli-postinstall":"2.7.41-cli-postinstall.73","cli-react-dom":"2.8.1-cli-react-dom.20","cli-react-from-ink":"2.8.30-cli-react-from-ink.158","cli-ts":"2.12.25-cli-ts.23","cli-ux":"2.11.18-cli-ux.2","clipboardy":"2.5.7-clipboardy.1","coreutils":"3.12.0-coreutils.29","create-gatsby":"2.16.0-create-gatsby.2","dev-ssr-2":"2.12.89-dev-ssr-2.60","drupal-image-404":"4.17.0-alpha-drupal-image-404.12","drupal-next":"3.14.0-drupal-next.94","drupal-proxyurl":"5.0.0-alpha-drupal-proxyurl.11","drupal-self-reference":"4.18.0-alpha-drupal-self-reference.18","error-codes":"2.6.8-error-codes.71","fix-wrong-success-set-status":"2.12.80-fix-wrong-success-set-status.1","functions-next":"3.4.0-functions-next.18","image-cdn":"4.9.0-alpha-image-cdn.39","image-cdn-caching":"4.16.0-alpha-image-cdn-caching.9","image-cdn-configurable":"5.9.0-image-cdn-configurable.4","image-cdn-enc":"4.23.0-alpha-image-cdn-enc.40","image-cdn-jobs-resolve":"4.18.0-alpha-image-cdn-jobs-resolve.32","image-cdn-pathprefix":"4.25.0-alpha-image-cdn-pathprefix.29","image-cdn-telemetry":"4.13.0-alpha-image-cdn-telemetry.29","image-service":"4.8.0-alpha-image-service.26","incbuild-collections":"2.12.88-incbuild-collections.5","ink":"2.5.9-ink.61","ink-compiled":"2.12.112-ink-compiled.24","ink-node6":"2.6.1-ink-node6.16","ink3":"2.12.69-ink3.23","jarmo":"2.7.25-jarmo.4","jsx-transform":"2.12.90-jsx-transform.5","latest":"5.16.0","latest-v2":"2.19.3","latest-v3":"3.15.0","latest-v4":"4.25.0","log-pending-activities":"2.12.80-log-pending-activities.0","luda":"4.11.0-alpha-luda.25","mdxv4-rc":"4.20.0-mdxv4-rc.65","next":"5.17.0-next.1","node-manifest":"3.5.0-alpha-node-manifest.73","otp-test":"2.7.41-otp-test.31","preview-gh-api":"4.23.0-alpha-preview-gh-api.26","preview-gh-api-2":"4.23.0-alpha-preview-gh-api-2.43","preview-gh-api-cli":"4.23.0-alpha-preview-gh-api-cli.43","preview-resiliancy":"3.14.0-preview-resiliancy.52","preview-slices":"4.25.0-alpha-preview-slices.d20221011t181843.56","process-develop":"2.6.13-process-develop.5","prompt-restart":"2.11.3-prompt-restart.96","react19":"5.17.0-react19.1","recipes":"2.11.4-recipes.53","recipes-renderer":"2.12.38-recipes-renderer.75","reporter-npm":"2.6.11-reporter-npm.8","state-machine":"2.10.14-state-machine.77","static-image":"2.12.100-static-image.22","structured-logs":"2.7.1-structured-logs.161","structured-logs-test":"2.7.1-structured-logs-test.128","stuck-diagnostics":"2.12.88-stuck-diagnostics.39","telemetry-test":"3.5.0-telemetry-test.296","telemetry-test2":"2.14.0-telemetry-test2.327","telemetry-testt":"2.12.100-telemetry-testt.461","unifiedroutes":"2.11.10-unifiedroutes.76","unifiedroutes-v2":"2.11.10-unifiedroutes-v2.135","v3rc":"3.0.0-v3rc.2","wordpress-image-err":"4.24.1-alpha-wordpress-image-err.27","wp-image-cdn-auth":"4.15.0-alpha-wp-image-cdn-auth.46"}}