feat(supported-version): add service_preferences and support for php-fpm and nginx (#255)

This commit is contained in:
Damien Retzinger
2026-05-17 15:51:05 -04:00
parent 8e82fcc893
commit e89f6ad2e0
16 changed files with 642 additions and 47 deletions
@@ -0,0 +1,18 @@
import { tierFor } from './tier-map';
describe('tierFor', () => {
it.each([
['mysql', 'db'],
['elasticsearch', 'search'],
['opensearch', 'search'],
['rabbitmq', 'queue'],
['redis', 'cache'],
['valkey', 'cache'],
])('maps %s to %s', (name, tier) => {
expect(tierFor(name)).toBe(tier);
});
it('returns undefined for unknown names', () => {
expect(tierFor('foobar')).toBeUndefined();
});
});