-
-
Notifications
You must be signed in to change notification settings - Fork 833
[Build] ES6 + Webpack (v2.1.0) #617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Server is now written in Express. This reduces complexity quite a bit. I also rewrote pretty much every component while I was at it. I'm using the same plugins as before, so some parts did not need change.
If anyone reads this: Feedback on the new documentation is much appreciated. I'm trying to really nail it down this time to avoid confusion and such. So if you have the time, give it a look and let me know how you feel about it. And if you're down to get a bit dirty, try out the new release. It should work pretty solidly at the moment as I've worked out the last few kinks and done a bit of polishing. |
I deployed a pre-release on https://demo.os-js.org/ to monitor things for a while. It'll probably uncover some bugs :) Feel free to take it for a ride! |
Rewritten to ES6 (Babel), Webpack and Express. Many of these are **breaking** changes, but you can easily migrate to the new style. For a full writeup of changes etc, see links below. Relevant: * https://community.os-js.org/t/update-version-bump-2-1-0/142 * https://community.os-js.org/t/road-to-es6-es2015/131/8 * #617 Digest: * Core: Rewritten to ES6 * Core: Callbacks replaced with Promise * Core: Now using imports * Core: Deprecated all marked methods * Core: Removed global namespace (available as BC module) * Core: Removed support for "simple" packages * Core: Removed support for "dummy" packages * Core: Removed support for "old" packages * Core: Detached Scheme files from applications * Core: Changed in namespaces (code separation) * API: Now using axios for XHR * API: Now using bluebird for better promises * VFS: Removed 'delete' operation (use 'unlink') * GUI: Schemes now embed in bundles if used * Packages: Default packages refactored * build: Now using Ygor as task system * build: Rewritten * build: Now using Webpack for themes * build: Now using Webpack for packages * build: Now using Webpack for core * build: Removed grunt entirely * build: Split up into separate package * build: Changed templating generation * build: Simplified configuration capabilities * build: Better overlay support * server-node: Rewritten to ES6 * server-node: Now using Express * server-node: Changed how modules look * server-node: Better module APIs * server-node: Better user handling * conf: Changed overlay layouts * conf: Overlays now support themes * conf: Overlays now support configuration includes * conf: Changed vfs configuration * misc: Added some new `bin/` scripts * misc: Removed the `Zip` helper. This will be replaced with something newer. * misc: The `Database` handler now uses separate tables * misc: Added `OSjs.require()` for externals * misc: Moved src/client/themes to src/themes * misc: Bugfixes and general cleanups * misc: Performance improvements * misc: No more 'dist/vendor' by default * misc: Removed automated installers from repo * misc: Separated graphics sources to own repo * misc: Separated x11 sources to own repo * misc: Separated Broadway (will be replaced with Xpra) * misc: Updated documentation * misc: Now using esdoc
Rewritten to ES6 (Babel), Webpack and Express. Many of these are **breaking** changes, but you can easily migrate to the new style. For a full writeup of changes etc, see links below. Relevant: * https://community.os-js.org/t/update-version-bump-2-1-0/142 * https://community.os-js.org/t/road-to-es6-es2015/131/8 * #617 Digest: * Core: Rewritten to ES6 * Core: Callbacks replaced with Promise * Core: Now using imports * Core: Deprecated all marked methods * Core: Removed global namespace (available as BC module) * Core: Removed support for "simple" packages * Core: Removed support for "dummy" packages * Core: Removed support for "old" packages * Core: Detached Scheme files from applications * Core: Changed in namespaces (code separation) * API: Now using axios for XHR * API: Now using bluebird for better promises * VFS: Removed 'delete' operation (use 'unlink') * GUI: Schemes now embed in bundles if used * Packages: Default packages refactored * build: Now using Ygor as task system * build: Rewritten * build: Now using Webpack for themes * build: Now using Webpack for packages * build: Now using Webpack for core * build: Removed grunt entirely * build: Split up into separate package * build: Changed templating generation * build: Simplified configuration capabilities * build: Better overlay support * server-node: Rewritten to ES6 * server-node: Now using Express * server-node: Changed how modules look * server-node: Better module APIs * server-node: Better user handling * conf: Changed overlay layouts * conf: Overlays now support themes * conf: Overlays now support configuration includes * conf: Changed vfs configuration * misc: Added some new `bin/` scripts * misc: Removed the `Zip` helper. This will be replaced with something newer. * misc: The `Database` handler now uses separate tables * misc: Added `OSjs.require()` for externals * misc: Moved src/client/themes to src/themes * misc: Bugfixes and general cleanups * misc: Performance improvements * misc: No more 'dist/vendor' by default * misc: Removed automated installers from repo * misc: Separated graphics sources to own repo * misc: Separated x11 sources to own repo * misc: Separated Broadway (will be replaced with Xpra) * misc: Updated documentation * misc: Now using esdoc
Well.... It's out now! 🤞 |
Going to close this. Splitting out the remaining tasks. |
Uh oh!
There was an error while loading. Please reload this page.
Making an official issue on this. I've been making posts (https://community.os-js.org/t/roat-to-es6-es2015/131/5), but thought I'd make a checklist here as well.
Feel free to give it a try: https://github.com/os-js/OS.js/tree/upcoming/v2.1.0 it should be working just fine as of now.
This should be ready ASAP
OSjs
public namespace ...OSjs.require()
self
dist/vendor
by defaultsrc/client/themes
tosrc/themes
html-loader
issue: fix:attr
matching for empty tags intag:attribute
patterns webpack-contrib/html-loader#133 (using git branch as of now. Waiting for official release)webpack
issue: Source Maps don't work on Chrome webpack/webpack#2145 (Seems to be a browser issue related to sourcemap sizes)extra
packagesgames
packagesexperimental
packagesincompatible
repoGoogleDrive
moduleOneDrive
moduleNot crutial for release, but would be nice to do:
NewAPI => [VFS] Dropbox #28Dropbox
module with newsystem
packages (not crutial for release)The text was updated successfully, but these errors were encountered: