diff --git a/commands/add_package.ts b/commands/add_package.ts index a9b46b1..973aa14 100644 --- a/commands/add_package.ts +++ b/commands/add_package.ts @@ -109,7 +109,7 @@ export default class AddPackage extends BaseCommand { if (officialScopes.includes(repoScope)) return 'official' - return 'community' + return '3rd-party' } @inject() diff --git a/tests/unit/packages_fetcher.spec.ts b/tests/unit/packages_fetcher.spec.ts index 4e8b296..073240e 100644 --- a/tests/unit/packages_fetcher.spec.ts +++ b/tests/unit/packages_fetcher.spec.ts @@ -62,7 +62,7 @@ test.group('Packages Fetcher', (group) => { await packageFactory(), await packageFactory(), await packageFactory(), - ]).fetchPackages({ sort: 'stars' }) + ]).fetchPackages({ orderBy: 'stars' }) const stars = result.packages.map((pkg) => pkg.stars)