Commit Graph

198 Commits

Author SHA1 Message Date
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
Jukka Kurkela
910158055f
Drop legacy browser support (#8009)
* Drop legacy browser support

* Docs

* Use rollup-plugin-istanbul for coverage

* exclude node_modules from coverage

* No cleanup() when doing coverage
2020-11-16 21:01:33 +02:00
Jukka Kurkela
b546798897
Change version to 3.0.0-mater and update deps (#7997) 2020-11-03 16:21:10 -05:00
Jukka Kurkela
93fabd1f26
Switch from bundlewatch to compressed-size (#7943)
Switch from bundlewatch to compressed-size
2020-10-22 10:45:17 -04:00
Jukka Kurkela
fc5bbd7a0b
Add bundlewatch (#7940)
* Add bundlewatch
2020-10-21 20:14:52 +03:00
Jukka Kurkela
88d8ab255f
Update dependencies (#7915) 2020-10-18 12:46:55 -04:00
Evert Timberg
2983e489cd
The docs build to the dist folder but should not be packaged (#7832) 2020-10-01 08:50:01 -04:00
Evert Timberg
5c0d13981c
Include dist/chunks in the NPM package (#7830)
* Include all files in the dist folder
* Bump version for beta3
* Update lockfile
2020-10-01 08:34:37 -04:00
Jukka Kurkela
948b88d301
Bump version to 3.0.0-beta.2 (#7822) 2020-09-30 08:17:42 -04:00