refactor: migrate es mapping types from es-mapping-generator to .d.ts next to generated mappings

This commit is contained in:
2023-06-30 12:01:38 +02:00
parent 1aaf85b444
commit 0a7e6af141
19 changed files with 354 additions and 435 deletions

View File

@@ -38,7 +38,6 @@
"lint": "eslint --ext .ts src/",
"lint:fix": "eslint --fix --ext .ts src/",
"mappings": "openstapps-es-mapping-generator mapping ../core/src -i minlength,pattern,see,tjs-format -m lib/mappings/mappings.json -a lib/mappings/aggregations.json",
"mappings-integration": "openstapps-es-mapping-generator put-es-templates lib/mappings/mappings.json http://elasticsearch:9200/",
"openapi": "openstapps-core-tools openapi lib lib && node -e \"assert(JSON.parse(require('fs').readFileSync('lib/openapi.json', 'utf8')).paths['/search'] !== undefined)\"",
"schema": "node --max-old-space-size=8192 --stack-size=10240 ./node_modules/@openstapps/core-tools/lib/app.js schema src lib/schema",
"test": "c8 mocha"
@@ -120,11 +119,5 @@
"eslintIgnore": [
"resources",
"openapi"
],
"openstapps-configuration": {
"overrides": [
"lint",
"build"
]
}
]
}

9
packages/core/turbo.json Normal file
View File

@@ -0,0 +1,9 @@
{
"extends": ["//"],
"pipeline": {
"test": {
"dependsOn": ["build"],
"outputs": ["coverage/cobertura-coverage.xml", "coverage/report-junit.xml"]
}
}
}