Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typescript to dependencies and change npx tsc to tsc #466

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class App {
Log.success('Typescript detected. Compiling...');

try {
await exec('npx tsc --outDir .homeybuild/', { cwd: appPath });
await exec('tsc --outDir .homeybuild/', { cwd: appPath });

Log.success('Typescript compilation successful');
} catch (err) {
Expand Down
15 changes: 14 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"socket.io-client": "^4.7.5",
"tar-fs": "^2.1.1",
"tmp-promise": "^3.0.3",
"typescript": "^5.6.3",
"underscore": "^1.13.6",
"update-notifier": "^5.1.0",
"yargs": "^17.7.2"
Expand Down