Add java but only for pnpm build step
ivanluchkin
HOBBYOP

a year ago

I'm trying to add openapi-generator to my frontend, and it requires java. When I add java to providers, the deploy process tries to invoke some java commands as if I was deploying a java project. What's the way aroung it?

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

2 Replies

ivanluchkin
HOBBYOP

a year ago

Just tried using a typescript-based generator, but since I need to have openapi specs at the root of the monorepo, the pnpm command can't access the spec file :(


ivanluchkin
HOBBYOP

a year ago

I've come to a conclusion that I either have to abolish monorepo, or include the generated files into my git. The core issue is indeed that there is no way to share some files/folders between two services on the same repository


Loading...