@asaleh37/ui-base 1.1.0 → 1.1.1

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": "@asaleh37/ui-base",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "Ahmed Saleh Mohamed",
@@ -13,31 +13,10 @@
13
13
  "dev": "vite"
14
14
  },
15
15
  "devDependencies": {
16
- "@rollup/plugin-commonjs": "^28.0.3",
17
- "@rollup/plugin-node-resolve": "^16.0.1",
18
- "@rollup/plugin-terser": "^0.4.4",
19
- "@rollup/plugin-typescript": "^12.1.2",
20
- "@types/react": "^19.1.6",
21
- "react": "^19.1.0",
22
- "rollup-plugin-dts": "^6.2.1",
23
- "rollup-plugin-peer-deps-external": "^2.2.4",
24
- "tslib": "^2.8.1",
25
- "@eslint/js": "^9.19.0",
26
- "@types/react-dom": "^19.0.3",
27
- "@types/react-i18next": "^7.8.3",
28
- "@vitejs/plugin-react": "^4.3.4",
29
- "eslint": "^9.19.0",
30
- "eslint-plugin-react-hooks": "^5.0.0",
31
- "eslint-plugin-react-refresh": "^0.4.18",
32
- "globals": "^15.14.0",
33
- "typescript": "~5.7.2",
34
- "typescript-eslint": "^8.22.0",
35
- "vite": "^6.1.0",
36
- "rollup": "^4.41.1",
37
- "rollup-plugin-postcss": "^4.0.2",
38
16
  "@emotion/cache": "^11.14.0",
39
17
  "@emotion/react": "^11.14.0",
40
18
  "@emotion/styled": "^11.14.0",
19
+ "@eslint/js": "^9.19.0",
41
20
  "@fortawesome/fontawesome-svg-core": "^6.7.2",
42
21
  "@fortawesome/free-brands-svg-icons": "^6.7.2",
43
22
  "@fortawesome/free-regular-svg-icons": "^6.7.2",
@@ -53,25 +32,44 @@
53
32
  "@mui/x-tree-view": "^7.26.0",
54
33
  "@react-spring/web": "^9.7.5",
55
34
  "@reduxjs/toolkit": "^2.5.1",
35
+ "@rollup/plugin-commonjs": "^28.0.3",
36
+ "@rollup/plugin-node-resolve": "^16.0.1",
37
+ "@rollup/plugin-terser": "^0.4.4",
38
+ "@rollup/plugin-typescript": "^12.1.2",
39
+ "@types/react": "^19.1.6",
40
+ "@types/react-dom": "^19.0.3",
41
+ "@types/react-i18next": "^7.8.3",
42
+ "@vitejs/plugin-react": "^4.3.4",
56
43
  "axios": "^1.8.1",
44
+ "eslint": "^9.19.0",
45
+ "eslint-plugin-react-hooks": "^5.0.0",
46
+ "eslint-plugin-react-refresh": "^0.4.18",
47
+ "globals": "^15.14.0",
57
48
  "i18next": "^24.2.2",
58
49
  "i18next-browser-languagedetector": "^8.0.3",
59
50
  "i18next-http-backend": "^3.0.2",
60
51
  "moment": "^2.30.1",
61
52
  "oidc-client-ts": "^3.1.0",
53
+ "react": "^19.1.0",
62
54
  "react-dom": "^19.0.0",
63
55
  "react-hook-form": "^7.54.2",
64
56
  "react-i18next": "^15.4.0",
65
57
  "react-redux": "^9.2.0",
66
58
  "react-router-dom": "^7.1.5",
67
59
  "react-toastify": "^11.0.5",
60
+ "rollup": "^4.41.1",
61
+ "rollup-plugin-dts": "^6.2.1",
62
+ "rollup-plugin-peer-deps-external": "^2.2.4",
63
+ "rollup-plugin-postcss": "^4.0.2",
68
64
  "stylis": "^4.3.6",
69
65
  "stylis-plugin-rtl": "^2.1.1",
66
+ "tslib": "^2.8.1",
67
+ "typescript": "~5.7.2",
68
+ "typescript-eslint": "^8.22.0",
69
+ "vite": "^6.1.0",
70
70
  "zod": "^3.24.2"
71
71
  },
72
72
  "peerDependencies": {
73
- "rollup": "^4.41.1",
74
- "rollup-plugin-postcss": "^4.0.2",
75
73
  "@emotion/cache": "^11.14.0",
76
74
  "@emotion/react": "^11.14.0",
77
75
  "@emotion/styled": "^11.14.0",
@@ -103,8 +101,13 @@
103
101
  "react-redux": "^9.2.0",
104
102
  "react-router-dom": "^7.1.5",
105
103
  "react-toastify": "^11.0.5",
104
+ "rollup": "^4.41.1",
105
+ "rollup-plugin-postcss": "^4.0.2",
106
106
  "stylis": "^4.3.6",
107
107
  "stylis-plugin-rtl": "^2.1.1",
108
108
  "zod": "^3.24.2"
109
+ },
110
+ "dependencies": {
111
+ "@rollup/plugin-json": "^6.1.0"
109
112
  }
110
113
  }
package/rollup.config.js CHANGED
@@ -1,43 +1,45 @@
1
- import resolve from "@rollup/plugin-node-resolve";
2
- import commonjs from "@rollup/plugin-commonjs";
3
- import typescript from "@rollup/plugin-typescript";
4
- import dts from "rollup-plugin-dts";
5
- import terser from "@rollup/plugin-terser";
6
- import peerDepsExternal from "rollup-plugin-peer-deps-external";
1
+ import resolve from "@rollup/plugin-node-resolve";
2
+ import commonjs from "@rollup/plugin-commonjs";
3
+ import typescript from "@rollup/plugin-typescript";
4
+ import dts from "rollup-plugin-dts";
5
+ import terser from "@rollup/plugin-terser";
6
+ import json from "@rollup/plugin-json";
7
+ import peerDepsExternal from "rollup-plugin-peer-deps-external";
7
8
 
8
- import postcss from "rollup-plugin-postcss";
9
+ import postcss from "rollup-plugin-postcss";
9
10
 
10
- const packageJson = require("./package.json");
11
+ const packageJson = require("./package.json");
11
12
 
12
- export default [
13
+ export default [
14
+ {
15
+ input: "src/index.ts",
16
+ output: [
13
17
  {
14
- input: "src/index.ts",
15
- output: [
16
- {
17
- file: packageJson.main,
18
- format: "cjs",
19
- sourcemap: true,
20
- },
21
- {
22
- file: packageJson.module,
23
- format: "esm",
24
- sourcemap: true,
25
- },
26
- ],
27
- plugins: [
28
- peerDepsExternal(),
29
- resolve(),
30
- commonjs(),
31
- typescript({ tsconfig: "./tsconfig.json" }),
32
- terser(),
33
- postcss(),
34
- ],
35
- external: ["react", "react-dom"],
18
+ file: packageJson.main,
19
+ format: "cjs",
20
+ sourcemap: true,
36
21
  },
37
22
  {
38
- input: "src/index.ts",
39
- output: [{ file: packageJson.types }],
40
- plugins: [dts.default()],
41
- external: [/\.css$/],
23
+ file: packageJson.module,
24
+ format: "esm",
25
+ sourcemap: true,
42
26
  },
43
- ];
27
+ ],
28
+ plugins: [
29
+ peerDepsExternal(),
30
+ resolve(),
31
+ commonjs(),
32
+ typescript({ tsconfig: "./tsconfig.json" }),
33
+ terser(),
34
+ postcss(),
35
+ json(),
36
+ ],
37
+ external: ["react", "react-dom"],
38
+ },
39
+ {
40
+ input: "src/index.ts",
41
+ output: [{ file: packageJson.types }],
42
+ plugins: [dts.default()],
43
+ external: [/\.css$/],
44
+ },
45
+ ];
@@ -11,6 +11,7 @@ LicenseInfo.setLicenseKey(
11
11
  "c2bd611fa642666253500ab9c8e4f78fTz0xMTE4MjEsRT0xNzc2OTg4Nzk5MDAwLFM9cHJlbWl1bSxMTT1zdWJzY3JpcHRpb24sUFY9aW5pdGlhbCxLVj0y"
12
12
  );
13
13
  import "react-toastify/dist/ReactToastify.css";
14
+ import App from "./App";
14
15
 
15
16
  library.add(fab);
16
17
  library.add(far);
@@ -21,7 +22,7 @@ export type BaseAppProps = {};
21
22
  export const BaseApp: React.FC<BaseAppProps> = (props) => {
22
23
  return (
23
24
  <Provider store={store}>
24
- <div>Base App</div>
25
+ <App />
25
26
  </Provider>
26
27
  );
27
28
  };