Commit Graph

295 Commits (e673b54ee297bd906552a6161b951f78b0b3a922)

Author SHA1 Message Date
JFH 28019eef07
Refactor canvas in multiple pieces to increase maintainability (#446)
* #refactor-canvas getJsonFromSvgElement and svgroot code moved to separate file
* #refactor-canvas build files changes
* #refactor-canvas addSVGElementsFromJson move to json file
* #refactor-canvas selected element option function move separate file
* #refactor-canvas moveUpDownSelected move to select-elem
* ##refactor-canvas build file updated
* #refactor-canvas moveSelectedElements  move to selected-elem
* #refactor-canvas cloneSelectedElements move to slected-elem
* #refactor-canvas alignSelectedElements move to selected-elem
* #refactor-canvas deleteSelectedElements move to selected-elem
* #refactor-canvas copySelectedElements and groupSelectedElements move to selected-elem
* #refactor-canvas pushGroupProperty, ungroupSelectedElement move to selected-elem
* #refactor-canvas comment changes
* #refactor-canvas UndoManager move to separate file
* #refactor-canvas event file move to mouseMove, mouseUpEvent and dblClickEvent
* #refactor-canvas mouseDown move to event
* #refactor-canvas move to undo file
* #refactor alignment changes  and set function revert return
* #refactor-canvas textaction move to separate file
* #refactor-canvas paste-element function move to separate file
* #refactor-canvas set and get  method move to separate file
* #refactor-canvas set and get function moved changes
* #refactor clear file import and regaring function moved changes changes
* #refactor-canvas svg related function move to separate file
* #refactor-canvas setBackground methos move to elem-get-set file
* #refactor-canvas getBsplinePoint method move to event file
* #refactor-canvas export functions move to svg-exec
* #refactor-canvas svg related function moved separate file
* #refactor-canvas updateCanvas,  cycleElement move to selected-elem file
* #refactor-canvas removeUnusedDefElems move to svg-exec file
* #refactor-canvas blur method move to separate file blur-event.js
* #refactor-canvas selection related function move to separate file slection.js
* #refactor-canvas convertGradients, mousewheelmove event bind function move to other files
* #refactor-canvas extension function move to selection file
* #refactor-canvas svg tag long string changes to es6 format
* eslint fixes
* eslint and test fixes
* add netlify logo per their requirements
* #refactor-canvas path file separate to path-method.js and path-actions.js
* #refactor-canvas lint issue fixed
* #refactor-canvas path.js file class and const move to path-method.js
* #refactor-canvas eslint issue fixed. 'jsdoc/check-examples': 'off' already so removed eslint-disable jsdoc/check-examples
* #refactor-canvas path class moved changes and copy-elem.js file cypress test issue fixed
* #refactor-canvas UI - Clipboard paste element  cypress issue fixed
* #refactor-canvas cypress test cases issue fixed changes
* #refactor-canvas cypress test cases issue fixed changes
* #refactor-canvas cypress test case issue fixed
* npm update and fix a few eslint new errors
* fix snapshot and run tests
* add star tool to cypress
* #refactor-canvas shapelibrary, star, polygon and panning tool issue fixed
* build
* Update layer.js
* revert proper declarations

Authored-by OptimistikSAS
2020-11-11 11:38:45 +01:00
Brett Zamir 404222ca40 - Docs/npm: Prevent failing of `license-badge` and update badge 2020-10-20 10:14:05 +08:00
Brett Zamir d03e5eeae6 - Linting: Apply latest eslint-plugin-jsdoc; lint properties/param defaults 2020-10-20 09:48:07 +08:00
Brett Zamir 19342e4349 - npm: Update eslint-plugin-jsdoc 2020-10-20 09:47:48 +08:00
jfh b957a3c5aa npm update (include cypress 5.4) 2020-10-16 23:50:25 +02:00
jfh cfbb5a5ec8 npm update + fix linked to this update
found an issue with eslint when empty comments were used.
2020-10-04 23:07:31 +02:00
jfh e535a26fd5 remove some unused packages 2020-09-23 21:18:28 +02:00
jfh b7133d5604 supportsGoodDecimals_ not used anywhere so was removed 2020-09-22 19:43:40 +02:00
jfh aeaa20408c remove ncu because underscore is not anymore an issue (jspdf imported from npm) 2020-09-20 00:15:48 +02:00
jfh 37fbc055fc use pathseg from npm
improvements that were made to svgpathseg polyfill locally may have to be applied to the original package.
2020-09-19 12:57:14 +02:00
jfh 909a0634aa npm updates 2020-09-18 22:26:13 +02:00
Brett Zamir ab99a2804c - Linting: Add back `lint-arg` 2020-09-17 11:11:01 +08:00
jfh f5f06f686c Merge branch 'master' into new-build 2020-09-13 23:58:23 +02:00
jfh b88691d1f3 fix issue with the snapshot 2020-09-13 23:56:45 +02:00
jfh ff711f080b remove externals in favor of npm packages 2020-09-13 12:08:05 +02:00
jfh a61cfdf553 add a cypress scenario 2020-09-13 01:32:13 +02:00
jfh 9a8b573ca5 npm update 2020-09-10 00:51:34 +02:00
jfh 029ed1a1e1 fix issue with storage 2020-09-09 01:35:47 +02:00
jfh ff71d836f8 npm update 2020-09-06 12:28:26 +02:00
jfh cc44c4f2cd Update package.json 2020-09-02 13:59:47 +02:00
jfh 4643bab371 fix editor start with src and dist using es-dev-server 2020-09-01 00:15:18 +02:00
jfh 0bfee46b33 make test run with systemjs build 2020-08-29 01:20:37 +02:00
jfh 53f64d9649 adjkust package for instrument 2020-08-29 00:07:07 +02:00
jfh bac5d13d20 move canvg and rgbcolor libs to external 2020-08-28 01:28:14 +02:00
jfh 5b6e3fef8e add extensions and locales 2020-08-24 01:23:00 +02:00
Brett Zamir 2381762508 - Docs: get docs to build on all of `src`, not just editor 2020-08-22 20:43:02 +08:00
Brett Zamir 6fded2b7e5 - npm: fix `build-docs-create` script 2020-08-21 23:01:49 +08:00
jfh 2e2e86641d in progress 2020-08-20 14:31:19 +02:00
Brett Zamir 02afdb3d32 - npm: Fix `run-if-changed` script with redundant call to `run-s` 2020-08-13 10:37:16 +08:00
jfh 842f59b6c1 use standard polyfills (only tested with esm) 2020-08-09 18:33:17 +02:00
JFH 72df064ea3 now use dynamic import() and rely on Babel to polyfill 2020-08-07 22:12:40 +02:00
JFH 06c48ec088 fix integration tests after cypress update 2020-08-07 22:01:23 +02:00
JFH e0b40d873f start simplify script list 2020-08-06 21:54:00 +02:00
JFH 31bca25b1c Starting Branch to simplify Build process 2020-08-05 19:58:06 +02:00
Brett Zamir 8f827c973f - npm: Change image optimization to "lint-staged" (passing arguments of files only) 2020-08-05 19:24:59 +08:00
Brett Zamir dbf0dddc91 - npm: Auto-optimize any images with new `imageoptim` script 2020-08-05 19:14:56 +08:00
Brett Zamir 82c23ff0d8 - npm: Add `eslint-arg` script to avoid `lint-staged` linting all 2020-08-05 19:07:37 +08:00
Brett Zamir 5710a2a885 - npm: Add `pre-commit` for `lint-staged` 2020-08-05 19:04:48 +08:00
Brett Zamir f390983dc1 - npm: Apply linting to `lint-staged` and remove from `run-if-changed`
- npm: Create `prep-no-eslint` script
2020-08-05 18:58:22 +08:00
Brett Zamir 4c14de143b - Build: Fix build input for xdomain; update external files per latest
- Docs: Update dev. license badge per latest
- Linting (LGTM): Fix paths
- Linting (ESLint): Fix ignore path
- npm: Fix copy file paths
2020-08-05 18:38:52 +08:00
Brett Zamir 0255938873 - Try avoiding npm error 2020-08-05 18:04:07 +08:00
Brett Zamir 7910794f90 - npm: Update devDeps 2020-08-05 17:59:33 +08:00
Brett Zamir ccb192bea6 - npm: More `run-if-chaanged` triggers 2020-08-05 17:36:33 +08:00
Brett Zamir 5bcf6821e6 - npm: Add hkdobrev/run-if-changed and tie to prepublishOnly script (if packages changed, may need to rebuild license docs, local copies, and/or builds) 2020-08-05 17:27:31 +08:00
JFH 90a4d721b8 npm update 2020-08-03 17:39:27 +02:00
Brett Zamir 4f882a947a - Fix: Ensure cypress process will continue on errors (so coverage badge should be created once executing properly)
- npm: Use cross-platform `cp-cli` for copying directories
2020-08-03 16:38:47 +08:00
JFH 92635ba721 restore all eslint rules 2020-08-01 01:23:28 +02:00
JFH 137516caba refresh tests after move of svgedit-config 2020-07-30 15:02:35 +02:00
Brett Zamir ec32f5bc68 - Drop extra space (running `npm install` will reformat this way anyways) 2020-07-29 15:26:27 +08:00
JFH 1f499f78d1 set a minimum for the coverage 2020-07-26 22:27:40 +02:00