1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

tests: update specs::cache::package_json (#25827)

Towards https://github.com/denoland/deno/issues/25241
This commit is contained in:
Satya Rohith 2024-09-23 20:17:43 +05:30 committed by GitHub
parent bfdca5bc7a
commit cab3363026
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 29 additions and 5 deletions

View file

@ -1,7 +1,13 @@
{
"tempDir": true,
// TODO(2.0): decide if this test should be fixed or removed
"ignore": true,
"args": "cache main.ts",
"output": "main.cache.out"
"steps": [
{
"args": "cache main.ts",
"output": "main.cache.out"
},
{
"args": "eval console.log(Deno.readTextFileSync('deno.lock').trim())",
"output": "deno.lock.out"
}
]
}

View file

@ -0,0 +1,3 @@
{
"nodeModulesDir": "none"
}

View file

@ -0,0 +1,16 @@
{
"version": "4",
"specifiers": {
"npm:@denotest/esm-basic@*": "1.0.0"
},
"npm": {
"@denotest/esm-basic@1.0.0": [WILDCARD]
},
"workspace": {
"packageJson": {
"dependencies": [
"npm:@denotest/esm-basic@*"
]
}
}
}

View file

@ -1,3 +1,2 @@
Download http://localhost:4260/@denotest/esm-basic
Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz
Initialize @denotest/esm-basic@1.0.0