Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure Azure with monorepo? #1

Open
ruslanguns opened this issue Dec 3, 2019 · 5 comments
Open

How to configure Azure with monorepo? #1

ruslanguns opened this issue Dec 3, 2019 · 5 comments
Labels
question Further information is requested

Comments

@ruslanguns
Copy link

Thanks for contributing with this sample and works amazing with a nestjs application, but if I have a monorepo with Library or Apps behing the repo the Nest CLI does not compile the configuration for Azure.

I would be really appreciated if you give me a solution.

By the way, I same happen with Deploy to Zeit Now. Default settings does not work.

Regards!

@MarkPieszak
Copy link
Member

I haven't experimented yet with deploying the Monorepos in the similar fashion, but I imagine it might just need to know the correct dist/ location that the files get built to, and it should work just the same! Let me know if you figure it out somehow!

@MarkPieszak MarkPieszak added the question Further information is requested label Jan 27, 2020
@ruslanguns
Copy link
Author

@MarkPieszak absolutely. I will let you know. Thanks for responding. I will try again in this week .

@dinohorvat
Copy link

@ruslanguns I am facing the same issue. Have you managed to resolve it? No matter how I configure it, the nest build will not generate the main folder and its files (to dist). It seems like azure configuration gets ignored while building the libraries / projects.

@ruslanguns
Copy link
Author

@dinohorvat I need to retake this, I will try to reproduce this issue again and let you know.

@akirashimosoeda
Copy link

As a workaround, you can move ${root}/main/index.ts in ${app_root_path}/src/main/index.ts. This way, your file will be compiled to JS in the dist folder. Update scriptFile prop in functions.json accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants