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

feature request: Support build a project as monorepo-like #14

Merged
merged 3 commits into from
May 6, 2021

Conversation

miyukki
Copy link
Contributor

@miyukki miyukki commented Feb 15, 2021

In my project I needed to support a monorepo-like structure that there is go.mod in each folder.

For example it has below structure:

└── serverless-project
    ├── node_modules
    ├── functions
    │   ├── func1
    │   │   ├── go.mod
    │   │   ├── go.sum
    │   │   └── main.go
    │   └── func2
    │       ├── fuga
    │       │   └── fuga.go
    │       ├── go.mod
    │       ├── go.sum
    │       └── main.go
    └── serverless.yaml

So I added the monorepo flag into config and I improve this plugin that it specified function directory to cwd on build command when enable monorepo flag. Maybe the test code is easy to understand in detail.

@mthenw
Copy link
Owner

mthenw commented Feb 17, 2021

Hey! Thanks for the contribution. Could you also update the Configuration section in the readme?

@miyukki
Copy link
Contributor Author

miyukki commented Feb 18, 2021

@mthenw Thanks! And I update README.md to describe it.

@nguyenvanduocit
Copy link

I didn't know about this PR until I created PR #16. :|

@mthenw mthenw merged commit 382dabd into mthenw:master May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants