@terreno/admin-backend 0.21.0 → 0.22.2
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.
- package/bunfig.toml +1 -1
- package/package.json +3 -3
- package/src/adminApp.models.test.ts +1 -1
- package/src/adminApp.test.ts +1 -1
- package/src/documentStorageApp.test.ts +1 -1
- package/src/tests/bunSetup.ts +9 -0
- package/tsconfig.json +1 -1
- package/dist/adminApp.models.test.d.ts +0 -1
- package/dist/adminApp.models.test.js +0 -1498
- package/dist/adminApp.test.d.ts +0 -1
- package/dist/adminApp.test.js +0 -746
- package/dist/adminUiV2.test.d.ts +0 -1
- package/dist/adminUiV2.test.js +0 -28
- package/dist/documentStorageApp.test.d.ts +0 -1
- package/dist/documentStorageApp.test.js +0 -874
- package/dist/tests/testEnv.d.ts +0 -0
- package/dist/tests/testEnv.js +0 -6
- package/src/tests/testEnv.ts +0 -5
package/bunfig.toml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[test]
|
|
2
|
-
preload = ["./src/tests/
|
|
2
|
+
preload = ["./src/tests/bunSetup.ts"]
|
|
3
3
|
root = "./src"
|
|
4
4
|
coveragePathIgnorePatterns = ["**/*.test.ts", "../api/**", "dist/**", "**/node_modules/**"]
|
|
5
5
|
# Enforced by scripts/check-coverage.ts; Bun parses this key but does not
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@google-cloud/storage": "^7.15.0",
|
|
8
|
-
"@terreno/api": "0.
|
|
8
|
+
"@terreno/api": "0.22.2",
|
|
9
9
|
"express": "^5.2.1",
|
|
10
10
|
"luxon": "^3.7.2",
|
|
11
11
|
"multer": "2.1.1"
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"description": "Admin panel backend plugin for @terreno/api",
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@biomejs/biome": "^2.3.6",
|
|
16
|
+
"@terreno/test": "0.22.2",
|
|
16
17
|
"@types/bun": "^1.2.4",
|
|
17
18
|
"@types/express": "^5.0.6",
|
|
18
19
|
"@types/luxon": "^3.7.1",
|
|
19
20
|
"@types/multer": "^1.4.12",
|
|
20
21
|
"@types/supertest": "^6.0.2",
|
|
21
22
|
"passport-local-mongoose": "^9.0.1",
|
|
22
|
-
"mongodb-memory-server": "^11.0.1",
|
|
23
23
|
"supertest": "^7.0.0",
|
|
24
24
|
"typescript": "~5.9.2"
|
|
25
25
|
},
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"test:coverage": "bun run ../scripts/check-coverage.ts"
|
|
55
55
|
},
|
|
56
56
|
"types": "dist/index.d.ts",
|
|
57
|
-
"version": "0.
|
|
57
|
+
"version": "0.22.2"
|
|
58
58
|
}
|
package/src/adminApp.test.ts
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
setupAuth,
|
|
9
9
|
type UserModel as UserModelType,
|
|
10
10
|
} from "@terreno/api";
|
|
11
|
-
import {authAsUser, getBaseServer, setupDb, UserModel} from "@terreno/api/
|
|
11
|
+
import {authAsUser, getBaseServer, setupDb, UserModel} from "@terreno/api/testing";
|
|
12
12
|
import type express from "express";
|
|
13
13
|
import supertest from "supertest";
|
|
14
14
|
import type TestAgent from "supertest/lib/agent";
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
setupAuth,
|
|
59
59
|
type UserModel as UserModelType,
|
|
60
60
|
} from "@terreno/api";
|
|
61
|
-
import {authAsUser, getBaseServer, setupDb, UserModel} from "@terreno/api/
|
|
61
|
+
import {authAsUser, getBaseServer, setupDb, UserModel} from "@terreno/api/testing";
|
|
62
62
|
import type express from "express";
|
|
63
63
|
import supertest from "supertest";
|
|
64
64
|
import type TestAgent from "supertest/lib/agent";
|
package/tsconfig.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|