Releases: nwutils/nw-angular-example
Releases · nwutils/nw-angular-example
Update dependencies
- Updated screenshot
- Renamed
master
branch tomain
branch, updated README as needed - Updated all dependencies
- Weirdly made me downgrade to Node 12.14.1 to run this? Angular is stupid
- They finally stopped using shitty TSList and switched to ESLint, wonder how long it will take for them to stop using shitty TS all together, but then who would use shitty Angular? Hopefully no one.
This would be a good time to remind everyone that there is a Vue boilerplate for NW.js and it's better in every conceivable way, because it uses Vue.
- https://github.com/nwutils/nw-vue-cli-example
- Seriously, I put much more work into that
- And hey, at least you aren't using React, so life could always be worse
Diff since last release:
Changed builds to not require a local webserver
Changes:
- Updated dependencies.
- Changed the builds so that the dist uses
index.html
from disk instead of spinning uplocalhost
. This brings the number of dependencies shipped to the user down to zero 🎉 - Added in some Manifest Comments to the
package.json
- Changed the
global
to only be accessed viawindow.nw.global
to be consistent withwindow.nw.require
andwindow.nw.process
. So if you usedwindow.nw_global
, you'll need to change that.
Diff since last release:
Small improvements/Polish
Changes:
- The NW.js window now waits for Webpack/TS to finish spinning up before displaying in development.
- Thanks @DieserMerlin (#3)
- Updated dependencies.
- Added a "Show DevTools" button (only visible during development).
- Clear out
require
andprocess
. Still available underwindow.nw
.- It was brought to my attention that Monaco Editor selfishly uses
require
, not unlike Angular itself selfishly usingglobal
. Pulled outprocess
because, why not at this point.
- It was brought to my attention that Monaco Editor selfishly uses
- Updated test setup to better mock NW.js
- Cleaned up
README.md
.
Diff since last release:
First release
The two big things people wanted are in this release:
npm start
- Runs an Angular CLI app locally (webpack/typescript/hmr/etc) in NW.jsnpm run build
- Builds the Angular app and all OS distributions
The builds explicitly target Chrome 75 so there is no need to produce extra ES5 builds or non-chrome CSS Vendor prefixes, reducing app size.