style: format generated app ports

This commit is contained in:
archipelago
2026-09-12 05:37:55 -04:00
parent 1e409007d4
commit 39727dacbc
2 changed files with 4 additions and 37 deletions
+3 -36
View File
@@ -6,40 +6,7 @@
//! no listener, so allowing them is inert.
pub const APP_LAUNCH_PORTS: &[u16] = &[
2283,
2342,
3000,
3001,
3002,
4080,
5180,
7778,
8080,
8081,
8082,
8083,
8084,
8085,
8087,
8090,
8096,
8123,
8175,
8176,
8187,
8240,
8334,
8336,
8337,
8888,
8999,
9000,
9100,
10380,
11434,
18081,
18083,
23000,
32838,
50002,
2283, 2342, 3000, 3001, 3002, 4080, 5180, 7778, 8080, 8081, 8082, 8083, 8084, 8085, 8087, 8090,
8096, 8123, 8175, 8176, 8187, 8240, 8334, 8336, 8337, 8888, 8999, 9000, 9100, 10380, 11434,
18081, 18083, 23000, 32838, 50002,
];
@@ -118,7 +118,7 @@ describe('appsConfig service filtering', () => {
it('keeps every curated app placeholder out of Services during install', () => {
for (const id of Object.keys(APP_CATEGORY_MAP)) {
if (isServiceContainer(id)) continue
const placeholder = makePkg(id, id, APP_CATEGORY_MAP[id])
const placeholder = makePkg(id, id, APP_CATEGORY_MAP[id] ?? 'other')
placeholder.state = PackageState.Installing
expect(isWebsitePackage(id, placeholder), id).toBe(false)
}