2 Commits

Author SHA1 Message Date
09d7ab3d0a 1.0.5 2023-10-11 19:06:16 +02:00
a420bb1b09 fix(core): update 2023-10-11 19:06:15 +02:00
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@push.rocks/smartpnpm",
"version": "1.0.4",
"version": "1.0.5",
"private": false,
"description": "use pnpm in your code",
"main": "dist_ts/index.js",

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartpnpm',
version: '1.0.4',
version: '1.0.5',
description: 'use pnpm in your code'
}

View File

@@ -14,7 +14,7 @@ export class SmartPnpm {
async getDependencyLicenseJson() {
try {
// Get store directory
const execResult = await this.smartshellInstance.execSilent('pnpm licenses list --json');
const execResult = await this.smartshellInstance.execSilent(`(cd ${this.projectDir} && pnpm licenses list --json)`);
const licenseJson: {[key: string]: Array<{
"name": string;
"version": string;