quasar-ui-danx-legacy 0.3.56-legacy → 0.3.58
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 +31 -0
- package/dist/danx.es.js +984 -948
- package/dist/danx.es.js.map +1 -1
- package/dist/danx.umd.js +2 -2
- package/dist/danx.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -2
- package/scripts/publish.sh +75 -0
- package/src/components/DragAndDrop/ListItemDraggable.vue +1 -1
- package/src/components/DragAndDrop/dragAndDrop.ts +8 -0
- package/src/components/DragAndDrop/listDragAndDrop.ts +49 -4
package/README.md
CHANGED
|
@@ -146,6 +146,37 @@ $ yarn dev
|
|
|
146
146
|
$ yarn build
|
|
147
147
|
```
|
|
148
148
|
|
|
149
|
+
# Publishing
|
|
150
|
+
|
|
151
|
+
To publish a new version to npm:
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
# Patch version (0.0.x)
|
|
155
|
+
yarn publish:patch
|
|
156
|
+
|
|
157
|
+
# Minor version (0.x.0)
|
|
158
|
+
yarn publish:minor
|
|
159
|
+
|
|
160
|
+
# Major version (x.0.0)
|
|
161
|
+
yarn publish:major
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
The publish script will:
|
|
165
|
+
1. Check npm authentication (prompts for login if needed)
|
|
166
|
+
2. Build the package
|
|
167
|
+
3. Bump the version
|
|
168
|
+
4. Publish to npm
|
|
169
|
+
5. Commit, tag, and push to git
|
|
170
|
+
|
|
171
|
+
## Updating consumers
|
|
172
|
+
|
|
173
|
+
After publishing, update the MVA in the platform repo:
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
# From platform root directory
|
|
177
|
+
make update-danx-legacy
|
|
178
|
+
```
|
|
179
|
+
|
|
149
180
|
# Adding Testing Components
|
|
150
181
|
|
|
151
182
|
in the `ui/dev/src/pages` you can add Vue files to test your component/directive. When using `yarn dev` to build the UI,
|