react-state-monad 1.0.3 → 1.0.5
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 -14
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,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
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
|
+
"module": "ESNext", // Para exportar módulos ES6
|
|
4
|
+
"target": "ESNext", // Para tener soporte de sintaxis moderna
|
|
5
|
+
"declaration": true, // Para generar archivos de tipo .d.ts
|
|
6
|
+
"declarationDir": "dist/types", // Para poner los archivos .d.ts en un directorio separado
|
|
7
|
+
"outDir": "dist", // Para compilar el código en dist/
|
|
8
|
+
"moduleResolution": "Node", // Para resolución de módulos similar a Node.js
|
|
9
|
+
"esModuleInterop": true, // Para interoperabilidad con módulos CommonJS
|
|
10
|
+
"strict": true // Para que TypeScript sea más estricto en el tipo de los archivos
|
|
13
11
|
},
|
|
14
12
|
"include": [
|
|
15
|
-
"src/**/*"
|
|
16
|
-
],
|
|
17
|
-
"exclude": [
|
|
18
|
-
"node_modules" // Excluir node_modules
|
|
13
|
+
"src/**/*"
|
|
19
14
|
]
|
|
20
15
|
}
|