AdobeXD / design-system-package-dsp

DSP Documentation
MIT License
335 stars 38 forks source link

Read-only DSP #2

Open CITguy opened 4 years ago

CITguy commented 4 years ago

What if consumers of the DSP only want to use it to build works based on it or a DSP developer wants to prevent unwanted modifications outside of a defined contribution workflow.

If the DSP were distributed via NPM, there's no direct means of updating/syncing the DSP back to a centralized source, so the VS Code extension would need to disable edit capabilities. However, if there are errors or modifications that can be made, there should be a way to guide the consumer toward an approved contribution workflow (e.g., GitHub, etc.).

Settings

What if there were a settings.readonly config that were optional?

{
  "settings": {
    "readonly": true
  }
}