@banch0u/core-project-test-repository 1.4.3 → 1.5.0
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.
|
@@ -35,7 +35,6 @@ var ProfileOptions = function ProfileOptions() {
|
|
|
35
35
|
var notifications = useSelector(function (state) {
|
|
36
36
|
return state.notification.notifications;
|
|
37
37
|
});
|
|
38
|
-
console.log(notificationsRender);
|
|
39
38
|
var _useState5 = useState(localStorage.getItem("theme") || "light"),
|
|
40
39
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
41
40
|
theme = _useState6[0],
|
|
@@ -73,9 +72,6 @@ var ProfileOptions = function ProfileOptions() {
|
|
|
73
72
|
page: page
|
|
74
73
|
}));
|
|
75
74
|
}, [dispatch, size, page, notificationsRender]);
|
|
76
|
-
useEffect(function () {
|
|
77
|
-
console.log("notificationsRender:", notificationsRender);
|
|
78
|
-
}, [notificationsRender]);
|
|
79
75
|
var rootUrl = window.location.origin;
|
|
80
76
|
var menu1 = /*#__PURE__*/React.createElement(Menu, null, /*#__PURE__*/React.createElement("div", {
|
|
81
77
|
className: style.links
|
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ export { default as ColSort } from "./components/ColSort";
|
|
|
4
4
|
export { default as Filter } from "./components/Filter";
|
|
5
5
|
export { default as Loading } from "./components/Loading";
|
|
6
6
|
export { default as Pagination } from "./components/Pagination";
|
|
7
|
+
export { default as FormModal } from "./components/FormModal";
|
|
7
8
|
export { default as useNotification } from "./hooks/useNotification";
|
|
8
9
|
export { default as message } from "./utils/message";
|
|
9
10
|
import LoginPage from "./pages/Login";
|
|
@@ -31,6 +31,6 @@ var Header = function Header() {
|
|
|
31
31
|
alt: "Balakhani Logo"
|
|
32
32
|
}) : theme === "dark" ? /*#__PURE__*/React.createElement(DsgLogo, {
|
|
33
33
|
dark: true
|
|
34
|
-
}) : /*#__PURE__*/React.createElement(DsgLogo, null)), /*#__PURE__*/React.createElement(ProfileOptions, null));
|
|
34
|
+
}) : /*#__PURE__*/React.createElement(DsgLogo, null), "111"), /*#__PURE__*/React.createElement(ProfileOptions, null));
|
|
35
35
|
};
|
|
36
36
|
export default Header;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@banch0u/core-project-test-repository",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Shared core features for all projects",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -17,7 +17,10 @@
|
|
|
17
17
|
"clean": "rimraf dist",
|
|
18
18
|
"build": "npm run clean && babel src --out-dir dist --copy-files",
|
|
19
19
|
"watch": "chokidar \"src\" -i 'dist' -c \"npm run build && yalc push --force\"",
|
|
20
|
-
"dev": "npm run watch"
|
|
20
|
+
"dev": "npm run watch",
|
|
21
|
+
"publish:patch": "npm run build && npm version patch && npm publish",
|
|
22
|
+
"publish:minor": "npm run build && npm version minor && npm publish",
|
|
23
|
+
"publish:major": "npm run build && npm version major && npm publish"
|
|
21
24
|
},
|
|
22
25
|
"dependencies": {
|
|
23
26
|
"@microsoft/signalr": "^8.0.7",
|
|
@@ -29,6 +32,9 @@
|
|
|
29
32
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
30
33
|
"react-router-dom": "^6.0.0"
|
|
31
34
|
},
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"registry": "https://registry.npmjs.org/"
|
|
37
|
+
},
|
|
32
38
|
"devDependencies": {
|
|
33
39
|
"@babel/cli": "^7.26.4",
|
|
34
40
|
"@babel/core": "^7.26.10",
|