Commit Graph

24 Commits

Author SHA1 Message Date
sebastien c44ead96ea use child_process directly 2025-05-30 16:46:23 +02:00
sebastien 5b58972094 add ls-files call 2025-05-30 16:06:24 +02:00
sebastien 5e31578a55 test ... 2025-05-30 14:25:36 +02:00
sebastien bf1720e5bb test ... 2025-05-30 13:48:43 +02:00
sebastien bb36b76be2 remove shell? 2025-05-30 12:02:57 +02:00
sebastien 829dae6eee remove shell? 2025-05-30 12:01:35 +02:00
sebastien 5d47d16bb8 Simpler git command? 2025-05-30 11:41:02 +02:00
sebastien 76cced68ba Add perflogger for git calls 2025-05-30 10:42:36 +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 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
ozaki 7f4a37949e
refactor: replace unmaintained shelljs dependency by execa (#10358)
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
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2025-02-28 14:31:01 +01:00
Sébastien Lorber 6e1364bb8a
fix(utils): getFileCommitDate should support `log.showSignature=true` (#10022) 2024-04-05 13:06:15 +02: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 465cf4d82c
refactor(docs,blog): last update timestamp should be in milliseconds instead of seconds (#9963) 2024-03-19 09:51:27 +01:00
Sébastien Lorber f159bb2472
perf: optimize getFileCommitDate, make it async (#9890) 2024-02-24 23:32:18 +01:00
Sébastien Lorber dbd161d67c
fix(create-docusaurus): potential security issue with command injection (#7507) 2022-05-27 10:41:15 +02:00
Joshua Chen 242f2e780e
chore: upgrade dependencies (#7232) 2022-04-23 11:55:01 +08:00
Joshua Chen fa1ce230ea
refactor: capitalize comments (#7188)
* refactor: capitalize comments

* revert...
2022-04-17 16:39:11 +08:00
Joshua Chen 2eeb0e46a2
feat(utils): JSDoc for all APIs (#6980)
* feat(utils): JSDoc for all APIs

* fix tests
2022-03-24 21:34:31 +08:00
Joshua Chen c696dc2cd6
test: fix Windows test for gitUtils (#6951)
* test: fix Windows test for gitUtils

* change this

* fix
2022-03-21 20:13:40 +08:00
Joshua Chen 5ee7e8c48e
test: add tests for gitUtils (#6949)
* test: add tests for gitUtils

* debug test

* try fix
2022-03-21 18:40:20 +08:00
Felipe Santos e19a4e23e7
fix(content-docs): warn when files are not tracked (#6937)
* fix(docs): warn when files are not tracked

* chore(devcontainer): use non-root user

* test: fix jest in vscode

* test(docs): improve existing test

* chore(devcontainer): fix jest error on startup

* chore: fix comments

* chore: remove "probably" from error message
2022-03-21 08:42:36 +08:00
Joshua Chen 0c7e592d34
chore: upgrade dependencies (#6660)
* chore: upgrade dependencies

* fix types
2022-02-12 15:29:40 +08:00
Felipe Santos 6996ed2f2f
feat(content-blog): infer blog post date from git history (#6593) 2022-02-09 17:18:32 +01:00