@chenhui996/gg-cli 1.0.1 → 1.0.2

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 (58) hide show
  1. package/dist/index.js +15 -0
  2. package/dist/index.js.map +1 -1
  3. package/dist/template/operations-tem/.env +1 -0
  4. package/dist/template/operations-tem/README.md +146 -0
  5. package/dist/template/operations-tem/eslint.config.js +27 -0
  6. package/dist/template/operations-tem/package-lock.json +4672 -0
  7. package/dist/template/{react-temp2 → operations-tem}/package.json +11 -2
  8. package/dist/template/operations-tem/src/api/user.ts +21 -0
  9. package/dist/template/operations-tem/src/assets/Frame 20.png +0 -0
  10. package/dist/template/operations-tem/src/components/Chart/index.tsx +22 -0
  11. package/dist/template/operations-tem/src/layouts/BasicLayout.tsx +183 -0
  12. package/dist/template/operations-tem/src/main.tsx +38 -0
  13. package/dist/template/operations-tem/src/pages/404.tsx +32 -0
  14. package/dist/template/operations-tem/src/pages/about/index.tsx +8 -0
  15. package/dist/template/operations-tem/src/pages/calendar/index.tsx +8 -0
  16. package/dist/template/operations-tem/src/pages/dashboard/index.tsx +72 -0
  17. package/dist/template/operations-tem/src/pages/home/index.less +59 -0
  18. package/dist/template/operations-tem/src/pages/home/index.tsx +188 -0
  19. package/dist/template/operations-tem/src/pages/settings/index.tsx +8 -0
  20. package/dist/template/operations-tem/src/pages/workspace/index.tsx +8 -0
  21. package/dist/template/operations-tem/src/router/index.tsx +75 -0
  22. package/dist/template/operations-tem/src/store/useCounterStore.ts +24 -0
  23. package/dist/template/operations-tem/src/style.less +3 -0
  24. package/dist/template/operations-tem/src/utils/request/index.ts +108 -0
  25. package/dist/template/{react-temp2 → operations-tem}/vite.config.ts +7 -0
  26. package/dist/template/{react-temp2 → react19}/index.html +1 -1
  27. package/dist/template/{react-temp1 → react19}/src/main.tsx +1 -1
  28. package/package.json +1 -1
  29. package/dist/template/react-temp2/README.md +0 -75
  30. package/dist/template/react-temp2/eslint.config.js +0 -23
  31. package/dist/template/react-temp2/src/App.css +0 -184
  32. package/dist/template/react-temp2/src/App.tsx +0 -121
  33. package/dist/template/react-temp2/src/assets/hero.png +0 -0
  34. package/dist/template/react-temp2/src/assets/vite.svg +0 -1
  35. package/dist/template/react-temp2/src/index.css +0 -111
  36. package/dist/template/react-temp2/src/main.tsx +0 -10
  37. /package/dist/template/{react-temp1 → operations-tem}/index.html +0 -0
  38. /package/dist/template/{react-temp1 → operations-tem}/public/favicon.svg +0 -0
  39. /package/dist/template/{react-temp1 → operations-tem}/public/icons.svg +0 -0
  40. /package/dist/template/{react-temp1 → operations-tem}/src/assets/react.svg +0 -0
  41. /package/dist/template/{react-temp1 → operations-tem}/tsconfig.app.json +0 -0
  42. /package/dist/template/{react-temp1 → operations-tem}/tsconfig.json +0 -0
  43. /package/dist/template/{react-temp1 → operations-tem}/tsconfig.node.json +0 -0
  44. /package/dist/template/{react-temp1 → react19}/README.md +0 -0
  45. /package/dist/template/{react-temp1 → react19}/eslint.config.js +0 -0
  46. /package/dist/template/{react-temp1 → react19}/package.json +0 -0
  47. /package/dist/template/{react-temp2 → react19}/public/favicon.svg +0 -0
  48. /package/dist/template/{react-temp2 → react19}/public/icons.svg +0 -0
  49. /package/dist/template/{react-temp1 → react19}/src/App.css +0 -0
  50. /package/dist/template/{react-temp1 → react19}/src/App.tsx +0 -0
  51. /package/dist/template/{react-temp1 → react19}/src/assets/hero.png +0 -0
  52. /package/dist/template/{react-temp2 → react19}/src/assets/react.svg +0 -0
  53. /package/dist/template/{react-temp1 → react19}/src/assets/vite.svg +0 -0
  54. /package/dist/template/{react-temp1 → react19}/src/index.css +0 -0
  55. /package/dist/template/{react-temp2 → react19}/tsconfig.app.json +0 -0
  56. /package/dist/template/{react-temp2 → react19}/tsconfig.json +0 -0
  57. /package/dist/template/{react-temp2 → react19}/tsconfig.node.json +0 -0
  58. /package/dist/template/{react-temp1 → react19}/vite.config.ts +0 -0
@@ -1,111 +0,0 @@
1
- :root {
2
- --text: #6b6375;
3
- --text-h: #08060d;
4
- --bg: #fff;
5
- --border: #e5e4e7;
6
- --code-bg: #f4f3ec;
7
- --accent: #aa3bff;
8
- --accent-bg: rgba(170, 59, 255, 0.1);
9
- --accent-border: rgba(170, 59, 255, 0.5);
10
- --social-bg: rgba(244, 243, 236, 0.5);
11
- --shadow:
12
- rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;
13
-
14
- --sans: system-ui, 'Segoe UI', Roboto, sans-serif;
15
- --heading: system-ui, 'Segoe UI', Roboto, sans-serif;
16
- --mono: ui-monospace, Consolas, monospace;
17
-
18
- font: 18px/145% var(--sans);
19
- letter-spacing: 0.18px;
20
- color-scheme: light dark;
21
- color: var(--text);
22
- background: var(--bg);
23
- font-synthesis: none;
24
- text-rendering: optimizeLegibility;
25
- -webkit-font-smoothing: antialiased;
26
- -moz-osx-font-smoothing: grayscale;
27
-
28
- @media (max-width: 1024px) {
29
- font-size: 16px;
30
- }
31
- }
32
-
33
- @media (prefers-color-scheme: dark) {
34
- :root {
35
- --text: #9ca3af;
36
- --text-h: #f3f4f6;
37
- --bg: #16171d;
38
- --border: #2e303a;
39
- --code-bg: #1f2028;
40
- --accent: #c084fc;
41
- --accent-bg: rgba(192, 132, 252, 0.15);
42
- --accent-border: rgba(192, 132, 252, 0.5);
43
- --social-bg: rgba(47, 48, 58, 0.5);
44
- --shadow:
45
- rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
46
- }
47
-
48
- #social .button-icon {
49
- filter: invert(1) brightness(2);
50
- }
51
- }
52
-
53
- #root {
54
- width: 1126px;
55
- max-width: 100%;
56
- margin: 0 auto;
57
- text-align: center;
58
- border-inline: 1px solid var(--border);
59
- min-height: 100svh;
60
- display: flex;
61
- flex-direction: column;
62
- box-sizing: border-box;
63
- }
64
-
65
- body {
66
- margin: 0;
67
- }
68
-
69
- h1,
70
- h2 {
71
- font-family: var(--heading);
72
- font-weight: 500;
73
- color: var(--text-h);
74
- }
75
-
76
- h1 {
77
- font-size: 56px;
78
- letter-spacing: -1.68px;
79
- margin: 32px 0;
80
- @media (max-width: 1024px) {
81
- font-size: 36px;
82
- margin: 20px 0;
83
- }
84
- }
85
- h2 {
86
- font-size: 24px;
87
- line-height: 118%;
88
- letter-spacing: -0.24px;
89
- margin: 0 0 8px;
90
- @media (max-width: 1024px) {
91
- font-size: 20px;
92
- }
93
- }
94
- p {
95
- margin: 0;
96
- }
97
-
98
- code,
99
- .counter {
100
- font-family: var(--mono);
101
- display: inline-flex;
102
- border-radius: 4px;
103
- color: var(--text-h);
104
- }
105
-
106
- code {
107
- font-size: 15px;
108
- line-height: 135%;
109
- padding: 4px 8px;
110
- background: var(--code-bg);
111
- }
@@ -1,10 +0,0 @@
1
- import { StrictMode } from 'react'
2
- import { createRoot } from 'react-dom/client'
3
- import './index.css'
4
- import App from './App.tsx'
5
-
6
- createRoot(document.getElementById('root')!).render(
7
- <StrictMode>
8
- <App />
9
- </StrictMode>,
10
- )