Add basic initial tooling to support TypeScript within the project, without actually beginning any TypeScript conversion.
How I did it
Add tsconfig.json specifying recommended settings for targeting Node18, running in strict mode, permitting .js files
Add build command to generate .build output
Update Serverless settings to use TS build
Update docker test file to build project
How you can test it
After running npm install --dev, try the build with npm run build -- --watch. Deploying to staging and verifying that the application functions on the most basic level may be generally sufficient.
What I'm adding
Add basic initial tooling to support TypeScript within the project, without actually beginning any TypeScript conversion.
How I did it
tsconfig.json
specifying recommended settings for targeting Node18, running in strict mode, permitting .js files.build
outputHow you can test it
After running
npm install --dev
, try the build withnpm run build -- --watch
. Deploying to staging and verifying that the application functions on the most basic level may be generally sufficient.Part of #187