1/* IMPORTANT 2 * This snapshot file is auto-generated, but designed for humans. 3 * It should be checked into source control and tracked carefully. 4 * Re-generate by setting TAP_SNAPSHOT=1 and running tests. 5 * Make sure to inspect the output below. Do not ignore changes! 6 */ 7'use strict' 8exports[`test/lib/commands/version.js TAP empty versions workspaces with one arg, all workspaces > must match snapshot 1`] = ` 9{ 10 "name": "workspaces-test", 11 "version": "1.0.0", 12 "lockfileVersion": 3, 13 "requires": true, 14 "packages": { 15 "": { 16 "name": "workspaces-test", 17 "version": "1.0.0", 18 "workspaces": [ 19 "workspace-a", 20 "workspace-b" 21 ] 22 }, 23 "node_modules/workspace-a": { 24 "resolved": "workspace-a", 25 "link": true 26 }, 27 "node_modules/workspace-b": { 28 "resolved": "workspace-b", 29 "link": true 30 }, 31 "workspace-a": { 32 "version": "2.0.0" 33 }, 34 "workspace-b": { 35 "version": "2.0.0" 36 } 37 } 38} 39 40` 41 42exports[`test/lib/commands/version.js TAP empty versions workspaces with one arg, all workspaces, saves package.json > must match snapshot 1`] = ` 43{ 44 "name": "workspaces-test", 45 "version": "1.0.0", 46 "lockfileVersion": 3, 47 "requires": true, 48 "packages": { 49 "": { 50 "name": "workspaces-test", 51 "version": "1.0.0", 52 "workspaces": [ 53 "workspace-a", 54 "workspace-b" 55 ], 56 "dependencies": { 57 "workspace-a": "^2.0.0", 58 "workspace-b": "^2.0.0" 59 } 60 }, 61 "node_modules/workspace-a": { 62 "resolved": "workspace-a", 63 "link": true 64 }, 65 "node_modules/workspace-b": { 66 "resolved": "workspace-b", 67 "link": true 68 }, 69 "workspace-a": { 70 "version": "2.0.0" 71 }, 72 "workspace-b": { 73 "version": "2.0.0" 74 } 75 } 76} 77 78` 79