Skip to content

Commit

Permalink
Added build:ts yarn script to typescript generator (#201)
Browse files Browse the repository at this point in the history
no issue

- When creating a new typescript module in the Ghost monorepo, you have to manually add the `build:ts` script to the `package.json` to get things to work properly
- This commit just adds that command to the typescript generator so creating a new typescript module should work out of the box now.
  • Loading branch information
cmraible authored Nov 12, 2024
1 parent 78e26fe commit 8a7227d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"types": "build/index.d.ts",<% } %>
"scripts": {<% if (isTypescript) { %>
"dev": "tsc --watch --preserveWatchOutput --sourceMap",
"build": "tsc",
"build": "yarn build:ts",
"build:ts": "tsc",
"prepare": "tsc"<% } else { %>
"dev": "echo \"Implement me!\""<% } %>
},
Expand Down

0 comments on commit 8a7227d

Please sign in to comment.