@technomoron/api-server-base 2.0.0-beta.21 → 2.0.0-beta.22

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/package.json CHANGED
@@ -1,135 +1,129 @@
1
1
  {
2
- "name": "@technomoron/api-server-base",
3
- "version": "2.0.0-beta.21",
4
- "description": "Api Server Skeleton / Base Class",
5
- "type": "module",
6
- "main": "./dist/cjs/index.cjs",
7
- "module": "./dist/esm/index.js",
8
- "types": "./dist/esm/index.d.ts",
9
- "exports": {
10
- ".": {
11
- "types": "./dist/esm/index.d.ts",
12
- "import": "./dist/esm/index.js",
13
- "require": "./dist/cjs/index.cjs"
14
- },
15
- "./auth-api/sql-auth-store": {
16
- "types": "./dist/esm/auth-api/sql-auth-store.d.ts",
17
- "import": "./dist/esm/auth-api/sql-auth-store.js",
18
- "require": "./dist/cjs/auth-api/sql-auth-store.js"
19
- },
20
- "./oauth/sequelize": {
21
- "types": "./dist/esm/oauth/sequelize.d.ts",
22
- "import": "./dist/esm/oauth/sequelize.js",
23
- "require": "./dist/cjs/oauth/sequelize.js"
24
- },
25
- "./passkey/sequelize": {
26
- "types": "./dist/esm/passkey/sequelize.d.ts",
27
- "import": "./dist/esm/passkey/sequelize.js",
28
- "require": "./dist/cjs/passkey/sequelize.js"
29
- },
30
- "./token/sequelize": {
31
- "types": "./dist/esm/token/sequelize.d.ts",
32
- "import": "./dist/esm/token/sequelize.js",
33
- "require": "./dist/cjs/token/sequelize.js"
34
- },
35
- "./user/sequelize": {
36
- "types": "./dist/esm/user/sequelize.d.ts",
37
- "import": "./dist/esm/user/sequelize.js",
38
- "require": "./dist/cjs/user/sequelize.js"
39
- }
40
- },
41
- "repository": {
42
- "type": "git",
43
- "url": "git+https://github.com/technomoron/api-server-base.git"
44
- },
45
- "author": "Bjørn Erik Jacobsen",
46
- "license": "MIT",
47
- "copyright": "Copyright (c) 2025 Bjørn Erik Jacobsen",
48
- "bugs": {
49
- "url": "https://github.com/technomoron/api-server-base/issues"
50
- },
51
- "homepage": "https://github.com/technomoron/api-server-base#readme",
52
- "scripts": {
53
- "scrub": "rm -rf ./node_modules/ pnpm-lock.yaml ./dist/",
54
- "build:cjs": "tsc --project tsconfig/tsconfig.cjs.json && node scripts/prepare-cjs.cjs",
55
- "build:esm": "tsc --project tsconfig/tsconfig.esm.json",
56
- "build": "run-s build:cjs build:esm",
57
- "test": "vitest run",
58
- "test:unit": "vitest run tests/unit",
59
- "test:functional": "vitest run tests/functional",
60
- "test:watch": "vitest --watch",
61
- "prepublishOnly": "run-s build:cjs build:esm",
62
- "lint": "eslint --no-error-on-unmatched-pattern --ext .js,.cjs,.mjs,.ts,.mts,.tsx,.vue,.json ./",
63
- "lintfix": "eslint --fix --no-error-on-unmatched-pattern --ext .js,.cjs,.mjs,.ts,.mts,.tsx,.vue,.json ./",
64
- "format": "run-s lintfix pretty",
65
- "cleanbuild": "rm -rf ./dist/ && run-s format build",
66
- "pretty": "prettier --write \"**/*.{js,jsx,cjs,mjs,ts,tsx,mts,vue,json,md}\"",
67
- "lintconfig": "node lintconfig.cjs"
68
- },
69
- "dependencies": {
70
- "@simplewebauthn/server": "^13.2.2",
71
- "@types/express": "^5.0.6",
72
- "bcryptjs": "^3.0.3",
73
- "cookie-parser": "^1.4.7",
74
- "cors": "^2.8.6",
75
- "express": "^5.2.1",
76
- "jsonwebtoken": "^9.0.3",
77
- "multer": "^2.0.2"
78
- },
79
- "devDependencies": {
80
- "@types/cookie-parser": "^1.4.10",
81
- "@types/cors": "^2.8.19",
82
- "@types/express-serve-static-core": "^5.1.1",
83
- "@types/jsonwebtoken": "^9.0.10",
84
- "@types/multer": "^2.0.0",
85
- "@types/supertest": "^6.0.3",
86
- "@typescript-eslint/eslint-plugin": "^8.54.0",
87
- "@typescript-eslint/parser": "^8.54.0",
88
- "@vitest/coverage-v8": "4.0.18",
89
- "eslint": "^9.39.2",
90
- "eslint-config-prettier": "^10.1.8",
91
- "eslint-plugin-import": "^2.32.0",
92
- "jsonc-eslint-parser": "^2.4.2",
93
- "mysql2": "^3.16.3",
94
- "pg": "^8.18.0",
95
- "prettier": "^3.8.1",
96
- "sequelize": "^6.37.7",
97
- "sqlite3": "^5.1.7",
98
- "supertest": "^7.2.2",
99
- "typescript": "^5.9.3",
100
- "vitest": "^4.0.18",
101
- "npm-run-all": "^4.1.5"
102
- },
103
- "peerDependencies": {
104
- "mysql2": "^3.16.0",
105
- "pg": "^8.16.3",
106
- "sequelize": "^6.37.7",
107
- "sqlite3": "^5.1.7"
108
- },
109
- "peerDependenciesMeta": {
110
- "mysql2": {
111
- "optional": true
112
- },
113
- "pg": {
114
- "optional": true
115
- },
116
- "sequelize": {
117
- "optional": true
118
- },
119
- "sqlite3": {
120
- "optional": true
121
- }
122
- },
123
- "pnpm": {
124
- "onlyBuiltDependencies": [
125
- "esbuild",
126
- "sqlite3"
127
- ]
128
- },
129
- "files": [
130
- "dist/",
131
- "docs/swagger/openapi.json",
132
- "package.json"
133
- ],
134
- "packageManager": "pnpm@10.28.2"
135
- }
2
+ "name": "@technomoron/api-server-base",
3
+ "version": "2.0.0-beta.22",
4
+ "description": "Api Server Skeleton / Base Class",
5
+ "type": "module",
6
+ "main": "./dist/cjs/index.cjs",
7
+ "module": "./dist/esm/index.js",
8
+ "types": "./dist/esm/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/esm/index.d.ts",
12
+ "import": "./dist/esm/index.js",
13
+ "require": "./dist/cjs/index.cjs"
14
+ },
15
+ "./auth-api/sql-auth-store": {
16
+ "types": "./dist/esm/auth-api/sql-auth-store.d.ts",
17
+ "import": "./dist/esm/auth-api/sql-auth-store.js",
18
+ "require": "./dist/cjs/auth-api/sql-auth-store.js"
19
+ },
20
+ "./oauth/sequelize": {
21
+ "types": "./dist/esm/oauth/sequelize.d.ts",
22
+ "import": "./dist/esm/oauth/sequelize.js",
23
+ "require": "./dist/cjs/oauth/sequelize.js"
24
+ },
25
+ "./passkey/sequelize": {
26
+ "types": "./dist/esm/passkey/sequelize.d.ts",
27
+ "import": "./dist/esm/passkey/sequelize.js",
28
+ "require": "./dist/cjs/passkey/sequelize.js"
29
+ },
30
+ "./token/sequelize": {
31
+ "types": "./dist/esm/token/sequelize.d.ts",
32
+ "import": "./dist/esm/token/sequelize.js",
33
+ "require": "./dist/cjs/token/sequelize.js"
34
+ },
35
+ "./user/sequelize": {
36
+ "types": "./dist/esm/user/sequelize.d.ts",
37
+ "import": "./dist/esm/user/sequelize.js",
38
+ "require": "./dist/cjs/user/sequelize.js"
39
+ }
40
+ },
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "git+https://github.com/technomoron/api-server-base.git"
44
+ },
45
+ "author": "Bjørn Erik Jacobsen",
46
+ "license": "MIT",
47
+ "copyright": "Copyright (c) 2025 Bjørn Erik Jacobsen",
48
+ "bugs": {
49
+ "url": "https://github.com/technomoron/api-server-base/issues"
50
+ },
51
+ "homepage": "https://github.com/technomoron/api-server-base#readme",
52
+ "dependencies": {
53
+ "@simplewebauthn/server": "^13.2.2",
54
+ "@types/express": "^5.0.6",
55
+ "bcryptjs": "^3.0.3",
56
+ "cookie-parser": "^1.4.7",
57
+ "cors": "^2.8.6",
58
+ "express": "^5.2.1",
59
+ "jsonwebtoken": "^9.0.3",
60
+ "multer": "^2.0.2"
61
+ },
62
+ "devDependencies": {
63
+ "@types/cookie-parser": "^1.4.10",
64
+ "@types/cors": "^2.8.19",
65
+ "@types/express-serve-static-core": "^5.1.1",
66
+ "@types/jsonwebtoken": "^9.0.10",
67
+ "@types/multer": "^2.0.0",
68
+ "@types/supertest": "^6.0.3",
69
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
70
+ "@typescript-eslint/parser": "^8.54.0",
71
+ "@vitest/coverage-v8": "4.0.18",
72
+ "eslint": "^9.39.2",
73
+ "eslint-config-prettier": "^10.1.8",
74
+ "eslint-plugin-import": "^2.32.0",
75
+ "jsonc-eslint-parser": "^2.4.2",
76
+ "mysql2": "^3.16.3",
77
+ "pg": "^8.18.0",
78
+ "prettier": "^3.8.1",
79
+ "sequelize": "^6.37.7",
80
+ "sqlite3": "^5.1.7",
81
+ "supertest": "^7.2.2",
82
+ "typescript": "^5.9.3",
83
+ "vitest": "^4.0.18",
84
+ "npm-run-all": "^4.1.5"
85
+ },
86
+ "peerDependencies": {
87
+ "mysql2": "^3.16.0",
88
+ "pg": "^8.16.3",
89
+ "sequelize": "^6.37.7",
90
+ "sqlite3": "^5.1.7"
91
+ },
92
+ "peerDependenciesMeta": {
93
+ "mysql2": {
94
+ "optional": true
95
+ },
96
+ "pg": {
97
+ "optional": true
98
+ },
99
+ "sequelize": {
100
+ "optional": true
101
+ },
102
+ "sqlite3": {
103
+ "optional": true
104
+ }
105
+ },
106
+ "files": [
107
+ "dist/",
108
+ "docs/swagger/openapi.json",
109
+ "package.json"
110
+ ],
111
+ "scripts": {
112
+ "scrub": "rm -rf ./node_modules/ pnpm-lock.yaml ./dist/",
113
+ "build:cjs": "tsc --project tsconfig/tsconfig.cjs.json && node scripts/prepare-cjs.cjs",
114
+ "build:esm": "tsc --project tsconfig/tsconfig.esm.json",
115
+ "build": "run-s build:cjs build:esm",
116
+ "test": "vitest run",
117
+ "test:unit": "vitest run tests/unit",
118
+ "test:functional": "vitest run tests/functional",
119
+ "test:watch": "vitest --watch",
120
+ "lint": "eslint --no-error-on-unmatched-pattern --ext .js,.cjs,.mjs,.ts,.mts,.tsx,.vue,.json ./",
121
+ "lintfix": "eslint --fix --no-error-on-unmatched-pattern --ext .js,.cjs,.mjs,.ts,.mts,.tsx,.vue,.json ./",
122
+ "format": "run-s lintfix pretty",
123
+ "cleanbuild": "rm -rf ./dist/ && run-s format build",
124
+ "pretty": "prettier --write \"**/*.{js,jsx,cjs,mjs,ts,tsx,mts,vue,json,md}\"",
125
+ "lintconfig": "node lintconfig.cjs",
126
+ "release:check": "bash ./scripts/release-check.sh",
127
+ "release": "bash ./scripts/release.sh"
128
+ }
129
+ }