@oxy.so/doctor 0.1.1 → 1.0.0
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/README.md +2 -2
- package/package.json +1 -1
- package/src/checks.mjs +1 -1
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ bunx @oxy.so/doctor --ci
|
|
|
13
13
|
bunx @oxy.so/doctor --json
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
It checks direct dependencies under canonical `@oxy.so
|
|
17
|
-
|
|
16
|
+
It checks direct dependencies under the canonical `@oxy.so/*` scope against
|
|
17
|
+
npm, reports duplicate
|
|
18
18
|
versions in `bun.lock`, and fails
|
|
19
19
|
clearly when the lockfile is missing. `--ci` exits 1 for findings; operational
|
|
20
20
|
failures use status 2. Default mode is informational.
|
package/package.json
CHANGED
package/src/checks.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { readFile, readdir } from 'node:fs/promises';
|
|
|
2
2
|
import { existsSync } from 'node:fs';
|
|
3
3
|
import { dirname, join, resolve } from 'node:path';
|
|
4
4
|
|
|
5
|
-
export const FIRST_PARTY_SCOPES = ['@oxy.so/'
|
|
5
|
+
export const FIRST_PARTY_SCOPES = ['@oxy.so/'];
|
|
6
6
|
export const isFirstPartyPackage = (name) => FIRST_PARTY_SCOPES.some((scope) => name.startsWith(scope));
|
|
7
7
|
|
|
8
8
|
export function compareVersions(left, right) {
|