Commit Graph

206 Commits

Author SHA1 Message Date
Jukka Kurkela
b10bf3f8c3
Bump version to 3.0.2 2021-04-04 14:56:59 +03:00
Jukka Kurkela
98e890cc7b
Patch: option scope might not be an object (#8789) 2021-04-02 16:13:36 -04:00
Evert Timberg
8780e15c73
v3.0.0 version bump (#8781)
* v3.0.0 version bump
* Update urls for next -> latest
* Remove TS urls
2021-04-02 14:56:54 -04:00
Evert Timberg
678974654b
Vuepress HTML redirect for samples folder (#8785)
* HTML redirect using vuepress plugin

* Add other needed redirects

Co-authored-by: Evert Timberg <--global>
2021-04-02 20:33:56 +03:00
Jukka Kurkela
48f2039ac1
Add vuepress-plugin-flexsearch (#8784) 2021-04-02 11:18:53 -04:00
Evert Timberg
eef5c1ebf3
Bump to v3.0.0-rc.7 (#8779) 2021-04-02 09:32:59 -04:00
Evert Timberg
d4cb431b84
Remove old sample files (#8777)
* Remove old sample files

* Code review feedback

* Add sample redirect
2021-04-02 09:10:03 -04:00
Evert Timberg
66ee0fecaf
Vuepress samples (#8756)
* Generate API docs with vuepress-plugin-typedoc

* Links, fixes, cleanup

* Convert bar samples to Vuepress

* Some line chart samples moved over

* Fix lint issues

* Derived axis type sample

* LineAreaStacked chart created in vuepress

* added radar area axample

* Line dataset added sample

* final area example added

* Add derived-chart-type

* Bar scriptable sample

* Scriptable samples

* Clean lint errors

* added linear axis samples to vuepress

* change tab to spaces to fix lint error

* Convert the rest of the scale samples

* Scale option samples

* Fix typo

* Fixes

* Legend samples

* Title samples

* Change the title of the tip block to Note (#8758)

* Convert bar samples to Vuepress

* Some line chart samples moved over

* Fix lint issues

* Derived axis type sample

* LineAreaStacked chart created in vuepress

* added radar area axample

* Line dataset added sample

* final area example added

* Add derived-chart-type

* Bar scriptable sample

* Scriptable samples

* Clean lint errors

* added linear axis samples to vuepress

* change tab to spaces to fix lint error

* Convert the rest of the scale samples

* Scale option samples

* Fix typo

* Fixes

* Legend samples

* Advanced samples

* Remove extra section

* Animation samples

* Hide legend from progressive line

* Add a comment on what `from` does

* Tooltip samples

* Ädd other charts to vuepress samples

* enable plugin again since all samples have been converted

* fix skip radar example, middle skip was not calculated correctly

* lint error

* Progressive-line: add 2nd line

* Fix lint errors

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
2021-04-02 08:04:39 -04:00
Jukka Kurkela
93e07ebb48
Generate API docs with vuepress-plugin-typedoc (#8755)
* Generate API docs with vuepress-plugin-typedoc

* Links, fixes, cleanup
2021-03-30 16:19:59 -04:00
Evert Timberg
ed2b96eeaf
Switch docs to Vuepress to match other chart.js repositories (#8751)
* Initial work

* Update doc commands

* Updated sidebar config

* Move docs

* Update theme version and enable

* Convert to chart.js sample

* Update scripts to point to local build

* Chart.js from local build

* Simplify getting-started example

* Axis docs updated except for imported content

* Common ticks import works

* Chart type docs ported to editor plugin

* Last pages to use editor

* Fix small errors

* Frontmatter title to heading

* Remove duplicate example

* Update sidebar

* Add paths

* Remove paths

* Add getting-started back

* Update menus and add copyright to license section of the docs

* Add GA plugin

* Style sub-groups

* Remove unneeded license page since it is covered on the main page

* Remove docusaurus readme page

* Remove docusaurus files

* Fix issues in docs

* Build and deploy scripts for docs work

* Conditional base URL for nice local testing

* Use eslint-plugin-markdown

* Remove hard coded lines

* Remove mentions of docusaurus

Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
2021-03-30 10:32:39 -04:00
Jukka Kurkela
c76ee82461
Bump version to 3.0.0-rc.6 (#8742) 2021-03-27 17:32:59 -04:00
Evert Timberg
04d67aaf8c
Point to correct type file & bump (#8724) 2021-03-25 18:03:05 -04:00
Jukka Kurkela
658749f707
Bump version to 3.0.0-rc.4 (#8721) 2021-03-25 17:34:31 -04:00
Josh Kelley
3671c01c26
Distribute types as is (#8720)
I had initially seen some oddities around type augmentation for type definitions in subdirectories of `types`, and using Rollup seemed to help with that. However, now that all of Chart.js's main types are directly under `types`, there seems to be no need for this.

This simplifies the build process, since it no longer needs to use rollup-plugin-dts.

It also improves some third-party tools. For example, I'm in the habit of using WebStorm's "Go To Declaration or Usages" hotkey with third-party TypeScript definitions as a quick way of getting more information about an API. With the Rollup-generate types, that works poorly; WebStorm goes to the imported-and-re-exported symbol within the barely-readable machine-generated dist/chart.esm.d.ts file, and I have to navigate two more hops to find the actual definitions.
2021-03-25 15:08:00 -04:00
Jukka Kurkela
4cd26fad6a
Bump version to rc.3 (#8706) 2021-03-23 16:08:14 -04:00
Jukka Kurkela
1460477989
Add rollup-plugin-analyzer (#8690) 2021-03-21 17:07:09 -04:00
Evert Timberg
57301bbc4a
Bump to v3.0.0-rc.2 (#8687) 2021-03-21 11:15:41 -04:00
Jukka Kurkela
0b4eef54dd
Bumpo version to 3.0.0-rc (#8670) 2021-03-18 17:28:49 -04:00
Jukka Kurkela
b6bb24813a
Bump version to v3.0.0-beta.14 (#8653) 2021-03-16 17:01:28 -04:00
Jukka Kurkela
34a9991270
Update deps (#8654) 2021-03-16 17:01:13 -04:00
Jukka Kurkela
a6b3b99675
Fix tooltip positioning issues (#8646)
* Fix tooltip positioning issues

* Update fixture, add npm run dev:ff

* Refactor determineXAlign

* Simplify more

* remove unneeded change
2021-03-16 08:06:05 -04:00
Jukka Kurkela
49b902aeab
Remove rollup-plugin-size (vulnerability) (#8624) 2021-03-13 08:03:45 -05:00
Jukka Kurkela
7c8ee6e77f
Add rollup-plugin-size and shave couple of bytes (#8618)
* Add rollup-plugin-size

* Shave couple of bytes
2021-03-11 16:20:54 -05:00
Evert Timberg
1e6a3fb8e6
Bump to 3.0.0-beta.13 (#8580) 2021-03-06 10:44:15 -05:00
Jukka Kurkela
3e551d5f27
Use karma-spec-reporter and suppress passed (#8564) 2021-03-04 08:24:52 -05:00
Ben McCann
e2a50b957e
Remove empty dependencies block from package.json (#8550) 2021-03-01 15:06:28 -05:00
Jukka Kurkela
9043325a6e
Provide auto-registering entry point (#8429) 2021-02-28 09:02:44 +02:00
Jukka Kurkela
f23807f743
Bump version to beta.12 (#8532) 2021-02-27 13:30:26 -05:00
Jukka Kurkela
e55a12ce87
Add linting of type tests (.ts) + fix errors (#8505) 2021-02-23 11:41:00 -05:00
Jukka Kurkela
311292da7e
Add linting of .mdx files + fix errors (#8496) 2021-02-22 08:53:13 -05:00
Jukka Kurkela
6aa88401ba
Update chartjs-test-utils to v0.2.2 (#8479) 2021-02-21 12:53:06 -05:00
Jukka Kurkela
24fb77b72f
Quote globs for equal operation in windows/linux (#8481) 2021-02-21 12:47:12 -05:00
Jukka Kurkela
def8d25d4b
Fix animation types, add test (#8476) 2021-02-21 09:15:26 -05:00
Jukka Kurkela
b87c12e7d6
Update dependencies (#8474) 2021-02-21 09:14:17 -05:00
Jukka Kurkela
d63542cd70
Bump version to 3.0.0-beta.11 (#8441)
Co-authored-by: Evert Timberg <evert.timberg+github@gmail.com>
2021-02-20 10:03:55 -05:00
Jukka Kurkela
ba99c4185c
Add markdown linting, fix errors (#8449) 2021-02-18 08:17:39 -05:00
Evert Timberg
c4bc737080
Update typedoc to fix dependabot alert (#8432) 2021-02-15 22:06:21 +02:00
Jukka Kurkela
a8329e4f13
Update chartjs-test-utils to v0.2.1 (#8407)
* Update chartjs-test-utils to v0.2.0

* to 0.2.1
2021-02-10 16:17:08 +02:00
Jukka Kurkela
ddfbcf777a
Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
Evert Timberg
df4cabddf1
Bump version number for beta.10 (#8364) 2021-02-01 23:31:22 +02:00
Evert Timberg
06fa8a4c98
Update to test utils 0.1.2 to track font setting (#8325) 2021-01-18 07:40:18 -05:00
Evert Timberg
eb88909e95
Bump v3.0.0-beta.9 (#8320)
Co-authored-by: Evert Timberg <ever.timberg+github@gmail.com>
2021-01-16 14:15:20 -05:00
Jukka Kurkela
ad941813b6
Bump version to beta.8 (#8300) 2021-01-13 07:48:26 -05:00
Jukka Kurkela
81a1e9a95e
Add type linting (#8264) 2021-01-05 07:23:30 +02:00
Ben McCann
fe2fd2ccf8
Upgrade TypeDoc (#8267) 2021-01-03 10:23:29 -05:00
Jukka Kurkela
af06586590
Migrate to chartjs-test-utils (#8237) 2020-12-27 14:29:42 -05:00
Jukka Kurkela
2dcd37f85c
Update dependencies (#8203) 2020-12-19 12:49:06 -05:00
Jukka Kurkela
68edcccb5e
Revert "New release workflow (#8127)" and fixes (#8131)
* Revert "New release workflow (#8127)" and fixes

* Bump version to 3.0.0-beta.7
2020-12-04 21:37:46 +02:00
Jukka Kurkela
a98c34b858
New release workflow (#8127)
* New release workflow
* Set current version
* Use org secret
2020-12-04 12:18:31 -05:00
Jukka Kurkela
99aa1a4215
Switch to eslint-plugin-es (#8075)
* Switch to eslint-plugin-es

* Restore eslint-config-chartjs

* Sort
2020-11-19 21:23:24 +02:00