37 Commits

Author SHA1 Message Date
Broch Stilley 6f6e4b7269 chore(deps): Update Dependencies. Fix issues related to using with CRA (#88) 2021-09-09 14:24:41 +02:00
dependabot[bot] 62646f933e chore(deps-dev): Bump webpack-cli from 4.5.0 to 4.6.0 (#38)
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.5.0...webpack-cli@4.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 00:31:30 +03:00
dependabot[bot] a0319b3bdf chore(deps-dev): Bump @babel/preset-env from 7.13.10 to 7.13.15 (#44)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.10 to 7.13.15.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.15/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 00:31:19 +03:00
dependabot[bot] 6b58563538 chore(deps-dev): Bump eslint from 7.22.0 to 7.24.0 (#47)
Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.24.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.22.0...v7.24.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 00:31:01 +03:00
Dony Sukardi 0f4d692b68 Fix typo (#49) 2021-04-19 19:22:31 -07:00
Broch Stilley 8bd57137d7 feat: use points-on-path lib (#29)
* feat(parser): initial work (in progress)

* test: add dumb html file to test parser

* chore: setup ts

* chore: ignore dist folder

* fix(dev): fix dev html docs

Add additional ESM build so that dist build may be used directly in dev html docs.

* docs: add a few dev docs

Adding a couple documentions in the the dev folder to help keep track of notes and such.

* feat(utils): add cubic bezier points resolution

* feat(utils): add path to points converter (wip)

* feat(bezier): enhance cubic bézier curve generation

- add docs
- update name of function to get points
- refactor precision argument to be the number of points to return (without origin point)
- use Number constructor rather than implicit type coercion (+)

* fix(path-to-points): return type

* fix(path-to-points): imported function name from bézier util

* docs(path-to-points): add function description

* fix(path-to-points): return elements

* docs(parser): remove useless jsdoc

* refactor(parser): do not export utils functions

* feat(parser): wip

* feat(types): setup basic types

* chore(scripts): update

- Remove "--" to forward options
- Remove redundant lint scripts

* chore(deps): update dependencies

* fix(lint): remove prettier typescript eslint config

See https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21

* fix(path-to-points): do not expand points

* style: arrow fn everywhere

* chore: missing lockfile

* style: double quotes everywhere

* fix(parser): position handling of multiple elements

In the main scene, and in their boundaries

* feat(path): set strokeSharpness

* feat(dev): output results to textarea

* feat(parser): return valid Excalidraw elements

Also update types and variables/functios names for consistency

* feat(parser): add backgroundColor

* style: run prettier

* chore(scripts): apply prettier to js and ts files

* feat(parser): return a valid Excalidraw file content

* feat(dev): update style and behaviour

* style: fix lint

* fix: unused import

* feat(path-to-points): on close path, make sure last committed point is first point

* feat(path-to-points): if no close path and only one element, make sure to publish points

* refactor(path-to-points): simplify commands regex

* feat(bezier): add support for quadratic bézier curves

* feat(path-to-points): add support for quadratic bézier curves

* style: fix lint

* ci: add workflow to cancel previous runs

* feat(path-to-points): add support for simplified quadratic bézier curves

* feat(path-to-points): add support for simplified cubic bézier curves

* style(path-to-points): lint

* feat(path-to-points): enhance commands regex

* feat(path-to-points): more debugging

* refactor: rename everything from coordinate(s) to point(s)

- ensure consistency with excalidraw elements defining an array of points
- also removes useless Coordinates type as it is no more than an array of number

* refactor(path-to-points): use handling functions for each command

* feat(path-parser): handling of colors

* refactor: rename EVERYTHING to point(s)

* create method for "walking" elements of an svg tree. Start working on implementing serialization into excalidraw json of a few basic element types.

* chore: setup @excalidraw/eslint-config

* style: run eslint

* chore(devDeps): update dev dependencies

* chore: fix eslint-plugin-prettier version range

* fix(path-to-points): allow parameters omitting leading 0 (.75)

Also remove duplicated non-capturing groups

* feat(path): add utility to work with ellipses

* feat(path-to-points): add support for arcTo commands

* style: lint + todos

* chore(devDeps): update dependencies

- also remove useless eslint-plugin-import

* chore: use @excalidraw/eslint-config

* chore: remove some package fields

* Create svg dom walker to support further svg elements. Add basic handling of presentation and filter attributes. Start work on handling transform attributes.

* Add back main and files entries into package.json.

* refactor attributes handlers.

* Fix issues with use element attributes.

* Fix some issues with placing circles.

* Updates to circle and ellipse elements.

* Refinement work on rect elements.

* Add first pass at polyline and polygon element rendering.

* Add back main and files to package.json. Remove unused file.

* Add back a number of missing deps

* Fix lint errors

* Add chroma.js types, fix type error in path walker.

* update yarn.lock

* Initial pass at getting paths working.

* Remove unused code

* Add a tiny bit of handling for path fill-rule.

* Remove unused files

* Update readme

* Bump minor versions of deps

* update yarn.lock

* Run Prettier

* Remove no longer used local dev server library.

* Small updates to README.md

Co-authored-by: Nicolas Goudry <goudry.nicolas@gmail.com>
Co-authored-by: Nicolas <nicolas@plum-energie.com>
2021-03-26 09:49:53 -07:00
dependabot[bot] ce307851d9 chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 4.17.0 to 4.19.0 (#35)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.17.0 to 4.19.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.19.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 23:49:59 +02:00
dependabot[bot] 36a2fad88f chore(deps-dev): Bump eslint from 7.21.0 to 7.22.0 (#34)
Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.21.0...v7.22.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 21:08:06 +00:00
dependabot[bot] 44d0b3c890 chore(deps-dev): Bump webpack from 5.25.0 to 5.27.1 (#31)
Bumps [webpack](https://github.com/webpack/webpack) from 5.25.0 to 5.27.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.25.0...v5.27.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 23:07:44 +02:00
dependabot[bot] 52b1cbf2bd chore(deps-dev): Bump @typescript-eslint/parser from 4.17.0 to 4.18.0 (#32)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.17.0 to 4.18.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.18.0/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 23:07:34 +02:00
dependabot[bot] eb0e09ff44 chore(deps): Bump nanoid from 3.1.21 to 3.1.22 (#33)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.21 to 3.1.22.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.21...3.1.22)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 23:07:21 +02:00
Broch Stilley 025aa739dc feat: Basic elements (#23)
* feat(parser): initial work (in progress)

* test: add dumb html file to test parser

* chore: setup ts

* chore: ignore dist folder

* fix(dev): fix dev html docs

Add additional ESM build so that dist build may be used directly in dev html docs.

* docs: add a few dev docs

Adding a couple documentions in the the dev folder to help keep track of notes and such.

* feat(utils): add cubic bezier points resolution

* feat(utils): add path to points converter (wip)

* feat(bezier): enhance cubic bézier curve generation

- add docs
- update name of function to get points
- refactor precision argument to be the number of points to return (without origin point)
- use Number constructor rather than implicit type coercion (+)

* fix(path-to-points): return type

* fix(path-to-points): imported function name from bézier util

* docs(path-to-points): add function description

* fix(path-to-points): return elements

* docs(parser): remove useless jsdoc

* refactor(parser): do not export utils functions

* feat(parser): wip

* feat(types): setup basic types

* chore(scripts): update

- Remove "--" to forward options
- Remove redundant lint scripts

* chore(deps): update dependencies

* fix(lint): remove prettier typescript eslint config

See https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21

* fix(path-to-points): do not expand points

* style: arrow fn everywhere

* chore: missing lockfile

* style: double quotes everywhere

* fix(parser): position handling of multiple elements

In the main scene, and in their boundaries

* feat(path): set strokeSharpness

* feat(dev): output results to textarea

* feat(parser): return valid Excalidraw elements

Also update types and variables/functios names for consistency

* feat(parser): add backgroundColor

* style: run prettier

* chore(scripts): apply prettier to js and ts files

* feat(parser): return a valid Excalidraw file content

* feat(dev): update style and behaviour

* style: fix lint

* fix: unused import

* feat(path-to-points): on close path, make sure last committed point is first point

* feat(path-to-points): if no close path and only one element, make sure to publish points

* refactor(path-to-points): simplify commands regex

* feat(bezier): add support for quadratic bézier curves

* feat(path-to-points): add support for quadratic bézier curves

* style: fix lint

* ci: add workflow to cancel previous runs

* feat(path-to-points): add support for simplified quadratic bézier curves

* feat(path-to-points): add support for simplified cubic bézier curves

* style(path-to-points): lint

* feat(path-to-points): enhance commands regex

* feat(path-to-points): more debugging

* refactor: rename everything from coordinate(s) to point(s)

- ensure consistency with excalidraw elements defining an array of points
- also removes useless Coordinates type as it is no more than an array of number

* refactor(path-to-points): use handling functions for each command

* feat(path-parser): handling of colors

* refactor: rename EVERYTHING to point(s)

* create method for "walking" elements of an svg tree. Start working on implementing serialization into excalidraw json of a few basic element types.

* chore: setup @excalidraw/eslint-config

* style: run eslint

* chore(devDeps): update dev dependencies

* chore: fix eslint-plugin-prettier version range

* fix(path-to-points): allow parameters omitting leading 0 (.75)

Also remove duplicated non-capturing groups

* feat(path): add utility to work with ellipses

* feat(path-to-points): add support for arcTo commands

* style: lint + todos

* chore(devDeps): update dependencies

- also remove useless eslint-plugin-import

* chore: use @excalidraw/eslint-config

* chore: remove some package fields

* Create svg dom walker to support further svg elements. Add basic handling of presentation and filter attributes. Start work on handling transform attributes.

* Add back main and files entries into package.json.

* refactor attributes handlers.

* Fix issues with use element attributes.

* Fix some issues with placing circles.

* Updates to circle and ellipse elements.

* Refinement work on rect elements.

* Add first pass at polyline and polygon element rendering.

* Add back main and files to package.json. Remove unused file.

* Add back a number of missing deps

* Fix lint errors

* Add chroma.js types, fix type error in path walker.

* update yarn.lock

Co-authored-by: Nicolas Goudry <goudry.nicolas@gmail.com>
Co-authored-by: Nicolas <nicolas@plum-energie.com>
2021-03-17 09:33:17 -07:00
dependabot[bot] cacada5ade chore(deps-dev): Bump @babel/core from 7.13.8 to 7.13.10 (#24)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.8 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 10:53:33 -07:00
dependabot[bot] d5efc1dd4a chore(deps-dev): Bump @typescript-eslint/eslint-plugin (#25)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.16.1 to 4.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.17.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 10:53:14 -07:00
dependabot[bot] 985fdf2f04 chore(deps-dev): Bump @excalidraw/eslint-config (#26)
Bumps [@excalidraw/eslint-config](https://github.com/excalidraw/eslint-config) from 0.0.12-beta to 1.0.1.
- [Release notes](https://github.com/excalidraw/eslint-config/releases)
- [Commits](https://github.com/excalidraw/eslint-config/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 10:52:11 -07:00
dependabot[bot] 2bf36180ee chore(deps-dev): Bump webpack from 5.24.4 to 5.25.0 (#27)
Bumps [webpack](https://github.com/webpack/webpack) from 5.24.4 to 5.25.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.24.4...v5.25.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 10:51:38 -07:00
dependabot[bot] e5e867b8f5 chore(deps-dev): Bump @babel/preset-env from 7.13.8 to 7.13.10 (#28)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.8 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 10:50:30 -07:00
dependabot[bot] 65b3e4ba56 chore(deps-dev): Bump webpack from 5.24.2 to 5.24.4 (#22)
Bumps [webpack](https://github.com/webpack/webpack) from 5.24.2 to 5.24.4.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.24.2...v5.24.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 09:58:32 +00:00
dependabot[bot] 8a636e9430 chore(deps-dev): Bump @typescript-eslint/parser from 4.16.0 to 4.17.0 (#21)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.17.0/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 09:57:40 +00:00
dependabot[bot] 57abd0fb3f chore(deps-dev): Bump husky from 5.1.2 to 5.1.3 (#19)
Bumps [husky](https://github.com/typicode/husky) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v5.1.2...v5.1.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 11:53:41 +02:00
dependabot[bot] db2755d604 chore(deps-dev): Bump typescript from 4.2.2 to 4.2.3 (#16)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.2...v4.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 12:35:46 +02:00
dependabot[bot] 24897c10e0 chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 4.16.0 to 4.16.1 (#20)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.16.0 to 4.16.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.16.1/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 12:35:33 +02:00
Lipis cb21804157 chore: Use @excalidraw/eslint-config (#14) 2021-03-01 20:05:25 +01:00
dependabot[bot] f6f77292a5 chore(deps-dev): Bump @typescript-eslint/parser from 4.15.1 to 4.15.2 (#12)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.15.1 to 4.15.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.2/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 10:29:09 +02:00
dependabot[bot] 0d93af2888 chore(deps-dev): Bump @babel/core from 7.12.17 to 7.13.8 (#9)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 10:28:34 +02:00
Lipis 87a5d44dac Revert "chore(deps-dev): Bump @excalidraw/prettier-config from 1.0.1 to 1.0.2" (#15)
This reverts commit 1ec26ef4b1.
2021-03-01 10:27:37 +02:00
dependabot[bot] 1ec26ef4b1 chore(deps-dev): Bump @excalidraw/prettier-config from 1.0.1 to 1.0.2 (#10)
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 10:26:54 +02:00
dependabot[bot] 9de2d01d62 chore(deps-dev): Bump webpack from 5.24.0 to 5.24.2 (#11)
Bumps [webpack](https://github.com/webpack/webpack) from 5.24.0 to 5.24.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.24.0...v5.24.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-28 21:27:30 +02:00
Excalidraw Bot 765a9600ac docs: Simplifying README (#7) 2021-02-23 10:19:49 +01:00
dependabot[bot] b5e7ed0b48 chore(deps-dev): Bump @babel/preset-env from 7.12.17 to 7.13.0 (#5)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.17 to 7.13.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.0/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-23 09:00:26 +00:00
dependabot[bot] 394ae39bf3 chore(deps-dev): Bump @typescript-eslint/eslint-plugin (#3)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.15.1 to 4.15.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.2/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-23 10:57:33 +02:00
dependabot[bot] b6ecc7dedb chore(deps-dev): Bump webpack from 5.23.0 to 5.24.0 (#2)
Bumps [webpack](https://github.com/webpack/webpack) from 5.23.0 to 5.24.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.23.0...v5.24.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-23 10:57:24 +02:00
dependabot[bot] 5f8ab8386d chore(deps-dev): Bump @babel/preset-typescript from 7.12.17 to 7.13.0 (#4)
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.12.17 to 7.13.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.0/packages/babel-preset-typescript)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-23 10:57:14 +02:00
dependabot[bot] fef94c25b1 chore(deps-dev): Bump @babel/plugin-proposal-class-properties (#6)
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.12.13 to 7.13.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.0/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-23 10:56:40 +02:00
Nicolas Goudry be3162b780 chore: initial project setup (#1)
* chore: initialize npm

* chore: add .gitignore

* chore(deps): add husky

* chore: setup husky

Auto-install husky on postinstall npm lifecycle event

* chore(deps): add commitlint

With conventional commits config and prompt-cli

* chore: setup commitlint

- conventional commits config
- auto-run on commit-msg/pre-push git hooks
- easier access to commit-style guidelines through CLI prompt

* chore(deps): add eslint

With standard code style

* chore: setup eslint

- add config
- add npm script
- add pre-commit git hook

* chore: add github issue templates

* docs: add README, COC and Contributing guide

* chore: add npm lockfile

* docs: add slack link to contributing guide

* docs: use excalidraw's discord for questions

* chore: update eslint config

* chore: add typescript and webpack

Adding basic Typescript support, as well as a Webpack build pipeline.

* chore: add additional ESM build

So that dist build may be used directly in dev html docs

* chore(deps): update dependencies

* docs: add beginning of local dev docs

* chore(code): add prettier

Add Prettier library and run code formatting

* chore(deps): use caret version range for all dependencies

* docs: remove code of conduct

Wait for core code of conduct
See https://github.com/excalidraw/svg-to-excalidraw/pull/1#issuecomment-783455890

* chore: remove issue templates

See https://github.com/excalidraw/svg-to-excalidraw/pull/1#issuecomment-783455890

* docs: update contributing guide

* chore: switch to yarn

* chore: use @excalidraw/prettier-config

* chore: add and setup lint-staged

* style: missing eol

* chore(scripts): format eslint scripts name

Match prettier scripts name format

* chore: remove pre-push hook

* style: run prettier

* chore: update gitignore

* ci: setup base actions workflows

* docs: update readme

- remove standard badge
- move local dev section
- add local dev section to TOC

* chore(webpack): move webpack cli to dev dependency

* chore(deps): remove standardjs eslint config

* docs(githooks): add note about using hooks with Git GUIs

* chore: missing EOL

* docs: use yarn commands in instructions

* chore(scripts): use yarn instead of npm

* style: fix dependabot config

* ci: fix commitlint step by using predefined action

* ci: remove commitlint from lint workflow

* chore(scripts): update all scripts

- add fix/test scripts
- remove prettier scripts (replaced by fix scripts)
- remove commit script
- order scripts alphabetically

* chore: remove commitlint entirely

* ci: fix lint workflow

* chore(scripts): add typecheck to tests

* chore(deps): use fixed package versions

* chore(webpack): remove commented code

Co-authored-by: Broch Stilley <brochington@gmail.com>
2021-02-23 00:08:14 +01:00
Lipis b1bcf4aa12 Create dependabot.yml 2021-02-22 17:52:54 +02:00
Lipis d77618a6a2 Initial commit 2021-02-19 01:39:32 +02:00