File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 "codify-schemas" : " 1.0.32" ,
1212 "ajv" : " ^8.12.0" ,
1313 "ajv-formats" : " ^3.0.1" ,
14- "tsx" : " ^4.7.3"
14+ "tsx" : " ^4.7.3" ,
15+ "ink" : " ^4.4.1" ,
16+ "react" : " ^18.3.1"
1517 },
1618 "description" : " Codify is a set up as code tool for developers" ,
1719 "devDependencies" : {
2325 "@types/mock-fs" : " ^4.13.3" ,
2426 "@types/node" : " ^18" ,
2527 "@types/semver" : " ^7.5.4" ,
28+ "@types/react" : " ^18.3.1" ,
2629 "eslint-config-prettier" : " ^9.0.0" ,
2730 "chai" : " ^4" ,
2831 "chai-as-promised" : " ^7.1.1" ,
Original file line number Diff line number Diff line change 11import { Args , Command , Flags } from '@oclif/core'
2+ import { render , Text } from 'ink' ;
23import * as path from 'node:path' ;
4+ import * as React from 'react' ;
5+
36import { PlanOrchestrator } from '../../orchestrators/plan.js' ;
47
58export default class Plan extends Command {
@@ -25,6 +28,8 @@ export default class Plan extends Command {
2528 public async run ( ) : Promise < void > {
2629 const { args, flags } = await this . parse ( Plan )
2730
31+ render ( < Text color = "blue" > Test Text</ Text > ) ;
32+
2833 const name = flags . name ?? 'world'
2934 this . log ( `hello ${ name } from /Users/kevinwang/Projects/codify/codify-core/src/commands/plan.ts` )
3035 if ( args . file && flags . force ) {
Original file line number Diff line number Diff line change 55 "moduleResolution" : " Node16" ,
66 "esModuleInterop" : true ,
77 "resolveJsonModule" : true ,
8+ "jsx" : " react" ,
89 "outDir" : " dist" ,
910 "rootDir" : " src" ,
1011 "strict" : true ,
You can’t perform that action at this time.
0 commit comments