https://pulumi.com logo
Title
l

lively-painting-61118

05/31/2022, 11:51 PM
is there a command that will get pulumi to just verify that the typescript is valid, without actually running it? I’d like to add a basic lint/test kind of task that executes faster than
pulumi up
that needs to check resources, etc.
l

little-cartoon-10569

05/31/2022, 11:55 PM
tsc
should do the job.
l

lively-painting-61118

06/01/2022, 12:29 AM
yeah, running into issues on things inside of
node_modules
and the “exclude” setting not doing what it’s supposed to (it also leaves around an
index.js
that pulumi prefers over
index.ts
even if out of date) I’ll keep poking at it if there isn’t a “validate” mode built into pulumi
l

little-cartoon-10569

06/01/2022, 12:35 AM
Are you defining
outdir
in your tsconfig? You shouldn't have an overlapping .js and .ts file...