rebilly-js-sdk 56.8.0 → 56.8.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/CHANGELOG.md +2 -0
- package/README.md +2 -10
- package/dist/rebilly-js-sdk.d.ts +924 -913
- package/dist/rebilly-js-sdk.es.js +1 -1
- package/dist/rebilly-js-sdk.umd.js +1 -1
- package/package.json +3 -6
- package/scripts/type-generation/generate-ts-types.js +2 -16
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -38,19 +38,11 @@ Generate coverage report
|
|
|
38
38
|
```
|
|
39
39
|
npm run coverage
|
|
40
40
|
```
|
|
41
|
-
Check that the generated typescript type file is valid (note: you should build the types first, by using
|
|
41
|
+
Check that the generated typescript type file is valid (note: you should build the types first, by using `npm run ts:bundle-types`)
|
|
42
42
|
```
|
|
43
43
|
npm run test:check-build-types
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
## Typescript types generation
|
|
47
47
|
|
|
48
|
-
Types are automatically created because `npm run ts:bundle-types
|
|
49
|
-
|
|
50
|
-
But if you want to test TS types before the related `api-definitions` have been merged into main, you can run:
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
npm run ts:bundle-types-from-local
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
which will build your local `api-definitions` branch to generate new TS types that can be tested in your local consumer apps.
|
|
48
|
+
Types are automatically created because `npm run ts:bundle-types` is called as part of `npm run build:prod`.
|