@maropost-ui/liquidsky-ui 0.0.9 → 0.0.11

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 CHANGED
@@ -1,5 +1,5 @@
1
- # @liquidsky/ui
2
- # 0.0.8
1
+ # @maropost-ui/liquidsky-ui
2
+
3
3
  A shared UI component library, composables, and utilities for Vue 3 + Vuetify applications. This package provides reusable components and common functionality to accelerate development across multiple frontend applications.
4
4
 
5
5
 
@@ -26,18 +26,23 @@ The following packages are required as peer dependencies:
26
26
  - `date-fns-tz` (^3.2.0) - Date utilities with timezone support
27
27
  - `lz-string` (^1.5.0) - String compression library
28
28
 
29
+ ------------------------------------------------------------------------
30
+
29
31
 
30
32
  ## Quick Start
31
33
 
32
34
  ```bash
33
- npm install @liquidsky/ui
35
+ npm install @maropost-ui/liquidsky-ui
34
36
  ```
35
37
  ```typescript
36
- import { AppBreadcrumb } from '@liquidsky/ui'
38
+ import { AppBreadcrumb } from '@maropost-ui/liquidsky-ui'
37
39
  ```
38
40
 
39
- ## @liquidsky/ui Local Development Guide
40
- Use these methods to test @liquidsky/ui changes in your consuming project (e.g., commerce-frontend or commerce-backoffice) without publishing to npm. Both leverage npm's linking and packaging features for rapid iteration in your app workflow.
41
+ ------------------------------------------------------------------------
42
+
43
+
44
+ ## @maropost-ui/liquidsky-ui Local Development Guide
45
+ Use these methods to test @maropost-ui/liquidsky-ui changes in your consuming project (e.g., commerce-frontend or commerce-backoffice) without publishing to npm. Both leverage npm's linking and packaging features for rapid iteration in your app workflow.
41
46
 
42
47
 
43
48
 
@@ -69,7 +74,7 @@ Creates a symlink for instant hot-reloading of changes.
69
74
  4. **In your consuming project (e.g., `commerce-frontend`):**
70
75
  ```bash
71
76
  cd /path/to/your/consuming-project
72
- npm link @liquidsky/ui
77
+ npm link @maropost-ui/liquidsky-ui
73
78
  ```
74
79
 
75
80
  Now, any changes you make in the `liquidsky-frontend` package will be reflected in your consuming project after rebuilding the library. This is useful for rapid development and testing across multiple projects locally.
@@ -97,6 +102,65 @@ cd /path/to/commerce-backoffice # or your project
97
102
  npm install ../../path/to/liquidsky-frontend/liquidsky-ui-<version>.tgz
98
103
  ```
99
104
 
105
+ ------------------------------------------------------------------------
106
+
107
+
108
+ ## Updating and Publishing Liquidsky Package with npm
109
+
110
+ ### ✅ 1. Commit changes including version update
111
+
112
+ Before publishing, make sure everything is committed and pushed to your
113
+ `main` branch.
114
+
115
+ - Update your code
116
+ - Then update the version in `package.json`
117
+
118
+ You can do it manually or run:
119
+
120
+ ``` bash
121
+ npm version patch --no-git-tag-version # bug fixes
122
+ npm version minor --no-git-tag-version # new features
123
+ npm version major --no-git-tag-version # breaking changes
124
+ ```
125
+ - Then run `npm run changelog:generate` to generate `changelog.md` file
126
+
127
+ Commit and push everything:
128
+
129
+ ``` bash
130
+ git add .
131
+ git commit -m "feat: update package (vX.X.X)"
132
+ git push origin main
133
+ ```
134
+
135
+
136
+ ### ✅ 2. Login to npm
137
+
138
+ If not already logged in:
139
+
140
+ ``` bash
141
+ npm login
142
+ ```
143
+
144
+ ### ✅ 3. Publish your package
145
+
146
+ Run:
147
+
148
+ ``` bash
149
+ npm publish
150
+ ```
151
+
152
+ For scoped packages:
153
+
154
+ ``` bash
155
+ npm publish --access public
156
+ ```
157
+
158
+
159
+ ✅ That's it --- your changes are now live.
160
+
161
+ ------------------------------------------------------------------------
162
+
163
+
100
164
  ## Documentation
101
165
 
102
166
  This package features automated Storybook documentation that stays synchronized with your components and keeps docs always up-to-date with your code.