Skip to content

Commit

Permalink
Merge pull request #30 from SVG-Edit/V7-preview
Browse files Browse the repository at this point in the history
V7 preview
  • Loading branch information
jfhenon authored Jan 3, 2021
2 parents 5d3f870 + 974a472 commit 6cdb338
Show file tree
Hide file tree
Showing 64 changed files with 128 additions and 110 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ We also build a systemJS version at [`master`](https://svg-edit.github.io/svgedi

You may also obtain URLs for specific [releases](https://github.com/SVG-Edit/svgedit/releases).

Thanks to netlify, you can test the following versions:

latest master build (V6): https://svgedit.netlify.app/editor/index.html

V7 preview (under development): https://deploy-preview-465--svgedit.netlify.app/editor/index.html

## Installation

### Quick install
Expand Down
4 changes: 2 additions & 2 deletions dist/editor/extensions/ext-arrows/ext-arrows.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-arrows/ext-arrows.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/extensions/ext-closepath/ext-closepath.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-closepath/ext-closepath.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/extensions/ext-connector/ext-connector.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-connector/ext-connector.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/extensions/ext-foreignobject/ext-foreignobject.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/extensions/ext-grid/ext-grid.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-grid/ext-grid.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/extensions/ext-helloworld/ext-helloworld.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/extensions/ext-imagelib/ext-imagelib.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-imagelib/ext-imagelib.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/extensions/ext-markers/ext-markers.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-markers/ext-markers.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/extensions/ext-mathjax/ext-mathjax.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-mathjax/ext-mathjax.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-panning/ext-panning.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-placemark/ext-placemark.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-placemark/ext-placemark.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-polygon/ext-polygon.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-polygon/ext-polygon.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-star/ext-star.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-star/ext-star.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-storage/ext-storage.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/extensions/ext-storage/ext-storage.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/extensions/ext-webappfind/ext-webappfind.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<!-- STYLESHEETS (others loaded dynamically) -->
<style id="styleoverrides" media="screen"></style>
<link href="svgedit.css" rel="stylesheet" media="all">
<link href="./svgedit.css" rel="stylesheet" media="all">
</link>

<!-- SCRIPTS -->
Expand All @@ -22,7 +22,7 @@

<!-- If you do not wish to add extensions by URL, you can add calls
within the following file to svgEditor.setConfig -->
<script type="module" src="index.js"></script>
<script type="module" src="./index.js"></script>

<title>SVG-edit</title>
</head>
Expand Down
4 changes: 2 additions & 2 deletions dist/editor/system/extensions/ext-arrows/ext-arrows.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/system/extensions/ext-closepath/ext-closepath.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/system/extensions/ext-connector/ext-connector.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/system/extensions/ext-grid/ext-grid.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/system/extensions/ext-imagelib/ext-imagelib.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/system/extensions/ext-markers/ext-markers.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/editor/system/extensions/ext-mathjax/ext-mathjax.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/system/extensions/ext-polygon/ext-polygon.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/system/extensions/ext-star/ext-star.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/editor/system/extensions/ext-storage/ext-storage.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

11 changes: 2 additions & 9 deletions dist/editor/system/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<!-- STYLESHEETS (others loaded dynamically) -->
<style id="styleoverrides" media="screen"></style>
<link href="svgedit.css" rel="stylesheet" media="all">
<link href="./svgedit.css" rel="stylesheet" media="all">
</link>

<!-- SCRIPTS -->
Expand All @@ -22,14 +22,7 @@

<!-- If you do not wish to add extensions by URL, you can add calls
within the following file to svgEditor.setConfig -->
<script>
const systemJsLoaderTag = document.createElement('script');
systemJsLoaderTag.src = './s.min.js';
systemJsLoaderTag.addEventListener('load', function () {
System.import('./index.js');
});
document.head.appendChild(systemJsLoaderTag);
</script>
<script type="module" src="./index.js"></script>

<title>SVG-edit</title>
</head>
Expand Down
4 changes: 2 additions & 2 deletions dist/editor/xdomain-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<!-- STYLESHEETS (others loaded dynamically) -->
<style id="styleoverrides" media="screen"></style>
<link href="svgedit.css" rel="stylesheet" media="all">
<link href="./svgedit.css" rel="stylesheet" media="all">
</link>

<!-- SCRIPTS -->
Expand All @@ -22,7 +22,7 @@

<!-- If you do not wish to add extensions by URL, you can add calls
within the following file to svgEditor.setConfig -->
<script type="module" src="xdomain-index.js"></script>
<script type="module" src="./index.js"></script>

<title>SVG-edit</title>
</head>
Expand Down
9 changes: 7 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,17 @@

# Production context: all deploys from the Production branch set in your site's
# deploy contexts will inherit these settings.
[context."v7-preview"]
publish = "/"

[context."release-v6.0.0"]
publish = "/"
command = "echo 'branch release-v6.0.0 already built'"

[context."release-v5.1.0"]
publish = "/"
command = "echo 'branch release-v5.1.0 already built'"

# Production context: all deploys from the Production branch set in your site's
# deploy contexts will inherit these settings.
[context.master]
publish = "/"
command = "echo 'already built'"
Expand Down
43 changes: 28 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,11 @@
"@babel/polyfill": "7.12.1",
"@web/dev-server-rollup": "0.3.1",
"canvg": "3.0.7",
"core-js": "3.7.0",
"core-js": "3.8.2",
"jspdf": "2.1.1",
"pathseg": "1.2.0",
"regenerator-runtime": "0.13.7",
"rollup-plugin-polyfill-node": "^0.4.1",
"svg2pdf.js": "2.0.0"
},
"devDependencies": {
Expand All @@ -163,7 +164,7 @@
"axe-core": "4.1.1",
"babel-plugin-transform-object-rest-spread": "7.0.0-beta.3",
"copyfiles": "2.4.0",
"core-js-bundle": "3.7.0",
"core-js-bundle": "3.8.2",
"coveradge": "0.6.0",
"cp-cli": "2.0.0",
"cross-var": "1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import babel from '@rollup/plugin-babel';
import copy from 'rollup-plugin-copy';
import {nodeResolve} from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import nodePolyfills from 'rollup-plugin-node-polyfills';
import nodePolyfills from 'rollup-plugin-polyfill-node';
import url from '@rollup/plugin-url'; // for XML/SVG files
import dynamicImportVars from '@rollup/plugin-dynamic-import-vars';
import {terser} from 'rollup-plugin-terser';
Expand Down
4 changes: 2 additions & 2 deletions src/editor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<!-- STYLESHEETS (others loaded dynamically) -->
<style id="styleoverrides" media="screen"></style>
<link href="svgedit.css" rel="stylesheet" media="all">
<link href="./svgedit.css" rel="stylesheet" media="all">
</link>

<!-- SCRIPTS -->
Expand All @@ -22,7 +22,7 @@

<!-- If you do not wish to add extensions by URL, you can add calls
within the following file to svgEditor.setConfig -->
<script type="module" src="index.js"></script>
<script type="module" src="./index.js"></script>

<title>SVG-edit</title>
</head>
Expand Down

0 comments on commit 6cdb338

Please sign in to comment.