@take-out/scripts 0.0.76 → 0.0.78
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 +10 -2
- package/src/up.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@take-out/scripts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.78",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/run.ts",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -28,7 +28,15 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@take-out/helpers": "0.0.
|
|
31
|
+
"@take-out/helpers": "0.0.76"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"vxrn": "*"
|
|
35
|
+
},
|
|
36
|
+
"peerDependenciesMeta": {
|
|
37
|
+
"vxrn": {
|
|
38
|
+
"optional": true
|
|
39
|
+
}
|
|
32
40
|
},
|
|
33
41
|
"devDependencies": {
|
|
34
42
|
"vxrn": "1.4.10-1770207233041"
|
package/src/up.ts
CHANGED
|
@@ -206,6 +206,10 @@ function updatePackageJsonVersions(
|
|
|
206
206
|
depsObject[pkg] = newVersion
|
|
207
207
|
} else {
|
|
208
208
|
const currentVersion = depsObject[pkg]
|
|
209
|
+
// skip wildcard ranges like "*" - they should stay as-is
|
|
210
|
+
if (currentVersion === '*') {
|
|
211
|
+
continue
|
|
212
|
+
}
|
|
209
213
|
const prefixMatch = currentVersion.match(/^([^\d]*)/)
|
|
210
214
|
const prefix = prefixMatch?.[1] || ''
|
|
211
215
|
depsObject[pkg] = `${prefix}${newVersion}`
|