mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +00:00
Initial Commit
This commit is contained in:
24
package-lock.json
generated
24
package-lock.json
generated
@@ -120,6 +120,12 @@
|
|||||||
"ansi-styles": "^4.1.0",
|
"ansi-styles": "^4.1.0",
|
||||||
"supports-color": "^7.1.0"
|
"supports-color": "^7.1.0"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"commander": {
|
||||||
|
"version": "6.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/commander/-/commander-6.2.0.tgz",
|
||||||
|
"integrity": "sha512-zP4jEKbe8SHzKJYQmq8Y9gYjtO/POJLgIdKgV7B9qNmABVFVc+ctqSX6iXh4mCpJfRBOabiZ2YKPg8ciDw6C+Q==",
|
||||||
|
"dev": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -140,6 +146,11 @@
|
|||||||
"version": "14.14.45",
|
"version": "14.14.45",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.45.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.45.tgz",
|
||||||
"integrity": "sha512-DssMqTV9UnnoxDWu959sDLZzfvqCF0qDNRjaWeYSui9xkFe61kKo4l1TWNTQONpuXEm+gLMRvdlzvNHBamzmEw=="
|
"integrity": "sha512-DssMqTV9UnnoxDWu959sDLZzfvqCF0qDNRjaWeYSui9xkFe61kKo4l1TWNTQONpuXEm+gLMRvdlzvNHBamzmEw=="
|
||||||
|
},
|
||||||
|
"flatted": {
|
||||||
|
"version": "3.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.1.tgz",
|
||||||
|
"integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA=="
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -535,10 +546,9 @@
|
|||||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
|
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
|
||||||
},
|
},
|
||||||
"commander": {
|
"commander": {
|
||||||
"version": "6.2.0",
|
"version": "8.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/commander/-/commander-6.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/commander/-/commander-8.1.0.tgz",
|
||||||
"integrity": "sha512-zP4jEKbe8SHzKJYQmq8Y9gYjtO/POJLgIdKgV7B9qNmABVFVc+ctqSX6iXh4mCpJfRBOabiZ2YKPg8ciDw6C+Q==",
|
"integrity": "sha512-mf45ldcuHSYShkplHHGKWb4TrmwQadxOn7v4WuhDJy0ZVoY5JFajaRDKD0PNe5qXzBX0rhovjTnP6Kz9LETcuA=="
|
||||||
"dev": true
|
|
||||||
},
|
},
|
||||||
"compare-func": {
|
"compare-func": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
@@ -932,9 +942,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"flatted": {
|
"flatted": {
|
||||||
"version": "3.1.1",
|
"version": "3.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.2.tgz",
|
||||||
"integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA=="
|
"integrity": "sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA=="
|
||||||
},
|
},
|
||||||
"fs-extra": {
|
"fs-extra": {
|
||||||
"version": "9.1.0",
|
"version": "9.1.0",
|
||||||
|
|||||||
@@ -24,7 +24,9 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@openstapps/logger": "0.7.0",
|
"@openstapps/logger": "0.7.0",
|
||||||
|
"commander": "8.1.0",
|
||||||
"deepmerge": "4.2.2",
|
"deepmerge": "4.2.2",
|
||||||
|
"flatted": "3.2.2",
|
||||||
"got": "11.8.2",
|
"got": "11.8.2",
|
||||||
"typedoc": "0.18.0",
|
"typedoc": "0.18.0",
|
||||||
"typescript": "3.8.3"
|
"typescript": "3.8.3"
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ import {readFileSync, writeFileSync} from 'fs';
|
|||||||
import got from 'got';
|
import got from 'got';
|
||||||
import {resolve} from 'path';
|
import {resolve} from 'path';
|
||||||
import {exit} from 'process';
|
import {exit} from 'process';
|
||||||
import {getProjectReflection} from './project-reflection';
|
|
||||||
import {generateTemplate} from './mapping';
|
import {generateTemplate} from './mapping';
|
||||||
|
import {getProjectReflection} from './project-reflection';
|
||||||
|
|
||||||
// handle unhandled promise rejections
|
// handle unhandled promise rejections
|
||||||
process.on('unhandledRejection', async (reason: unknown) => {
|
process.on('unhandledRejection', async (reason: unknown) => {
|
||||||
|
|||||||
@@ -28,11 +28,11 @@ import {
|
|||||||
TypeParameterType,
|
TypeParameterType,
|
||||||
UnionType,
|
UnionType,
|
||||||
} from 'typedoc/dist/lib/models';
|
} from 'typedoc/dist/lib/models';
|
||||||
import {AggregationSchema, ESNestedAggregation} from './types/aggregation';
|
|
||||||
import {fieldmap, filterableMap, filterableTagName} from './config/fieldmap';
|
import {fieldmap, filterableMap, filterableTagName} from './config/fieldmap';
|
||||||
import {premaps} from './config/premap';
|
import {premaps} from './config/premap';
|
||||||
import {settings} from './config/settings';
|
import {settings} from './config/settings';
|
||||||
import {dynamicTypes, ElasticsearchDataType, typemap} from './config/typemap';
|
import {dynamicTypes, ElasticsearchDataType, typemap} from './config/typemap';
|
||||||
|
import {AggregationSchema, ESNestedAggregation} from './types/aggregation';
|
||||||
import {
|
import {
|
||||||
ElasticsearchDynamicTemplate,
|
ElasticsearchDynamicTemplate,
|
||||||
ElasticsearchObject,
|
ElasticsearchObject,
|
||||||
|
|||||||
@@ -12,11 +12,11 @@
|
|||||||
* You should have received a copy of the GNU General Public License along with
|
* You should have received a copy of the GNU General Public License along with
|
||||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
import {existsSync, PathLike} from "fs";
|
import {Logger} from '@openstapps/logger';
|
||||||
import {join, sep} from "path";
|
import {existsSync, PathLike} from 'fs';
|
||||||
import {platform} from "os";
|
import {platform} from 'os';
|
||||||
import {Logger} from "@openstapps/logger";
|
import {join, sep} from 'path';
|
||||||
import {Application, ProjectReflection} from "typedoc";
|
import {Application, ProjectReflection} from 'typedoc';
|
||||||
import {ModuleKind, ScriptTarget} from 'typescript';
|
import {ModuleKind, ScriptTarget} from 'typescript';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user