Skip to content

Commit

Permalink
Refinement of get lwc template, code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
lushang committed Mar 28, 2020
1 parent 8015298 commit 1c2e99c
Show file tree
Hide file tree
Showing 3 changed files with 193 additions and 206 deletions.
393 changes: 189 additions & 204 deletions config/templates/templates.json
Original file line number Diff line number Diff line change
@@ -1,205 +1,190 @@
{
"Aura": {
"Application": {
"directory": "Aura/Application.app",
"extension": ".app",
"children": ["Controller", "Helper", "Style", "Documentation", "Renderer", "Design", "SVG"]
},

"Component": {
"directory": "Aura/Component.cmp",
"extension": ".cmp",
"children": ["Controller", "Helper", "Style", "Documentation", "Renderer", "Design", "SVG"]
},

"Interface": {
"directory": "Aura/Interface.intf",
"extension": ".intf",
"children": []
},

"Event": {
"directory": "Aura/Event.evt",
"extension": ".evt",
"children": []
}
},

"AuraElement": {
"Controller": {
"directory": "AuraElement/Controller.js",
"extension": ".js"
},

"Helper": {
"directory": "AuraElement/Helper.js",
"extension": ".js"
},

"Style": {
"directory": "AuraElement/Style.css",
"extension": ".css"
},

"Documentation": {
"directory": "AuraElement/Documentation.auradoc",
"extension": ".auradoc"
},

"Renderer": {
"directory": "AuraElement/Renderer.js",
"extension": ".js"
},

"Design": {
"directory": "AuraElement/Design.design",
"extension": ".design"
},

"SVG": {
"directory": "AuraElement/SVG.svg",
"extension": ".svg"
}
},

"lwc": {
"html": {
"directory": "lwc/lwc.html",
"extension": ".html"
},
"js": {
"directory": "lwc/lwc.js",
"extension": ".js"
},
"js-meta": {
"directory": "lwc/lwc.js-meta.xml",
"extension": ".js-meta.xml"
}
},

"ApexClass": {
"Aura": {
"directory": "ApexClass/Aura.cls",
"extension": ".cls",
"description": "Basic template for Aura Class"
},
"Basic": {
"directory": "ApexClass/Basic.cls",
"extension": ".cls",
"description": "Basic Pattern"
},
"Batch": {
"directory": "ApexClass/Batch.cls",
"extension": ".cls",
"description": "Batch Class Template"
},
"Controller": {
"directory": "ApexClass/Controller.cls",
"extension": ".cls",
"description": "Custom Controller"
},
"Queueable": {
"directory": "ApexClass/Queueable.cls",
"extension": ".cls",
"description": "Queueable Apex Template"
},
"StandardController Extension": {
"directory": "ApexClass/StandardController Extension.cls",
"extension": ".cls",
"description": "directory for StandardController"
},
"StandardSetController Extension": {
"directory": "ApexClass/StandardSetController Extension.cls",
"extension": ".cls",
"description": "directory for StandardSetController"
},
"Schedule": {
"directory": "ApexClass/Schedule.cls",
"extension": ".cls",
"description": "Schedule Class Template"
},
"Exception": {
"directory": "ApexClass/Exception.cls",
"extension": ".cls",
"description": "Exception Class"
},
"Apex REST": {
"directory": "ApexClass/Apex REST.cls",
"extension": ".cls",
"description": "REST Class"
},
"Test": {
"directory": "ApexClass/Test.cls",
"extension": ".cls",
"description": "Test Class"
},
"Triggers Template": {
"directory": "ApexClass/Triggers Template.cls",
"extension": ".cls",
"description": "Triggers Template"
},
"Triggers Implementation": {
"directory": "ApexClass/Triggers Implementation.cls",
"extension": ".cls",
"description": "Implementation Class for Triggers Template"
}
},

"ApexTrigger": {
"Basic": {
"directory": "ApexTrigger/Basic.trigger",
"extension": ".trigger",
"description": "Trigger Template"
}
},

"ApexComponent": {
"Basic": {
"directory": "ApexComponent/Basic.component",
"extension": ".component",
"description": "component Template"
}
},

"ApexPage": {
"Basic": {
"directory": "ApexPage/Basic.page",
"extension": ".page",
"description": "Visualforce Page Template"
}
},

"Lwc": {
"HTLM": {
"directory": "Lwc/lwc.html",
"extension": ".html"
},

"JavaScript": {
"directory": "Lwc/lwc.js",
"extension": ".js"
},

"Configuration": {
"directory": "Lwc/lwc.js-meta.xml",
"extension": ".js-meta.xml"
}
},

"LwcElement": {
"AdditionalJS": {
"directory": "LwcElement/Additional.js",
"extension": ".js"
},

"CSS": {
"directory": "LwcElement/Style.css",
"extension": ".css"
},

"SVG": {
"directory": "LwcElement/SVG.svg",
"extension": ".svg"
}
}
{
"Aura": {
"Application": {
"directory": "Aura/Application.app",
"extension": ".app",
"children": ["Controller", "Helper", "Style", "Documentation", "Renderer", "Design", "SVG"]
},

"Component": {
"directory": "Aura/Component.cmp",
"extension": ".cmp",
"children": ["Controller", "Helper", "Style", "Documentation", "Renderer", "Design", "SVG"]
},

"Interface": {
"directory": "Aura/Interface.intf",
"extension": ".intf",
"children": []
},

"Event": {
"directory": "Aura/Event.evt",
"extension": ".evt",
"children": []
}
},

"AuraElement": {
"Controller": {
"directory": "AuraElement/Controller.js",
"extension": ".js"
},

"Helper": {
"directory": "AuraElement/Helper.js",
"extension": ".js"
},

"Style": {
"directory": "AuraElement/Style.css",
"extension": ".css"
},

"Documentation": {
"directory": "AuraElement/Documentation.auradoc",
"extension": ".auradoc"
},

"Renderer": {
"directory": "AuraElement/Renderer.js",
"extension": ".js"
},

"Design": {
"directory": "AuraElement/Design.design",
"extension": ".design"
},

"SVG": {
"directory": "AuraElement/SVG.svg",
"extension": ".svg"
}
},

"ApexClass": {
"Aura": {
"directory": "ApexClass/Aura.cls",
"extension": ".cls",
"description": "Basic template for Aura Class"
},
"Basic": {
"directory": "ApexClass/Basic.cls",
"extension": ".cls",
"description": "Basic Pattern"
},
"Batch": {
"directory": "ApexClass/Batch.cls",
"extension": ".cls",
"description": "Batch Class Template"
},
"Controller": {
"directory": "ApexClass/Controller.cls",
"extension": ".cls",
"description": "Custom Controller"
},
"Queueable": {
"directory": "ApexClass/Queueable.cls",
"extension": ".cls",
"description": "Queueable Apex Template"
},
"StandardController Extension": {
"directory": "ApexClass/StandardController Extension.cls",
"extension": ".cls",
"description": "directory for StandardController"
},
"StandardSetController Extension": {
"directory": "ApexClass/StandardSetController Extension.cls",
"extension": ".cls",
"description": "directory for StandardSetController"
},
"Schedule": {
"directory": "ApexClass/Schedule.cls",
"extension": ".cls",
"description": "Schedule Class Template"
},
"Exception": {
"directory": "ApexClass/Exception.cls",
"extension": ".cls",
"description": "Exception Class"
},
"Apex REST": {
"directory": "ApexClass/Apex REST.cls",
"extension": ".cls",
"description": "REST Class"
},
"Test": {
"directory": "ApexClass/Test.cls",
"extension": ".cls",
"description": "Test Class"
},
"Triggers Template": {
"directory": "ApexClass/Triggers Template.cls",
"extension": ".cls",
"description": "Triggers Template"
},
"Triggers Implementation": {
"directory": "ApexClass/Triggers Implementation.cls",
"extension": ".cls",
"description": "Implementation Class for Triggers Template"
}
},

"ApexTrigger": {
"Basic": {
"directory": "ApexTrigger/Basic.trigger",
"extension": ".trigger",
"description": "Trigger Template"
}
},

"ApexComponent": {
"Basic": {
"directory": "ApexComponent/Basic.component",
"extension": ".component",
"description": "component Template"
}
},

"ApexPage": {
"Basic": {
"directory": "ApexPage/Basic.page",
"extension": ".page",
"description": "Visualforce Page Template"
}
},

"Lwc": {
"HTLM": {
"directory": "Lwc/lwc.html",
"extension": ".html"
},

"JavaScript": {
"directory": "Lwc/lwc.js",
"extension": ".js"
},

"Configuration": {
"directory": "Lwc/lwc.js-meta.xml",
"extension": ".js-meta.xml"
}
},

"LwcElement": {
"AdditionalJS": {
"directory": "LwcElement/Additional.js",
"extension": ".js"
},

"CSS": {
"directory": "LwcElement/Style.css",
"extension": ".css"
},

"SVG": {
"directory": "LwcElement/SVG.svg",
"extension": ".svg"
}
}
}
Loading

0 comments on commit 1c2e99c

Please sign in to comment.