@fabrika/check 0.4.0 → 0.4.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/package.json +5 -5
- package/src/rules/modules.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabrika/check",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@babel/parser": "8.0.7",
|
|
43
|
-
"@fabrika/app": "^0.4.
|
|
44
|
-
"@fabrika/auth-core": "^0.4.
|
|
45
|
-
"@fabrika/db": "^0.4.
|
|
46
|
-
"@fabrika/platform-node": "^0.4.
|
|
43
|
+
"@fabrika/app": "^0.4.2",
|
|
44
|
+
"@fabrika/auth-core": "^0.4.2",
|
|
45
|
+
"@fabrika/db": "^0.4.2",
|
|
46
|
+
"@fabrika/platform-node": "^0.4.2",
|
|
47
47
|
"zod": "^3.25.76"
|
|
48
48
|
}
|
|
49
49
|
}
|
package/src/rules/modules.ts
CHANGED
|
@@ -94,7 +94,7 @@ const ALLOWED_ENV = 'values the framework hands the handler through deps or ctx'
|
|
|
94
94
|
* The test kits: the application's signs tokens with its own key and boots the application a second way; the
|
|
95
95
|
* database's reaches tables by name and seeds rows past the data layer. Production never loads either.
|
|
96
96
|
*/
|
|
97
|
-
const TEST_KITS = ['@fabrika/app/testing', '@fabrika/db/testing']
|
|
97
|
+
const TEST_KITS = ['@fabrika/app/testing', '@fabrika/app/react/testing', '@fabrika/db/testing']
|
|
98
98
|
const TEST_ONLY_ALLOWED = 'the kit in a test file (*.test.ts, *.spec.ts or a __tests__ directory) only'
|
|
99
99
|
|
|
100
100
|
export const isTestKit = (specifier: string): boolean => TEST_KITS.some((kit) => specifier === kit || specifier.startsWith(`${kit}/`))
|