posit-dev / publisher

MIT License
3 stars 0 forks source link

Force directory param to be required on API calls and refactor config-based watchers to work in subdirectories #1953

Closed sagerb closed 2 months ago

sagerb commented 2 months ago

refactored changes to make dir mandatory for API calls. Updated watchers for package files to work with subdirectories, and updated package views to work in subdirectories. Updated Bus callbacks to be typesafe.

Intent

Refactored changes to make dir mandatory for API calls. Updated watchers for package files to work with subdirectories Updated package views to work in subdirectories. Updated Bus callbacks to be typesafe.

Resolves #1855 Resolves #1949

Type of Change

Directions for Reviewers

Use VSCode to open project's subdirectory directly as well as from a few parent subdirectories up. With these projects, verify the functionality related to packages for both R and Python projects. Be sure to both manually and automatically update the package file, along with verifying that a non-default package file name within the active config file will be watched and update within the view.