Skip to content

Commit

Permalink
fix(presets): use dash instead of spaces (#24374)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Sep 12, 2023
1 parent 7d4de49 commit 389b9aa
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions lib/config/presets/internal/monorepo.spec.ts
@@ -0,0 +1,26 @@
import { presets } from './monorepo';

const todo = new Set([
'arcus.background-jobs',
'arcus.event-grid',
'arcus.messaging',
'arcus.observability',
'arcus.security',
'arcus.webapi',
'aspnet aspnetwebstack',
'aspnet extensions',
'azure azure-libraries-for-net',
'azure azure-sdk-for-net',
'azure azure-storage-net',
'Hangfire',
'system.io.abstractions',
'vaadinWebComponents',
]);

describe('config/presets/internal/monorepo', () => {
it('presets should have right name', () => {
for (const name of Object.keys(presets).filter((name) => !todo.has(name))) {
expect(name).toMatch(/^[a-z0-9-]+$/);
}
});
});
4 changes: 2 additions & 2 deletions lib/config/presets/internal/monorepo.ts
Expand Up @@ -34,9 +34,9 @@ const repoGroups = {
'arcus.webapi': 'https://github.com/arcus-azure/arcus.webapi',
'aspnet aspnetwebstack': 'https://github.com/aspnet/AspNetWebStack',
'aspnet extensions': 'https://github.com/aspnet/Extensions',
'aspnet health checks':
'https://github.com/xabaril/AspNetCore.Diagnostics.HealthChecks',
'aspnet-api-versioning': 'https://github.com/Microsoft/aspnet-api-versioning',
'aspnet-health-checks':
'https://github.com/xabaril/AspNetCore.Diagnostics.HealthChecks',
'automapper-dotnet': [
'https://github.com/AutoMapper/AutoMapper',
'https://github.com/AutoMapper/AutoMapper.Extensions.Microsoft.DependencyInjection',
Expand Down

0 comments on commit 389b9aa

Please sign in to comment.