| commit | af0df6fff3fce6cf88d608c44758e971718ec906 | [log] [tgz] |
|---|---|---|
| author | Gunnar Mills <gmills@us.ibm.com> | Tue Jul 23 17:32:07 2019 -0500 |
| committer | Gunnar Mills <gmills@us.ibm.com> | Wed Jul 31 15:25:11 2019 +0000 |
| tree | 11dc12a5a841c95bcc7176208262a740d7648093 | |
| parent | ac2fc7d830460742b774a9a9ff1d5a9ee3626c2f [diff] |
Remove carets from package.json
caret (^)
backwards compatible new functionality
old functionality deprecated, but operational
large internal refactor
bug fix
Some of the packages were already missing carets.
This better reflects our package management, we have a npm 5
package-lock.json that is intended to lock the repo down to
a specific set of versions of packages to help our build
reliability, and insulate us a little from the NPM stability
issues.
When the Web UI was still in its infancy, OpenBMC got burned from
this. What NPM called "Compatible with version" introduced build
failures overnight without a code change.
Found in some package-lock.json documentation:
"A specific version in package.json guarantees the version only at
the top level."
npm update, npm audit fix, npm-check-updates will still
behave the same.
This is helps a future commit that moves to a
package-lock.json generated by npm 6.
npm 6 changes package-lock.json from exact versions to loosly
versions.
tilde and caret will be added to the package-log.json.
See:
https://github.com/npm/npm/issues/20434
https://github.com/npm/npm/issues/20891
Tested: Build and loaded on a Witherspoon
Change-Id: Ie28f5b903f71215285df07c650a58c11037efccd
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
The OpenBMC WebUI is a Web-based user interface for the OpenBMC firmware stack. The WebUI uses AngularJS. Features include:
nodejs (>= 4.2.6) npm (>= 5.6.0)
Note The default installation of your Linux distro may not come with the required versions above. See the following for more information on updating:
https://docs.npmjs.com/troubleshooting/try-the-latest-stable-version-of-node https://docs.npmjs.com/troubleshooting/try-the-latest-stable-version-of-npm
npm install
Note This must be run from within the phosphor-webui git repository.
npm run-script server
This will start a server instance and begin listening for connections at http://localhost:8080. This development server provides live reloading on code changes. NOTE: Browsing to https://<BMC> and accepting the self-signed certificate might be required to prevent your browser from blocking traffic to the BMC.
Enter the BMC Host or BMC IP address, username, and password. The default username and password are root/0penBmc.
Note that some OpenBMC implementations use bmcweb for its backend. For security reasons, bmcweb will need to be recompiled and loaded onto the target BMC Host before the above redirect command will work. The option to turn on within bmcweb is BMCWEB_INSECURE_DISABLE_XSS_PREVENTION.