mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Update eslint related dependencies
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import * as Path from 'path';
|
||||
import { ReadStream, WriteStream } from 'tty';
|
||||
import { Loader, LoaderProperties } from 'componentsjs';
|
||||
import type { ReadStream, WriteStream } from 'tty';
|
||||
import type { LoaderProperties } from 'componentsjs';
|
||||
import { Loader } from 'componentsjs';
|
||||
import yargs from 'yargs';
|
||||
import { Setup } from './Setup';
|
||||
import type { Setup } from './Setup';
|
||||
|
||||
/**
|
||||
* Generic run function for starting the server from a given config
|
||||
@@ -43,7 +44,7 @@ export const runCustom = function(
|
||||
'urn:solid-server:default:variable:base': `http://localhost:${argv.port}/`,
|
||||
'urn:solid-server:default:variable:rootFilePath': process.cwd(),
|
||||
},
|
||||
});
|
||||
}) as Setup;
|
||||
return await setup.setup();
|
||||
})().then((base: string): void => {
|
||||
stdout.write(`Running at ${base}\n`);
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import streamifyArray from 'streamify-array';
|
||||
import { AclManager } from '../authorization/AclManager';
|
||||
import type { AclManager } from '../authorization/AclManager';
|
||||
import { RepresentationMetadata } from '../ldp/representation/RepresentationMetadata';
|
||||
import { ExpressHttpServer } from '../server/ExpressHttpServer';
|
||||
import { ResourceStore } from '../storage/ResourceStore';
|
||||
import type { ExpressHttpServer } from '../server/ExpressHttpServer';
|
||||
import type { ResourceStore } from '../storage/ResourceStore';
|
||||
import { TEXT_TURTLE } from '../util/ContentTypes';
|
||||
import { CONTENT_TYPE } from '../util/UriConstants';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user