Nathan Lacey
4c3b831b8b
update golang.org/x/net to resolve govulncheck
2025-02-26 07:30:30 -05:00
Alexander Wang
b005ae4c94
update util-go
2025-02-13 10:44:27 -07:00
Fuad Hasan
710cfe520b
refactor: replace ioutil with os and io packages for file operations
2025-02-04 20:24:55 +06:00
Alexander Wang
645f4bc5ca
atomic writes
2024-10-05 16:33:48 -06:00
Alexander Wang
6035ec7d37
replace cdr.dev/slog dependency with stdlib slog
2024-10-04 15:58:44 -06:00
Alexander Wang
c01377ac22
update util-go
2024-10-01 15:36:08 -06:00
Alexander Wang
6b9eff7817
update packages. update to go 1.23
2024-09-27 13:34:00 -06:00
Alexander Wang
e9ab2f54a2
upgrade fsnotify
2024-04-09 09:57:14 -07:00
Alexander Wang
25c8f9744e
upgrade ws
2024-04-09 09:38:22 -07:00
Alexander Wang
ba207e79cb
go 1.21
2024-03-06 22:55:20 -08:00
Alexander Wang
5cdeca30e0
layout, export: icons for special objects
2023-12-12 09:23:17 -08:00
Gavin Nishizawa
b84f7923c1
revert playwright
2023-12-05 15:42:40 -08:00
Gavin Nishizawa
d0e0849b66
revert chroma
2023-12-05 15:32:57 -08:00
Gavin Nishizawa
8cded727a0
revert slog
2023-12-05 15:25:49 -08:00
Gavin Nishizawa
c3311b4c86
update deps
2023-12-05 14:50:51 -08:00
Alexander Wang
adb59ec470
add tests
2023-11-07 11:22:01 -08:00
Alexander Wang
46bf849e2b
cli: Handle invalid board paths
2023-11-07 11:22:00 -08:00
Anmol Sethi
9f0c24f5d7
fmt
2023-06-04 23:32:14 -07:00
Anmol Sethi
2fcc9ed140
d2ir: Compile imports
...
Works as so:
index.d2:
```d2
x: @x
```
x.d2:
```d2
label: meow
shape: circle
```
TODO:
- [ ] Correctly import into fields by handling the scenarios/steps overlay.
- And links.
- [ ] Test every kind of import.
2023-06-04 23:31:18 -07:00
Júlio César Batista
588398a4df
convert png boards to gif
2023-04-13 18:16:53 -03:00
Alexander Wang
d4e7b2c6b0
deps: update [ci-force]
2023-03-19 22:36:33 -07:00
Alexander Wang
060f5e9e05
cli: support int64 slice
2023-03-17 17:37:01 -07:00
Alexander Wang
d1040bf4f8
save
2023-03-13 17:52:50 -07:00
Alexander Wang
c16bd35bcb
bump go-util
2023-03-08 12:17:38 -08:00
Anmol Sethi
7cd821feb7
d2cli: Accept abspaths again
...
Fixes https://github.com/Homebrew/homebrew-core/pull/124831/files#r1125738853
2023-03-05 14:03:06 -08:00
Alexander Wang
ea80d53a16
upgrade chroma
2023-03-03 20:08:13 -08:00
Anmol Sethi
8262ac6d74
e2etests-cli: Add stdin test
...
Closes https://github.com/terrastruct/d2-vscode/issues/56
2023-03-03 12:56:10 -08:00
Alexander Wang
505183aa21
[ci-base] bump utils-go
2023-03-03 09:37:55 -08:00
Anmol Sethi
7077f2edef
e2etests-cli: Ignore png and --sketch diffs
2023-03-02 21:20:58 -08:00
Anmol Sethi
4433f4bbae
e2etests-cli: Add multiboard test
2023-03-02 20:35:50 -08:00
Anmol Sethi
eae8fdeb29
e2etests-cli: Add pad test and cleanup
2023-03-02 20:02:36 -08:00
Anmol Sethi
9227021bc9
e2etests-cli: Add PNG test
...
Closes #903
Closes #918
2023-03-02 19:50:00 -08:00
Anmol Sethi
af1faa7b35
deps: update [ci-force]
2023-02-28 17:58:39 -08:00
Anmol Sethi
014d95a054
deps: update [ci-force]
2023-02-27 21:04:42 -08:00
Anmol Sethi
e4fac7840f
cli: Improve multiboard output
...
- Boards with subboards are now selfcontained folders with index.svg/png as
the root board render.
- Boards that are only containers of other boards are not rendered. For example a
scenario with no modifications and only steps only has its steps
rendered.
- Boards with sibling boards of another type are rendered under a
subdirectory indicating their type to separate them. For example a
board with layers and scenarios has its layers rendered into subfolder
layers and scenarios into subfolder scenarios.
cc @berniexie see BoardContainer field on d2target.Board for the field
you were looking for to skip renders for PDFs too.
2023-02-27 13:50:03 -08:00
Bernard Xie
0d1c3c019d
Merge branch 'master' into 120/pdf-export
2023-02-21 14:26:18 -08:00
Bernard Xie
890a7d8b2c
pdf exports
2023-02-14 17:28:42 -08:00
Alexander Wang
156c974241
unicode tests
2023-02-14 11:41:21 -08:00
Alexander Wang
9cb7e7f396
scale multi-width unicode
2023-02-14 11:40:49 -08:00
Anmol Sethi
30240a9e94
deps: update [ci-force]
2023-02-12 07:43:04 -08:00
Anmol Sethi
310afcdf86
Merge remote-tracking branch 'upstream/master' into scenarios-a407
2023-01-24 15:29:38 -08:00
Anmol Sethi
335d925b7c
deps: update [ci-force]
2023-01-24 15:27:12 -08:00
Anmol Sethi
c77b4acc4e
deps: update [ci-force]
2023-01-24 15:25:18 -08:00
Anmol Sethi
73c6e57998
deps: update [ci-force]
2023-01-24 15:00:25 -08:00
Anmol Sethi
af97795e42
Merge remote-tracking branch 'upstream/master' into scenarios-a407
2023-01-24 14:37:07 -08:00
Anmol Sethi
4c0ee82ca7
deps: update [ci-force]
2023-01-24 14:33:37 -08:00
Anmol Sethi
b350399d66
d2ir: Complete integration across all packages
2023-01-24 03:24:35 -08:00
Anmol Sethi
c9ef6ab9c9
d2graph: Implement deep copying a graph
2023-01-24 02:56:30 -08:00
Anmol Sethi
30b578f1ae
deps: update [ci-force]
2023-01-18 06:38:51 -08:00
Anmol Sethi
903dbfc749
deps: update [ci-force]
2022-12-26 10:16:24 -08:00