Commit Graph

226 Commits

Author SHA1 Message Date
Sébastien Lorber 7da2c45be5 fix(create-docusaurus): init template README should use npm commands by default (#12138) 2026-06-12 10:54:08 +02:00
Sébastien Lorber 96b32dd2e5 refactor(monorepo): migrate to pnpm 11 (#12109) 2026-06-04 19:29:20 +02:00
Sébastien Lorber b43766d86e refactor(create-docusaurus): simplify/refactor/split create-docusaurus internal logic (#12050) 2026-05-21 17:31:27 +02:00
Paul O’Shannessy 0e9fe01983 Use cross-spawn types instead of raw types from Node (#12029)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2026-05-21 16:39:22 +02:00
Sébastien Lorber 057ab88fe0 refactor(test): use explicit Vitest imports, disable globals (#12019) 2026-05-15 10:01:02 +02:00
Yangshun Tay 190ef6fa5d chore: migrate from Prettier to oxfmt for code formatting (#11824)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2026-05-07 13:50:57 +02:00
Sébastien Lorber 3f10bdc930 chore: bump package.json versions, mostly for canary release versioning (#11980)
* v4.0.0

* bump package.json versions, mostly for canary release versioning

* use triple installs for supply chain workflow

* Revert "v4.0.0"

This reverts commit 8303548033.

* v3.10.1

* revert versioning docs
2026-04-30 17:09:55 +02:00
Sébastien Lorber 49e10d2cae chore: update various dependencies (#11975) 2026-04-30 10:12:47 +02:00
Sébastien Lorber 8a13a84408 chore: add syncpack to monorepo, align dependency semver ranges, add to CI/lints (#11926) 2026-04-10 17:07:08 +02:00
Sébastien Lorber 54b8b4df9c break: require TypeScript >= 6.0 (#11915) 2026-04-07 19:14:27 +02:00
Sébastien Lorber 3bfefa2117 break: update all packages to Node 24.14 update node engine in packages (#11914) 2026-04-07 18:39:36 +02:00
Sébastien Lorber 00a8162834 feat(create-docusaurus): update init template to .mdx extension and strict MDX syntax (#11897) 2026-04-03 18:07:38 +02:00
Sébastien Lorber 4a0273fab2 fix(create-docusaurus): fix support for TypeScript 6.0 + fix our CI (#11843) 2026-03-26 15:34:39 +01:00
Sébastien Lorber 1451780784 chore(ci): fixes for the npm trusted publishing workflow (#11823) 2026-03-20 12:27:43 +01:00
Sébastien Lorber 5dff744ac6 chore(ci): add Trusted Publishing release workflow through dispatch action (#11819)
* add base publish workflow

* add publish workflow

* remove useless workflow job

* minor fixes

* add -yes + useful todo

* fix cmd

* chore: upgrade lerna

* v3.9.2-alpha.0

* Revert "chore: upgrade lerna"

This reverts commit d198b49194.

* do not commit the lerna upgrade

* v3.9.2-alpha.1

---------

Co-authored-by: Docusaurus <github@docusaurus.io>
2026-03-20 11:13:49 +01:00
Sébastien Lorber 29c3b5ce11 feat(core): Docusaurus Faster is stable + v4 future flag turns it on by default (#11802)
* feat(core): promote `future.experimental_faster` to `future.faster` + add `future.v4.fasterByDefault` flag

Stabilize the Docusaurus Faster config by removing the `experimental_` prefix.
Add a `fasterByDefault` v4 future flag that enables all faster features by default
when `v4: true` is used, allowing granular overrides. Init templates now include
`@docusaurus/faster` as a dependency since they use `v4: true`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor: apply lint autofix

* fix(docs): remove broken #faster anchor link in fasterByDefault docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(ci): add Yarn PnP packageExtension for @docusaurus/bundler → @docusaurus/faster

Yarn PnP strict mode doesn't resolve optional dependencies automatically.
Add a packageExtension so @docusaurus/bundler can resolve @docusaurus/faster
in the e2e Yarn Berry tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(core): declare @docusaurus/faster as optional peer dep instead of CI packageExtension

Revert the packageExtensions workaround in the e2e CI workflow and instead
declare @docusaurus/faster as an optional peer dependency of @docusaurus/core,
matching the existing pattern in @docusaurus/bundler.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* chore: retrigger CI

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* empty

* add randomness to e2e test script version, to avoid using cached versions when trying to run this locally

* Rspack + PnP doesn't work, so add a warning in this case + fallback to Webpack
This should fix the e2e pnp workflows

* refactor: apply lint autofix

* typo

* typo

* revert wrong change

* also use slower minimizers

* comment

* restore snapshots

* ensure faster key resolution is always exhaustive, no hardcoding of keys

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2026-03-13 17:17:28 +01:00
Sébastien Lorber db677a3cf0 feat(create-docusaurus): Newly initialized TS sites should use "strict: true" (#11696)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2026-01-29 18:09:28 +01:00
Sébastien Lorber df259ddb26 refactor(create-docusaurus): remove useless dependencies (docusaurus-utils, execa, fs-extra) + simplify some code (#11684)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2026-01-23 12:12:06 +01:00
Ivan Torres dc0da34bcf refactor(create-docusaurus): replace lodash with native implementation (#11653)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2026-01-22 17:54:07 +01:00
Matthew Cheung 47a98a1d6e feat(create-docusaurus): enable creation in current directory (#11611) 2025-12-22 16:54:03 +01:00
Sébastien Lorber acc66c14b0 feat(core): New siteConfig future.experimental_vcs API + future.experimental_faster.gitEagerVcs flag (#11512)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-11-14 18:15:45 +01:00
Sébastien Lorber bca9ce746f chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
Sébastien Lorber c3e5db1dc3 chore: release v3.9.1 (#11436) 2025-09-26 15:31:09 +02:00
Sébastien Lorber c24d7dc86a chore: release v3.9 (#11419)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-09-25 17:56:37 +02:00
Sébastien Lorber 1c484e1d59 chore: drop support for Node 18, that reached End-of-Life (#11408) 2025-09-12 18:48:12 +02:00
Sébastien Lorber b0df38d317 feat(create-docusaurus): use respectPrefersColorScheme in init template (#11293) 2025-06-26 15:36:46 +02:00
Sébastien Lorber 96c38d5fdd feat(core): Add siteConfig.markdown.hooks, deprecate siteConfig.onBrokenMarkdownLinks (#11283) 2025-06-24 15:51:33 +02:00
Sébastien Lorber f811e2dbf4 chore: release 3.8.1 (#11249) 2025-06-06 17:45:58 +02:00
Sébastien Lorber b126e643d1 chore: release Docusaurus 3.8 (#11200)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-05-27 12:21:15 +02:00
Arien Shibani 53fa0ecb1f fix(create-docusaurus): Improve init template README, fix headings and remove $ in bash code blocks (#11157) 2025-05-08 18:10:21 +02:00
Sébastien Lorber dec3bcbbd7 fix(create-docusaurus): fix CLI and remove shelljs escapeShellArg util (#10958) 2025-02-28 20:09:59 +01:00
ozaki 7f4a37949e refactor: replace unmaintained shelljs dependency by execa (#10358)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2025-02-28 14:31:01 +01:00
マルコメ 9d7ceec189 docs: add missing code block language to README.md (#10952) 2025-02-26 10:15:03 +01:00
Yangshun Tay c10a18d51d misc(blog): Update Yangshun bio (#10942) 2025-02-21 12:16:03 +01:00
Sébastien Lorber 5dc472759f refactor(create-docusaurus): add future.v4 flag to init templates (#10871) 2025-01-27 16:05:12 +01:00
Sébastien Lorber 71d682c53b chore: release Docusaurus 3.7.0 (#10812) 2025-01-03 18:11:21 +01:00
Sébastien Lorber 0f29a37b3a feat: Add React 19 support to Docusaurus v3 (#10763) 2024-12-24 14:43:03 +01:00
Sébastien Lorber f9825af43e refactor: prepare types for React 19 (#10746) 2024-12-06 18:03:04 +01:00
Sébastien Lorber fd43036ab8 chore: release Docusaurus 3.6.3 (#10713) 2024-11-22 17:13:56 +01:00
Sébastien Lorber 90e85e83a5 chore: release Docusaurus 3.6.2 (#10698) 2024-11-19 19:07:06 +01:00
Sébastien Lorber 2b8ddb9260 fix(create-docusaurus): add ts exclude to TS init template (#10676) 2024-11-14 12:29:27 +01:00
Sébastien Lorber f1272788a4 chore: release Docusaurus 3.6.1 (#10659) 2024-11-08 18:47:43 +01:00
Sébastien Lorber ed2cdf391f chore: release Docusaurus v3.6 (#10633) 2024-11-04 12:03:54 +01:00
Sébastien Lorber 35aa39bddb docs: mention config/sidebars run in Node.js runtime (#10608) 2024-10-23 20:01:07 +02:00
Sébastien Lorber a5fd530ffc fix: remove babel.config.js from init templates + website (#10514) 2024-09-22 13:59:33 +02:00
Sébastien Lorber 9ecff801ff refactor: create @docusaurus/bundler and @docusaurus/babel packages (#10511) 2024-09-21 16:35:49 +02:00
Sébastien Lorber 95e2d469e3 chore: Rename Twitter links/labels to X (#10509) 2024-09-19 11:30:57 +02:00
Sébastien Lorber 1a70734c11 chore: upgrade to TS 5.6 + temporarily use skipLibCheck for TS 5.6 (#10486) 2024-09-10 13:52:31 +02:00
Sébastien Lorber 897ebbe3ca refactor: move PerfLogger from core to @docusaurus/logger (#10480) 2024-09-06 10:58:53 +02:00
Sébastien Lorber 655ce94c0f chore: release 3.5.2 (#10400) 2024-08-13 14:47:19 +02:00