Roman

Results 428 comments of Roman

Actually this is _not_ related to an existing project setup. The same error is thrown even when I place a `.projenrc.js` into a brand new dir, and run projen. ---...

I tried with TypeScript also. It didn't work. I feel like the whole user story for adding projen to an existing project is currently undefined.

> How are task dependencies modeled? This is one of the main reasons why I believe the current implementation is lacking. There is no way to setup a chain of...

> How should we passing on extra parameters? I think we just have to accept that it is not possible to pass args to a "pipeline" task (i.e. the root...

Fair enough! I think having the option to intercept args is a good one. That way you can pass thru args, if you want, or you could amend them to...

No particular advantage other than a common convention.

Oh, nice, didn't know this existed, as it's only available as part of constructor args. But, unfortunately, this does not help, as this is inserted _before_ `Setup Node.js` action, which...

My "proper" fix šŸ˜ ```ts const cdkConfig = new CdkConfig(project, { app: '', // Required for types. watchIncludes: [ `${project.srcdir}/**/*.ts`, `${project.testdir}/**/*.integ.ts`, ], }); cdkConfig.json.addDeletionOverride('app'); cdkConfig.json.addDeletionOverride('context'); cdkConfig.json.addDeletionOverride('output'); ```

That's not true: --- `number` is not undefined: Screenshot: --- `number` is: `number | undefined` type. Screenshot: --- I think my example was poor, here is a better one: https://www.typescriptlang.org/play/index.html?target=99#code/GYVwdgxgLglg9mABDAzgEQKbBmDATAHgBUA+ACgEMAnAcxAFsMwoAuRIxAH0XDyx3wBKNtTqNmyFO0QBvAFCJEVDFBBUkUAJ4AHDHGCJRDJlEQBCALwXEAcl79ceG3IC+cuRAQpTMKBnpS1gDaAIwANIgATBH22I4Auu6+-igAdNgANn5UZKiYcUKp9BTaZGRgDABGGFSCiBYksgqIAPQtiBX01VSSHXAA7ohauoh01Hx4hmCTsQKTqIgYGTD0OBR+eM3KquodVTWugkl+AekwWTVlnXUNkvlz5QyCgkUlV-u19Y3yim2IABYDDAANxqESg-wW-QommQpjwcAwUjAcFM-TgVAA1hEKNNEAAiTrdfGICC4xDec4ZRDVHjTBz4LYqNRIIk1RAAakQIUOQA

But the code being validated is the TypeScript one. So Iā€™m not sure how the result is relevant?