mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
0704454755
This commit adds ability to print deprecation notices for npm packages that have been marked as deprecated. Closes #24013
25 lines
471 B
Text
25 lines
471 B
Text
{
|
|
"tempDir": true,
|
|
"envs": {
|
|
"DENO_FUTURE": "1"
|
|
},
|
|
"steps": [
|
|
{
|
|
"args": "install npm:@denotest/deprecated-package",
|
|
"output": "install.out"
|
|
},
|
|
{
|
|
// make sure the dep got cached
|
|
"args": "run --cached-only main.js",
|
|
"exitCode": 0,
|
|
"output": ""
|
|
},
|
|
{
|
|
"args": [
|
|
"eval",
|
|
"console.log(Deno.readTextFileSync('package.json').trim())"
|
|
],
|
|
"output": "package.json.out"
|
|
}
|
|
]
|
|
}
|