@tanstack/cta-cli 0.16.1 → 0.16.2
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/cli.js +0 -1
- package/package.json +1 -1
- package/src/cli.ts +0 -2
package/dist/cli.js
CHANGED
|
@@ -217,7 +217,6 @@ Remove your node_modules directory and package lock file and re-install.`);
|
|
|
217
217
|
.option('--ui', 'Add with the UI');
|
|
218
218
|
program.action(async (projectName, options) => {
|
|
219
219
|
if (options.listAddOns) {
|
|
220
|
-
console.log(options.framework || defaultFramework || 'react-cra');
|
|
221
220
|
const addOns = await getAllAddOns(getFrameworkById(options.framework || defaultFramework || 'react-cra'), defaultMode ||
|
|
222
221
|
convertTemplateToMode(options.template || defaultTemplate));
|
|
223
222
|
for (const addOn of addOns.filter((a) => !forcedAddOns.includes(a.id))) {
|
package/package.json
CHANGED
package/src/cli.ts
CHANGED
|
@@ -14,7 +14,6 @@ import {
|
|
|
14
14
|
createSerializedOptions,
|
|
15
15
|
getAllAddOns,
|
|
16
16
|
getFrameworkById,
|
|
17
|
-
getFrameworkByName,
|
|
18
17
|
getFrameworks,
|
|
19
18
|
initAddOn,
|
|
20
19
|
initStarter,
|
|
@@ -334,7 +333,6 @@ Remove your node_modules directory and package lock file and re-install.`,
|
|
|
334
333
|
|
|
335
334
|
program.action(async (projectName: string, options: CliOptions) => {
|
|
336
335
|
if (options.listAddOns) {
|
|
337
|
-
console.log(options.framework || defaultFramework || 'react-cra')
|
|
338
336
|
const addOns = await getAllAddOns(
|
|
339
337
|
getFrameworkById(options.framework || defaultFramework || 'react-cra')!,
|
|
340
338
|
defaultMode ||
|