sequelize-typescript-generator 11.0.2 → 11.0.5

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.
@@ -0,0 +1 @@
1
+ github: [spinlud]
package/README.md CHANGED
@@ -423,12 +423,12 @@ Define a `1:1` association with the following entry in the associations file:
423
423
 
424
424
  Then pass the associations file path to the `cli`:
425
425
  ```shell
426
- npx stg -D mysql -h localhost -p 3306 -d myDatabase -u myUsername -x myPassword --indices --associations-file path/to/associations.csv --out-dir models --clean
426
+ npx stg -D mysql -h localhost -p 3306 -d myDatabase -u myUsername -x myPassword --associations-file path/to/associations.csv --out-dir models --clean
427
427
  ```
428
428
 
429
429
  Global:
430
430
  ```shell
431
- stg -D mysql -h localhost -p 3306 -d myDatabase -u myUsername -x myPassword --indices --associations-file path/to/associations.csv --out-dir models --clean
431
+ stg -D mysql -h localhost -p 3306 -d myDatabase -u myUsername -x myPassword --associations-file path/to/associations.csv --out-dir models --clean
432
432
  ```
433
433
 
434
434
  Or programmatically:
@@ -445,7 +445,7 @@ import { IConfig, ModelBuilder, DialectMySQL } from 'sequelize-typescript-genera
445
445
  password: 'myPassword'
446
446
  },
447
447
  metadata: {
448
- indices: true,
448
+ indices: false,
449
449
  associationsFile: 'path/to/associations.csv',
450
450
  },
451
451
  output: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sequelize-typescript-generator",
3
- "version": "11.0.2",
3
+ "version": "11.0.5",
4
4
  "description": "Automatically generates typescript models compatible with sequelize-typescript library (https://www.npmjs.com/package/sequelize-typescript) directly from your source database.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -34,30 +34,30 @@
34
34
  },
35
35
  "homepage": "https://github.com/spinlud/sequelize-typescript-generator.git#readme",
36
36
  "devDependencies": {
37
- "@types/bluebird": "^3.5.40",
38
- "@types/estree": "^1.0.2",
39
- "@types/jest": "^29.5.5",
40
- "@types/node": "^20.8.6",
37
+ "@types/bluebird": "^3.5.41",
38
+ "@types/estree": "^1.0.3",
39
+ "@types/jest": "^29.5.6",
40
+ "@types/node": "^20.8.7",
41
41
  "@types/pluralize": "0.0.31",
42
- "@types/validator": "^13.11.3",
43
- "@types/yargs": "^17.0.28",
42
+ "@types/validator": "^13.11.5",
43
+ "@types/yargs": "^17.0.29",
44
44
  "jest": "^29.7.0",
45
- "mariadb": "^3.2.1",
45
+ "mariadb": "^3.2.2",
46
46
  "mysql2": "^3.6.2",
47
47
  "pg": "^8.11.3",
48
48
  "pg-hstore": "^2.3.4",
49
49
  "reflect-metadata": "^0.1.13",
50
50
  "sqlite3": "^5.1.6",
51
- "tedious": "^16.4.1",
51
+ "tedious": "^16.5.0",
52
52
  "ts-jest": "^29.1.1",
53
53
  "ts-node-dev": "^2.0.0",
54
54
  "wkx": "^0.5.0"
55
55
  },
56
56
  "dependencies": {
57
- "@types/eslint": "^8.44.4",
58
- "@typescript-eslint/parser": "^6.7.5",
57
+ "@types/eslint": "^8.44.6",
58
+ "@typescript-eslint/parser": "^6.8.0",
59
59
  "change-case": "^4.1.2",
60
- "eslint": "^8.51.0",
60
+ "eslint": "^8.52.0",
61
61
  "pluralize": "^8.0.0",
62
62
  "sequelize": "^6.33.0",
63
63
  "sequelize-typescript": "^2.1.5",