2022-03-31 22:43:17 +00:00
|
|
|
/* IMPORTANT
|
|
|
|
* This snapshot file is auto-generated, but designed for humans.
|
|
|
|
* It should be checked into source control and tracked carefully.
|
|
|
|
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
|
|
|
|
* Make sure to inspect the output below. Do not ignore changes!
|
|
|
|
*/
|
|
|
|
'use strict'
|
|
|
|
exports[`test/lib/commands/version.js TAP empty versions workspaces with one arg, all workspaces > must match snapshot 1`] = `
|
|
|
|
{
|
|
|
|
"name": "workspaces-test",
|
|
|
|
"version": "1.0.0",
|
2022-12-06 22:18:33 -05:00
|
|
|
"lockfileVersion": 3,
|
2022-03-31 22:43:17 +00:00
|
|
|
"requires": true,
|
|
|
|
"packages": {
|
|
|
|
"": {
|
|
|
|
"name": "workspaces-test",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"workspaces": [
|
|
|
|
"workspace-a",
|
|
|
|
"workspace-b"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"node_modules/workspace-a": {
|
|
|
|
"resolved": "workspace-a",
|
|
|
|
"link": true
|
|
|
|
},
|
|
|
|
"node_modules/workspace-b": {
|
|
|
|
"resolved": "workspace-b",
|
|
|
|
"link": true
|
|
|
|
},
|
|
|
|
"workspace-a": {
|
|
|
|
"version": "2.0.0"
|
|
|
|
},
|
|
|
|
"workspace-b": {
|
|
|
|
"version": "2.0.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
`
|
|
|
|
|
|
|
|
exports[`test/lib/commands/version.js TAP empty versions workspaces with one arg, all workspaces, saves package.json > must match snapshot 1`] = `
|
|
|
|
{
|
|
|
|
"name": "workspaces-test",
|
|
|
|
"version": "1.0.0",
|
2022-12-06 22:18:33 -05:00
|
|
|
"lockfileVersion": 3,
|
2022-03-31 22:43:17 +00:00
|
|
|
"requires": true,
|
|
|
|
"packages": {
|
|
|
|
"": {
|
|
|
|
"name": "workspaces-test",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"workspaces": [
|
|
|
|
"workspace-a",
|
|
|
|
"workspace-b"
|
|
|
|
],
|
|
|
|
"dependencies": {
|
|
|
|
"workspace-a": "^2.0.0",
|
|
|
|
"workspace-b": "^2.0.0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"node_modules/workspace-a": {
|
|
|
|
"resolved": "workspace-a",
|
|
|
|
"link": true
|
|
|
|
},
|
|
|
|
"node_modules/workspace-b": {
|
|
|
|
"resolved": "workspace-b",
|
|
|
|
"link": true
|
|
|
|
},
|
|
|
|
"workspace-a": {
|
|
|
|
"version": "2.0.0"
|
|
|
|
},
|
|
|
|
"workspace-b": {
|
|
|
|
"version": "2.0.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
`
|