Skip to content

Commit d8f2bd2

Browse files
committed
switch to openparser yaml
Signed-off-by: George Lemon <georgelemon@protonmail.com>
1 parent 6711dd9 commit d8f2bd2

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/vancode/manager/configurator.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# (c) 2024 George Lemon | LGPL-v3 License
44
# Made by Humans from OpenPeeps
55
# https://github.com/openpeeps/tim
6-
import pkg/[nyml, semver]
6+
import pkg/[openparser/yaml, semver]
77
from std/net import Port, `$`
88

99
when not defined napibuild:
@@ -79,7 +79,7 @@ when not defined napibuild:
7979
))
8080
else:
8181
json.toJson(c)
82-
dump(json.fromJson(str))
82+
# dump(json.fromJson(str))
8383

8484
proc `$`*(c: PackageConfig): string =
8585
## Generate a string representation of the PackageConfig

src/vancode/manager/packager.nim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
# https://github.com/openpeeps/tim
66

77
import std/[tables, strutils, os, osproc, options, sequtils]
8-
import pkg/[flatty, nyml, semver, checksums/md5, openparser/json]
8+
import pkg/openparser/[json, yaml]
9+
import pkg/[flatty, semver, checksums/md5]
910
import ../interpreter/ast
1011

1112
import ./remote, ./configurator

0 commit comments

Comments
 (0)