@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.
- package/dist/add-to-app.js +1 -1
- package/dist/create-app.js +1 -1
- package/package.json +1 -1
- package/src/add-to-app.ts +1 -1
- package/src/create-app.ts +1 -1
package/dist/add-to-app.js
CHANGED
|
@@ -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
|
|
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');
|
package/dist/create-app.js
CHANGED
|
@@ -161,7 +161,7 @@ function report(environment, options) {
|
|
|
161
161
|
if (environment.getErrors().length) {
|
|
162
162
|
errorStatement = `
|
|
163
163
|
|
|
164
|
-
Errors were encountered during
|
|
164
|
+
Errors were encountered during the creation of your app:
|
|
165
165
|
|
|
166
166
|
${environment.getErrors().join('\n')}`;
|
|
167
167
|
}
|
package/package.json
CHANGED
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
|
|
222
|
+
Errors were encountered during the creation of your app:
|
|
223
223
|
|
|
224
224
|
${environment.getErrors().join('\n')}`
|
|
225
225
|
}
|