From dd3c24e727acbbe4bbb38e7cd59be54c3819c34a Mon Sep 17 00:00:00 2001 From: Aman Kumar Date: Thu, 16 Jan 2025 10:35:49 +0530 Subject: [PATCH 1/2] fix: release workflow --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7724ce5..3cc250b 100755 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "build": "npm run clean && npm run compile", "clean": "rm -rf ./dist ./node_modules tsconfig.build.tsbuildinfo", "compile": "tsc -b tsconfig.json", - "prepack": "pnpm compile && oclif manifest && oclif readme", + "prepack": "npm run build && oclif manifest && oclif readme", "test:unit": "mocha --forbid-only \"test/unit/**/*.test.ts\"", "test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\"" }, From 19df29c2fbb8affe56163ae2df31aa4e533fb11f Mon Sep 17 00:00:00 2001 From: Aman Kumar Date: Thu, 16 Jan 2025 10:46:56 +0530 Subject: [PATCH 2/2] fix: workflow issue --- package-lock.json | 1 - package.json | 4 ++-- tsconfig.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 646411f..8937c7a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16979,7 +16979,6 @@ "resolved": "https://registry.npmjs.org/shx/-/shx-0.3.4.tgz", "integrity": "sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g==", "dev": true, - "license": "MIT", "dependencies": { "minimist": "^1.2.3", "shelljs": "^0.8.5" diff --git a/package.json b/package.json index 3cc250b..f175ba1 100755 --- a/package.json +++ b/package.json @@ -88,8 +88,8 @@ "prepack-bkp": "npm run build && oclif manifest && oclif readme", "test": "mocha --forbid-only \"test/**/*.test.ts\"", "version": "oclif readme && git add README.md", - "build": "npm run clean && npm run compile", - "clean": "rm -rf ./dist ./node_modules tsconfig.build.tsbuildinfo", + "build": "npm run clean && shx rm -rf lib && tsc -b", + "clean": "rm -rf ./lib tsconfig.tsbuildinfo oclif.manifest.json", "compile": "tsc -b tsconfig.json", "prepack": "npm run build && oclif manifest && oclif readme", "test:unit": "mocha --forbid-only \"test/unit/**/*.test.ts\"", diff --git a/tsconfig.json b/tsconfig.json index e749a31..b3d0469 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "declaration": true, "importHelpers": true, "module": "commonjs", - "outDir": "dist", + "outDir": "lib", "rootDir": "src", "strict": true, "target": "es2017",