Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t.sh

Upgrade katex to 0.18.2: needs code changes #29

Closedg1tbot wants to merge into maing1ton g1t

Approved by g1t

4 files+3−270/4 viewed
+0−25
95379537 "node": ">=22.12.0"
95389538 }
95399539 },
9540− "node_modules/mermaid/node_modules/commander": {
9541− "version": "8.3.0",
9542− "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz",
9543− "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==",
9544− "license": "MIT",
9545− "engines": {
9546− "node": ">= 12"
9547− }
9548− },
9549− "node_modules/mermaid/node_modules/katex": {
9550− "version": "0.16.47",
9551− "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.47.tgz",
9552− "integrity": "sha512-Eeo8Ys1doU1z+x8AZsPpQu+p/QcZBI5PeOo7QGQdy2x2m0MU/hYagBbGOmXwr5KVbEfVuWv9LpnQWeehogurjg==",
9553− "funding": [
9554− "https://opencollective.com/katex",
9555− "https://github.com/sponsors/katex"
9556− ],
9557− "license": "MIT",
9558− "dependencies": {
9559− "commander": "^8.3.0"
9560− },
9561− "bin": {
9562− "katex": "cli.js"
9563− }
9564− },
95659540 "node_modules/micromark": {
95669541 "version": "4.0.3",
95679542 "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.3.tgz",
1+1−0
2323 "overrides": {
2424 "basic-ftp": "^6.2.1",
2525 "fflate": "^0.7.5",
26+ "katex": "^0.19.0",

g1t

Forces mermaid (which asks for ^0.16.47) onto katex 0.19. Verify mermaid math/diagram rendering still works, and remove this override when mermaid supports a fixed katex.

2627 "postcss-selector-parser": "^7.1.6",
2728 "sharp": "^0.35.5"
2829 }
1+1−1
7575 mkdirSync(origin);
7676 git(origin, "init", "--quiet", "--initial-branch=main");
7777 commit(origin, "a.txt", "one");
78− git(origin, "tag", "-a", "v1", "-m", "v1");
78+ git(origin, "-c", "user.name=t", "-c", "user.email=t@example.com", "tag", "-a", "v1", "-m", "v1");

g1t

Unrelated to the katex upgrade; consider moving to a separate PR (same for restore-to-gitstore.test.mjs).

7979 const mirror = join(root, "mirror.git");
8080 const bucket = join(root, "bucket");
8181 const dir = join(bucket, "backups", "repo_1");
+1−1
122122 mkdirSync(origin);
123123 git(origin, "init", "--quiet", "--initial-branch=main");
124124 commit(origin, "a.txt", "one");
125− git(origin, "tag", "-a", "v1", "-m", "v1");
125+ git(origin, "-c", "user.name=t", "-c", "user.email=t@example.com", "tag", "-a", "v1", "-m", "v1");
126126 const bucket = backUp(root, origin, "repo_1", "g1t-us-1/acme--rocket");
127127 const index = join(root, "index.json");
128128 writeFileSync(index, JSON.stringify([{ id: "repo_1", store: "g1t-us-1/acme--rocket", path: "acme/rocket" }, { id: "repo_2", store: "acme--gone", path: "acme/gone" }]));