update dependencies
This commit is contained in:
parent
7b2361c2a8
commit
e0a35280c3
@ -20,7 +20,7 @@ module.exports = {
|
||||
"@typescript-eslint/prefer-interface": ["off"],
|
||||
"import/no-extraneous-dependencies": [
|
||||
"error",
|
||||
{ devDependencies: ["**/*.test.ts"] }
|
||||
{ devDependencies: ["test/**/*.ts"] }
|
||||
],
|
||||
"@typescript-eslint/no-floating-promises": ["error"],
|
||||
"no-use-before-define": ["error", "nofunc"],
|
||||
|
1913
package-lock.json
generated
1913
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
66
package.json
66
package.json
@ -28,43 +28,41 @@
|
||||
"dependencies": {
|
||||
"change-case": "^4.1.1",
|
||||
"fs-extra": "^8.1.0",
|
||||
"handlebars": "^4.5.3",
|
||||
"inquirer": "^7.0.3",
|
||||
"mssql": "^6.0.1",
|
||||
"mysql": "^2.17.1",
|
||||
"pg": "^7.17.0",
|
||||
"handlebars": "^4.7.3",
|
||||
"inquirer": "^7.1.0",
|
||||
"mssql": "^6.2.0",
|
||||
"mysql": "^2.18.1",
|
||||
"pg": "^7.18.2",
|
||||
"pluralize": "^8.0.0",
|
||||
"prettier": "^1.19.1",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"sqlite3": "^4.1.1",
|
||||
"typeorm": "^0.2.22",
|
||||
"typescript": "^3.7.4",
|
||||
"yargs": "^15.1.0",
|
||||
"yn": "^3.1.1"
|
||||
"typeorm": "^0.2.24",
|
||||
"yargs": "^15.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/array.prototype.flatmap": "^1.2.0",
|
||||
"@types/chai": "^4.2.7",
|
||||
"@types/array.prototype.flatmap": "^1.2.1",
|
||||
"@types/chai": "^4.2.11",
|
||||
"@types/chai-as-promised": "^7.1.2",
|
||||
"@types/chai-subset": "^1.3.3",
|
||||
"@types/eslint": "^6.1.3",
|
||||
"@types/fs-extra": "^8.0.1",
|
||||
"@types/eslint": "^6.1.8",
|
||||
"@types/fs-extra": "^8.1.0",
|
||||
"@types/handlebars": "^4.1.0",
|
||||
"@types/inquirer": "^6.5.0",
|
||||
"@types/mocha": "^5.2.7",
|
||||
"@types/mocha": "^7.0.2",
|
||||
"@types/mssql": "^6.0.0",
|
||||
"@types/mysql": "^2.15.8",
|
||||
"@types/node": "^13.1.4",
|
||||
"@types/oracledb": "^4.1.1",
|
||||
"@types/pg": "^7.14.1",
|
||||
"@types/mysql": "^2.15.9",
|
||||
"@types/node": "^13.9.1",
|
||||
"@types/oracledb": "^4.2.0",
|
||||
"@types/pg": "^7.14.3",
|
||||
"@types/pluralize": "0.0.29",
|
||||
"@types/prettier": "^1.19.0",
|
||||
"@types/sinon": "^7.5.1",
|
||||
"@types/sinon": "^7.5.2",
|
||||
"@types/sqlite3": "^3.1.6",
|
||||
"@types/yargs": "^13.0.4",
|
||||
"@typescript-eslint/eslint-plugin": "^2.15.0",
|
||||
"@typescript-eslint/parser": "^2.15.0",
|
||||
"@typescript-eslint/typescript-estree": "^2.15.0",
|
||||
"@types/yargs": "^15.0.4",
|
||||
"@typescript-eslint/eslint-plugin": "^2.23.0",
|
||||
"@typescript-eslint/parser": "^2.23.0",
|
||||
"@typescript-eslint/typescript-estree": "^2.23.0",
|
||||
"array.prototype.flatmap": "^1.2.3",
|
||||
"chai": "^4.2.0",
|
||||
"chai-as-promised": "^7.1.1",
|
||||
@ -72,18 +70,20 @@
|
||||
"codecov": "^3.6.1",
|
||||
"dotenv": "^8.2.0",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-config-airbnb-base": "^14.0.0",
|
||||
"eslint-config-prettier": "^6.9.0",
|
||||
"eslint-plugin-import": "^2.19.1",
|
||||
"husky": "^4.0.1",
|
||||
"lint-staged": "^9.5.0",
|
||||
"mocha": "^7.0.0",
|
||||
"eslint-config-airbnb-base": "^14.1.0",
|
||||
"eslint-config-prettier": "^6.10.0",
|
||||
"eslint-plugin-import": "^2.20.1",
|
||||
"husky": "^4.2.3",
|
||||
"lint-staged": "^10.0.8",
|
||||
"mocha": "^7.1.0",
|
||||
"ncp": "^2.0.0",
|
||||
"nyc": "^15.0.0",
|
||||
"rimraf": "^3.0.0",
|
||||
"sinon": "^7.5.0",
|
||||
"sinon-chai": "^3.4.0",
|
||||
"ts-node": "^8.5.4"
|
||||
"rimraf": "^3.0.2",
|
||||
"sinon": "^9.0.1",
|
||||
"sinon-chai": "^3.5.0",
|
||||
"ts-node": "^8.6.2",
|
||||
"typescript": "^3.8.3",
|
||||
"yn": "^4.0.0"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
|
@ -89,7 +89,10 @@ WHERE TABLE_TYPE='BASE TABLE' and TABLE_SCHEMA in (${schema}) AND TABLE_CATALOG
|
||||
entities.forEach(ent => {
|
||||
response
|
||||
.filter(filterVal => {
|
||||
return filterVal.TABLE_NAME === ent.tscName && filterVal.TABLE_SCHEMA === ent.schema;
|
||||
return (
|
||||
filterVal.TABLE_NAME === ent.tscName &&
|
||||
filterVal.TABLE_SCHEMA === ent.schema
|
||||
);
|
||||
})
|
||||
.forEach(resp => {
|
||||
const tscName = resp.COLUMN_NAME;
|
||||
@ -298,7 +301,9 @@ WHERE TABLE_TYPE='BASE TABLE' and TABLE_SCHEMA in (${schema}) AND TABLE_CATALOG
|
||||
|
||||
entities.forEach(ent => {
|
||||
const entityIndices = response.filter(
|
||||
filterVal => filterVal.TableName === ent.tscName && filterVal.TableSchema === ent.schema
|
||||
filterVal =>
|
||||
filterVal.TableName === ent.tscName &&
|
||||
filterVal.TableSchema === ent.schema
|
||||
);
|
||||
const indexNames = new Set(entityIndices.map(v => v.IndexName));
|
||||
indexNames.forEach(indexName => {
|
||||
|
@ -5,7 +5,7 @@ import * as fs from "fs-extra";
|
||||
import * as path from "path";
|
||||
import * as chaiSubset from "chai-subset";
|
||||
import * as flatMap from "array.prototype.flatmap";
|
||||
import yn from "yn";
|
||||
import * as yn from "yn";
|
||||
import { CLIEngine } from "eslint";
|
||||
import EntityFileToJson from "../utils/EntityFileToJson";
|
||||
import { createDriver, dataCollectionPhase } from "../../src/Engine";
|
||||
|
Loading…
Reference in New Issue
Block a user