Commit graph

7 commits

Author SHA1 Message Date
Joshua Chen
a2c993bf9a
fix(*): make TypeScript realize that each plugin package has a default export (#7294) 2022-05-03 18:23:34 +08:00
Joshua Chen
6e2eb44964
refactor: unify how validateOptions is handled (#6961)
* refactor: unify how validateOptions is handled

* fix types

* fix again
2022-03-22 19:40:56 +08:00
Joshua Chen
68aaf9201f
feat(core): allow plugin lifecycles to return relative paths (#6921)
* feat(core): resolve plugin lifecycles returning relative paths

* fix typo

* fix tests

* revert

* rename path -> entryPath
2022-03-16 20:47:15 +08:00
Joshua Chen
37a84f86a5
fix(preset-classic): throw if preset finds GA options in theme config (#6284)
* fix(preset-classic): throw if preset finds GA options in theme config

* revert

* stricter
2022-01-07 12:50:45 +08:00
Armano
3bf59a65a9
refactor(types): correct HtmlTags types (#5959) 2021-11-17 07:10:44 +08:00
Joshua Chen
ac88d979f1
refactor(ganalytics, gtag): move options out of themeConfig (#5832)
* refactor(ganalytics, gtag): move options out of themeConfig

* Forbid themeConfig options

* Add PR link

* Add key names to error message

* Fix?

* Doc updates

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-11-10 19:04:43 +08:00
Joshua Chen
19b27ef73b
refactor(plugin-google-gtag, plugin-google-analytics): migrate packages to TS (#5561)
* migration

* Move to devDeps

* Use type assertion
2021-09-22 11:36:04 +02:00
Renamed from packages/docusaurus-plugin-google-analytics/src/index.js (Browse further)