This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const prompt = require("prompt"); | |
const { exec } = require('child_process'); | |
prompt.start(); | |
console.log('Digite a versão do commit:'); | |
prompt.get(['version'], function (erro, result) { | |
if (erro) return; | |
const hoje = new Date(); | |
exec(`git add www -f && git commit -m build-${hoje.getFullYear()}${hoje.getMonth()+1}${hoje.getDate()}-${result.version || ''} && git push deploy`, (err, stdout, stderr) => { | |
if (err) return; | |
console.log(stdout); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-app> | |
<ion-split-pane> | |
<ion-menu type="overlay" *transloco="let t"> | |
<ion-header> | |
<ion-toolbar color="tertiary"> | |
<ion-title>Menu</ion-title> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ng-container *transloco="let tr"> | |
<ion-header> | |
<ion-toolbar color="primary"> | |
<ion-buttons slot="start"> | |
<ion-menu-button></ion-menu-button> | |
</ion-buttons> | |
<ion-title>{{tr.home_title}}</ion-title> | |
</ion-toolbar> | |
</ion-header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@NgModule({ | |
imports: [ | |
CommonModule, | |
FormsModule, | |
IonicModule, | |
TranslocoModule, | |
RouterModule.forChild([ | |
{ | |
path: '', | |
component: HomePage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"languages": "Languages", | |
"langPt": "Portuguese", | |
"langBr": "Brazilian Portuguese", | |
"langEn": "English", | |
"langEs": "Spanish", | |
"home_title": "Home", | |
"home_getStarted": "Get Started", | |
"home_welcomeTitle": "Welcome to Ionic", | |
"home_welcomeText": "Now that your app has been created, you'll want to start building out features and components. Check out some of the resources below for next steps.", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"languages": "Languages", | |
"langPt": "Portuguese", | |
"langBr": "Brazilian Portuguese", | |
"langEn": "English", | |
"langEs": "Spanish" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-app> | |
<ion-split-pane> | |
<ion-menu type="overlay"> | |
<ion-header> | |
<ion-toolbar> | |
<ion-title>Menu</ion-title> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content> | |
<ion-list> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"home": "Main Page" | |
} |
NewerOlder