33import * as fs from 'fs' ;
44import * as path from 'path' ;
55
6- import { Inquirerer , ListQuestion } from 'inquirerer ' ;
6+ import { Prompter , ListQuestion } from 'genomic ' ;
77import minimist , { ParsedArgs } from 'minimist' ;
88
9- import { CacheManager , GitCloner , checkNpmVersion } from 'create-gen-app ' ;
9+ import { CacheManager , GitCloner , checkNpmVersion } from '@genomic/scaffolds ' ;
1010import { createFromTemplate } from './index' ;
1111
1212const DEFAULT_REPO = 'https://github.com/constructive-io/pgpm-boilerplates.git' ;
@@ -15,10 +15,9 @@ const DEFAULT_TOOL_NAME = 'create-gen-app-test';
1515const DEFAULT_TTL = 604800000 ; // 1 week
1616const DEFAULT_TTL_DAYS = DEFAULT_TTL / ( 24 * 60 * 60 * 1000 ) ;
1717
18- // Import package.json for version
19- import * as createGenPackageJson from 'create-gen-app/package.json' ;
20- const PACKAGE_NAME = createGenPackageJson . name ?? '@launchql/cli' ;
21- const PACKAGE_VERSION = createGenPackageJson . version ?? '0.0.0' ;
18+ // Package info - using the scaffolds package name and version
19+ const PACKAGE_NAME = '@genomic/scaffolds' ;
20+ const PACKAGE_VERSION = '1.0.0' ;
2221
2322const RESERVED_ARG_KEYS = new Set ( [
2423 '_' ,
@@ -280,7 +279,7 @@ function printVersion(): void {
280279}
281280
282281async function promptForTemplate ( templates : string [ ] ) : Promise < string > {
283- const prompter = new Inquirerer ( ) ;
282+ const prompter = new Prompter ( ) ;
284283 const question : ListQuestion = {
285284 type : 'list' ,
286285 name : 'template' ,
0 commit comments