react-state-monad 1.0.3 → 1.0.4
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 +1 -1
- package/src/index.ts +8 -2
- package/tsconfig.json +9 -12
package/package.json
CHANGED
package/src/index.ts
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
-
|
1
|
+
export * from "./hooks/useFieldState";
|
2
|
+
export * from "./hooks/useElementState";
|
3
|
+
export * from "./hooks/useEmptyState";
|
4
|
+
export * from "./hooks/useFieldState";
|
5
|
+
export * from "./hooks/useRemapArray";
|
6
|
+
export * from "./hooks/useStateObject";
|
7
|
+
export * from "./stateObject";
|
8
|
+
|
2
9
|
|
3
|
-
// an empty index just to make tsc happy
|
package/tsconfig.json
CHANGED
@@ -1,20 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"compilerOptions": {
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"
|
7
|
-
"
|
8
|
-
"
|
9
|
-
"
|
10
|
-
"esModuleInterop": true, // Interoperabilidad con módulos ES
|
11
|
-
"skipLibCheck": true, // Omitir la comprobación de bibliotecas
|
12
|
-
"forceConsistentCasingInFileNames": true // Forzar la consistencia de las mayúsculas/minúsculas en los nombres de archivo
|
3
|
+
"moduleResolution": "Node",
|
4
|
+
"outDir": "dist", // Carpeta donde se genera el código compilado
|
5
|
+
"declaration": true, // Genera archivos de definición de tipos
|
6
|
+
"declarationDir": "dist/types",
|
7
|
+
"module": "ESNext", // Utiliza ESNext para módulos
|
8
|
+
"target": "ESNext", // Puedes cambiarlo a otra versión de JS si lo necesitas
|
9
|
+
"esModuleInterop": true // Asegura que las importaciones se manejen correctamente
|
13
10
|
},
|
14
11
|
"include": [
|
15
|
-
"src/**/*"
|
12
|
+
"src/**/*"
|
16
13
|
],
|
17
14
|
"exclude": [
|
18
|
-
"node_modules"
|
15
|
+
"node_modules"
|
19
16
|
]
|
20
17
|
}
|