* Returns the node version of the parent package. * @return {Object} The parent package info.
()
| 129 | * @return {Object} The parent package info. |
| 130 | */ |
| 131 | async getParentVersion() { |
| 132 | // Get parent package.json version |
| 133 | const version = await this.getNodeVersion({ files: [ this.packageJsonPath ], clean: true }); |
| 134 | // console.log(`getParentVersion: ${JSON.stringify(version)}`); |
| 135 | return version[0]; |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | async function check() { |