Add toml package and update configuration parsing in Dokploy

- Added toml package version 3.0.0 to package.json files in both apps/dokploy and packages/server.
- Replaced js-yaml load function with toml parse function for configuration parsing in compose.ts and github.ts files, ensuring compatibility with TOML format.
- Updated pnpm-lock.yaml to reflect the new toml dependency.
This commit is contained in:
Mauricio Siu
2025-03-30 01:12:27 -06:00
parent adee87b6da
commit 4eaf8fee0f
5 changed files with 23 additions and 11 deletions

11
pnpm-lock.yaml generated
View File

@@ -424,6 +424,9 @@ importers:
tailwindcss-animate:
specifier: ^1.0.7
version: 1.0.7(tailwindcss@3.4.7(ts-node@10.9.2(@types/node@18.19.42)(typescript@5.5.3)))
toml:
specifier: 3.0.0
version: 3.0.0
undici:
specifier: ^6.19.2
version: 6.19.4
@@ -723,6 +726,9 @@ importers:
ssh2:
specifier: 1.15.0
version: 1.15.0
toml:
specifier: 3.0.0
version: 3.0.0
ws:
specifier: 8.16.0
version: 8.16.0
@@ -6982,6 +6988,9 @@ packages:
resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}
engines: {node: '>=0.6'}
toml@3.0.0:
resolution: {integrity: sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==}
tr46@0.0.3:
resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
@@ -14061,6 +14070,8 @@ snapshots:
toidentifier@1.0.1: {}
toml@3.0.0: {}
tr46@0.0.3: {}
tree-dump@1.0.2(tslib@2.6.3):