@@ -35,22 +35,22 @@ export function useCffstr () {
3535
3636 const makeJavascriptObject = ( ) => {
3737 const cff = {
38- abstract : abstract . value ,
39- authors : authors . value ,
40- commit : commit . value ,
4138 cffVersion : cffVersion . value ,
42- dateReleased : dateReleased . value ,
43- identifiers : identifiers . value ,
44- keywords : keywords . value ,
45- license : license . value ,
46- message : message . value ,
47- repository : repository . value ,
48- repositoryArtifact : repositoryArtifact . value ,
49- repositoryCode : repositoryCode . value ,
5039 title : title . value ,
40+ message : message . value ,
5141 type : type . value ,
42+ authors : authors . value ,
43+ identifiers : identifiers . value ,
44+ repositoryCode : repositoryCode . value ,
5245 url : url . value ,
53- version : version . value
46+ repository : repository . value ,
47+ repositoryArtifact : repositoryArtifact . value ,
48+ abstract : abstract . value ,
49+ keywords : keywords . value ,
50+ license : license . value ,
51+ commit : commit . value ,
52+ version : version . value ,
53+ dateReleased : dateReleased . value
5454 } as CffType
5555 const filtered = deepfilter ( cff , notEmpty )
5656 // eslint-disable-next-line @typescript-eslint/no-unsafe-return
@@ -59,7 +59,7 @@ export function useCffstr () {
5959
6060 const makeCffstr = ( ) => {
6161 const kebabed = makeJavascriptObject ( )
62- const yamlString = yaml . dump ( kebabed , { indent : 2 , sortKeys : true , lineWidth : 53 } )
62+ const yamlString = yaml . dump ( kebabed , { indent : 2 , lineWidth : 53 } )
6363 const generatedBy = '# This CITATION.cff file was generated with cffinit.\n# Visit https://bit.ly/cffinit to generate yours today!\n\n'
6464 return generatedBy + yamlString
6565 }
0 commit comments