weloop-kosign 1.0.8 → 1.0.9
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/package.json +1 -1
- package/scripts/cli-remote.js +1 -2
package/package.json
CHANGED
package/scripts/cli-remote.js
CHANGED
|
@@ -784,10 +784,9 @@ async function installComponent(componentName, options = {}) {
|
|
|
784
784
|
process.exit(1);
|
|
785
785
|
}
|
|
786
786
|
|
|
787
|
-
// Check if component already exists
|
|
787
|
+
// Check if component already exists (silently skip if exists, matching shadcn/ui behavior)
|
|
788
788
|
const componentPath = path.join(componentsDir, `${componentName}.tsx`);
|
|
789
789
|
if (fs.existsSync(componentPath) && !overwrite) {
|
|
790
|
-
warn(`Component "${componentName}" already exists. Use --overwrite to replace it.`);
|
|
791
790
|
return;
|
|
792
791
|
}
|
|
793
792
|
|