Add theme dependencies in specification

이제 최상위 테마의 about.json 파일에서 자식 테마 컴포넌트 목록을 지정할 수 있습니다. 예를 들어

{
  "name": "Material Design Theme",
  "about_url": "https://meta.discourse.org/t/material-design-stock-theme/47142",
  "license_url": "https://github.com/discourse/material-design-stock-theme/blob/master/LICENSE.txt",
  "components": ["https://github.com/discourse/discourse-brand-header", "https://github.com/Chaboi45/Take-a-break-component"]
  .
  .
  .
}

현재는 다음과 같은 제한 사항이 있습니다.

  1. 모든 자식 테마 컴포넌트는 초기 설치 시에만 설치됩니다.
  2. 나중에 about.json에서 컴포넌트가 제거되어도 이미 설치된 자식 테마 컴포넌트는 제거되지 않습니다.
  3. 설치된 테마 컴포넌트가 수동으로 제거되면 시스템이 다시 설치하지 않습니다.
  4. 다른 테마 컴포넌트에 대해 자식 테마 컴포넌트를 지정할 수 없습니다.
5개의 좋아요