Skip to content

Commit

Permalink
Merge github.com:netlify/cli into netligraph-poc
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrove committed Jan 20, 2022
2 parents 107dfe2 + 5ba83d8 commit c7ae2db
Show file tree
Hide file tree
Showing 15 changed files with 440 additions and 123 deletions.
54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,60 @@ 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.11.0](https://github.com/netlify/cli/compare/v8.10.2...v8.11.0) (2022-01-20)


### Features

* pass `zipGo` property to ZISI ([#4097](https://github.com/netlify/cli/issues/4097)) ([083205d](https://github.com/netlify/cli/commit/083205d14b30be5250639de1961940f2000bc74b))


### Bug Fixes

* **deps:** update dependency @netlify/build to ^26.2.0 ([#4095](https://github.com/netlify/cli/issues/4095)) ([f06b896](https://github.com/netlify/cli/commit/f06b896f443fdd79c06f7cc30a67550c73002650))
* **deps:** update dependency @netlify/zip-it-and-ship-it to ^5.5.0 ([#4090](https://github.com/netlify/cli/issues/4090)) ([9e3ec90](https://github.com/netlify/cli/commit/9e3ec902e237a8cc4551c4aedfa6e016e8a46c03))

### [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 c7ae2db

Please sign in to comment.