Skip to content

Commit 094c2a0

Browse files
authored
Merge pull request #4 from contentstack/fix/release-workflow
fix: release workflow
2 parents 90631ae + 19df29c commit 094c2a0

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@
8888
"prepack-bkp": "npm run build && oclif manifest && oclif readme",
8989
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
9090
"version": "oclif readme && git add README.md",
91-
"build": "npm run clean && npm run compile",
92-
"clean": "rm -rf ./dist ./node_modules tsconfig.build.tsbuildinfo",
91+
"build": "npm run clean && shx rm -rf lib && tsc -b",
92+
"clean": "rm -rf ./lib tsconfig.tsbuildinfo oclif.manifest.json",
9393
"compile": "tsc -b tsconfig.json",
94-
"prepack": "pnpm compile && oclif manifest && oclif readme",
94+
"prepack": "npm run build && oclif manifest && oclif readme",
9595
"test:unit": "mocha --forbid-only \"test/unit/**/*.test.ts\"",
9696
"test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\""
9797
},

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"declaration": true,
44
"importHelpers": true,
55
"module": "commonjs",
6-
"outDir": "dist",
6+
"outDir": "lib",
77
"rootDir": "src",
88
"strict": true,
99
"target": "es2017",

0 commit comments

Comments
 (0)