silgi 0.29.28 → 0.29.29
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/index.mjs +1 -1
- package/dist/cli/install.mjs +1 -1
- package/package.json +1 -1
package/dist/cli/index.mjs
CHANGED
package/dist/cli/install.mjs
CHANGED
|
@@ -116,7 +116,7 @@ const command = defineCommand({
|
|
|
116
116
|
return;
|
|
117
117
|
}
|
|
118
118
|
const cleanPackageName = (name, version) => {
|
|
119
|
-
const cleanVersion = version.replace(/^
|
|
119
|
+
const cleanVersion = version.replace(/^(>=|<=|>|<)/, "^");
|
|
120
120
|
return `${name}@${cleanVersion}`;
|
|
121
121
|
};
|
|
122
122
|
const deps = Object.entries(packages.dependencies || {}).map(([name, version]) => cleanPackageName(name, version)).join(" ");
|