You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yamatatsu
changed the title
(init-templates): Delete no longer needed by ts-node in typescript template
(init-templates): Delete some line no longer needed by ts-node in typescript template
Jun 15, 2022
Describe the feature
Now, The template of typescript has some unnecessary lines.
The following seems a bit misleadable.
#!/usr/bin/env node
in the bin filets-node
, so shebang is unnecessary.source-map-support
in the bin filets-node
, so it mapped to source automatically in stack traces withoutsource-map-support
."build": "tsc"
and"watch": "tsc -w"
in package.json.js
file because ts-node can exec.ts
Use Case
This modifying make the templates simple.
Proposed Solution
source-map-support/register
"build": "tsc"
and"watch": "tsc -w"
from package.jsonThe target of these should be
app
andsample-app
only, notlib
.Other Information
No response
Acknowledgements
CDK version used
2.28.0
Environment details (OS name and version, etc.)
macOS 12.4
The text was updated successfully, but these errors were encountered: