style: format generated app ports
This commit is contained in:
@@ -6,40 +6,7 @@
|
|||||||
//! no listener, so allowing them is inert.
|
//! no listener, so allowing them is inert.
|
||||||
|
|
||||||
pub const APP_LAUNCH_PORTS: &[u16] = &[
|
pub const APP_LAUNCH_PORTS: &[u16] = &[
|
||||||
2283,
|
2283, 2342, 3000, 3001, 3002, 4080, 5180, 7778, 8080, 8081, 8082, 8083, 8084, 8085, 8087, 8090,
|
||||||
2342,
|
8096, 8123, 8175, 8176, 8187, 8240, 8334, 8336, 8337, 8888, 8999, 9000, 9100, 10380, 11434,
|
||||||
3000,
|
18081, 18083, 23000, 32838, 50002,
|
||||||
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', () => {
|
it('keeps every curated app placeholder out of Services during install', () => {
|
||||||
for (const id of Object.keys(APP_CATEGORY_MAP)) {
|
for (const id of Object.keys(APP_CATEGORY_MAP)) {
|
||||||
if (isServiceContainer(id)) continue
|
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
|
placeholder.state = PackageState.Installing
|
||||||
expect(isWebsitePackage(id, placeholder), id).toBe(false)
|
expect(isWebsitePackage(id, placeholder), id).toBe(false)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user