summaryrefslogtreecommitdiff
path: root/tests/testdata/info
diff options
context:
space:
mode:
authorKamil Ogórek <kamil.ogorek@gmail.com>2024-09-05 10:51:40 +0200
committerGitHub <noreply@github.com>2024-09-05 08:51:40 +0000
commit2c4d99a4586a8aa143feb8614e3b0d4de09dd190 (patch)
tree0c07ee12254da10d9710616be8cc98a32c0f35c7 /tests/testdata/info
parent49340b96f6b3603186e03f0102b99bc4a34a1b63 (diff)
feat: include version number in all --json based outputs (#25335)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tests/testdata/info')
-rw-r--r--tests/testdata/info/076_info_json_deps_order.out1
-rw-r--r--tests/testdata/info/info_json.out1
-rw-r--r--tests/testdata/info/info_json_location.out1
-rw-r--r--tests/testdata/info/json_output/main.out1
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/testdata/info/076_info_json_deps_order.out b/tests/testdata/info/076_info_json_deps_order.out
index a1b15e00c..33d58da16 100644
--- a/tests/testdata/info/076_info_json_deps_order.out
+++ b/tests/testdata/info/076_info_json_deps_order.out
@@ -160,5 +160,6 @@
}
],
"redirects": {},
+ "version": 1,
"npmPackages": {}
}
diff --git a/tests/testdata/info/info_json.out b/tests/testdata/info/info_json.out
index 3215af742..607489ca3 100644
--- a/tests/testdata/info/info_json.out
+++ b/tests/testdata/info/info_json.out
@@ -1,4 +1,5 @@
{
+ "version": 1,
"denoDir": "[WILDCARD]",
"modulesCache": "[WILDCARD]deps",
"npmCache": "[WILDCARD]npm",
diff --git a/tests/testdata/info/info_json_location.out b/tests/testdata/info/info_json_location.out
index 510fa7749..004bf03db 100644
--- a/tests/testdata/info/info_json_location.out
+++ b/tests/testdata/info/info_json_location.out
@@ -1,4 +1,5 @@
{
+ "version": 1,
"denoDir": "[WILDCARD]",
"modulesCache": "[WILDCARD]deps",
"npmCache": "[WILDCARD]npm",
diff --git a/tests/testdata/info/json_output/main.out b/tests/testdata/info/json_output/main.out
index 5a89d5cab..43c4f7398 100644
--- a/tests/testdata/info/json_output/main.out
+++ b/tests/testdata/info/json_output/main.out
@@ -87,5 +87,6 @@
}
],
"redirects": {},
+ "version": 1,
"npmPackages": {}
}