Nick Hammond

Results 14 comments of Nick Hammond

> Should we also try to generate some more advanced cron strings like [23 0-20/2 * * *](https://crontab.guru/#23_0-20/2_*_*_*)? i'd like to, I wanted to get the simplest expressions generated first...

@Shinigami92 if you get a few minutes, would you post your approach?

I've got a PR open, but trying to create tests is proving tricky so any help appreciated, specifically the testing of node modules required. One thing I'm concerned about is...

A bit more digging: 1. Setting `TS_NODE_PROJECT=./tsconfig.app.json` as an environment variable, allows me to specify the tsconfig file to use. 2. Adding ```json "ts-node": { "require": ["tsconfig-paths"], } ``` to...

So minor step forward - changing ```json "ts-node": { "require": ["tsconfig-paths"], } ``` to ``` "ts-node": { "require": ["tsconfig-paths/register"], } ``` does _seem_ to help. I need to some more...

i'm using 4.1 but https://github.com/dividab/tsconfig-paths/issues/143 is causing the issue. The workaround is adding `delete process.env.TS_NODE_PROJECT;` into the `webpack.config.js` i'll create a fork of the [typescript example](https://github.com/serverless/serverless/tree/master/lib/plugins/create/templates/aws-nodejs-typescript) and try and recreate...

I'm wondering if using the [webpack Environment](https://webpack.js.org/plugins/environment-plugin/) plugin to unset `TS_NODE_PROJECT` would work within the webpack config instead

I've pushed a example repo - https://github.com/nhammond101/serverless/tree/master/lib/plugins/create/templates/aws-nodejs-typescript * added a tsconfig.app.json * updated webpack.config.js to remove the `TS_NODE_PROJECT` once it's been used * added a build script for demo purposes

> Do you believe this could instead be part of the template documentation readme for most advanced configuration ? @fredericbarthelet I think so, I've created a [PR](https://github.com/serverless/serverless/pull/8968) and added a...