@forinda/kickjs-multi-tenant 4.1.0 → 4.2.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.
- package/README.md +5 -0
- package/dist/index.mjs +1 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# @forinda/kickjs-multi-tenant
|
|
2
2
|
|
|
3
|
+
> [!WARNING] Deprecated — going private in v4.1.2.
|
|
4
|
+
> This package is being retired. The replacement is a short BYO recipe using `defineAdapter` / `definePlugin` from `@forinda/kickjs` directly — see **[guide/multi-tenancy](https://forinda.github.io/kick-js/guide/multi-tenancy)** for the copy-paste alternative.
|
|
5
|
+
>
|
|
6
|
+
> The package still works in v4.1.x; v4.1.2 will remove it from the public registry. Migrate at your convenience.
|
|
7
|
+
|
|
3
8
|
Multi-tenancy for KickJS — tenant resolution from header/subdomain/path/query/custom, request-scoped DI via AsyncLocalStorage, and per-tenant DB routing through the `prisma` / `drizzle` tenant adapters.
|
|
4
9
|
|
|
5
10
|
## Install
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forinda/kickjs-multi-tenant",
|
|
3
|
-
"version": "4.
|
|
4
|
-
"description": "Multi-tenancy helpers for KickJS — tenant resolution, scoped DI, and database routing",
|
|
3
|
+
"version": "4.2.0",
|
|
4
|
+
"description": "[DEPRECATED] Multi-tenancy helpers for KickJS — tenant resolution, scoped DI, and database routing — see https://forinda.github.io/kick-js/guide/multi-tenancy for the BYO replacement (going private in v4.1.2).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"kickjs",
|
|
7
7
|
"nodejs",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"reflect-metadata": "^0.2.2",
|
|
68
|
-
"@forinda/kickjs-devtools-kit": "4.
|
|
68
|
+
"@forinda/kickjs-devtools-kit": "4.2.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@types/express": "^5.0.6",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"typescript": "^6.0.3",
|
|
75
75
|
"unplugin-swc": "^1.5.7",
|
|
76
76
|
"vitest": "^4.1.5",
|
|
77
|
-
"@forinda/kickjs": "4.
|
|
77
|
+
"@forinda/kickjs": "4.2.0"
|
|
78
78
|
},
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
"@forinda/kickjs": ">=2.3.0"
|
|
98
98
|
},
|
|
99
99
|
"peerDependenciesMeta": {},
|
|
100
|
+
"deprecated": "Deprecated — going private in v4.1.2. Replaced by a BYO recipe using defineAdapter/definePlugin from @forinda/kickjs directly. See https://forinda.github.io/kick-js/guide/multi-tenancy for the migration.",
|
|
100
101
|
"scripts": {
|
|
101
102
|
"build": "wireit",
|
|
102
103
|
"dev": "tsdown --watch",
|