Skip to content

Commit

Permalink
Merge branch 'main' into netligraph-poc
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasholzer committed Jan 20, 2022
2 parents 668c9a9 + 083205d commit 5d578c4
Show file tree
Hide file tree
Showing 15 changed files with 4,986 additions and 1,552 deletions.
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,47 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

### [8.10.2](https://github.com/netlify/cli/compare/v8.10.1...v8.10.2) (2022-01-19)


### Bug Fixes

* **deps:** update dependency @netlify/framework-info to v9 ([#4092](https://github.com/netlify/cli/issues/4092)) ([3ef3d3c](https://github.com/netlify/cli/commit/3ef3d3ce453e8dbb709379dfc8720729127e7ba3))

### [8.10.1](https://github.com/netlify/cli/compare/v8.10.0...v8.10.1) (2022-01-19)


### Bug Fixes

* **deps:** update dependency @netlify/build to ^26.1.7 ([#4089](https://github.com/netlify/cli/issues/4089)) ([3a339fb](https://github.com/netlify/cli/commit/3a339fb7827a7b46ef20615eaba9b01725224c67))

## [8.10.0](https://github.com/netlify/cli/compare/v8.9.10...v8.10.0) (2022-01-19)


### Features

* **command-dev:** add support for functionsPort flag ([#4048](https://github.com/netlify/cli/issues/4048)) ([b58d689](https://github.com/netlify/cli/commit/b58d68911c9b20bc257b70665ac6dcc6793d3bb8))


### Bug Fixes

* **deps:** update dependency @netlify/build to ^26.1.5 ([#4075](https://github.com/netlify/cli/issues/4075)) ([5b6d898](https://github.com/netlify/cli/commit/5b6d8982804046143292fb3bee3c5bfae3f92eac))
* **deps:** update dependency @netlify/build to ^26.1.6 ([#4087](https://github.com/netlify/cli/issues/4087)) ([cd2058f](https://github.com/netlify/cli/commit/cd2058f4df44c9a04f566e106580fb3a07409f1d))

### [8.9.10](https://github.com/netlify/cli/compare/v8.9.9...v8.9.10) (2022-01-19)


### Bug Fixes

* live tunnel arch issue ([#4064](https://github.com/netlify/cli/issues/4064)) ([41c2fdf](https://github.com/netlify/cli/commit/41c2fdf4ae32ce65955ddc24de370b024b53b363))

### [8.9.9](https://github.com/netlify/cli/compare/v8.9.8...v8.9.9) (2022-01-18)


### Bug Fixes

* **deps:** update dependency @netlify/zip-it-and-ship-it to ^5.4.1 ([#4079](https://github.com/netlify/cli/issues/4079)) ([34c00bb](https://github.com/netlify/cli/commit/34c00bb49fde7e5a6dbd70d2eb25f245b4b9052c))

### [8.9.8](https://github.com/netlify/cli/compare/v8.9.7...v8.9.8) (2022-01-18)


Expand Down
19 changes: 4 additions & 15 deletions bin/run
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env node
/* eslint-disable promise/prefer-await-to-then,promise/prefer-await-to-callbacks,eslint-comments/disable-enable-pair */
const process = require('process')

const updateNotifier = require('update-notifier')
Expand All @@ -18,23 +17,13 @@ if (require.main === module) {
pkg,
updateCheckInterval: UPDATE_CHECK_INTERVAL,
}).notify()
} catch (error) {
} catch (error_) {
console.log('Error checking for updates:')
console.log(error)
console.log(error_)
}

/** @type {Error} */
let caughtError

const program = createMainCommand()

program.parseAsync(process.argv).catch((error) => {
caughtError = error
})

// long running commands like dev server cannot be caught by a post action hook
// they are running on the main command
process.on('exit', () => {
program.onEnd(caughtError)
})
// eslint-disable-next-line promise/prefer-await-to-then
program.parseAsync(process.argv).catch((error_) => program.onEnd(error_))
}
1 change: 1 addition & 0 deletions docs/commands/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ netlify dev
- `dir` (*string*) - dir with static files
- `framework` (*string*) - framework to use. Defaults to #auto which automatically detects a framework
- `functions` (*string*) - specify a functions folder to serve
- `functionsPort` (*string*) - port of functions server
- `live` (*boolean*) - start a public live session
- `offline` (*boolean*) - disables any features that require network access
- `port` (*string*) - port of netlify dev
Expand Down
Loading

0 comments on commit 5d578c4

Please sign in to comment.