webiny / webiny-js

Open-source serverless enterprise CMS. Includes a headless CMS, page builder, form builder, and file manager. Easy to customize and expand. Deploys to AWS.
https://www.webiny.com
Other
7.33k stars 603 forks source link

fix(cli-plugin-deploy-pulumi): update config resolution logic #4102

Closed Pavel910 closed 5 months ago

Pavel910 commented 5 months ago

Changes

This PR fixes a bug in the watch command, related to webiny.config.js/ts file detection. Currently, if you run a watch command in a user project, without specifying explicit packages with a -p parameter, the script will simply collect all workspaces and assume that they're all an app (which means they need to have a webiny.config.* file).

This PR ensures that workspaces without a config file are ignored.

How Has This Been Tested?

Manually.