@foal/cli 3.3.0 → 4.0.0

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.
@@ -7,7 +7,7 @@
7
7
  }
8
8
  },
9
9
  "database": {
10
- "type": "better-sqlite3",
10
+ "type": "sqlite",
11
11
  "database": "./db.sqlite3"
12
12
  }
13
- }
13
+ }
@@ -6,5 +6,5 @@ settings:
6
6
  store: '@foal/typeorm'
7
7
 
8
8
  database:
9
- type: better-sqlite3
9
+ type: sqlite
10
10
  database: './db.sqlite3'
@@ -21,26 +21,26 @@
21
21
  "revertmigration": "npx typeorm migration:revert -d build/db"
22
22
  },
23
23
  "engines": {
24
- "node": ">=16.0.0"
24
+ "node": ">=18.0.0"
25
25
  },
26
26
  "dependencies": {
27
- "@foal/core": "^3.0.0",
28
- "@foal/typeorm": "^3.0.0",
27
+ "@foal/core": "^4.0.0",
28
+ "@foal/typeorm": "^4.0.0",
29
29
  "source-map-support": "~0.5.21",
30
- "better-sqlite3": "~7.6.2",
31
- "typeorm": "0.3.10"
30
+ "sqlite3": "~5.1.6",
31
+ "typeorm": "0.3.17"
32
32
  },
33
33
  "devDependencies": {
34
- "@foal/cli": "^3.0.0",
34
+ "@foal/cli": "^4.0.0",
35
35
  "@types/mocha": "10.0.1",
36
- "@types/node": "16.18.40",
37
- "concurrently": "~8.2.0",
36
+ "@types/node": "18.11.9",
37
+ "concurrently": "~8.2.1",
38
38
  "mocha": "~10.2.0",
39
39
  "supertest": "~6.3.3",
40
40
  "supervisor": "~0.12.0",
41
- "eslint": "~8.47.0",
42
- "@typescript-eslint/eslint-plugin": "~6.3.0",
43
- "@typescript-eslint/parser": "~6.3.0",
41
+ "eslint": "~8.48.0",
42
+ "@typescript-eslint/eslint-plugin": "~6.5.0",
43
+ "@typescript-eslint/parser": "~6.5.0",
44
44
  "typescript": "~4.9.5"
45
45
  }
46
46
  }
@@ -18,25 +18,25 @@
18
18
  "lint:fix": "eslint --ext ts --fix src"
19
19
  },
20
20
  "engines": {
21
- "node": ">=16.0.0"
21
+ "node": ">=18.0.0"
22
22
  },
23
23
  "dependencies": {
24
- "@foal/core": "^3.0.0",
25
- "mongodb": "~3.7.3",
24
+ "@foal/core": "^4.0.0",
25
+ "mongodb": "~5.8.1",
26
26
  "source-map-support": "~0.5.21",
27
- "typeorm": "0.3.10"
27
+ "typeorm": "0.3.17"
28
28
  },
29
29
  "devDependencies": {
30
- "@foal/cli": "^3.0.0",
30
+ "@foal/cli": "^4.0.0",
31
31
  "@types/mocha": "10.0.1",
32
- "@types/node": "16.18.40",
33
- "concurrently": "~8.2.0",
32
+ "@types/node": "18.11.9",
33
+ "concurrently": "~8.2.1",
34
34
  "mocha": "~10.2.0",
35
35
  "supertest": "~6.3.3",
36
36
  "supervisor": "~0.12.0",
37
- "eslint": "~8.47.0",
38
- "@typescript-eslint/eslint-plugin": "~6.3.0",
39
- "@typescript-eslint/parser": "~6.3.0",
37
+ "eslint": "~8.48.0",
38
+ "@typescript-eslint/eslint-plugin": "~6.5.0",
39
+ "@typescript-eslint/parser": "~6.5.0",
40
40
  "typescript": "~4.9.5"
41
41
  }
42
42
  }
@@ -1,9 +1,9 @@
1
- import { BaseEntity, Entity, ObjectID, ObjectIdColumn } from 'typeorm';
1
+ import { BaseEntity, Entity, ObjectId, ObjectIdColumn } from 'typeorm';
2
2
 
3
3
  @Entity()
4
4
  export class User extends BaseEntity {
5
5
 
6
6
  @ObjectIdColumn()
7
- _id: ObjectID;
7
+ _id: ObjectId;
8
8
 
9
9
  }
@@ -1,10 +1,10 @@
1
1
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
- import { BaseEntity, Column, Entity, ObjectID, ObjectIdColumn } from 'typeorm';
2
+ import { BaseEntity, Column, Entity, ObjectId, ObjectIdColumn } from 'typeorm';
3
3
 
4
4
  @Entity()
5
5
  export class /* upperFirstCamelName */ extends BaseEntity {
6
6
 
7
7
  @ObjectIdColumn()
8
- _id: ObjectID;
8
+ _id: ObjectId;
9
9
 
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foal/cli",
3
- "version": "3.3.0",
3
+ "version": "4.0.0",
4
4
  "description": "CLI tool for FoalTS",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  "url": "https://github.com/sponsors/LoicPoullain"
24
24
  },
25
25
  "engines": {
26
- "node": ">=16.0.0"
26
+ "node": ">=18.0.0"
27
27
  },
28
28
  "bin": {
29
29
  "foal": "./lib/index.js"
@@ -61,17 +61,17 @@
61
61
  "ajv-formats": "~2.1.1",
62
62
  "cli-spinner": "~0.2.10",
63
63
  "colors": "1.4.0",
64
- "commander": "~9.4.1",
64
+ "commander": "~11.0.0",
65
65
  "node-fetch": "~2.6.7"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/mocha": "10.0.1",
69
- "@types/node": "16.18.40",
69
+ "@types/node": "18.11.9",
70
70
  "copyfiles": "~2.4.1",
71
71
  "mocha": "~10.2.0",
72
72
  "rimraf": "~5.0.1",
73
73
  "ts-node": "~10.9.1",
74
74
  "typescript": "~4.9.5"
75
75
  },
76
- "gitHead": "eab46a1647a49c2512779d3b6c4349421b2fd4a9"
76
+ "gitHead": "4a0934aa4b9e0fe1f5a999a541ed5311ad9fc484"
77
77
  }