Skip to content

Commit 50c6907

Browse files
committed
created packages are built before publishing
1 parent c1971ed commit 50c6907

File tree

1 file changed

+1
-0
lines changed
  • packages/type-scripts/scripts

1 file changed

+1
-0
lines changed

packages/type-scripts/scripts/init.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module.exports = function(
3838
// Setup the script rules
3939
appPackage.scripts = {
4040
build: "type-scripts-build",
41+
prepublish: `${useYarn ? "yarn " : "npm run"} build`,
4142
}
4243

4344
fs.writeFileSync(

0 commit comments

Comments
 (0)