Skip to content

Commit

Permalink
Merge branch 'netligraph-poc' of github.com:netlify/cli into netligra…
Browse files Browse the repository at this point in the history
…ph-poc
  • Loading branch information
sgrove committed Jan 21, 2022
2 parents 11d7487 + 80a45a7 commit 97e04ef
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 29 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ 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.12.0](https://github.com/netlify/cli/compare/v8.11.1...v8.12.0) (2022-01-21)


### Features

* **dev:** document how to disable browser auto launch ([#4106](https://github.com/netlify/cli/issues/4106)) ([b15f228](https://github.com/netlify/cli/commit/b15f228d50afbf19dead2bf335198c055621fd8d))

### [8.11.1](https://github.com/netlify/cli/compare/v8.11.0...v8.11.1) (2022-01-21)


### Bug Fixes

* **deps:** update dependency @netlify/functions to ^0.11.0 ([#4105](https://github.com/netlify/cli/issues/4105)) ([6ddf42a](https://github.com/netlify/cli/commit/6ddf42a3c5a0769f93ea0b1840a611a535f63c34))
* **deps:** update dependency @netlify/plugins-list to ^6.3.1 ([#4104](https://github.com/netlify/cli/issues/4104)) ([eff74d0](https://github.com/netlify/cli/commit/eff74d0e449c8b7eaf91ec6fdb87a74093d821cc))

## [8.11.0](https://github.com/netlify/cli/compare/v8.10.2...v8.11.0) (2022-01-20)


Expand Down
1 change: 1 addition & 0 deletions docs/commands/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ netlify dev
netlify dev
netlify dev -d public
netlify dev -c "hugo server -w" --targetPort 1313
BROWSER=none netlify dev # disable browser auto opening
```

---
Expand Down
6 changes: 6 additions & 0 deletions docs/netlify-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ EXAMPLES
$ netlify dev -c "hugo server -w" --targetPort 1313
```
The command will automatically open your preferred browser to serve the application. You can customize this behaviour by using the `BROWSER` environment variable:
```bash
$ BROWSER=none netlify dev # this will disable the auto opening of the browser
```
## Live Share
To share your ongoing dev session with a coworker, just run Netlify Dev with a `--live` flag:
Expand Down
32 changes: 16 additions & 16 deletions npm-shrinkwrap.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "netlify-cli",
"description": "Netlify command line tool",
"version": "8.11.0",
"version": "8.12.0",
"author": "Netlify Inc.",
"contributors": [
"Mathias Biilmann <matt@netlify.com> (https://twitter.com/biilmann)",
Expand Down Expand Up @@ -82,7 +82,7 @@
"@netlify/framework-info": "^9.0.0",
"@netlify/local-functions-proxy": "^1.1.1",
"@netlify/plugin-edge-handlers": "^3.0.4",
"@netlify/plugins-list": "^6.3.0",
"@netlify/plugins-list": "^6.3.1",
"@netlify/routing-local-proxy": "^0.34.1",
"@netlify/zip-it-and-ship-it": "^5.5.0",
"@octokit/rest": "^18.0.0",
Expand Down Expand Up @@ -185,7 +185,7 @@
},
"devDependencies": {
"@babel/preset-react": "^7.12.13",
"@netlify/eslint-config-node": "^4.1.5",
"@netlify/eslint-config-node": "^4.1.6",
"ava": "^3.15.0",
"c8": "^7.11.0",
"eslint-plugin-sort-destructure-keys": "^1.3.5",
Expand Down
7 changes: 6 additions & 1 deletion src/commands/dev/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,12 @@ const createDevCommand = (program) => {
).hideHelp(),
)
.addOption(new Option('--graph', 'enable Netlify Graph support').hideHelp())
.addExamples(['netlify dev', 'netlify dev -d public', 'netlify dev -c "hugo server -w" --targetPort 1313'])
.addExamples([
'netlify dev',
'netlify dev -d public',
'netlify dev -c "hugo server -w" --targetPort 1313',
'BROWSER=none netlify dev # disable browser auto opening',
])
.action(dev)
}
module.exports = { createDevCommand }
16 changes: 8 additions & 8 deletions src/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.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "Netlify",
"license": "MIT",
"dependencies": {
"@netlify/functions": "^0.10.0",
"@netlify/functions": "^0.11.0",
"@types/node": "^14.0.0",
"typescript": "^4.0.0"
}
Expand Down

0 comments on commit 97e04ef

Please sign in to comment.