@pdg/react-admin-layout 1.0.54 → 1.0.55

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.
Files changed (2) hide show
  1. package/README.md +16 -0
  2. package/package.json +19 -12
package/README.md CHANGED
@@ -6,3 +6,19 @@ React Admin Layout
6
6
  ```
7
7
  npm install -D @pdg/react-admin-layout
8
8
  ```
9
+
10
+ ## 추가 패키지 설치
11
+ ```
12
+ npm install -D @emotion/react @emotion/styled @mui/icons-material @mui/material simplebar-react
13
+ ```
14
+
15
+ ## simplebar-react css 추가
16
+ - javascript/typescript 에 추가 시
17
+ ```javascript
18
+ import 'simplebar-react/dist/simplebar.min.css';
19
+ ```
20
+
21
+ - css/scss 에 추가 시
22
+ ```css
23
+ @import 'simplebar-react/dist/simplebar.min.css';
24
+ ```
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pdg/react-admin-layout",
3
3
  "title": "React Admin Layout",
4
4
  "description": "Admin Layout for React",
5
- "version": "1.0.54",
5
+ "version": "1.0.55",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
8
8
  "module": "./dist/index.esm.js",
@@ -31,13 +31,13 @@
31
31
  "dev": "cd examples && npm run dev",
32
32
  "watchman:del": "watchman watch-del \"${PWD}\" ; watchman watch-project \"${PWD}\"",
33
33
  "build:examples": "cd examples && npm run build",
34
- "build": "npm run watchman:del && npm run lint && rollup -c --bundleConfigAsCjs",
34
+ "build": "npm run watchman:del && rollup -c --bundleConfigAsCjs",
35
35
  "git:commit": "node .git-commit.cjs",
36
36
  "git:push": "git push",
37
37
  "git:commit:push": "npm run git:commit && npm run git:push",
38
38
  "git:merge:mirror": "node .git-merge.cjs mirror main",
39
39
  "reset:gitignore": "git rm -r --cached . && git add .",
40
- "pub": "npm i && npm run build:examples && npm run build && npm publish --access=public && rm ./.git/hooks/pre-commit",
40
+ "pub": "npm i && npm run build:examples && npm run build && npm publish --access=public && [ -f ./.git/hooks/pre-commit ] && rm ./.git/hooks/pre-commit || true",
41
41
  "lint": "eslint './src/**/*.{ts,tsx}'",
42
42
  "tsc": "tsc --noEmit",
43
43
  "reinstall": "npm run reinstall:module",
@@ -56,25 +56,29 @@
56
56
  "javascript"
57
57
  ],
58
58
  "peerDependencies": {
59
+ "@emotion/react": "^11.0.0",
60
+ "@emotion/styled": "^11.0.0",
61
+ "@mui/icons-material": "^7.0.0",
62
+ "@mui/material": "^7.0.0",
59
63
  "react": ">=19.0.0",
60
- "react-dom": ">=19.0.0"
61
- },
62
- "dependencies": {
63
- "@emotion/react": "11.14.0",
64
- "@emotion/styled": "11.14.1",
65
- "@mui/icons-material": "7.3.6",
66
- "@mui/material": "7.3.6",
67
- "react-router": "7.10.1",
68
- "simplebar-react": "3.3.2"
64
+ "react-dom": ">=19.0.0",
65
+ "react-router": ">=7.0.0",
66
+ "simplebar-react": "^3.0.0"
69
67
  },
68
+ "dependencies": {},
70
69
  "devDependencies": {
71
70
  "@babel/core": "^7.28.5",
72
71
  "@babel/preset-env": "^7.28.5",
73
72
  "@babel/preset-react": "^7.28.5",
74
73
  "@babel/preset-typescript": "^7.28.5",
74
+ "@emotion/react": "^11.14.0",
75
+ "@emotion/styled": "^11.14.1",
75
76
  "@eslint/js": "9.39.1",
77
+ "@mui/icons-material": "^7.3.6",
78
+ "@mui/material": "^7.3.6",
76
79
  "@rollup/plugin-babel": "^6.1.0",
77
80
  "@rollup/plugin-commonjs": "29.0.0",
81
+ "@rollup/plugin-eslint": "^9.2.0",
78
82
  "@rollup/plugin-node-resolve": "16.0.3",
79
83
  "@types/node": "^22.19.2",
80
84
  "@types/react": "19.2.7",
@@ -88,6 +92,9 @@
88
92
  "eslint-plugin-react-refresh": "0.4.24",
89
93
  "globals": "^16.5.0",
90
94
  "prettier": "3.7.4",
95
+ "react": "^19.2.3",
96
+ "react-dom": "^19.2.3",
97
+ "react-router": "^7.11.0",
91
98
  "rollup": "4.53.3",
92
99
  "rollup-plugin-delete": "2.2.0",
93
100
  "rollup-plugin-peer-deps-external": "2.2.4",