Commit Graph

1070 Commits

Author SHA1 Message Date
Sébastien Lorber d5885c0c5d
refactor(mdx-loader): refactor mdx-loader, expose loader creation utils (#10450)
Some checks failed
Argos CI / take-screenshots (push) Has been cancelled
Build Hash Router / Build Hash Router (push) Has been cancelled
Canary Release / Publish Canary (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Continuous Releases / Continuous Releases (push) Has been cancelled
E2E Tests / E2E — Yarn v1 (18.0) (push) Has been cancelled
E2E Tests / E2E — Yarn v1 (20) (push) Has been cancelled
E2E Tests / E2E — Yarn v1 (22) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (node-modules, -s) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (node-modules, -st) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (pnp, -s) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (pnp, -st) (push) Has been cancelled
E2E Tests / E2E — npm (push) Has been cancelled
E2E Tests / E2E — pnpm (push) Has been cancelled
2024-08-27 13:52:45 +02:00
Sébastien Lorber 08da5c23fc
refactor(core): Restore null-loader (#10448)
Some checks are pending
Argos CI / take-screenshots (push) Waiting to run
Build Hash Router / Build Hash Router (push) Waiting to run
Canary Release / Publish Canary (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
Continuous Releases / Continuous Releases (push) Waiting to run
E2E Tests / E2E — Yarn v1 (18.0) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (20) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (22) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (node-modules, -s) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (node-modules, -st) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (pnp, -s) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (pnp, -st) (push) Waiting to run
E2E Tests / E2E — npm (push) Waiting to run
E2E Tests / E2E — pnpm (push) Waiting to run
2024-08-26 16:09:05 +02:00
Sébastien Lorber 1b906a5726
fix(core): use serve-handler fork to remove annoying punycode warning (#10442)
Some checks failed
Argos CI / take-screenshots (push) Waiting to run
Build Hash Router / Build Hash Router (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
Continuous Releases / Continuous Releases (push) Waiting to run
E2E Tests / E2E — Yarn v1 (18.0) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (20) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (22) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (node-modules, -s) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (node-modules, -st) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (pnp, -s) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (pnp, -st) (push) Waiting to run
E2E Tests / E2E — npm (push) Waiting to run
E2E Tests / E2E — pnpm (push) Waiting to run
Canary Release / Publish Canary (push) Has been cancelled
2024-08-24 00:32:39 +02:00
Sébastien Lorber bb90e35153
feat(core): faster JS minimizer - `siteConfig.future.experimental_faster.swcJsMinimizer` (#10441)
Some checks are pending
Argos CI / take-screenshots (push) Waiting to run
Build Hash Router / Build Hash Router (push) Waiting to run
Canary Release / Publish Canary (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
Continuous Releases / Continuous Releases (push) Waiting to run
E2E Tests / E2E — Yarn v1 (18.0) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (20) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (22) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (node-modules, -s) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (node-modules, -st) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (pnp, -s) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (pnp, -st) (push) Waiting to run
E2E Tests / E2E — npm (push) Waiting to run
E2E Tests / E2E — pnpm (push) Waiting to run
2024-08-23 18:44:42 +02:00
Sébastien Lorber 418247ec87
feat(core): faster transpiler option - `siteConfig.future.experimental_faster.swcJsLoader` (#10435) 2024-08-23 13:48:52 +02:00
Sébastien Lorber 2b28b06f67
fix(core): always use hash for CSS module class names (#10423)
Some checks failed
Argos CI / take-screenshots (push) Has been cancelled
Build Hash Router / Build Hash Router (push) Has been cancelled
Canary Release / Publish Canary (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Continuous Releases / Continuous Releases (push) Has been cancelled
E2E Tests / E2E — Yarn v1 (18.0) (push) Has been cancelled
E2E Tests / E2E — Yarn v1 (20) (push) Has been cancelled
E2E Tests / E2E — Yarn v1 (22.4) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (node-modules, -s) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (node-modules, -st) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (pnp, -s) (push) Has been cancelled
E2E Tests / E2E — Yarn Berry (pnp, -st) (push) Has been cancelled
E2E Tests / E2E — npm (push) Has been cancelled
E2E Tests / E2E — pnpm (push) Has been cancelled
2024-08-21 18:25:36 +02:00
Sébastien Lorber 97bd815d9a
refactor(core): improve handling of server bundle (#10429) 2024-08-21 17:34:18 +02:00
Sébastien Lorber 2d55ca474e
fix(types): fix type of PluginModule (#10420) 2024-08-19 18:30:52 +02:00
Sébastien Lorber 3a0b4bf7a2
refactor(core): remove useless build forceTerminate exit (#10410)
Some checks are pending
Argos CI / take-screenshots (push) Waiting to run
Build Hash Router / Build Hash Router (push) Waiting to run
Canary Release / Publish Canary (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
Continuous Releases / Continuous Releases (push) Waiting to run
E2E Tests / E2E — Yarn v1 (18.0) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (20) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (22.4) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (node-modules, -s) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (node-modules, -st) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (pnp, -s) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (pnp, -st) (push) Waiting to run
E2E Tests / E2E — npm (push) Waiting to run
E2E Tests / E2E — pnpm (push) Waiting to run
2024-08-19 14:17:13 +02:00
Sébastien Lorber 655ce94c0f
chore: release 3.5.2 (#10400) 2024-08-13 14:47:19 +02:00
Sébastien Lorber 419d559fa7
fix(core): always alias React/ReactDOM to site dependency so that importing MDX from anywhere works (#10391)
Some checks are pending
Argos CI / take-screenshots (push) Waiting to run
Build Hash Router / Build Hash Router (push) Waiting to run
Canary Release / Publish Canary (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
Continuous Releases / Continuous Releases (push) Waiting to run
E2E Tests / E2E — Yarn v1 (18.0) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (20) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (22.4) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (node-modules, -s) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (node-modules, -st) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (pnp, -s) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (pnp, -st) (push) Waiting to run
E2E Tests / E2E — npm (push) Waiting to run
E2E Tests / E2E — pnpm (push) Waiting to run
2024-08-12 17:19:36 +02:00
Sébastien Lorber bde4414614
chore: release v3.5.1 (#10385) 2024-08-09 23:42:06 +02:00
Sébastien Lorber daa6b87f24
chore: release Docusaurus v3.5 (#10379) 2024-08-09 17:14:21 +02:00
Ashiq Firoz 087a32971f
fix(cli): Fix bad docusaurus CLI behavior on for --version, -V, --help, -h (#10368)
Some checks are pending
Argos CI / take-screenshots (push) Waiting to run
Build Hash Router / Build Hash Router (push) Waiting to run
Canary Release / Publish Canary (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (18.0) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (20) (push) Waiting to run
E2E Tests / E2E — Yarn v1 (22.4) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (node-modules, -s) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (node-modules, -st) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (pnp, -s) (push) Waiting to run
E2E Tests / E2E — Yarn Berry (pnp, -st) (push) Waiting to run
E2E Tests / E2E — npm (push) Waiting to run
E2E Tests / E2E — pnpm (push) Waiting to run
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-08-08 15:46:51 +02:00
Sébastien Lorber 868d72fe4f
fix(core): revert wrong anchor link implementation change (#10311) 2024-07-19 17:13:28 +02:00
Sébastien Lorber 80203b385d
feat(core): allow plugins to self-disable by returning null (#10286) 2024-07-10 13:13:30 +02:00
Sébastien Lorber 6dd9a5076e
chore: simplify TypeScript configs, use TS 5.5 configDir placeholder (#10256) 2024-07-01 17:34:40 +02:00
Sébastien Lorber 97630b438e
fix(core): fail fast if plugin has no name (#10239) 2024-06-20 19:15:36 +02:00
Sébastien Lorber 904b96c629
fix(core): fix sites unable to start/build without a static dir (#10225) 2024-06-17 18:29:38 +02:00
Daniel Li 71ba685903
fix: escape period (#10223) 2024-06-18 00:09:23 +08:00
Sébastien Lorber dbdd4dfb2e
chore: release Docusaurus v3.4 (#10186) 2024-05-31 19:09:06 +02:00
Sébastien Lorber 17f3e02a42
feat(core): hash router option - browse site offline (experimental) (#9859) 2024-05-19 15:44:58 +02:00
Sébastien Lorber b73ad1ece5
fix(core): fix serve workaround regexp (#10145) 2024-05-16 18:29:55 +02:00
Sébastien Lorber 87f0023eb3
fix(core): fix `docusaurus serve` broken for assets when using trailingSlash (#10142) 2024-05-16 14:29:04 +02:00
Sébastien Lorber ff5039f413
fix(core): `configurePostCss()` should run after `configureWebpack()` (#10132) 2024-05-13 15:03:48 +02:00
Sébastien Lorber 29b7a4ddbb
fix(core): codegen should generate unique route prop filenames (#10131) 2024-05-10 18:17:21 +02:00
Sébastien Lorber 394ce84691
fix(core): the broken anchor checker should not be sensitive pathname trailing slashes (#10130) 2024-05-10 16:54:59 +02:00
Sébastien Lorber 02e38d8ccf
refactor: fix i18n bug in node v22 (#10129) 2024-05-10 15:53:23 +02:00
Sébastien Lorber 620e46350a
feat(core): site storage config options (experimental) (#10121) 2024-05-10 14:41:51 +02:00
Sébastien Lorber c125f7a272
chore: release Docusaurus 3.3.0 + 3.3.1 + 3.3.2 (#10101) 2024-05-03 17:14:41 +02:00
Sébastien Lorber 2d8281fc03
fix(core): do not recreate ReactDOM Root, fix React warning on hot reload (#10103) 2024-05-03 15:54:49 +02:00
Sébastien Lorber be9081afc7
chore: Upgrade svgr / svgo / cssnano (#10092) 2024-04-30 18:15:46 +02:00
Sébastien Lorber 3ee776050e
fix(core): `docusaurus serve` redirects should include the site `/baseUrl/` prefix (#10090) 2024-04-30 14:28:39 +02:00
Sébastien Lorber ca33858ca0
fix: handle React v18.3 warnings (#10079) 2024-04-29 21:56:47 +02:00
Alexey Ivanov daba917e7c
feat(core): add new site config option `siteConfig.markdown.anchors.maintainCase` (#10064)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-04-25 16:35:38 +02:00
Sébastien Lorber f88da6c66d
refactor: extract base TS client config + upgrade TS + refactor TS setup (#10065) 2024-04-19 21:03:32 +02:00
Sébastien Lorber eb07e9d6d4
refactor(core): optimize App entrypoint, it should not re-render when navigating (#10060) 2024-04-19 13:13:52 +02:00
Alexander Sandor a612b4eacf
feat(cli): docusaurus deploy should support a --target-dir option (#9767)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-04-18 17:59:31 +02:00
Sébastien Lorber 128738786b
fix(core): sortRoutes shouldn't have a default baseUrl value, this led to a bug (#10054) 2024-04-18 15:08:30 +02:00
Sébastien Lorber 5c1d6464d8
feat(core): simplify plugin API, support route.props (#10042) 2024-04-16 13:57:11 +02:00
Sébastien Lorber e012e03158
chore: release Docusaurus 3.2.1 (#10016) 2024-04-04 20:17:34 +02:00
Sébastien Lorber f9a90d3a26
fix(core): fix configurePostCss v3.2 regression (#10012) 2024-04-04 13:00:33 +02:00
Sébastien Lorber debfc87d34
chore: release Docusaurus v3.2.0 (#10000) 2024-03-29 17:51:27 +01:00
ozaki 821247142e
refactor(utils): remove duplicated function (#9972)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-03-29 14:45:30 +01:00
Sébastien Lorber efbe474e9c
refactor(core): improve dev perf, fine-grained site reloads - part 3 (#9975) 2024-03-28 12:39:07 +01:00
Sébastien Lorber 93a09ea086
refactor(core): improve dev perf, fine-grained site reloads - part2 (#9968) 2024-03-21 13:05:19 +01:00
Sébastien Lorber 9017fb9b1d
feat(sitemap): add support for "lastmod" (#9954) 2024-03-20 11:47:44 +01:00
Sébastien Lorber 8d115a9e0d
feat(core): add new plugin allContentLoaded lifecycle (#9931) 2024-03-08 19:13:59 +01:00
Sébastien Lorber d02b96f7f5
refactor(core): improve dev perf, fine-grained site reloads - part1 (#9903) 2024-03-08 12:59:11 +01:00
Sébastien Lorber 6bf21d215c
fix(core): fix default i18n calendar used, infer it from locale if possible (#9878) 2024-02-22 17:06:12 +01:00