@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.
Files changed (2) hide show
  1. package/README.md +9 -9
  2. 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
- 2. Optional: Sanity check the differences in otrBackendService.js
55
- 3. Commit the changes and push to github
56
- 4. Update the version number in package.json
57
- 5. Execute ```npm publish```
58
- 1. Make sure you are authenticated with npm under the @otr-app organization
59
- 1. ```npm login --scope=@otr-app```
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"