diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 81a49a6..b2e0f70 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,8 +23,8 @@ jobs: - name: Upload dist uses: actions/upload-artifact@v3.1.2 with: - name: lib - path: lib + name: dist + path: dist release: name: Download dist and release diff --git a/package-lock.json b/package-lock.json index 8937c7a..ab35eba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@contentstack/cli-launch", - "version": "1.4.0", + "version": "1.4.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@contentstack/cli-launch", - "version": "1.4.0", + "version": "1.4.1", "license": "MIT", "dependencies": { "@apollo/client": "^3.11.8", diff --git a/package.json b/package.json index f175ba1..1453970 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/cli-launch", - "version": "1.4.0", + "version": "1.4.1", "description": "Launch related operations", "author": "Contentstack CLI", "bin": { @@ -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 && shx rm -rf lib && tsc -b", - "clean": "rm -rf ./lib tsconfig.tsbuildinfo oclif.manifest.json", + "build": "npm run clean && npm run compile", + "clean": "rm -rf ./dist tsconfig.build.tsbuildinfo", "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 b3d0469..e749a31 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "declaration": true, "importHelpers": true, "module": "commonjs", - "outDir": "lib", + "outDir": "dist", "rootDir": "src", "strict": true, "target": "es2017",