Skip to content

Commit a2458ce

Browse files
committed
Clean up JSDoc comments and migrate entry point structure
- Remove excessive @param and @returns JSDoc tags from scripts/get-coverage-percentage.mjs - Delete obsolete root-level index.ts file (moved to src/index.ts) - Remove .oxlintignore file as patterns are now in .oxlintrc.json - Add new src/index.ts as the TypeScript source entry point
1 parent b9b83cf commit a2458ce

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.oxlintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

scripts/get-coverage-percentage.mjs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ const indent = ' '
1515
/**
1616
* Logs coverage percentage data including code and type coverage metrics.
1717
* Supports multiple output formats: default (formatted), JSON, and simple.
18-
* @param {Object} argv - Command line arguments.
19-
* @param {boolean} argv.json - Output as JSON.
20-
* @param {boolean} argv.simple - Output only the statement coverage percentage.
2118
*/
2219
async function logCoveragePercentage(argv) {
2320
const { spinner } = constants

index.ts renamed to src/index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ export {
3838
UrlConverter,
3939
err,
4040
ok,
41-
} from './src/package-url.js'
42-
export type { DownloadUrl, RepositoryUrl, Result } from './src/package-url.js'
41+
} from './package-url.js'
42+
export type {
43+
DownloadUrl,
44+
RepositoryUrl,
45+
Result,
46+
} from './package-url.js'
4347
/* c8 ignore stop */

0 commit comments

Comments
 (0)