Skip to content

Commit

Permalink
Merge branch 'mz/fix-device-connect' into 'master'
Browse files Browse the repository at this point in the history
Allow use entry-file automatically from the main of package.json

See merge request signageos/cli!91
  • Loading branch information
misak113 committed Mar 29, 2023
2 parents cbe1378 + 2e05f06 commit d2c50f3
Show file tree
Hide file tree
Showing 22 changed files with 599 additions and 610 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
### Fixed
- Console output of `npm start` of generated applet shows correct URL of emulator
- The `--entry-file` can be now ommited when the `package.json` has the `main` property set
- The `sos device connect` is looking for the applet in server by `name` instead of required `uid` in `package.json` `sos.appletUid` property
- The `.git` folder is ignored automatically when the `.gitignore` file is used

### Added
- Allow customize `--server-port` and `--server-public-url` for `sos device connect` command

### Deprecated
- Remove support of experimental version of webpack-plugin v0.2. Use version v1+ instead

## [1.1.5] - 2023-01-02
### Fixed
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ sos device connect
| --device-uid *(required)* | Uid of device from box' | STDIN |
| --applet-dir *(required)* | Directory of the applet project | ${PWD}|
| --update-package-config *(optional)* | Update package.json value `sos.appletUid` config when applet doesn't exists and is created | false |
| --server-public-url *(optional)* | Public url of local machine server. Is useful when the local machine is behind a reverse proxy. | http://{CURRENT_REMOTE_ADDR}:{RANDOM_PORT} |
| --server-port *(optional)* | The custom server port for local machine server. | {RANDOM_PORT} |

## Contribution
Clone the repository and install dev dependencies
Expand Down
Loading

0 comments on commit d2c50f3

Please sign in to comment.