Matthew Ailes
d45f96fc83
fix: updating peerDependency fields for yarn berry ( #6498 )
2022-01-29 10:29:03 +08:00
Sébastien Lorber
d6cff8c754
chore(v2): prepare v2.0.0-beta.15 release ( #6473 )
2022-01-26 19:28:16 +01:00
Joshua Chen
4fad1ce0cd
misc: convert all internal scripts to ESM ( #6286 )
...
* misc: convert all internal scripts to ESM
* fixes
* fix
* fixes
* fix!
* complete eslint
* more move
* fix!
* This looks better?
* Final ones
2022-01-08 12:59:28 +08:00
Joshua Chen
8fe1ddf46a
feat(sitemap): remove trailingSlash option; respect noIndex config ( #6248 )
2022-01-05 17:56:17 +01:00
Joshua Chen
cb1aa30286
refactor: enforce type import specifiers ( #6230 )
...
* refactor: enforce type import specifiers
* fix
* Upgrade esbuild
* Fix (haha)
2021-12-31 21:17:09 +08:00
Sébastien Lorber
01b407011a
chore(v2): prepare v2.0.0-beta.14 release ( #6147 )
2021-12-21 17:15:04 +01:00
Joshua Chen
77c93cbda6
misc: ignore some files during npm publish ( #6092 )
2021-12-17 11:38:26 +01:00
Sébastien Lorber
ae9a12ff50
chore(v2): prepare v2.0.0-beta.13 release ( #6084 )
2021-12-10 16:56:00 +01:00
Sébastien Lorber
991c1b2832
chore(v2): prepare v2.0.0-beta.11 release ( #6081 )
2021-12-10 14:13:25 +01:00
Pranab Das
fbf04ed556
fix: move docusaurus core back to hard dependencies ( #6078 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-10 11:05:21 +01:00
Sébastien Lorber
43ac7d5da9
chore(v2): prepare v2.0.0-beta.10 release ( #6076 )
2021-12-09 13:32:23 +01:00
Joshua Chen
e07ebadf6c
fix: make Docusaurus PnP strict mode compatible ( #6047 )
...
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2021-12-08 14:26:24 +01:00
Joshua Chen
fb6393fdce
chore: clean up dev dependency declarations ( #6055 )
...
* chore: clean up dev dependency declarations
* Fix prettier version
2021-12-05 23:07:34 +08:00
Joshua Chen
0374426ce3
chore: upgrade TypeScript & other ESLint related deps ( #5963 )
...
* chore: upgrade ESLint related deps
* Upgrade TS
* Fix lock
* Bump Babel
* Update config
2021-11-18 21:15:37 +08:00
Alexey Pyltsyn
91ec2509b7
chore: prepare v2.0.0-beta.9 release ( #5859 )
...
* chore: prepare v2.0.0-beta.9 release
* v2.0.0-beta.9
2021-11-02 20:40:01 +03:00
Sébastien Lorber
1ce6253cc1
chore: require Node 14 ( #5812 )
2021-10-28 17:11:25 +02:00
Sébastien Lorber
68a116611f
chore: prepare v2.0.0-beta.8 release ( #5762 )
2021-10-21 18:52:17 +02:00
Alexey Pyltsyn
877373e108
chore: prepare v2.0.0-beta.7 release ( #5713 )
...
* chore: prepare v2.0.0-beta.7 release
* v2.0.0-beta.7
2021-10-15 16:31:01 +03:00
Bharat Middha
09550b0535
feat: properly type-check the Docusaurus config of new sites ( #5589 )
...
* fix: makes types DocusaurusConfig optional to match docs
* add UserDocusaurusConfig with required keys for user config
* convert UserDocusaurusConfig to use util type
* Docusaurus website config should be type-checked by CI + fix all existing issues
* add doc for config typechecking
* Update template configs for TS autocompletion
* fix last config typechecking bugs
* reapply prettier
* reapply prettier-docs
* Fix TS doc: add missing ()
* fix some docu plugin types
* add "const config" for simpler jsdoc annotation
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-09-30 17:49:44 +02:00
Joshua Chen
3f1f8255a2
chore: upgrade Prettier + regenerate lock file ( #5611 )
...
* Bump deps
* Run prettier
* Format docs
* Minor refactor
* Collapse objects
* Fix type
* Update lock file
2021-09-30 12:54:17 +02:00
Alexey Pyltsyn
b62a12bfc6
chore: upgrade dependencies ( #5608 )
...
* chore: upgrade dependencies
* Revert github-slugger
* Fixes
* Update snapshots
* Update Babel deps
2021-09-24 16:36:41 +02:00
Joshua Chen
2ef70cb806
refactor(preset-classic): migrate preset-classic to TypeScript ( #5579 )
2021-09-22 11:09:52 +02:00
Sébastien Lorber
2611bbb501
chore(v2): prepare v2.0.0-beta.6 release ( #5473 )
...
* add beta.6
* v2.0.0-beta.6
2021-09-02 18:31:42 +02:00
Sébastien Lorber
553f914639
feat: TypeScript presets/plugins should expose Options typing ( #5456 )
...
* each TS plugin should export option types + preset export option / themeConfig types + remove TS typechecking for the bootstrap theme
* each TS plugin should export option types + preset export option / themeConfig types + remove TS typechecking for the bootstrap theme
* fix remaining TS errors
* fix remaining TS errors
* TS fix
* Add JSDoc type annotations to init templates and TS docs
* missing title char
2021-09-01 12:14:40 +02:00
Sébastien Lorber
f600d5a6d7
chore: prepare v2.0.0-beta.5 release ( #5427 )
...
* beta.5
* v2.0.0-beta.5
2021-08-26 17:33:31 +02:00
Sébastien Lorber
fc64c12e41
chore(v2): prepare v2.0.0-beta.4 release ( #5238 )
...
* chore(v2): prepare v2.0.0-beta.4 release
* update publish
* v2.0.0-beta.4
2021-07-28 22:54:41 +02:00
Sébastien Lorber
1ec2c95e3d
chore(v2): prepare v2.0.0-beta.3 release ( #5098 )
...
* beta.3
* publish guide
* publish guide
* v2.0.0-beta.3
2021-06-30 16:05:49 +02:00
Sébastien Lorber
7592982960
fix(v2): never remove trailing slash from site root like '/baseUrl/' ( #5082 )
...
* never apply trailingSlash to site root ('/baseUrl/') => only subroutes
* add deprecation comment for loadContext.baseUrl in favor of loadContext.siteConfig.baseUrl
* commit typo
* useless code
2021-06-29 15:17:23 +02:00
Taylor Reece
41b78466da
fix(v2): sitemap should respect the global trailingSlash config option. ( #5068 )
...
* Sitemap should respect the global trailingSlash config option.
* improve tests for createSitemap / trailingSlash
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-06-29 11:15:00 +02:00
Sébastien Lorber
ec2486d2c9
chore(v2): prepare v2.0.0-beta.2 release ( #5056 )
...
* prepare beta.2
* v2.0.0-beta.2
2021-06-24 19:39:37 +02:00
Sébastien Lorber
8d8e5b67e8
chore(v2): prepare v2.0.0-beta.1 release ( #5004 )
...
* beta.1
* v2.0.0-beta.1
2021-06-18 16:54:46 +02:00
Alexey Pyltsyn
41d9288e3d
refactor(v2): cleanup console output ( #4979 )
...
* refactor(v2): cleanup console output
* fix jest issue
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-06-16 11:37:28 +02:00
Sébastien Lorber
aeb8e9da51
fix(v2): sitemap plugin should handle siteConfig.trailingSlash automatically ( #4950 )
...
* create new @docusaurus/utils-common and move applyTrailingSlash there
* sitemap plugin should handle siteConfig.trailingSlash automatically
* typo
2021-06-14 20:04:39 +02:00
Alexey Pyltsyn
6392f88bb6
chore(v2): upgrade dependencies ( #4816 )
2021-05-19 10:11:53 +02:00
Sébastien Lorber
7e4d7671c8
chore(v2): prepare v2.0.0-beta.0 release ( #4774 )
...
* beta.0 version docs + changelog
* fix config for beta switch
* v2.0.0-beta.0
2021-05-12 16:07:15 +02:00
Sébastien Lorber
0ef0d27c51
chore(v2): prepare v2.0.0.alpha-75 release ( #4707 )
...
* alpha 75
* v2.0.0-alpha.75
2021-04-30 18:41:55 +02:00
Sébastien Lorber
6f29a1826a
chore(v2): prepare v2.0.0.alpha-74 release ( #4690 )
...
* alpha 74
* v2.0.0-alpha.74
2021-04-27 16:38:56 +02:00
Sébastien Lorber
4d49945775
chore(v2): prepare v2.0.0.alpha-73 release ( #4628 )
...
* add changelog
* add alpha 73
* run prettier on versions file (+ ignore it as we don't care much and it's annoying when releasing)
* v2.0.0-alpha.73
2021-04-16 12:48:10 +02:00
Sébastien Lorber
78349480af
chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups ( #4490 )
...
* prepare v1-v2 domain switch
* rename v1 changelog as CHANGELOG-1.x.md
* switch v1/v2 changelogs
* Cleanup v2.docusaurus.io urls
* add netlify domain redirect
* remove circleci config
* remove another circle file
2021-03-22 20:57:49 +01:00
Sébastien Lorber
60d189a91c
fix(v2): Export Joi from validation-utils package ( #4459 )
2021-03-18 19:27:51 +01:00
Reece Dunham
76c0b11632
refactor(v2): TS config update: reduce the size of npm modules ( #4375 )
...
* feat(v2): Reduce the size of the npm modules
Signed-off-by: Reece Dunham <me@rdil.rocks>
* Fix conflicts
* Update search.js
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-17 16:25:42 +01:00
Alexey Pyltsyn
f8fda885fc
chore(v2): prepare v2.0.0.alpha-72 release ( #4440 )
...
* chore(v2): prepare v2.0.0.alpha-72 release
* v2.0.0-alpha.72
2021-03-16 14:30:54 +03:00
Armano
abae86f283
refactor(v2): use correct plugin types ( #4418 )
2021-03-15 19:08:44 +01:00
Sébastien Lorber
986de6b214
chore(v2): prepare v2.0.0.alpha-71 release ( #4376 )
...
* prepare release
* v2.0.0-alpha.71
2021-03-09 18:45:05 +01:00
Alexey Pyltsyn
f13448d5e1
chore(v2): upgrade dependencies + require Node 12 ( #4223 )
...
* chore(v2): upgrade dependencies
* Set minimum Node.js version to 12.13
* Fix test
* Upgrade copy-text-to-clipboard
* Bump Node versions
* Update .nvmrc
* mark cacheTime as forbidded field
* Downgrade jest to v25.2.7
* Increase Node version for Windows CI
* Test fix
* Attempt to fix Windows CI
* Downgrade execa
* fix async test errors
* Upgrade execa
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-18 15:12:42 +01:00
Alexey Pyltsyn
175d9c3c8e
feat(v2): support/use React v17 by default ( #4218 )
...
* chore(v2): allow React v17 as peer dependency
* minor React 17 changes
* Revert examples
* Possible fix
* Use @docusaurus/react-loadable fork
* add back react-loadable to please eslint/ts/linters, even if it's unused in practice
* missing dependency bump
* move enzyme dependencies to docusaurus v1
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-12 17:04:45 +01:00
Alexey Pyltsyn
d22039c200
chore(v2): upgrade dependencies ( #4148 )
...
* chore(v2): upgrade dependencies
* Update docs
* Revert `execa`
* Revert sitemap
2021-02-02 14:37:45 +01:00
Reece Dunham
0252d01ebb
docs(v2): Add READMEs to v2 packages ( #4034 )
...
* docs(v2): Add READMEs to v2 packages
Signed-off-by: Reece Dunham <me@rdil.rocks>
* Update packages/docusaurus-remark-plugin-npm2yarn/package.json
* Update packages/docusaurus/README.md
* Update packages/docusaurus-plugin-sitemap/README.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-01-14 17:16:26 +01:00
Sébastien Lorber
c4cbe8ec72
chore(v2): prettier fixes ( #4005 )
2021-01-06 17:07:34 +01:00
Nathan Bosscher
8a9dfcf96c
fix(v2): Fix double trailingSlash in sitemap.xml ( #4004 )
...
When `trailingSlash` option is enabled, routes that already end in a `/` are shown with double slash at the end.
2021-01-06 15:44:22 +01:00