Skip to content

Commit fe273e9

Browse files
committed
chore: small changes
1 parent bd66b14 commit fe273e9

File tree

5 files changed

+1045
-984
lines changed

5 files changed

+1045
-984
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"bin": "./dist/index.js",
55
"type": "module",
66
"scripts": {
7-
"cleanNodeModules": "pnpm -r exec rm -rf node_modules",
7+
"cleanNodeModules": "rm -rf node_modules && pnpm -r exec rm -rf node_modules",
88
"build": "nx run-many --target=build --parallel 5",
99
"cipublish": "node scripts/publish.js",
1010
"dev": "nx run-many --target=dev --parallel 10",

packages/cta-cli/src/ui-environment.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,16 @@ export function createUIEnvironment(
3535
},
3636
info: (title?: string, message?: string) => {
3737
log.info(
38-
`${title ? chalk.red(title) : ''}${message ? chalk.green(message) : ''}`,
38+
`${title ? chalk.red(title) : ''}${message ? '\n' + chalk.green(message) : ''}`,
3939
)
4040
},
4141
error: (title?: string, message?: string) => {
42-
log.error(`${title ? `${title}: ` : ''}${message}`)
42+
log.error(
43+
`${title ? `${title}: ` : ''}${message ? '\n' + message : ''}`,
44+
)
4345
},
4446
warn: (title?: string, message?: string) => {
45-
log.warn(`${title ? `${title}: ` : ''}${message}`)
47+
log.warn(`${title ? `${title}: ` : ''}${message ? '\n' + message : ''}`)
4648
},
4749
confirm: async (message: string) => {
4850
const shouldContinue = await confirm({

packages/cta-engine/src/add-to-app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export async function writeFiles(
107107

108108
if (!forced && overwrittenFiles.length) {
109109
environment.warn(
110-
'The following will be overwritten:',
110+
'The following will be overwritten',
111111
[...overwrittenFiles, ...output.deletedFiles].join('\n'),
112112
)
113113
const shouldContinue = await environment.confirm('Do you want to continue?')

packages/cta-ui/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"@tanstack/react-router-devtools": "^1.114.3",
4040
"@tanstack/react-router-with-query": "^1.114.3",
4141
"@tanstack/react-start": "^1.114.3",
42-
"@tanstack/react-store": "^0.7.0",
4342
"@tanstack/router-plugin": "^1.114.3",
4443
"@uiw/codemirror-theme-github": "^4.23.10",
4544
"@uiw/react-codemirror": "^4.23.10",

0 commit comments

Comments
 (0)