-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
cli: deploy.ts doesn't compile with tsconfig.json #472
Comments
@Standaa would be interested to hear your thoughts on this since you added the ts support for migrations. Also @NorbertBodziony since you added ts support for tests. |
Another option:
|
I'm not very familliar with |
Personally, i have been using |
That's how I got it to work on my project as well 😅 I will make a PR to update |
Done by #477. |
During
anchor migrate
, when thedeploy.ts
is compiled, it doesn't use thetsconfig.json
. If you pass a specific file totsc
, it doesn't use the projecttsconfig.json
. See here.Two solutions come to mind:
tsc
without specifyingdeploy.ts
and compile all thets
files in projecttsconfig.json
to themigrations
directory and runtsc
without specifyingdeploy.ts
The text was updated successfully, but these errors were encountered: