@c.a.f/infrastructure-react 1.0.0 → 1.0.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/.build/vitest.config.js +17 -7
- package/package.json +4 -3
package/.build/vitest.config.js
CHANGED
|
@@ -9,14 +9,24 @@ export default defineConfig({
|
|
|
9
9
|
include: ["**/*.spec.ts", "**/*.spec.tsx"],
|
|
10
10
|
setupFiles: [resolve(__dirname, "./vitest.setup.ts")],
|
|
11
11
|
globals: true,
|
|
12
|
+
server: {
|
|
13
|
+
deps: {
|
|
14
|
+
inline: [
|
|
15
|
+
/dom-accessibility-api/,
|
|
16
|
+
/@testing-library\/dom/,
|
|
17
|
+
/@testing-library\/react/,
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
optimizeDeps: {
|
|
23
|
+
include: [
|
|
24
|
+
"dom-accessibility-api",
|
|
25
|
+
"@testing-library/dom",
|
|
26
|
+
"@testing-library/react",
|
|
27
|
+
],
|
|
12
28
|
},
|
|
13
29
|
resolve: {
|
|
14
|
-
|
|
15
|
-
// Force resolution from workspace root node_modules
|
|
16
|
-
"@testing-library/dom": resolve(__dirname, "../../../node_modules/@testing-library/dom"),
|
|
17
|
-
// Fix ES module resolution for @c.a.f/core - resolve to the actual built file
|
|
18
|
-
"@c.a.f/core": resolve(__dirname, "../../../node_modules/@c.a.f/core/.build/src/index.js"),
|
|
19
|
-
},
|
|
20
|
-
conditions: ["import", "module", "default"],
|
|
30
|
+
conditions: ["import", "module", "node", "default"],
|
|
21
31
|
},
|
|
22
32
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c.a.f/infrastructure-react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"description": "Clean Architecture Frontend (CAF) — React adapters: usePloc, useUseCase, CAFErrorBoundary, DevTools, useRouteManager, useRouteRepository.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"clean-architecture-frontend",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
".": {
|
|
27
27
|
"types": "./.build/index.d.ts",
|
|
28
28
|
"import": "./.build/index.js",
|
|
29
|
+
"node": "./.build/index.js",
|
|
29
30
|
"default": "./.build/index.js"
|
|
30
31
|
}
|
|
31
32
|
},
|
|
@@ -40,8 +41,8 @@
|
|
|
40
41
|
"test:watch": "node_modules/.bin/vitest"
|
|
41
42
|
},
|
|
42
43
|
"dependencies": {
|
|
43
|
-
"@c.a.f/core": "1.0.
|
|
44
|
-
"@c.a.f/devtools": "1.0.
|
|
44
|
+
"@c.a.f/core": "^1.0.3",
|
|
45
|
+
"@c.a.f/devtools": "^1.0.2",
|
|
45
46
|
"react-router-dom": "^6.23.1"
|
|
46
47
|
},
|
|
47
48
|
"peerDependencies": {
|