Skip to content

Add composer.json - #32

Merged
twomice merged 1 commit into
TechToThePeople:masterfrom
mlutfy:addComposer
Aug 21, 2024
Merged

twomice merged 1 commit into
TechToThePeople:masterfrom
mlutfy:addComposer

Conversation

@mlutfy

@mlutfy mlutfy commented Aug 20, 2024

Copy link
Copy Markdown
Contributor

Makes it easier to handle code updates when using composer.

@twomice

twomice commented Aug 20, 2024

Copy link
Copy Markdown
Collaborator

@mlutfy I like the idea here. Quick question: is there a common standard naming convention for properties like name and type on civicrm extensions? (Revealing my composer ignorance here.)

@mlutfy

mlutfy commented Aug 20, 2024

Copy link
Copy Markdown
Contributor Author

@twomice The convention is:

  • name civicrm/short-name
  • description: similar to what's in the info.xml

I defer to the folks of iXiam, who have been encouraging this convention: https://lab.civicrm.org/extensions/summernote/-/blob/1.x/composer.json

civix discussions: totten/civix#267

@twomice
twomice merged commit 669a251 into TechToThePeople:master Aug 21, 2024
@twomice

twomice commented Aug 21, 2024

Copy link
Copy Markdown
Collaborator

Merged -- thanks @mlutfy !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants