adapt to new folder structure

master
JFH 2020-07-25 15:32:59 +02:00
parent 2b42870e22
commit b7fccd59d5
4 changed files with 5 additions and 4 deletions

View File

@ -72,6 +72,7 @@
- Refactoring: Move `build-html` to `build` directory - Refactoring: Move `build-html` to `build` directory
- Refactoring: Add favicon no-op to suppress favicon 404s until - Refactoring: Add favicon no-op to suppress favicon 404s until
loaded dynamically (might make configurable in future) loaded dynamically (might make configurable in future)
- Refactoring: create a src folder and subfolders for svgcanvas, editor, common and externals.
- Linting (ESLint): Simplify regexes - Linting (ESLint): Simplify regexes
- Linting (ESLint): Replace `innerHTML` with `textContent` from old demo - Linting (ESLint): Replace `innerHTML` with `textContent` from old demo
- Linting (ESLint): Update as per latest ash-nazg - Linting (ESLint): Update as per latest ash-nazg

View File

@ -2,7 +2,7 @@ extraction:
javascript: javascript:
index: index:
filters: filters:
- exclude: "editor/xdomain-svgedit-config-iife.js" - exclude: "src/editor/xdomain-svgedit-config-iife.js"
- exclude: "editor/redirect-on-no-module-support.js" - exclude: "src/editor/redirect-on-no-module-support.js"
- exclude: "svgedit-config-iife.js" - exclude: "svgedit-config-iife.js"
- exclude: "dist" - exclude: "dist"

View File

@ -14,7 +14,7 @@
"(MIT OR GPL-2.0)": ["src/editor/jquery-ui/jquery-ui-1.8.17.custom.min.js", "src/editor/jquerybbq/jquery.bbq.min.js", "src/editor/js-hotkeys/jquery.hotkeys.min.js"], "(MIT OR GPL-2.0)": ["src/editor/jquery-ui/jquery-ui-1.8.17.custom.min.js", "src/editor/jquerybbq/jquery.bbq.min.js", "src/editor/js-hotkeys/jquery.hotkeys.min.js"],
"(MIT OR GPL-2.0-or-later)": ["src/editor/contextmenu/jQuery.contextMenu.js", "src/editor/extensions/ext-server_moinsave.js"], "(MIT OR GPL-2.0-or-later)": ["src/editor/contextmenu/jQuery.contextMenu.js", "src/editor/extensions/ext-server_moinsave.js"],
"Apache-2.0": ["src/editor/contextmenu.js", "src/editor/extensions/ext-foreignobject.js", "src/editor/extensions/ext-grid.js", "src/editor/extensions/ext-markers.js", "screencasts/svgopen2010/index.html", "src/editor/jgraduate/jQuery.jGraduate.js", "src/editor/extensions/mathjax/MathJax.min.js", "src/editor/extensions/mathjax/TeX-AMS-MML_SVG.js"], "Apache-2.0": ["src/editor/contextmenu.js", "src/editor/extensions/ext-foreignobject.js", "src/editor/extensions/ext-grid.js", "src/editor/extensions/ext-markers.js", "screencasts/svgopen2010/index.html", "src/editor/jgraduate/jQuery.jGraduate.js", "src/editor/extensions/mathjax/MathJax.min.js", "src/editor/extensions/mathjax/TeX-AMS-MML_SVG.js"],
"ISC": ["external/query-result/esm/index.js"], "ISC": ["src/external/query-result/esm/index.js"],
"LGPL-3.0-or-later": ["src/editor/jspdf/jspdf.plugin.svgToPdf.js"], "LGPL-3.0-or-later": ["src/editor/jspdf/jspdf.plugin.svgToPdf.js"],
"X11": ["src/editor/jspdf/jspdf.min.js"] "X11": ["src/editor/jspdf/jspdf.min.js"]
} }

View File

@ -62,7 +62,7 @@
"prep": "run-s prep-no-core-rollup rollup", "prep": "run-s prep-no-core-rollup rollup",
"prepublishOnly": "run-s license-badges copy prep build-docs", "prepublishOnly": "run-s license-badges copy prep build-docs",
"cypress:open-no-start": "cypress open", "cypress:open-no-start": "cypress open",
"cy:instrument": "rm -rf instrumented && cp -r src instrumented && nyc instrument --compact false src instrumented", "cy:instrument": "rimraf instrumented && cp -r src instrumented && nyc instrument --compact false src instrumented",
"cypress:open": "run-p start cypress:open-no-start", "cypress:open": "run-p start cypress:open-no-start",
"open-tests": "run-s cy:instrument cypress:open", "open-tests": "run-s cy:instrument cypress:open",
"cypress:merge": "mochawesome-merge \"cypress/results/mochaw*.json\" > mochawesome.json && marge mochawesome.json && mbg --file ./mochawesome.json --badge_output badges/tests-badge.svg", "cypress:merge": "mochawesome-merge \"cypress/results/mochaw*.json\" > mochawesome.json && marge mochawesome.json && mbg --file ./mochawesome.json --badge_output badges/tests-badge.svg",