netlify-cli 10.13.0 → 10.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/README.md +3 -2
  2. package/npm-shrinkwrap.json +1739 -2024
  3. package/package.json +8 -7
  4. package/src/commands/dev/dev.js +18 -3
  5. package/src/commands/functions/functions-invoke.js +4 -4
  6. package/src/commands/graph/graph-edit.js +4 -2
  7. package/src/commands/graph/graph-handler.js +41 -63
  8. package/src/commands/graph/graph-init.js +152 -0
  9. package/src/commands/graph/graph-library.js +30 -8
  10. package/src/commands/graph/graph-operations.js +6 -1
  11. package/src/commands/graph/graph-pull.js +79 -23
  12. package/src/commands/graph/graph.js +2 -0
  13. package/src/commands/login/login.js +1 -1
  14. package/src/commands/main.js +1 -1
  15. package/src/functions-templates/go/hello-world/go.mod +2 -2
  16. package/src/functions-templates/javascript/graphql-gateway/{{name}}.js +1 -1
  17. package/src/functions-templates/javascript/hello-world/{{name}}.js +1 -1
  18. package/src/functions-templates/javascript/identity-signup/{{name}}.js +1 -1
  19. package/src/functions-templates/javascript/serverless-ssr/app/index.js +1 -1
  20. package/src/functions-templates/javascript/stripe-charge/package-lock.json +6 -6
  21. package/src/functions-templates/javascript/stripe-subscription/package-lock.json +6 -6
  22. package/src/functions-templates/rust/hello-world/Cargo.toml +1 -1
  23. package/src/functions-templates/typescript/hello-world/package-lock.json +6 -6
  24. package/src/lib/edge-functions/proxy.js +4 -0
  25. package/src/lib/edge-functions/registry.js +29 -3
  26. package/src/lib/one-graph/cli-client.js +813 -170
  27. package/src/lib/one-graph/cli-netlify-graph.js +519 -50
  28. package/src/utils/dot-env.js +1 -1
  29. package/src/utils/init/utils.js +1 -1
  30. package/src/utils/proxy.js +2 -0
package/README.md CHANGED
@@ -76,7 +76,7 @@ netlify [command] help
76
76
 
77
77
  ## Documentation
78
78
 
79
- To learn how to log in to Netlify and start deploying sites, visit the [documentation on Netlify](https://www.netlify.com/docs/cli).
79
+ To learn how to log in to Netlify and start deploying sites, visit the [documentation on Netlify](https://docs.netlify.com/cli/get-started/).
80
80
 
81
81
  For a full command reference, see the list below, or visit [cli.netlify.com](https://cli.netlify.com/).
82
82
 
@@ -162,9 +162,10 @@ Manage netlify functions
162
162
  | [`graph:config:write`](/docs/commands/graph.md#graphconfigwrite) | Write a .graphqlrc.json file to the current directory for use with local tooling (e.g. the graphql extension for vscode) |
163
163
  | [`graph:edit`](/docs/commands/graph.md#graphedit) | Launch the browser to edit your local graph functions from Netlify |
164
164
  | [`graph:handler`](/docs/commands/graph.md#graphhandler) | Generate a handler for a Graph operation given its name. See `graph:operations` for a list of operations. |
165
+ | [`graph:init`](/docs/commands/graph.md#graphinit) | Initialize all the resources for Netlify Graph |
165
166
  | [`graph:library`](/docs/commands/graph.md#graphlibrary) | Generate the Graph function library |
166
167
  | [`graph:operations`](/docs/commands/graph.md#graphoperations) | List all of the locally available operations |
167
- | [`graph:pull`](/docs/commands/graph.md#graphpull) | Pull down your local Netlify Graph schema, and process pending Graph edit events |
168
+ | [`graph:pull`](/docs/commands/graph.md#graphpull) | Pull your remote Netlify Graph schema locally, and process pending Graph edit events |
168
169
 
169
170
 
170
171
  ### [init](/docs/commands/init.md)