Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace
http-proxy
server with BrowserSync
proxy (docker developm…
…ent) (#150) * Remove `http-proxy` server - make use of built in `browser-sync` proxy server within `gulpfile.js` - remove `G3W_PROXY_ROUTES` within `config.template.js` * update development URLs within `readme.md` * Fix wrong merge * Proxy routes fallback within `config.template.js` (v3.x) * remove gulp task `plugins` * remove "glob" need when updating plugin files * refactor and simply vendors build chain - remove `src/assets/vendors/index.css.html` - remove `src/assets/vendors/index.js.html` - remove `src/index.dev.html` - rename `src/index.prod.html` into `src/index.html` - deprecate config.js variables (`distFolder`, `clientFolder`, `admin_static_folder`, `admin_templates_folder`) - add config.js variable: `admin_overrides_folder` - add gulpfile.js internal variable (`outputFolder`) in order to properly handle `dev` and `build` tasks * reduce delta * update comments * live reload application on plugin.js changes * add comments and sort tasks * handle `build:plugins` task in local development * handle local developed plugins - add parameter `devConfig` within `config.template.js` - deprecate parameter `createProject` within `config.template.js` - deprecate parameter `seCCurrentProject` within `config.template.js` - automatically toggle `skin-blue` class on body tag (dev environment) - refactor function `ApplicationService::obtainInitConfig()` - move `require('app/dev')` into `src/app/main.js` (application entry point) * micro-optimization (single glob watch) * remove mandatory `gid` and `baseurl` options within `G3W_PLUGINS` - convert variable `G3W_PLUGINS` into array (list of locally developed plugins) - automatically assing `gid` and `baseurl` parameter for all locally developed plugins (ref: `src/app/dev/index.js`) * generate `app.min.js.map` (PRODUCTION) - add `gulp-sourcemaps` on production environment * refactor browserify transform option make use of `transform` option instead of chaining transform methods * restore previous plugin developement tips (v3.4) * restore vendors fonts in gulp chain * Update "g3w-admin" and "g3w-suite-docker" badge versions * set v3.5 also on badge image.. * Add some minimal info about "Plugins" development * Align with dev new css and js vendors * Comment change skin color to skin-blue on development environment to has the same color in production * Rename admin_plugins_folder to admin_folder because it referred to g3w_admin folder and not to plugins * Revert "Rename admin_plugins_folder to admin_folder because it referred to g3w_admin folder and not to plugins" This reverts commit 186d37f * Revert "Rename admin_plugins_folder to admin_folder because it referred to g3w_admin folder and not to plugins" This reverts commit 186d37f * replace "comment" section with a TODO * Add deprecate wrapper comment to a part of code to extract project group, type and id parameters to get initial configuration from g3w-admin server Co-authored-by: volterra79 <[email protected]>
- Loading branch information