-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Overall code refactoring (ES Modules) + Update gulp and other dev dependencies #35
Draft
Raruto
wants to merge
69
commits into
g3w-suite:dev
Choose a base branch
from
Raruto:migration_v3_v4
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- refactor gulpfile.js - refactor config.template.js - remove unusued dev dependencies
…ient into migration_v3_v4
- remove .babelrc - remove .browserlisrc probably not working due to: vuejs/vueify#237
…d with dev print changes
- remove `build_all` conditional - add some backcomp to previous config.template.js (v3) - remove useless `path.join` (nowdays filesystem scripts still works without this hack on Windows OS) - renamed some gulp tasks to use shorter names - delete `gulp g3w-admin:client_only` npm script
…into migration_v3_v4
… workaround. Try to find a better solution
const reg = new RegExp(`qgs:${sanitizeLayerName}\\b`, "g"); => const reg = new RegExp(`qgs:${sanitizeLayerName}`, "g");
… and change all references
- remove dead code and comments - remove useful `bootstrap()` function closure - simplify error variable parsing - make use of "ApplicationTemplate" variable instead of reassining default export from `gui/app/index` to `Application`
- remove temporary `g3w` const variable (use default export instead) - remove unusued `test` property
…ove src/g3w-ol/src
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WIP, integrates and superseed: #34
require()
with nativeimport()
modulesgulpfile.js
and update to support gulp v4config.template.js
(rename some variables, add comments and use fewer nested structures)preinstall
hook (no morenpm-force-resolutions
)npm run dev
andnpm run build
)g3w-admin:client_only
path.join
within gulpfile.js (nowdays filesystem scripts still works without this hack on Windows OS)babel
to version 7esmify
package to enable support of ES6 modules within browserify.babelrc
and.browserslistrc
files (related config are now listed within the package.json)index.dev.html
andindex.prod.html
)eslint
8super ()
constructor when not strictly necessary within javascript classesimport foo from '../../../foo'
)boostrap()
function closure within main.jstest
property within api.jsG3W_VERSION
andproduction
variable within applicationservice.jsversion
to 4.0.0. within package.jsongui/component
folder and move related gui components inside that_.forEach
withObject.entries().forEach
src/g3w-ol/src
folder (replaced withsrc/g3w-ol
)To be performed (not yet completed)
*.js
and*.html
files into a single.vue
file)