Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: avoid delta between templates locally and on org #616

Merged
merged 2 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/templates/apexclass/_class.cls-meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion><%= apiVersion %></apiVersion>
<status>Active</status>
</ApexClass>
</ApexClass>
4 changes: 2 additions & 2 deletions src/templates/apextrigger/_trigger.trigger-meta.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<?xml version="1.0" encoding="UTF-8"?>
<ApexTrigger xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion><%= apiVersion %></apiVersion>
<status>Active</status>
</ApexTrigger>
</ApexTrigger>
2 changes: 1 addition & 1 deletion src/templates/lightningapp/DefaultLightningApp.app
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<aura:application>

</aura:application>
</aura:application>
2 changes: 1 addition & 1 deletion src/templates/lightningapp/DefaultLightningController.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
myAction : function(component, event, helper) {

}
})
})
2 changes: 1 addition & 1 deletion src/templates/lightningapp/DefaultLightningCss.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.THIS {
}
}
2 changes: 1 addition & 1 deletion src/templates/lightningapp/DefaultLightningHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
helperMethod : function() {

}
})
})
2 changes: 1 addition & 1 deletion src/templates/lightningapp/DefaultLightningRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

// Your renderer method overrides go here

})
})
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<AuraDefinitionBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion><%= apiVersion %></apiVersion>
<description><%= description %></description>
</AuraDefinitionBundle>
</AuraDefinitionBundle>
2 changes: 1 addition & 1 deletion src/templates/lightningcomponent/aura/default/default.cmp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<aura:component>

</aura:component>
</aura:component>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8"?>
<AuraDefinitionBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion><%= apiVersion %></apiVersion>
<description><%= description %></description>
</AuraDefinitionBundle>
</AuraDefinitionBundle>
2 changes: 1 addition & 1 deletion src/templates/lightningcomponent/aura/default/default.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.THIS {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
myAction : function(component, event, helper) {

}
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
helperMethod : function() {

}
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

// Your renderer method overrides go here

})
})
2 changes: 1 addition & 1 deletion src/templates/lightningevent/DefaultLightningEvt.evt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<aura:event type="APPLICATION" description="Event template"/>
<aura:event type="APPLICATION" description="Event template" />
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<AuraDefinitionBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion><%= apiVersion %></apiVersion>
<description><%= description %></description>
</AuraDefinitionBundle>
</AuraDefinitionBundle>
2 changes: 1 addition & 1 deletion src/templates/lightninginterface/DefaultLightningIntf.intf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<aura:interface description="Interface template">
<aura:attribute name="example" type="String" default="" description="An example attribute."/>
</aura:interface>
</aura:interface>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<apex:component>
<apex:component >
<!-- Begin Default Content REMOVE THIS -->
<h1>Congratulations</h1>
This is your new Component
<!-- End Default Content REMOVE THIS -->
</apex:component>
</apex:component>
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<ApexComponent xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion><%= apiVersion %></apiVersion>
<label><%= vfLabel %></label>
</ApexComponent>
</ApexComponent>
2 changes: 1 addition & 1 deletion src/templates/visualforcepage/DefaultVFPage.page
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<apex:page>
<apex:page >
<!-- Begin Default Content REMOVE THIS -->
<h1>Congratulations</h1>
This is your new Page
Expand Down
4 changes: 3 additions & 1 deletion src/templates/visualforcepage/_page.page-meta.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ApexPage xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion><%= apiVersion %></apiVersion>
<availableInTouch>false</availableInTouch>
<confirmationTokenRequired>false</confirmationTokenRequired>
<label><%= vfLabel %></label>
</ApexPage>
</ApexPage>
Loading