@cshah18/sdk 1.0.0 → 2.0.0
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 +21 -0
- package/dist/cobuy-sdk.esm.js +8581 -697
- package/dist/cobuy-sdk.esm.js.map +1 -1
- package/dist/cobuy-sdk.umd.js +8589 -699
- package/dist/cobuy-sdk.umd.js.map +1 -1
- package/dist/types/core/api-client.d.ts +74 -5
- package/dist/types/core/auth-strategy.d.ts +55 -0
- package/dist/types/core/cobuy.d.ts +42 -1
- package/dist/types/core/endpoints.d.ts +7 -23
- package/dist/types/core/socket-client.d.ts +126 -0
- package/dist/types/core/socket.d.ts +51 -0
- package/dist/types/core/types.d.ts +301 -5
- package/dist/types/index.d.ts +2 -0
- package/dist/types/ui/group-list/group-list-modal.d.ts +61 -0
- package/dist/types/ui/lobby/lobby-modal.d.ts +257 -0
- package/dist/types/ui/widget/widget-root.d.ts +62 -22
- package/package.json +12 -2
package/README.md
CHANGED
|
@@ -343,6 +343,27 @@ npm run lint:fix
|
|
|
343
343
|
|
|
344
344
|
# Type check + lint
|
|
345
345
|
npm run check
|
|
346
|
+
|
|
347
|
+
### Versioning (Grunt)
|
|
348
|
+
|
|
349
|
+
These commands bump the version in package.json, create a commit, and tag the release. Pushing to remote is disabled by default.
|
|
350
|
+
|
|
351
|
+
```bash
|
|
352
|
+
# Patch (x.y.z -> x.y.(z+1))
|
|
353
|
+
npm run version:patch
|
|
354
|
+
|
|
355
|
+
# Minor (x.y.z -> x.(y+1).0)
|
|
356
|
+
npm run version:minor
|
|
357
|
+
|
|
358
|
+
# Major ((x+1).0.0)
|
|
359
|
+
npm run version:major
|
|
360
|
+
|
|
361
|
+
# Prerelease (x.y.z-alpha.0 -> x.y.z-alpha.1)
|
|
362
|
+
npm run version:prerelease
|
|
363
|
+
|
|
364
|
+
# After bumping, push manually if desired
|
|
365
|
+
git push && git push --tags
|
|
366
|
+
```
|
|
346
367
|
```
|
|
347
368
|
|
|
348
369
|
### Code Quality
|