mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
refactor(imports): replace relative imports with path aliases (#2741)
This commit is contained in:
1 parent
a59b80ce11
commit
84dcf6b8a8
1834 files changed
+11601
-10725
No files matched your search
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import type {DerivedEndpoints} from './EndpointDerivation';
|
||||
import type {DerivedEndpoints} from '@fluxer/config/src/EndpointDerivation';
|
||||
|
||||
export type RuntimeEnv = 'development' | 'production' | 'test';
|
||||
export type DatabaseBackend = 'postgres' | 'cassandra';
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import {serviceEnvironment, serviceList, serviceNames} from '@fluxer/config/src/__tests__/SelfHostingCompose';
|
||||
import {loadConfig, resetConfig} from '@fluxer/config/src/ConfigLoader';
|
||||
import {normalizePublicEndpoint} from '@fluxer/config/src/EndpointDerivation';
|
||||
import type {MasterConfig} from '@fluxer/config/src/MasterConfig';
|
||||
import {afterEach, beforeEach, describe, expect, test, vi} from 'vitest';
|
||||
|
||||
import {serviceEnvironment, serviceList, serviceNames} from './SelfHostingCompose';
|
||||
|
||||
const DOMAIN = 'chat.example.com';
|
||||
const PUBLIC_PORT = '19080';
|
||||
const ORIGIN_PORT = '29080';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import {serviceEnvironment, serviceNames, sharedEnvironment} from '@fluxer/config/src/__tests__/SelfHostingCompose';
|
||||
import {describe, expect, test} from 'vitest';
|
||||
import {serviceEnvironment, serviceNames, sharedEnvironment} from './SelfHostingCompose';
|
||||
|
||||
describe('the shipped compose stack wires every service it starts', () => {
|
||||
test('no service sizes a pool for a connection it cannot make', () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import {composeService, serviceEnvironment, serviceList} from '@fluxer/config/src/__tests__/SelfHostingCompose';
|
||||
import {describe, expect, test} from 'vitest';
|
||||
import {composeService, serviceEnvironment, serviceList} from './SelfHostingCompose';
|
||||
|
||||
describe('the shipped object store checks the credentials the stack sends', () => {
|
||||
const entrypoint = serviceList('seaweedfs-init', 'entrypoint');
|
||||
|
||||
Reference in new issue
Block a user