status-messages
dist
YAML Created with Sketch.
libraries.yml
Twig Created with Sketch.
status-messages.html.twig
js-badge Created with Sketch.
status-messages.js
sass Created with Sketch.
status-messages.scss
YAML Created with Sketch.
.component.yml

component:  
  name: 'Status messages'
  folder_name: status-messages
  details: 'https://www.compony.io/component/status-messages'
  downloaded_on: 07-26-2019
  built_upon:
    project: Drupal
    version: '8'
    specific:
      type: core
      link: false
  repository:
    details: 'https://gitlab.com/componies/flat-design/Core/status-messages'
    gitlab_project_id: '7511021'
    version: 'https://gitlab.com/componies/flat-design/Core/status-messages/commit/ae7c929d9e3a8ca2122facc2170ad0b0b4dd54de'
    version_sha: ae7c929d9e3a8ca2122facc2170ad0b0b4dd54de
    version_sha_short: ae7c929d
    diff_with_latest_version: 'https://gitlab.com/componies/flat-design/Core/status- 
 messages/compare/ae7c929d9e3a8ca2122facc2170ad0b0b4dd54de...master'
    clone_this_version: 'git clone https://gitlab.com/componies/flat-design/Core/status-messages.git 
  status-messages && cd status-messages && git checkout ae7c929d9e3a8ca2122facc2170ad0b0b4dd54de'
  contributors:
    1:
      name: Compony
      details: 'https://www.compony.io/user/1'

collection:
  name: 'Bare essentials'
  details: 'https://www.compony.io/collection/bare-essentials'
  contributor:
    1:
      name: Compony
      details: 'https://www.compony.io/user/1'

supported_by: no-one

The .component.yml file is a hidden file, that you will only have inside components that you downloaded from compony.io.

This file is automatically generated when you click the download button and contains all of the information about the component. 

component #

name

This is the name of the component. It can contain special characters and doesn't follow any naming convention.

folder_name

The folder name of the component follows the component naming convention.

details

A link to the detail page of the component.

downloaded_on

Format: Month - Day - Year
The date the component was downloaded on.

built_upon.project

Possible values: string Drupal
For now Compony is only compatible with Drupal.

built_upon.version

Possible values: string 8
For now Compony is only built for Drupal 8.

built_upon.specific.type

Possible values: string corecontrib or custom.
The component can be built on Drupal core, Drupal contrib modules or it can be built upon something custom.

built_upon.specific.link

Possible values: false or an url.
Only when the component.built_upon.specific.type is set to contrib this field will contain a url.

repository.details

The url of the repository on Gitlab where the downloaded component is being maintained.

repository.gitlab_project_id

This is the project ID of the repository on Gitlab where the downloaded component is being maintained. Every component that lives on compony.io, automatically has it's own Gitlab-repository. Gitlab identifies their repositories through their API with a project ID.

repository.version

This is the url to the commit that was used to download the Gitlab repository.

A repository of a component will evolve over time, and that's a good thing. Bugs can get fixed, improvements can be made, etc. But it's not always possible to update your component. But that doesn't mean it couldn't be handy to clone the component you liked, or to apply the changes made to that repo also to your component.

repository.version_sha

The sha of the commit that was used to download the Gitlab repository.

repository.version_sha_short

The short sha of the commit that was used to download the Gitlab repository.

repository.diff_with_latest_version

A url to see what changed in the component's repository, since you've downloaded the component.

Gitlab offers the possibility to diff 2 commits with each other. This is a link to diff your downloaded version, with the latest commit on master. This could be very handy to open up if you want to apply the same change to your already downloaded component.

repository.clone_this_version

The command to use if you want to clone the exact same commit as how the component was downloaded from the platform.

This could be handy to see what went wrong since you started working in the component.

contributors

Possible values: an array containing numbered arrays.
Each numbered array contains the name of a contributor and a link to their Compony user page.

collection #

Possible values: false or array.
This variable will only be present If the component has been downloaded as part of a collection.

Sometimes a component will only make sense in it's original collection, so it might be handy to re-download the collection instead of the individual components.

name

This is the name of the collection that the component was a part of when it got downloaded. It can contain special characters and doesn't follow any naming convention.

details

A link to the detail page of the collection the component was downloaded under.

contributors

Possible values: an array containing numbered arrays.
Each numbered array contains the name of a contributor and a link to their Compony user page.

supported_by #

Name of the sponsor that is the official supporter in your country at the time when you download the component.