Commit Graph

282 Commits

Author SHA1 Message Date
sebastien c4ac8fb49f improve DEFAULT_TEST_VCS_CONFIG, cleanup tests 2025-11-14 13:54:07 +01:00
sebastien f259f4f807 improve DEFAULT_TEST_VCS_CONFIG, cleanup tests 2025-11-14 13:52:23 +01:00
sebastien 287cf7c1a6 Better Git eager integration 2025-11-14 11:48:47 +01:00
sebastien 01e16637e4 almost working VCS integration, adding default v1/v2 strategy 2025-11-07 19:56:39 +01:00
sebastien 6bf515d5fc minor refactor 2025-11-07 19:09:14 +01:00
sebastien 9bd6db29fb add missing fs.realpath.native for windows tests 2025-11-07 17:10:17 +01:00
sebastien fd270c901b Add new VSC Git Eager strategy with support for git submodules 2025-11-07 17:06:26 +01:00
sebastien 7c596ba1db optimize gitUtils speed, avoid creating useless temp git repositories, share same test repo fixture across tests 2025-11-07 16:41:13 +01:00
sebastien 688d125ae7 add tests for getGitRepositoryFilesInfo 2025-11-07 16:36:04 +01:00
sebastien 143ad046f2 replace method 2025-11-07 16:10:26 +01:00
sebastien df568926f9 add getGitAllRepoRoots API 2025-11-07 16:08:19 +01:00
sebastien d243079036 add getGitSubmodulePaths API 2025-11-07 15:49:07 +01:00
sebastien 2bccea18b8 refactor a bit tests 2025-11-07 15:29:28 +01:00
sebastien e5f67712ec add getGitSuperProjectRoot API 2025-11-07 15:19:09 +01:00
sebastien 3b0abf4d68 fs.realpath.native() impl 2025-11-07 14:20:53 +01:00
sebastien c9d9b5c455 try to fix windows issue with fs.realpath.native() call 2025-11-07 12:49:02 +01:00
sebastien 85b3903783 add case for Docusaurus repo 2025-11-07 12:36:42 +01:00
sebastien 7a4d3f790c add bad CWD case for getGitRepoRoot API 2025-11-07 12:29:04 +01:00
sebastien 1e195a28c8 refactor test from shelljs to execa 2025-11-07 12:13:17 +01:00
sebastien 0eedbcc12c refactor test from shelljs to execa 2025-11-07 12:08:25 +01:00
sebastien ee7137ee7d cleanup VcsGitAdHoc 2025-11-06 18:45:21 +01:00
sebastien 2491491328 add more gitUtils tests 2025-11-06 18:44:23 +01:00
sebastien 4fa2e093ac move getGitLastUpdate fn to gitUtils 2025-11-06 18:12:23 +01:00
sebastien 8af8aab7cb add file to git 2025-11-06 18:10:28 +01:00
sebastien 87291b3db4 cleanup lastUpdateUtils from useless hardcoded things, in favor of new VCS system 2025-11-06 17:52:57 +01:00
sebastien 2a9e227378 cleanup lastUpdateUtils from useless hardcoded things, in favor of new VCS system 2025-11-06 17:48:02 +01:00
sebastien a42682d8fd fix all tests 2025-11-06 17:30:16 +01:00
sebastien acf5f383ea Refactor VCS preset + config validation 2025-11-06 17:26:23 +01:00
sebastien 1bc1bcf024 add git eager VCS preset 2025-11-06 16:17:37 +01:00
sebastien cf016c69f5 refactor LAST_UPDATE_UNTRACKED_GIT_FILEPATH 2025-10-31 14:16:29 +01:00
sebastien 2366ca16bf Refactor blog tests using former VCS hardcoded values 2025-10-31 14:12:17 +01:00
sebastien 42d0d96b62 refactor a bit vcs unit tests 2025-10-31 13:32:31 +01:00
sebastien bf56b8b3fd Add VCS fixtures 2025-10-31 13:21:26 +01:00
sebastien 67317a9677 Move VCS code in dedicated subfolder 2025-10-31 13:16:57 +01:00
sebastien 7e6a4e062b Move VCS code in dedicated subfolder 2025-10-31 13:05:08 +01:00
sebastien ce49aa0f78 do not output GPG signature 2025-10-31 11:54:11 +01:00
sebastien 7dc89e0b98 Add API to initialize the VCS config 2025-10-30 16:57:29 +01:00
sebastien b80ee31401 minor refactor 2025-10-30 16:44:00 +01:00
sebastien 48098cc3aa wire VCS api in readLastUpdateData util 2025-10-24 18:19:13 +02:00
sebastien 86b0d0e599 wire VSC api to blog creation date logic 2025-10-24 18:12:37 +02:00
sebastien adad517774 make readLastUpdateData() use the new VcsConfig APIs 2025-10-24 17:47:30 +02:00
sebastien bb85b80813 add VcsConfig + default retro-compatible implementation + config option + config validation tests 2025-10-24 17:38:15 +02:00
Sébastien Lorber 3dacdf33c9
feat(mdx): resolve `@site/*` markdown links, fix resolution priority bugs (#11397)
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 v1 (24) (push) Has been cancelled
E2E Tests / E2E — Yarn v1 Windows (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
2025-09-04 15:29:26 +02:00
Sébastien Lorber 2febb76fae
feat(core): Add `i18n.localeConfigs[locale].{url,baseUrl}` config options (#11316)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-07-28 17:04:34 +02:00
Sébastien Lorber 1808945c1f
feat(core): add `i18n.localeConfigs.translate` + skip translation process if `i18n/<locale>` dir doesn't exist (#11304) 2025-07-07 14:55:46 +02:00
Sébastien Lorber 264774a550
perf: avoid duplicated `git log` calls in `loadContent()` and `postBuild()` for untracked Git files (#11211)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-05-28 14:03:10 +02:00
Sébastien Lorber e839b67034
perf(core): disable Rspack `parallelCodeSplitting` temporarily (#11178)
Some checks failed
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
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 v1 (24) (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
CodeQL / Analyze (javascript) (push) Has been cancelled
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-05-14 17:01:54 +02:00
Sébastien Lorber 4af8982278
chore: add Node 24 to CI + fix deprecation warnings (#11168) 2025-05-09 18:29:07 +02:00
Sébastien Lorber b7cd1061fd
perf(utils): implement git command queue (#11163)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-05-09 16:31:05 +02:00
Sébastien Lorber 37d8844506
fix(cli): fix CLI write-translation bug (#11027)
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
* fix write-translation bug

* fix write-translation bug
2025-03-27 12:22:44 +01:00