@tanstack/cta-engine 0.10.0-alpha.20 → 0.10.0-alpha.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,7 +58,7 @@ export async function writeFiles(environment, cwd, output, forced) {
58
58
  }
59
59
  }
60
60
  if (!forced && overwrittenFiles.length) {
61
- environment.warn('The following will be overwritten:', [...overwrittenFiles, ...output.deletedFiles].join('\n'));
61
+ environment.warn('The following will be overwritten', [...overwrittenFiles, ...output.deletedFiles].join('\n'));
62
62
  const shouldContinue = await environment.confirm('Do you want to continue?');
63
63
  if (!shouldContinue) {
64
64
  throw new Error('User cancelled');
@@ -161,7 +161,7 @@ function report(environment, options) {
161
161
  if (environment.getErrors().length) {
162
162
  errorStatement = `
163
163
 
164
- Errors were encountered during this process:
164
+ Errors were encountered during the creation of your app:
165
165
 
166
166
  ${environment.getErrors().join('\n')}`;
167
167
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/cta-engine",
3
- "version": "0.10.0-alpha.20",
3
+ "version": "0.10.0-alpha.21",
4
4
  "description": "Tanstack Application Builder Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/add-to-app.ts CHANGED
@@ -107,7 +107,7 @@ export async function writeFiles(
107
107
 
108
108
  if (!forced && overwrittenFiles.length) {
109
109
  environment.warn(
110
- 'The following will be overwritten:',
110
+ 'The following will be overwritten',
111
111
  [...overwrittenFiles, ...output.deletedFiles].join('\n'),
112
112
  )
113
113
  const shouldContinue = await environment.confirm('Do you want to continue?')
package/src/create-app.ts CHANGED
@@ -219,7 +219,7 @@ function report(environment: Environment, options: Options) {
219
219
  if (environment.getErrors().length) {
220
220
  errorStatement = `
221
221
 
222
- Errors were encountered during this process:
222
+ Errors were encountered during the creation of your app:
223
223
 
224
224
  ${environment.getErrors().join('\n')}`
225
225
  }