@ghom/orm 1.10.0 → 2.1.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.
@@ -59,30 +59,30 @@ jobs:
59
59
  steps:
60
60
  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
61
61
  - name: Checkout repository
62
- uses: actions/checkout@v2
62
+ uses: actions/checkout@v4
63
63
 
64
- - name: Setup Node
65
- uses: actions/setup-node@v3
64
+ - name: Setup Bun
65
+ uses: oven-sh/setup-bun@v2
66
66
  with:
67
- node-version: 22
67
+ bun-version: latest
68
68
 
69
69
  - name: Install dependencies
70
- run: npm install
70
+ run: bun install
71
71
 
72
72
  - name: Build the source
73
- run: npm run build
73
+ run: bun run build
74
74
 
75
75
  - name: Start the tests on SQLite
76
- run: npm run test
76
+ run: bun test
77
77
 
78
78
  - name: Start the tests on PostgreSQL
79
- run: npm run test
79
+ run: bun test
80
80
  env:
81
81
  DB_CLIENT: pg
82
82
  DB_CONNECTION: postgres://postgres:postgres@localhost:5432/postgres
83
83
 
84
84
  - name: Start the tests on MySQL
85
- run: npm run test
85
+ run: bun test
86
86
  env:
87
87
  DB_CLIENT: mysql2
88
88
  DB_CONNECTION: mysql://root:mysql@localhost:3306/mysql
package/biome.json ADDED
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/2.3.13/schema.json",
3
+ "vcs": {
4
+ "enabled": true,
5
+ "clientKind": "git",
6
+ "useIgnoreFile": true
7
+ },
8
+ "files": {
9
+ "includes": ["src/**/*.ts", "tests/**/*.ts"]
10
+ },
11
+ "formatter": {
12
+ "enabled": true,
13
+ "indentStyle": "space",
14
+ "indentWidth": 2,
15
+ "lineWidth": 100
16
+ },
17
+ "javascript": {
18
+ "formatter": {
19
+ "semicolons": "asNeeded",
20
+ "quoteStyle": "double"
21
+ }
22
+ },
23
+ "linter": {
24
+ "enabled": true,
25
+ "rules": {
26
+ "recommended": true,
27
+ "complexity": {
28
+ "noBannedTypes": "off"
29
+ },
30
+ "suspicious": {
31
+ "noExplicitAny": "off",
32
+ "noThenProperty": "off",
33
+ "useIterableCallbackReturn": "off"
34
+ },
35
+ "style": {
36
+ "noNonNullAssertion": "off",
37
+ "useNodejsImportProtocol": "off"
38
+ },
39
+ "correctness": {
40
+ "noUnusedVariables": "off",
41
+ "noUnusedImports": "off"
42
+ }
43
+ }
44
+ },
45
+ "assist": {
46
+ "actions": {
47
+ "source": {
48
+ "organizeImports": "on"
49
+ }
50
+ }
51
+ }
52
+ }