react-frontend-common-components 0.0.90 → 0.0.92

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-frontend-common-components",
3
- "version": "0.0.90",
3
+ "version": "0.0.92",
4
4
  "description": "Reusable frontend library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -17,7 +17,7 @@
17
17
  "@rollup/plugin-terser": "0.4.4",
18
18
  "@rollup/plugin-typescript": "11.1.6",
19
19
  "postcss": "8.4.45",
20
- "react": "18.0.0",
20
+ "react": "18",
21
21
  "rollup-plugin-dts": "6.1.1",
22
22
  "rollup-plugin-peer-deps-external": "2.2.4",
23
23
  "rollup-plugin-postcss": "4.0.2",
@@ -28,7 +28,7 @@
28
28
  "@react-google-maps/api": "2.19.3",
29
29
  "@types/react": "18.3.5",
30
30
  "@types/uuid": "10.0.0",
31
- "antd": "5.20.5",
31
+ "antd": "5.21.5",
32
32
  "chart.js": "4.4.4",
33
33
  "react-chartjs-2": "5.2.0",
34
34
  "react-icons": "5.3.0",
package/rollup.config.js CHANGED
@@ -37,7 +37,7 @@ export default [
37
37
  // TypeScript declaration files
38
38
  {
39
39
  input: "src/index.ts",
40
- output: [{ file: packageJson.types }],
40
+ output: [{ file: "dist/index.d.ts", format: "es" }],
41
41
  plugins: [dts.default()],
42
42
  external: [/\.css/],
43
43
  },
package/tsconfig.json CHANGED
@@ -14,7 +14,11 @@
14
14
  "resolveJsonModule": true,
15
15
  "isolatedModules": true,
16
16
  "noEmit": true,
17
- "jsx": "react-jsx"
17
+ "jsx": "react-jsx",
18
+ "declaration": true,
19
+ "declarationDir": "dist",
20
+ "emitDeclarationOnly": true,
21
+ "outDir": "dist"
18
22
  },
19
23
  "include": ["src"]
20
24
  }