netlify-cli 10.3.3 → 10.5.1
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.
- package/README.md +1 -1
- package/npm-shrinkwrap.json +1188 -757
- package/package.json +7 -5
- package/src/commands/dev/dev.js +74 -0
- package/src/functions-templates/go/hello-world/go.mod +1 -1
- package/src/functions-templates/javascript/oauth-passport/package.json +1 -1
- package/src/functions-templates/rust/hello-world/Cargo.toml +1 -1
- package/src/functions-templates/typescript/hello-world/package-lock.json +12 -12
- package/src/functions-templates/typescript/scheduled-function/{{name}}.ts +1 -1
- package/src/lib/edge-functions/headers.js +1 -0
- package/src/lib/edge-functions/proxy.js +5 -0
- package/src/lib/functions/netlify-function.js +2 -2
- package/src/lib/functions/registry.js +4 -2
- package/src/lib/functions/runtimes/js/builders/zisi.js +2 -1
- package/src/lib/functions/runtimes/rust/index.js +2 -1
- package/src/utils/proxy.js +2 -0
- package/src/functions-templates/go/scheduled-function/.netlify-function-template.js +0 -5
- package/src/functions-templates/go/scheduled-function/go.mod +0 -5
- package/src/functions-templates/go/scheduled-function/go.sum +0 -21
- package/src/functions-templates/go/scheduled-function/netlify.toml +0 -11
- package/src/functions-templates/go/scheduled-function/src/hourly-schedule/main.go +0 -36
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ To install locally, run the following command from the root directory of your pr
|
|
|
59
59
|
npm install --save-dev netlify-cli
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
**Important:** Running `npm install netlify-cli -g` in CI means you're always installing the latest version of the CLI, including **breaking changes**. When you install locally and use a [lock file](https://docs.npmjs.com/cli/v7/commands/npm-ci) you guarantee reproducible builds. To manage CLI updates we recommend using an automated tool like [renovate](https://github.com/renovatebot/renovate) or [dependabot](https://
|
|
62
|
+
**Important:** Running `npm install netlify-cli -g` in CI means you're always installing the latest version of the CLI, including **breaking changes**. When you install locally and use a [lock file](https://docs.npmjs.com/cli/v7/commands/npm-ci) you guarantee reproducible builds. To manage CLI updates we recommend using an automated tool like [renovate](https://github.com/renovatebot/renovate) or [dependabot](https://github.com/dependabot).
|
|
63
63
|
|
|
64
64
|
Alternatively you may also use Homebrew: `brew install netlify-cli` (thanks [@cglong](https://github.com/netlify/cli/issues/291)).
|
|
65
65
|
|