Skip to content

Commit 555a135

Browse files
committed
chore: change template name
1 parent 0233e8e commit 555a135

File tree

257 files changed

+19
-19
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

257 files changed

+19
-19
lines changed

README.md

Lines changed: 2 additions & 2 deletions

generators/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export default class extends Generator {
130130
* The rest of the files, like utils/* and db/* are also not needed since the sample
131131
* app contains their own mechanisms to talk with the db.
132132
*/
133-
if( this.options.templateChoice.includes('ords-concert-app' )){
133+
if( this.options.templateChoice.includes('ords-remix-jwt-sample' )){
134134
this.fs.copy(
135135
this.templatePath( `${this.options.templateChoice}/.gitignore` ),
136136
this.destinationPath( '.gitignore' ),
@@ -204,7 +204,7 @@ export default class extends Generator {
204204

205205
end() {
206206
this.log( 'Application generated successfully. Run the following command: \n\ncd ' + path.join( process.cwd(), this.options.appName ) + '\n');
207-
if(!this.options.templateChoice.includes('ords-concert-app')){}
207+
if(!this.options.templateChoice.includes('ords-remix-jwt-sample')){}
208208
this.log('Please check out the README file to learn how to configurate the ORDS Concert App')
209209
}
210210
}

src/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export default class Generate extends Command {
207207
'template': Flags.string({
208208
char: 't',
209209
description: 'Template to use',
210-
options: ['node-vanilla', 'node-react', 'node-vue', 'node-react-todo', 'node-jet', 'node-angular', 'ords-concert-app'],
210+
options: ['node-vanilla', 'node-react', 'node-vue', 'node-react-todo', 'node-jet', 'node-angular', 'ords-remix-jwt-sample'],
211211
multiple: false
212212
}),
213213

@@ -369,8 +369,8 @@ export default class Generate extends Command {
369369
description: 'This creates a simple Todo app made with ExpressJS as the backend, React as the frontend, and an Oracle Database connection that will be created from the details you provide later...',
370370
},
371371
{
372-
name: 'ords-concert-app',
373-
value: 'ords-concert-app',
372+
name: 'ords-remix-jwt-sample',
373+
value: 'ords-remix-jwt-sample',
374374
description: 'This creates a fullstack Concert Application made with Remix that leverages the Oracle REST Data Services functionalities. You will need to configurate the application yourself following the getting started guide.',
375375
},
376376
],
@@ -385,7 +385,7 @@ export default class Generate extends Command {
385385
};
386386

387387
// Ask the user for the database connection type (Either basic connection or a connection using a cloud wallet).
388-
const databaseConnectionType = connectionType === '' && templateChoice !== 'ords-concert-app' ? await select(
388+
const databaseConnectionType = connectionType === '' && templateChoice !== 'ords-remix-jwt-sample' ? await select(
389389
{
390390
message: 'Which database connection type would you like to choose?',
391391
choices: [
@@ -506,7 +506,7 @@ export default class Generate extends Command {
506506
});
507507
}
508508

509-
if(templateChoice !== 'ords-concert-app'){
509+
if(templateChoice !== 'ords-remix-jwt-sample'){
510510
// Ask the user for the database connection username.
511511
Object.assign( configObject, {
512512
connectionUsername: databaseUsername === '' ? await input(

0 commit comments

Comments
 (0)