prpm 2.1.34 → 2.1.35
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/index.js +4 -5
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -24732,11 +24732,10 @@ async function handleUpdate(packageName, options = {}) {
|
|
|
24732
24732
|
`
|
|
24733
24733
|
\u{1F4E6} Updating ${packageId}: ${currentVersion} \u2192 ${latestVersion}`
|
|
24734
24734
|
);
|
|
24735
|
-
const
|
|
24736
|
-
|
|
24737
|
-
|
|
24738
|
-
}
|
|
24739
|
-
await handleInstall(`${packageId}@${latestVersion}`, installOptions);
|
|
24735
|
+
const targetFormat = pkg.format || installedFormat;
|
|
24736
|
+
await handleInstall(`${packageId}@${latestVersion}`, {
|
|
24737
|
+
as: targetFormat
|
|
24738
|
+
});
|
|
24740
24739
|
updatedCount++;
|
|
24741
24740
|
} catch (err) {
|
|
24742
24741
|
console.error(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prpm",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.35",
|
|
4
4
|
"description": "Prompt Package Manager CLI - Install and manage prompt-based files",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@octokit/rest": "^22.0.0",
|
|
48
|
-
"@pr-pm/converters": "^2.1.
|
|
49
|
-
"@pr-pm/registry-client": "^2.3.
|
|
50
|
-
"@pr-pm/types": "^2.1.
|
|
48
|
+
"@pr-pm/converters": "^2.1.36",
|
|
49
|
+
"@pr-pm/registry-client": "^2.3.35",
|
|
50
|
+
"@pr-pm/types": "^2.1.36",
|
|
51
51
|
"ajv": "^8.17.1",
|
|
52
52
|
"ajv-formats": "^3.0.1",
|
|
53
53
|
"chalk": "^5.6.2",
|