@static-suite/static-suite-data-server 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +0 -3
- package/.husky/pre-commit +4 -0
- package/api-extractor.json +1 -1
- package/dist/bin/serve.js +4 -6
- package/dist/http/httpServer.js +1 -1
- package/dist/http/public/assets/bulma/bulma.min.css +1 -1
- package/dist/http/public/assets/clipboard/clipboard.min.js +2 -2
- package/dist/http/public/assets/simple-datatables/index.js +2 -6
- package/dist/http/public/assets/simple-datatables/style.css +87 -51
- package/dist/http/routes/cache.js +2 -2
- package/dist/http/routes/data.js +3 -3
- package/dist/http/routes/dependency.d.ts.map +1 -1
- package/dist/http/routes/dependency.js +5 -5
- package/dist/http/routes/docs.js +3 -3
- package/dist/http/routes/dump.js +3 -3
- package/dist/http/routes/query.js +2 -2
- package/dist/http/routes/status.js +7 -7
- package/dist/http/routes/task.js +2 -2
- package/dist/http/views/cacheIndex.pug +1 -1
- package/dist/http/views/docs.pug +1 -1
- package/dist/lib/config/config.js +2 -2
- package/dist/lib/config/config.types.d.ts +3 -3
- package/dist/lib/config/config.types.d.ts.map +1 -1
- package/dist/lib/config/error/InvalidRunMode.d.ts +1 -1
- package/dist/lib/config/error/InvalidRunMode.d.ts.map +1 -1
- package/dist/lib/config/error/InvalidRunMode.js +1 -1
- package/dist/lib/config/error/MissingDirectory.d.ts +1 -1
- package/dist/lib/config/error/MissingDirectory.d.ts.map +1 -1
- package/dist/lib/config/error/MissingDirectory.js +1 -1
- package/dist/lib/config/error/MissingRequiredOption.d.ts +1 -1
- package/dist/lib/config/error/MissingRequiredOption.d.ts.map +1 -1
- package/dist/lib/config/error/MissingRequiredOption.js +1 -1
- package/dist/lib/config/error/NonWritableDirectory.d.ts +1 -1
- package/dist/lib/config/error/NonWritableDirectory.d.ts.map +1 -1
- package/dist/lib/config/error/NonWritableDirectory.js +1 -1
- package/dist/lib/config/error/index.js +5 -1
- package/dist/lib/config/index.js +5 -1
- package/dist/lib/dataServer.d.ts +4 -4
- package/dist/lib/dataServer.d.ts.map +1 -1
- package/dist/lib/dataServer.js +9 -9
- package/dist/lib/dataServer.types.d.ts +5 -5
- package/dist/lib/dataServer.types.d.ts.map +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +5 -3
- package/dist/lib/query/index.js +5 -1
- package/dist/lib/query/query.types.d.ts +8 -8
- package/dist/lib/query/query.types.d.ts.map +1 -1
- package/dist/lib/query/queryManager.js +1 -1
- package/dist/lib/query/queryRunner.js +6 -6
- package/dist/lib/query/queryTagManager.js +1 -1
- package/dist/lib/store/dataDir/dataDir.types.d.ts +1 -1
- package/dist/lib/store/dataDir/dataDir.types.d.ts.map +1 -1
- package/dist/lib/store/dataDir/dataDirManager.js +10 -10
- package/dist/lib/store/dataDir/index.js +5 -1
- package/dist/lib/store/dependency/dependency.types.d.ts +3 -3
- package/dist/lib/store/dependency/dependency.types.d.ts.map +1 -1
- package/dist/lib/store/dependency/dependencyFileHelper.d.ts +1 -1
- package/dist/lib/store/dependency/dependencyFileHelper.d.ts.map +1 -1
- package/dist/lib/store/diff/diff.types.d.ts +2 -2
- package/dist/lib/store/diff/diff.types.d.ts.map +1 -1
- package/dist/lib/store/diff/diffManager.js +1 -1
- package/dist/lib/store/diff/index.js +5 -1
- package/dist/lib/store/dump/dump.types.d.ts +3 -3
- package/dist/lib/store/dump/dump.types.d.ts.map +1 -1
- package/dist/lib/store/dump/dumpManager.js +4 -4
- package/dist/lib/store/dump/dumpMetadataHelper.js +3 -3
- package/dist/lib/store/dump/index.js +5 -1
- package/dist/lib/store/hook/hook.types.d.ts +7 -7
- package/dist/lib/store/hook/hook.types.d.ts.map +1 -1
- package/dist/lib/store/hook/hookManager.js +5 -5
- package/dist/lib/store/hook/index.js +5 -1
- package/dist/lib/store/include/includeParser.types.d.ts +5 -5
- package/dist/lib/store/include/includeParser.types.d.ts.map +1 -1
- package/dist/lib/store/include/index.js +5 -1
- package/dist/lib/store/include/parsers/entityIncludeParser.js +1 -1
- package/dist/lib/store/include/parsers/index.js +5 -1
- package/dist/lib/store/include/parsers/queryIncludeParser.js +5 -5
- package/dist/lib/store/include/parsers/types/aliasIncludeParser.d.ts +1 -1
- package/dist/lib/store/include/parsers/types/aliasIncludeParser.d.ts.map +1 -1
- package/dist/lib/store/include/parsers/types/aliasIncludeParser.js +1 -1
- package/dist/lib/store/include/parsers/types/aliasWithoutTypeIncludeParser.d.ts +1 -1
- package/dist/lib/store/include/parsers/types/aliasWithoutTypeIncludeParser.d.ts.map +1 -1
- package/dist/lib/store/include/parsers/types/aliasWithoutTypeIncludeParser.js +1 -1
- package/dist/lib/store/index.js +5 -1
- package/dist/lib/store/store.js +3 -3
- package/dist/lib/store/store.types.d.ts +4 -4
- package/dist/lib/store/store.types.d.ts.map +1 -1
- package/dist/lib/store/storeManager.js +2 -2
- package/dist/lib/store/workDir/index.js +5 -1
- package/dist/lib/store/workDir/storage/getChangedLinesBetween.js +2 -2
- package/dist/lib/store/workDir/storage/getDataFromLogLine.js +1 -1
- package/dist/lib/store/workDir/storage/getLogFile.js +1 -1
- package/dist/lib/store/workDir/storage/index.js +5 -1
- package/dist/lib/store/workDir/workDir.types.d.ts +2 -2
- package/dist/lib/store/workDir/workDir.types.d.ts.map +1 -1
- package/dist/lib/store/workDir/workDirHelper.js +2 -2
- package/dist/lib/task/index.js +5 -1
- package/dist/lib/task/task.types.d.ts +7 -7
- package/dist/lib/task/task.types.d.ts.map +1 -1
- package/dist/lib/task/taskManager.js +1 -1
- package/dist/lib/task/taskRunner.js +3 -3
- package/dist/lib/tsdoc-metadata.json +1 -1
- package/dist/lib/utils/cache/cacheBinManager.d.ts +2 -2
- package/dist/lib/utils/cache/cacheBinManager.d.ts.map +1 -1
- package/dist/lib/utils/cache/index.js +5 -1
- package/dist/lib/utils/fs/fs.types.d.ts +2 -2
- package/dist/lib/utils/fs/fs.types.d.ts.map +1 -1
- package/dist/lib/utils/fs/fsUtils.js +2 -2
- package/dist/lib/utils/fs/index.js +5 -1
- package/dist/lib/utils/logger/index.js +5 -1
- package/dist/lib/utils/logger/logger.d.ts +1 -1
- package/dist/lib/utils/logger/logger.d.ts.map +1 -1
- package/dist/lib/utils/logger/logger.js +3 -1
- package/dist/lib/utils/logger/logger.types.d.ts +3 -3
- package/dist/lib/utils/logger/logger.types.d.ts.map +1 -1
- package/dist/lib/utils/module/dirBasedModuleGroupManager.js +3 -3
- package/dist/lib/utils/module/index.js +5 -1
- package/dist/lib/utils/module/module.types.d.ts +2 -2
- package/dist/lib/utils/module/module.types.d.ts.map +1 -1
- package/dist/lib/utils/module/moduleManager.js +3 -3
- package/dist/lib/utils/object/index.js +5 -1
- package/dist/lib/utils/object/object.types.d.ts +2 -2
- package/dist/lib/utils/object/object.types.d.ts.map +1 -1
- package/dist/lib/utils/object/objectUtils.d.ts +2 -2
- package/dist/lib/utils/object/objectUtils.d.ts.map +1 -1
- package/dist/lib/utils/string/index.js +5 -1
- package/dist/lib/utils/string/string.types.d.ts +1 -1
- package/dist/lib/utils/string/string.types.d.ts.map +1 -1
- package/dist/lib/utils/string/stringUtils.d.ts +1 -1
- package/dist/lib/utils/string/stringUtils.js +2 -2
- package/dist/lib/watcher/index.js +5 -1
- package/dist/lib/watcher/watcher.js +8 -8
- package/dist/static-suite-data-server.d.ts +201 -27
- package/package.json +43 -60
- package/src/bin/serve.ts +4 -6
- package/src/http/httpServer.ts +1 -1
- package/src/http/routes/cache.ts +2 -2
- package/src/http/routes/data.ts +3 -3
- package/src/http/routes/dependency.ts +5 -6
- package/src/http/routes/docs.ts +3 -3
- package/src/http/routes/dump.ts +3 -3
- package/src/http/routes/query.ts +3 -3
- package/src/http/routes/status.ts +8 -8
- package/src/http/routes/task.ts +3 -3
- package/src/http/views/cacheIndex.pug +1 -1
- package/src/http/views/docs.pug +1 -1
- package/src/lib/config/__tests__/config.test.ts +1 -1
- package/src/lib/config/config.ts +2 -2
- package/src/lib/config/config.types.ts +1 -1
- package/src/lib/config/error/InvalidRunMode.ts +1 -1
- package/src/lib/config/error/MissingDirectory.ts +1 -1
- package/src/lib/config/error/MissingRequiredOption.ts +1 -1
- package/src/lib/config/error/NonWritableDirectory.ts +1 -1
- package/src/lib/dataServer.ts +11 -11
- package/src/lib/dataServer.types.ts +2 -2
- package/src/lib/index.ts +0 -3
- package/src/lib/query/__tests__/queryRunner.test.ts +4 -4
- package/src/lib/query/query.types.ts +1 -1
- package/src/lib/query/queryManager.ts +1 -1
- package/src/lib/query/queryRunner.ts +6 -6
- package/src/lib/query/queryTagManager.ts +2 -2
- package/src/lib/store/dataDir/__tests__/dataDirManager.test.ts +1 -1
- package/src/lib/store/dataDir/dataDirManager.ts +10 -10
- package/src/lib/store/dependency/dependencyFileHelper.ts +1 -1
- package/src/lib/store/diff/diffManager.ts +1 -1
- package/src/lib/store/dump/dumpManager.ts +4 -4
- package/src/lib/store/dump/dumpMetadataHelper.ts +3 -3
- package/src/lib/store/hook/hook.types.ts +5 -5
- package/src/lib/store/hook/hookManager.ts +6 -6
- package/src/lib/store/include/__tests__/includeParser.test.ts +2 -2
- package/src/lib/store/include/includeParser.ts +1 -1
- package/src/lib/store/include/includeParser.types.ts +1 -1
- package/src/lib/store/include/parsers/entityIncludeParser.ts +1 -1
- package/src/lib/store/include/parsers/queryIncludeParser.ts +5 -5
- package/src/lib/store/include/parsers/types/aliasIncludeParser.ts +2 -2
- package/src/lib/store/include/parsers/types/aliasWithoutTypeIncludeParser.ts +2 -2
- package/src/lib/store/store.ts +3 -3
- package/src/lib/store/storeManager.ts +3 -3
- package/src/lib/store/workDir/__tests__/workDirHelper.test.ts +1 -1
- package/src/lib/store/workDir/storage/__tests__/getChangedLinesBetween.test.ts +1 -1
- package/src/lib/store/workDir/storage/getChangedLinesBetween.ts +2 -2
- package/src/lib/store/workDir/storage/getDataFromLogLine.ts +1 -1
- package/src/lib/store/workDir/storage/getLogFile.ts +1 -1
- package/src/lib/store/workDir/workDirHelper.ts +2 -2
- package/src/lib/task/__tests__/taskRunner.test.ts +3 -3
- package/src/lib/task/task.types.ts +1 -1
- package/src/lib/task/taskManager.ts +1 -1
- package/src/lib/task/taskRunner.ts +3 -3
- package/src/lib/utils/fs/__tests__/fsUtils.test.ts +1 -1
- package/src/lib/utils/fs/fs.types.ts +1 -1
- package/src/lib/utils/fs/fsUtils.ts +2 -2
- package/src/lib/utils/logger/__tests__/logger.test.ts +1 -1
- package/src/lib/utils/logger/logger.ts +1 -0
- package/src/lib/utils/module/__tests__/dirBasedModuleGroupManager.test.ts +2 -2
- package/src/lib/utils/module/__tests__/moduleHandler.test.ts +19 -11
- package/src/lib/utils/module/dirBasedModuleGroupManager.ts +3 -3
- package/src/lib/utils/module/moduleManager.ts +3 -3
- package/src/lib/utils/object/objectUtils.ts +4 -1
- package/src/lib/utils/string/__tests__/stringUtils.test.ts +4 -2
- package/src/lib/utils/string/stringUtils.ts +2 -2
- package/src/lib/watcher/watcher.ts +8 -8
- package/tsconfig.json +0 -4
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable global-require */
|
|
3
3
|
import fs from 'fs';
|
|
4
4
|
import path from 'path';
|
|
5
|
-
import { logger } from '
|
|
5
|
+
import { logger } from '../../logger';
|
|
6
6
|
import { moduleManager } from '../moduleManager';
|
|
7
7
|
|
|
8
8
|
// This works in conjunction with "__mocks__/clear-module.js"
|
|
@@ -12,6 +12,11 @@ const dummyModulePath = fs.realpathSync(
|
|
|
12
12
|
path.resolve(path.join(__dirname, '../__mocks__/dummyModule.query.js')),
|
|
13
13
|
);
|
|
14
14
|
|
|
15
|
+
type DummyModule = {
|
|
16
|
+
dummyModule(): void;
|
|
17
|
+
dummyObject: { key: string };
|
|
18
|
+
};
|
|
19
|
+
|
|
15
20
|
beforeEach(() => {
|
|
16
21
|
logger.error = jest.fn();
|
|
17
22
|
});
|
|
@@ -20,7 +25,7 @@ describe('moduleHandler test', () => {
|
|
|
20
25
|
describe('get', () => {
|
|
21
26
|
describe('when a module exists', () => {
|
|
22
27
|
it('gets a module without logging any error', () => {
|
|
23
|
-
const { dummyObject } = moduleManager.get(dummyModulePath);
|
|
28
|
+
const { dummyObject } = moduleManager.get<DummyModule>(dummyModulePath);
|
|
24
29
|
|
|
25
30
|
expect(dummyObject.key).toBe('dummyModuleValue');
|
|
26
31
|
expect(logger.error).not.toHaveBeenCalled();
|
|
@@ -28,11 +33,11 @@ describe('moduleHandler test', () => {
|
|
|
28
33
|
|
|
29
34
|
it('gets a module twice without reloading it', () => {
|
|
30
35
|
const { dummyObject: firstDummyObject } =
|
|
31
|
-
moduleManager.get(dummyModulePath);
|
|
36
|
+
moduleManager.get<DummyModule>(dummyModulePath);
|
|
32
37
|
expect(firstDummyObject.key).toBe('dummyModuleValue');
|
|
33
38
|
firstDummyObject.key = 'updatedDummyModuleValue';
|
|
34
39
|
const { dummyObject: secondDummyObject } =
|
|
35
|
-
moduleManager.get(dummyModulePath);
|
|
40
|
+
moduleManager.get<DummyModule>(dummyModulePath);
|
|
36
41
|
expect(secondDummyObject.key).toBe('updatedDummyModuleValue');
|
|
37
42
|
});
|
|
38
43
|
});
|
|
@@ -48,16 +53,17 @@ describe('moduleHandler test', () => {
|
|
|
48
53
|
describe('load', () => {
|
|
49
54
|
describe('when a module exists', () => {
|
|
50
55
|
it('loads a module without logging any error', () => {
|
|
51
|
-
const { dummyObject } =
|
|
56
|
+
const { dummyObject } =
|
|
57
|
+
moduleManager.load<DummyModule>(dummyModulePath);
|
|
52
58
|
expect(dummyObject.key).toBe('dummyModuleValue');
|
|
53
59
|
expect(logger.error).not.toHaveBeenCalled();
|
|
54
60
|
});
|
|
55
61
|
|
|
56
62
|
it('loads a module twice reloading it from scratch', () => {
|
|
57
63
|
const { dummyObject: firstDummyObject } =
|
|
58
|
-
moduleManager.load(dummyModulePath);
|
|
64
|
+
moduleManager.load<DummyModule>(dummyModulePath);
|
|
59
65
|
const { dummyObject: secondDummyObject } =
|
|
60
|
-
moduleManager.load(dummyModulePath);
|
|
66
|
+
moduleManager.load<DummyModule>(dummyModulePath);
|
|
61
67
|
|
|
62
68
|
firstDummyObject.key = 'updatedDummyModuleValue';
|
|
63
69
|
|
|
@@ -76,10 +82,10 @@ describe('moduleHandler test', () => {
|
|
|
76
82
|
describe('remove', () => {
|
|
77
83
|
it('removes a single module from Node.js cache', () => {
|
|
78
84
|
const { dummyObject: firstDummyObject } =
|
|
79
|
-
moduleManager.get(dummyModulePath);
|
|
85
|
+
moduleManager.get<DummyModule>(dummyModulePath);
|
|
80
86
|
moduleManager.remove(dummyModulePath);
|
|
81
87
|
const { dummyObject: secondDummyObject } =
|
|
82
|
-
moduleManager.get(dummyModulePath);
|
|
88
|
+
moduleManager.get<DummyModule>(dummyModulePath);
|
|
83
89
|
firstDummyObject.key = 'updatedDummyModuleValue';
|
|
84
90
|
expect(firstDummyObject.key).toBe('updatedDummyModuleValue');
|
|
85
91
|
expect(secondDummyObject.key).toBe('dummyModuleValue');
|
|
@@ -88,10 +94,12 @@ describe('moduleHandler test', () => {
|
|
|
88
94
|
|
|
89
95
|
describe('removeAll', () => {
|
|
90
96
|
it('removes several modules from Node.js cache', () => {
|
|
91
|
-
const { dummyObject: dummyObject1 } =
|
|
97
|
+
const { dummyObject: dummyObject1 } =
|
|
98
|
+
moduleManager.get<DummyModule>(dummyModulePath);
|
|
92
99
|
dummyObject1.key = 'updatedDummyModuleValue';
|
|
93
100
|
moduleManager.removeAll(/dummyModule/);
|
|
94
|
-
const { dummyObject: dummyObject2 } =
|
|
101
|
+
const { dummyObject: dummyObject2 } =
|
|
102
|
+
moduleManager.get<DummyModule>(dummyModulePath);
|
|
95
103
|
|
|
96
104
|
expect(dummyObject1.key).toBe('updatedDummyModuleValue');
|
|
97
105
|
expect(dummyObject2.key).toBe('dummyModuleValue');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from 'path';
|
|
2
|
-
import { config } from '
|
|
3
|
-
import { findFilesInDir } from '
|
|
4
|
-
import { cache } from '
|
|
2
|
+
import { config } from '../../config';
|
|
3
|
+
import { findFilesInDir } from '../fs';
|
|
4
|
+
import { cache } from '../cache';
|
|
5
5
|
import { moduleManager } from './moduleManager';
|
|
6
6
|
import { ModuleGroupManager, ModuleInfo } from './module.types';
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* eslint-disable global-require */
|
|
2
2
|
/* eslint-disable import/no-dynamic-require */
|
|
3
3
|
import clearModule from 'clear-module';
|
|
4
|
-
import { logger } from '
|
|
5
|
-
import { config } from '
|
|
6
|
-
import { store } from '
|
|
4
|
+
import { logger } from '../logger';
|
|
5
|
+
import { config } from '../../config';
|
|
6
|
+
import { store } from '../../store';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Internal module cache.
|
|
@@ -18,7 +18,10 @@ export const isEmptyObject = (object: ObjectType): boolean =>
|
|
|
18
18
|
*
|
|
19
19
|
* @returns True if the object has the given key, false otherwise.
|
|
20
20
|
*/
|
|
21
|
-
export const hasKey = <
|
|
21
|
+
export const hasKey = <T extends object>(
|
|
22
|
+
object: T,
|
|
23
|
+
key: PropertyKey,
|
|
24
|
+
): key is keyof T => {
|
|
22
25
|
return key in object;
|
|
23
26
|
};
|
|
24
27
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { logger } from '
|
|
1
|
+
import { logger } from '../../logger';
|
|
2
2
|
import {
|
|
3
3
|
isUniqueId,
|
|
4
4
|
parseJsonString,
|
|
@@ -36,7 +36,9 @@ describe('String utils test', () => {
|
|
|
36
36
|
describe('parseUniqueId', () => {
|
|
37
37
|
it('parses a valid unique id and returns a date', () => {
|
|
38
38
|
const uniqueIdDate = parseUniqueId('2022-09-28_11-42-00.001712__7220');
|
|
39
|
-
|
|
39
|
+
// Depending on the time of year (Daylight saving time or not), parsing
|
|
40
|
+
// a unique id returns a different date. This test checks both possible values.
|
|
41
|
+
expect([1664365320001, 1664361720001]).toContain(uniqueIdDate?.getTime());
|
|
40
42
|
});
|
|
41
43
|
|
|
42
44
|
it('parses a non valid unique id and returns null', () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { logger } from '
|
|
1
|
+
import { logger } from '../logger';
|
|
2
2
|
import { URLSearchParamsObject } from './string.types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -87,7 +87,7 @@ export const parseUniqueId = (uniqueId: string): Date | null => {
|
|
|
87
87
|
/**
|
|
88
88
|
* Checks that a string is a unique id.
|
|
89
89
|
*
|
|
90
|
-
* @param uniqueId - A unique id
|
|
90
|
+
* @param uniqueId - A unique id to be checked
|
|
91
91
|
*/
|
|
92
92
|
export const isUniqueId = (uniqueId: string): boolean =>
|
|
93
93
|
/(\d{4})-(\d{2})-(\d{2})_(\d{2})-(\d{2})-(\d{2})\.(\d{3}).*/.test(uniqueId);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { config } from '
|
|
2
|
-
import { dataDirManager } from '
|
|
3
|
-
import { logger } from '
|
|
4
|
-
import { cache } from '
|
|
5
|
-
import { watch } from '
|
|
6
|
-
import { hookManager } from '
|
|
7
|
-
import { queryManager } from '
|
|
8
|
-
import { taskManager } from '
|
|
1
|
+
import { config } from '../config';
|
|
2
|
+
import { dataDirManager } from '../store/dataDir/dataDirManager';
|
|
3
|
+
import { logger } from '../utils/logger';
|
|
4
|
+
import { cache } from '../utils/cache';
|
|
5
|
+
import { watch } from '../utils/fs';
|
|
6
|
+
import { hookManager } from '../store/hook';
|
|
7
|
+
import { queryManager } from '../query';
|
|
8
|
+
import { taskManager } from '../task';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Initializes a watcher on any file inside queryDir, hookDir and taskDir.
|
package/tsconfig.json
CHANGED
|
@@ -51,10 +51,6 @@
|
|
|
51
51
|
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
|
|
52
52
|
"baseUrl": "./src" /* Base directory to resolve non-absolute module names. */,
|
|
53
53
|
"paths": {
|
|
54
|
-
"@bin/*": ["bin/*"],
|
|
55
|
-
"@http/*": ["http/*"],
|
|
56
|
-
"@lib/*": ["lib/*"],
|
|
57
|
-
"@__tests__/*": ["__tests__/*"]
|
|
58
54
|
} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */,
|
|
59
55
|
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
|
|
60
56
|
// "typeRoots": [], /* List of folders to include type definitions from. */
|