cli icon indicating copy to clipboard operation
cli copied to clipboard

Support install scripts

Open jyecusch opened this issue 3 years ago • 3 comments

Cloning templates, like the JavaScript template, then using nitric run or nitric up result in errors since no package.lock or yarn.lock exists. Extending nitric.yaml to support commands that enable scripts to be run prior to a build could fix this issue for new users.

jyecusch avatar Aug 10 '22 23:08 jyecusch

How does Vercel handle this for sample project cloning? Do they contain a lock file, does the Vercel platform add one?

jyecusch avatar Aug 23 '22 23:08 jyecusch

I think the solution provided here is too broad for the specific issue. We do need more customisation and extensibility, but I would rescope this issue to specifically handling how we deal with *.lock files for node projects.

tjholm avatar Aug 24 '22 01:08 tjholm

can we not add this logic into the typescript runtime?

asalkeld avatar Aug 30 '22 01:08 asalkeld

Supported with custom dockerfile support

tjholm avatar Mar 15 '23 23:03 tjholm