Skip to content
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

New build #427

Merged
merged 75 commits into from
Sep 23, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
31bca25
Starting Branch to simplify Build process
Aug 5, 2020
7f461f9
working but incomplete version with new build.
Aug 6, 2020
fd6cf38
fix integration tests
Aug 6, 2020
e0b40d8
start simplify script list
Aug 6, 2020
06c48ec
fix integration tests after cypress update
Aug 7, 2020
72df064
now use dynamic import() and rely on Babel to polyfill
Aug 7, 2020
ff98330
move manifest to archive (will be restored if necessary)
Aug 9, 2020
842f59b
use standard polyfills (only tested with esm)
Aug 9, 2020
93bb14e
ignore apple DS_Store files
Aug 9, 2020
2a850bc
fix iife with chrome
Aug 9, 2020
37b5490
- npm: Update lock file
brettz9 Aug 12, 2020
02afdb3
- npm: Fix `run-if-changed` script with redundant call to `run-s`
brettz9 Aug 13, 2020
a5fa39a
- Remove submodules (will need to find hosting with a build process r…
brettz9 Aug 15, 2020
2e2e866
in progress
Aug 20, 2020
082e8bf
Merge branch 'master' into new-build
Aug 21, 2020
f542676
Merge branch 'master' into new-build
Aug 22, 2020
5b6e3fe
add extensions and locales
Aug 23, 2020
9c8a2e3
fix locale
Aug 23, 2020
2827efc
add xml as import to allow roller to include in the build
Aug 26, 2020
bac5d13
move canvg and rgbcolor libs to external
Aug 27, 2020
44f9190
use last npm package to export pdf
Aug 27, 2020
e22ea42
use a fixed import for canvg
Aug 28, 2020
53f64d9
adjkust package for instrument
Aug 28, 2020
0bfee46
make test run with systemjs build
Aug 28, 2020
4643bab
fix editor start with src and dist using es-dev-server
Aug 31, 2020
cc44c4f
Update package.json
Sep 2, 2020
3d60089
image were optimized
Sep 2, 2020
caa4fe3
add minification in the build
Sep 4, 2020
cfb3620
group each plugin in its own folder
Sep 6, 2020
ff71d83
npm update
Sep 6, 2020
029ed1a
fix issue with storage
Sep 8, 2020
cf8c8a8
fix issues with the es build and locales.
Sep 9, 2020
bb88a6d
no transformation for systemJS
Sep 9, 2020
9a8b573
npm update
Sep 9, 2020
ff83e4d
improve loading of extension locales with fallback
Sep 9, 2020
16ad1d8
build
Sep 10, 2020
0d34672
fix issue with locale extension builds
Sep 11, 2020
6c93cbf
Use rollup:intro to build the xdomain-index.js
Sep 12, 2020
d15ee0f
translate to french
Sep 12, 2020
a61cfdf
add a cypress scenario
Sep 12, 2020
6379335
start a UI scenario to test various part of svgedit
Sep 13, 2020
ff711f0
remove externals in favor of npm packages
Sep 13, 2020
3167363
prepare requirements for netlify
Sep 13, 2020
e05a6ae
focus on the svg content to test snapshots
Sep 13, 2020
782effb
remove prettier as it seems to create a difference with snapshot if y…
Sep 13, 2020
22e44a0
no need to have several import of svgpathseg as this one loads to the…
Sep 13, 2020
b88691d
fix issue with the snapshot
Sep 13, 2020
f5f06f6
Merge branch 'master' into new-build
Sep 13, 2020
927d2f5
- Add name to FUNDING.yml
brettz9 Sep 17, 2020
e1bf86a
- Linting: Remove reference to dom-polyfill
brettz9 Sep 17, 2020
ab99a28
- Linting: Add back `lint-arg`
brettz9 Sep 17, 2020
3ce12fb
move jquery import from index.html to index.js
Sep 18, 2020
74691af
add lack of svg support file
Sep 18, 2020
57cbea9
nomodule forward removed
Sep 18, 2020
909a063
npm updates
Sep 18, 2020
7f3b6ea
adapt build
Sep 18, 2020
327ec26
remove DS Store files
Sep 18, 2020
213c075
remove DS Store files
Sep 18, 2020
fa51648
added delay necessary to pass this test
Sep 19, 2020
37fbc05
use pathseg from npm
Sep 19, 2020
359a161
remove external folder in favor of npm dependencies
Sep 19, 2020
60bd029
new build
Sep 19, 2020
5447d05
Update README.md
Sep 19, 2020
5583488
disable eslint rule for unsupported feature
Sep 19, 2020
6f86793
delete because unused
Sep 19, 2020
aeaa204
remove ncu because underscore is not anymore an issue (jspdf imported…
Sep 19, 2020
f14c83c
remove unused travis.yml
Sep 19, 2020
20e76ba
add shapelib in dist
Sep 20, 2020
a6d7a87
minor format and lint fix
Sep 20, 2020
f663898
add a small test in scenario.js
Sep 21, 2020
b7133d5
supportsGoodDecimals_ not used anywhere so was removed
Sep 22, 2020
2488a3a
remove jquery in favor of native dom
Sep 22, 2020
e4e7d68
locale.js with no jquery
Sep 23, 2020
3ab7580
run test and build
Sep 23, 2020
e535a26
remove some unused packages
Sep 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .babelrc.json

This file was deleted.

11 changes: 11 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"presets": [
[
"@babel/env",
{
"useBuiltIns": "entry",
"corejs": "3.6.5"
}
]
]
}
148 changes: 0 additions & 148 deletions build/build-html.js

This file was deleted.

5 changes: 2 additions & 3 deletions dist/editor/extensions/ext-mathjax.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
* @copyright 2013 Jo Segaert
*
*/
// Todo: Wait for Mathjax 3.0 to get ES Module/avoid global
import {importScript} from '../../external/dynamic-import-polyfill/importModule.js';

export default {
name: 'mathjax',
Expand Down Expand Up @@ -204,7 +202,8 @@ export default {
// We use `extIconsPath` here for now as it does not vary with
// the modular type as does `extPath`
try {
await importScript(svgEditor.curConfig.extIconsPath + mathjaxSrcSecure);
// eslint-disable-next-line node/no-unsupported-features/es-syntax
await import(svgEditor.curConfig.extIconsPath + mathjaxSrcSecure);
// When MathJax is loaded get the div where the math will be rendered.
MathJax.Hub.queue.Push(function () {
math = MathJax.Hub.getAllJax('#mathjax_creator')[0];
Expand Down
10 changes: 0 additions & 10 deletions dist/editor/index-iife.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,9 @@
<script src="jquery.min.js"></script>
<!--{endif}-->

<!-- Lacking browser support -->
<script nomodule="" src="redirect-on-no-module-support.js"></script>
<script type="module" src="redirect-on-lacking-support.js"></script>

<!-- As yet no ES6 Module support -->
<script src="jquery-ui/jquery-ui-1.8.17.custom.min.js"></script>

<!-- Browser polyfills -->
<script src="../external/dom-polyfill/dom-polyfill.js"></script>

<!-- ES6+ polyfills (Babel) -->
<script src="../external/core-js-bundle/minified.js"></script>
<script src="../external/regenerator-runtime/runtime.js"></script>

<!-- If you do not wish to add extensions by URL, you can add calls
within the following file to svgEditor.setConfig -->
Expand Down
Loading