@pubinfo-pr/cli 0.182.5 → 0.182.6
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.
|
@@ -111,7 +111,7 @@ function detectModulesFromPackage(pkg) {
|
|
|
111
111
|
return modules;
|
|
112
112
|
}
|
|
113
113
|
function detectOpenapiEnabled(pkg) {
|
|
114
|
-
return hasDependency(pkg, "@pubinfo
|
|
114
|
+
return hasDependency(pkg, "@pubinfo/openapi") || hasDependency(pkg, "@pubinfo/preset-openapi") || Boolean(pkg.scripts?.openapi);
|
|
115
115
|
}
|
|
116
116
|
function resolvePubinfoVersionFromPackage(pkg) {
|
|
117
117
|
return pkg.dependencies?.pubinfo || pkg.devDependencies?.pubinfo;
|
package/dist/upgrade-B-Zl5nkj.js
CHANGED
|
@@ -17,7 +17,7 @@ const command = defineCommand({
|
|
|
17
17
|
...pkg.peerDependencies
|
|
18
18
|
};
|
|
19
19
|
function isPubinfoRelated(name) {
|
|
20
|
-
return name === "pubinfo-pr" || name.startsWith("@pubinfo
|
|
20
|
+
return name === "pubinfo-pr" || name.startsWith("@pubinfo/module-");
|
|
21
21
|
}
|
|
22
22
|
const pubinfoDeps = Object.keys(deps).filter(isPubinfoRelated);
|
|
23
23
|
if (!pubinfoDeps.length) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pubinfo-pr/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.182.
|
|
4
|
+
"version": "0.182.6",
|
|
5
5
|
"description": "CLI for Pubinfo",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./bin/pubinfo.mjs"
|
|
@@ -18,20 +18,20 @@
|
|
|
18
18
|
"node": "^20.19.0 || >=22.12.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@pubinfo-pr/vite": "0.182.
|
|
21
|
+
"@pubinfo-pr/vite": "0.182.6"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@pubinfo-pr/commitlint": "0.182.
|
|
25
|
-
"@pubinfo-pr/shared": "0.182.
|
|
24
|
+
"@pubinfo-pr/commitlint": "0.182.6",
|
|
25
|
+
"@pubinfo-pr/shared": "0.182.6",
|
|
26
26
|
"cheerio": "^1.1.2",
|
|
27
27
|
"citty": "^0.1.6",
|
|
28
|
-
"create-pubinfo-pr": "0.182.
|
|
28
|
+
"create-pubinfo-pr": "0.182.6",
|
|
29
29
|
"execa": "^9.6.0",
|
|
30
30
|
"globby": "^14.1.0",
|
|
31
31
|
"pkg-types": "^2.3.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@pubinfo-pr/vite": "0.182.
|
|
34
|
+
"@pubinfo-pr/vite": "0.182.6",
|
|
35
35
|
"@types/node": "^24.0.10"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|