@zenfs/devel 1.1.0 → 1.1.1
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/bin/node-compat.js +4 -4
- package/package.json +2 -2
package/dist/bin/node-compat.js
CHANGED
|
@@ -64,7 +64,7 @@ cli.command('summary', { isDefault: true })
|
|
|
64
64
|
console.log(styleText('bold', 'Node.js'.padEnd(9)), `${displayPath(node.path)} @ ${node.ref}`, styleText('dim', repoInfo));
|
|
65
65
|
console.log(styleText('bold', 'ZenFS'.padEnd(9)), core.zenfs.version);
|
|
66
66
|
console.log(styleText('bold', 'Marks'.padEnd(9)), `${marks.size} in ${displayPath(cli.opts().state)}\n`);
|
|
67
|
-
console.log(styleText('bold', since == '4' ?
|
|
67
|
+
console.log(styleText('bold', since == '4' ? 'PRs' : `PRs since ${since}`), styleText('dim', `(${prs.length})`));
|
|
68
68
|
for (const semver of semvers) {
|
|
69
69
|
const group = counts[semver];
|
|
70
70
|
if (!group)
|
|
@@ -76,10 +76,10 @@ cli.command('summary', { isDefault: true })
|
|
|
76
76
|
.join(', ');
|
|
77
77
|
console.log(' ', pad(styleText(semverStyles[semver], semver), 11), String(total).padStart(4), ' ', breakdown);
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
console.log(
|
|
79
|
+
const compatPercent = Math.floor((present / apis.length) * 100);
|
|
80
|
+
console.log(styleText('bold', '\nAPI compatibility:'), present + '/' + apis.length, `(${styleText(['bold', compatPercent == 100 ? 'green' : 'yellow'], compatPercent + '%')})`);
|
|
81
81
|
if (missing.length) {
|
|
82
|
-
console.log(styleText('bold', '
|
|
82
|
+
console.log(styleText('bold', 'Missing APIs:'));
|
|
83
83
|
for (const { api } of missing)
|
|
84
84
|
console.log(' ', styleText('red', api.id));
|
|
85
85
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenfs/devel",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Tooling for developing ZenFS packages",
|
|
5
5
|
"funding": {
|
|
6
6
|
"type": "individual",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"exports": {
|
|
41
41
|
"./eslint": "./eslint.shared.js",
|
|
42
42
|
".": "./dist/index.js",
|
|
43
|
-
"./node_compat": "./dist/node_compat.js",
|
|
43
|
+
"./node_compat": "./dist/node_compat/index.js",
|
|
44
44
|
"./*": "./dist/*.js"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|