Skip to content

Commit

Permalink
Merge branch 'main' into nov-4
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSLew authored Nov 19, 2024
2 parents c7e7c70 + 49c0b33 commit 970f9ae
Show file tree
Hide file tree
Showing 50 changed files with 1,936 additions and 811 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark-post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# This posts the status to the PR/commit
- uses: haya14busa/action-workflow_run-status@v1
- name: Download deltas
uses: dawidd6/action-download-artifact@v3
uses: dawidd6/action-download-artifact@v6
with:
# This is the workflow that triggered this run
workflow: ${{ github.event.workflow.id }}
Expand Down
6 changes: 4 additions & 2 deletions bin/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import { argv } from 'process'

import updateNotifier from 'update-notifier'

import { createMainCommand } from '../dist/commands/index.js'
import { runProgram } from '../dist/utils/run-program.js'
import { error } from '../dist/utils/command-helpers.js'
import getPackageJson from '../dist/utils/get-package-json.js'
import { createMainCommand } from '../dist/commands/main.js'

// 12 hours
const UPDATE_CHECK_INTERVAL = 432e5
Expand All @@ -24,7 +25,8 @@ try {
const program = createMainCommand()

try {
await program.parseAsync(argv)
await runProgram(program, argv)

program.onEnd()
} catch (error_) {
program.onEnd(error_)
Expand Down
2 changes: 2 additions & 0 deletions docs/commands/blobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ netlify blobs:delete
**Flags**

- `filter` (*string*) - For monorepos, specify the name of the application to run the command in
- `force` (*boolean*) - Bypasses prompts & Force the command to run.
- `debug` (*boolean*) - Print debugging information

---
Expand Down Expand Up @@ -124,6 +125,7 @@ netlify blobs:set
**Flags**

- `filter` (*string*) - For monorepos, specify the name of the application to run the command in
- `force` (*boolean*) - Bypasses prompts & Force the command to run.
- `input` (*string*) - Defines the filesystem path where the blob data should be read from
- `debug` (*boolean*) - Print debugging information

Expand Down
3 changes: 3 additions & 0 deletions docs/commands/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ netlify env:clone
**Flags**

- `filter` (*string*) - For monorepos, specify the name of the application to run the command in
- `force` (*boolean*) - Bypasses prompts & Force the command to run.
- `from` (*string*) - Site ID (From)
- `to` (*string*) - Site ID (To)
- `debug` (*boolean*) - Print debugging information
Expand Down Expand Up @@ -167,6 +168,7 @@ netlify env:set

- `context` (*string*) - Specify a deploy context or branch (contexts: "production", "deploy-preview", "branch-deploy", "dev") (default: all contexts)
- `filter` (*string*) - For monorepos, specify the name of the application to run the command in
- `force` (*boolean*) - Bypasses prompts & Force the command to run.
- `scope` (*builds | functions | post-processing | runtime*) - Specify a scope (default: all scopes)
- `secret` (*boolean*) - Indicate whether the environment variable value can be read again.
- `debug` (*boolean*) - Print debugging information
Expand Down Expand Up @@ -202,6 +204,7 @@ netlify env:unset

- `context` (*string*) - Specify a deploy context or branch (contexts: "production", "deploy-preview", "branch-deploy", "dev") (default: all contexts)
- `filter` (*string*) - For monorepos, specify the name of the application to run the command in
- `force` (*boolean*) - Bypasses prompts & Force the command to run.
- `debug` (*boolean*) - Print debugging information

**Examples**
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/sites.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ netlify sites:delete
**Flags**

- `filter` (*string*) - For monorepos, specify the name of the application to run the command in
- `force` (*boolean*) - delete without prompting (useful for CI)
- `force` (*boolean*) - Delete without prompting (useful for CI).
- `debug` (*boolean*) - Print debugging information

**Examples**
Expand Down
12 changes: 6 additions & 6 deletions functions-templates/typescript/hello-world/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 970f9ae

Please sign in to comment.