Releases: omahajs/generator-omaha
Add New Options, Fix Old Bugs
Minor Changes
- Upgrade lint config and clear issues: 130ab5d
- Stop use-jest from assuming coveralls support: c5c3771
- Removed ALL instances of the any type: 3bb93c9
- Updated yeoman generator to resolve sec issue: aaf7654
- Merge pull request #93 from omahajs/feature/general-clean-up: 465ddd0
- Fix webpack config and normalize.css import with custom source directory: c766155
- Merge pull request #95 from omahajs/bugfix/custom-src-dir-no-css-preprocess: 313d72d
- Add electron-reloader to omaha:native generator: f797046
- Merge pull request #96 from omahajs/feature/electron-reloader: 151faf9
- Update flow, remove glow, add lodash type definitions to project source control: cd7726a
- Add some more ES5+ syntax and refine prompting logic: 69bea2d
- Lock webpack version --> v3: 3a876f4
- Merge pull request #98 from omahajs/feature/add-some-es: 04dcbb5
- Move web workers into assets and fix done message: eaeca2a
- Add support for WebAssembly development with Rust: - Add folder structure and sample file - Add rust --> wasm build scripts - Add tests - Update README: 59901ac
- Merge pull request #99 from omahajs/feature/use-rust-option: 382b03b
- Initial commit for --slim option (also added some flow annotations): 1eadf13
- Add --slim to README: a5cf89c
- Add build with --slim to test:builds: a30d16d
- Add rust tagline to done message, refine done message, remove projectParameters from config: 5e5a0ba
- Merge pull request #101 from omahajs/feature/slim-option: 6998c46
- Merge pull request #102 from omahajs/feature/stylelint-config-recommended: 4872b15
- Normalize project generator module functions to have single argument signatures (generator): 61c1fd1
- Add --src option to select custom directory for app and asset files: 9522745
- Add builds to test --src option: a8ccd78
- Merge pull request #103 from omahajs/feature/src-option: 3d8bbf1
- Add asciinema link to README: a58bad8
- Fix copy task for native apps using webpack: 3cc83cf
- Merge pull request #104 from omahajs/bugfix/native-app-webpack-support: 1fe4b5c
Patches
AMD or CommonJS! Mocha or Jest!
✨ NEW ✨
- ✨ Module format selection is here. Choose from AMD or CommonJS.
- ✨ Add a new option:
--browserify
and remove--script-bundler
option - ✨ Add
karma-sinon
andkarma-chai
plugins (when building projects with Mocha) - ✨ Add GraphQL server endpoint to server sub-generator and option to download data sets for testing and exploration
- ✨ Add more PostCSS support to webapps created without a CSS pre-processor
⚠️ Some restrictions apply: When--browserify
or--use-jest
are used (only with--defaults
), Browserify will be chosen as the script bundler and module format will be CommonJS. Similarly. That is, r.js is the only script bundler for AMD and Browserify is the default script bundler for CommonJS. Webpack support is planned.
🚧 Maintenance 🚧
- Various fixes and refinements
- Add more flow annotations
- 💄 Refined some project logic
- 💄 Added tests for new and some old functionality
Boilerplate Enhancements and Jest Support for projects
✨ NEW ✨
- ✨ Add
--use-jest
command line option foromaha:project
generator (with no webapp) - ✨ Add navigation and context menu boilerplate to
omaha:native
generator - ✨ Add
npm start:dev
task foromaha:native
🚧 Maintenance 🚧
- Tweaked project visual regression tests
- 💄 Set jasmine timeout in setup file (now with 100% fewer failures due to running "too long")
- 💄 Cleared some lint issues in boilerplate files
⚠️ Updatedyeoman-generator
to v2⚠️ Updated various dev and prod dependencies
Nightwatch (E2E) Sub-generator and Improved r.js Deploy
✨ NEW ✨
- ✨ Created
omaha:nightwatch
sub-generator to easily add end-to-end (E2E) browser testing support to any webapp created withyo omaha
! See docs for more usage details. - ⚡️ Webapps created with requirejs as the script bundler are now deployed without any external JavaScript dependencies as almond.js is now included in compiled webapp bundles!
A web application created with
yo omaha
bundled with all templates and JS dependencies into one file is about325K
(which compares well against other frameworks that do not include template files and dependencies)
🚧 Maintenance 🚧
- 💄 More spec refinements (and fewer double quotes)
⚠️ Updatedfs-extra
to version 4
Webapp Sub-generator Improvements
✨NEW✨
- ✨ Removed csslint from webapp build chain and added stylelint as PostCSS plugin
- ✨ Added morphdom renderer shim to webapp generator (integrated by default)
- ✨ Added
redux.state
plugin to webapp generator (integrated by default) - ✨
radio.logging
plugin integrated by default - ✨ Added Babel integration to webapp build chain
⚠️ Replaced PhantomJS with headless chrome (template files are now written using ES6 syntax)⚠️ Removedmarionette.radio.shim
from webapp generator (since scaffolded web apps use Marionette v3)⚠️ Renamed Handlebars shim -->mn.handlebars.templates.shim.js
🚧 Maintenance 🚧
- Added more ES6 syntax to tests
- Refactored tests to be less redundant and more maintainable
- Bumped dependencies
- Various syntax fixes and improvements
- Removed remaining Underscore.js code from webapp generator
Native Sub-generator and ES6 Refactor
✨ NEW ✨
- Added "native" sub-generator:
- Scaffold desktop applications built on electron
- Leverage the webapp sub generator to scaffold a UI or roll out a bare-bones app
- See docs for details
- Updated "done message" to provide useful information for projects, webapps, and native applications
🚧 Maintenance 🚧
- 💄 Refactored code to improve sustainability and to make better use of ES6 sugar
⚠️ Moving forward, this project will only actively support the current and active LTS versions of Node.js. This means that this generator requires v6 or greater.
Refined Standalone Projects and added stmux
Bye bye Jasmine. Hello Mocha + Chai!!
Harness the full power and magic of the CLI-enabled Mocha and the easily extendable Chai!
I have a good feeling about this Mocha/Chai/Sinon combination!!!
If you are not familiar with Chai.js, check out it's documentation... you should be pleasantly surprised.
v5.1.3
Fixed issue with npm start
on windows