@sykoramaros/marosh-components 0.1.0 → 0.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/README.md +56 -0
- package/dist/cli/index.cjs +7854 -0
- package/package.json +14 -3
- package/src/App.css +42 -0
- package/src/App.tsx +42 -0
- package/src/components/CustomButton.tsx +32 -0
- package/src/components/Footer.tsx +59 -0
- package/src/components/MainNav.tsx +81 -0
- package/src/components/ui/button.tsx +62 -0
- package/src/components/ui/input.tsx +21 -0
- package/src/components/ui/navigation-menu.tsx +168 -0
- package/src/components/ui/separator.tsx +26 -0
- package/src/components/ui/sheet.tsx +139 -0
- package/src/components/ui/sidebar.tsx +726 -0
- package/src/components/ui/skeleton.tsx +13 -0
- package/src/components/ui/tooltip.tsx +59 -0
- package/src/hooks/use-mobile.ts +19 -0
- package/src/index.css +122 -0
- package/src/index.ts +17 -0
- package/src/lib/utils.ts +6 -0
- package/src/main.tsx +10 -0
package/README.md
CHANGED
|
@@ -1,3 +1,59 @@
|
|
|
1
|
+
update na knihovnu nahravajici kompoennty do projektu
|
|
2
|
+
|
|
3
|
+
@sykoramaros/marosh-components/
|
|
4
|
+
├── src/
|
|
5
|
+
│ ├── components/
|
|
6
|
+
│ │ ├── CustomButton.tsx
|
|
7
|
+
│ │ ├── MainNav.tsx
|
|
8
|
+
│ │ └── Footer.tsx
|
|
9
|
+
│ ├── lib/
|
|
10
|
+
│ │ └── utils.ts
|
|
11
|
+
│ └── index.ts
|
|
12
|
+
├── cli/
|
|
13
|
+
│ └── index.ts # Nový CLI nástroj
|
|
14
|
+
├── scripts/
|
|
15
|
+
│ └── templates/ # Šablony komponent
|
|
16
|
+
├── package.json
|
|
17
|
+
└── tsconfig.json
|
|
18
|
+
|
|
19
|
+
# Zkontroluj že package.json má správnou verzi
|
|
20
|
+
|
|
21
|
+
# Zvyš verzi pokud už jsi publikoval 0.1.0
|
|
22
|
+
|
|
23
|
+
# nebo minor/major
|
|
24
|
+
|
|
25
|
+
npm version patch
|
|
26
|
+
|
|
27
|
+
# Publikuj
|
|
28
|
+
|
|
29
|
+
bunx npm login
|
|
30
|
+
npm publish --access public
|
|
31
|
+
|
|
32
|
+
# Build
|
|
33
|
+
|
|
34
|
+
bun run build
|
|
35
|
+
|
|
36
|
+
# Publikace (stejně jako doteď)
|
|
37
|
+
|
|
38
|
+
bunx npm login
|
|
39
|
+
npm publish --access public
|
|
40
|
+
|
|
41
|
+
Použití v jiných projektech
|
|
42
|
+
bash# Instalace
|
|
43
|
+
bun add @sykoramaros/marosh-components
|
|
44
|
+
|
|
45
|
+
# Přidání komponent
|
|
46
|
+
|
|
47
|
+
bunx marosh add
|
|
48
|
+
|
|
49
|
+
# Výpis dostupných
|
|
50
|
+
|
|
51
|
+
bunx marosh list
|
|
52
|
+
|
|
53
|
+
# Aktualizace komponent
|
|
54
|
+
|
|
55
|
+
bunx marosh update
|
|
56
|
+
|
|
1
57
|
# React + TypeScript + Vite
|
|
2
58
|
|
|
3
59
|
# Build
|