spgo icon indicating copy to clipboard operation
spgo copied to clipboard

Support mono repo

Open johannes-z opened this issue 3 years ago • 0 comments

  • I'm submitting a ...

    • [ ] bug report
    • [x] feature request
  • What is the current behavior? I want to be able to create a project for a customer. Inside a directory I want to create multiple SPGo instances for different site collections, e.g.:

  • <Customer>/packages/<site_collection>/src

  • <Customer>/packages/<site_collection>/SPGo.json

and

  • <Customer>/packages/<site_collection 2>/src
  • <Customer>/packages/<site_collection 2>/SPGo.json

In this example, SPGo will fail when run in the root dir <Customer>. It will only work, when VSCode was opened in the correct root folder, e.g. <Customer>/packages/<site_collection>.

  • What is the expected behavior? When running any SPGo command that uses the file's context, i.e. Publish a major version of the current file, the extension should pick the closest SPGo.json file it can find.

johannes-z avatar Feb 14 '22 09:02 johannes-z