@otr-app/shared-backend-generated-client 1.1.1 → 1.1.2
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 +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,16 +46,16 @@ try {
|
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
## How to upgrade the generated AngularJS client
|
|
49
|
-
1.
|
|
49
|
+
1. Make sure you are authenticated with npm under the @otr-app organization
|
|
50
|
+
1. ```npm login --scope=@otr-app```
|
|
51
|
+
2.
|
|
50
52
|
Generate the JSON models and endpoints from devo
|
|
51
53
|
``` npm run generate:devo```
|
|
52
54
|
1. OR generate the JSON models and endpoints from local server
|
|
53
55
|
``` npm run generate:local```
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
4.
|
|
57
|
-
5.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
2. Run step 5 again
|
|
61
|
-
6. Done.
|
|
56
|
+
3. Optional: Sanity check the differences in otrBackendService.js
|
|
57
|
+
1. ```git diff HEAD dist/otrBackendService.js```
|
|
58
|
+
4. Commit the changes and push to github
|
|
59
|
+
5. Update the version number in package.json
|
|
60
|
+
6. Execute ```npm publish```
|
|
61
|
+
7. Done.
|