@hedia/recommendation-screen 2.1.34-alpha.9 → 2.1.34

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 (234) hide show
  1. package/{src → dist/src}/RecommendationScreen.d.ts +3 -3
  2. package/{src → dist/src}/RecommendationScreen.js +6 -6
  3. package/{src → dist/src}/locale/da/messages.po +92 -92
  4. package/{src → dist/src}/locale/de/messages.po +92 -92
  5. package/{src → dist/src}/locale/en/messages.po +92 -92
  6. package/{src → dist/src}/locale/es/messages.js +1 -1
  7. package/{src → dist/src}/locale/es/messages.po +92 -92
  8. package/{src → dist/src}/locale/fr/messages.po +92 -92
  9. package/{src → dist/src}/locale/it/messages.po +92 -92
  10. package/package.json +22 -21
  11. package/.flowconfig +0 -65
  12. package/.github/pull_request_template.md +0 -6
  13. package/.github/workflows/ci.yaml +0 -17
  14. package/.github/workflows/publish-release-package.yaml +0 -17
  15. package/.github/workflows/validate-pr-title.yaml +0 -20
  16. package/.linguirc +0 -6
  17. package/.npmpackagejsonlintrc.json +0 -12
  18. package/.prettierignore +0 -2
  19. package/.prettierrc +0 -25
  20. package/Changelog.md +0 -9
  21. package/android/app/BUCK +0 -55
  22. package/android/app/build.gradle +0 -228
  23. package/android/app/build_defs.bzl +0 -19
  24. package/android/app/debug.keystore +0 -0
  25. package/android/app/proguard-rules.pro +0 -10
  26. package/android/app/src/debug/AndroidManifest.xml +0 -13
  27. package/android/app/src/debug/java/com/hediarecommendationscreen/ReactNativeFlipper.java +0 -72
  28. package/android/app/src/main/AndroidManifest.xml +0 -25
  29. package/android/app/src/main/assets/fonts/AntDesign.ttf +0 -0
  30. package/android/app/src/main/assets/fonts/Entypo.ttf +0 -0
  31. package/android/app/src/main/assets/fonts/EvilIcons.ttf +0 -0
  32. package/android/app/src/main/assets/fonts/Feather.ttf +0 -0
  33. package/android/app/src/main/assets/fonts/FontAwesome.ttf +0 -0
  34. package/android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf +0 -0
  35. package/android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf +0 -0
  36. package/android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf +0 -0
  37. package/android/app/src/main/assets/fonts/Fontisto.ttf +0 -0
  38. package/android/app/src/main/assets/fonts/Foundation.ttf +0 -0
  39. package/android/app/src/main/assets/fonts/Ionicons.ttf +0 -0
  40. package/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf +0 -0
  41. package/android/app/src/main/assets/fonts/MaterialIcons.ttf +0 -0
  42. package/android/app/src/main/assets/fonts/Octicons.ttf +0 -0
  43. package/android/app/src/main/assets/fonts/Roboto-Black.ttf +0 -0
  44. package/android/app/src/main/assets/fonts/Roboto-BlackItalic.ttf +0 -0
  45. package/android/app/src/main/assets/fonts/Roboto-Bold.ttf +0 -0
  46. package/android/app/src/main/assets/fonts/Roboto-BoldItalic.ttf +0 -0
  47. package/android/app/src/main/assets/fonts/Roboto-Italic.ttf +0 -0
  48. package/android/app/src/main/assets/fonts/Roboto-Light.ttf +0 -0
  49. package/android/app/src/main/assets/fonts/Roboto-LightItalic.ttf +0 -0
  50. package/android/app/src/main/assets/fonts/Roboto-Medium.ttf +0 -0
  51. package/android/app/src/main/assets/fonts/Roboto-MediumItalic.ttf +0 -0
  52. package/android/app/src/main/assets/fonts/Roboto-Regular.ttf +0 -0
  53. package/android/app/src/main/assets/fonts/Roboto-Thin.ttf +0 -0
  54. package/android/app/src/main/assets/fonts/Roboto-ThinItalic.ttf +0 -0
  55. package/android/app/src/main/assets/fonts/SimpleLineIcons.ttf +0 -0
  56. package/android/app/src/main/assets/fonts/Zocial.ttf +0 -0
  57. package/android/app/src/main/java/com/hediarecommendationscreen/MainActivity.java +0 -15
  58. package/android/app/src/main/java/com/hediarecommendationscreen/MainApplication.java +0 -80
  59. package/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  60. package/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  61. package/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  62. package/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  63. package/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  64. package/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  65. package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  66. package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  67. package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  68. package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  69. package/android/app/src/main/res/values/color.xml +0 -3
  70. package/android/app/src/main/res/values/strings.xml +0 -3
  71. package/android/app/src/main/res/values/styles.xml +0 -11
  72. package/android/build.gradle +0 -38
  73. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  74. package/android/gradle/wrapper/gradle-wrapper.properties +0 -5
  75. package/android/gradle.properties +0 -28
  76. package/android/gradlew +0 -185
  77. package/android/gradlew.bat +0 -89
  78. package/android/settings.gradle +0 -3
  79. package/assets/fonts/Roboto/LICENSE.txt +0 -202
  80. package/assets/fonts/Roboto/Roboto-Black.ttf +0 -0
  81. package/assets/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
  82. package/assets/fonts/Roboto/Roboto-Bold.ttf +0 -0
  83. package/assets/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
  84. package/assets/fonts/Roboto/Roboto-Italic.ttf +0 -0
  85. package/assets/fonts/Roboto/Roboto-Light.ttf +0 -0
  86. package/assets/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
  87. package/assets/fonts/Roboto/Roboto-Medium.ttf +0 -0
  88. package/assets/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
  89. package/assets/fonts/Roboto/Roboto-Regular.ttf +0 -0
  90. package/assets/fonts/Roboto/Roboto-Thin.ttf +0 -0
  91. package/assets/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
  92. package/babel.config.js +0 -18
  93. package/ignore-git.sh +0 -46
  94. package/ignore-publish.sh +0 -33
  95. package/index-git.sh +0 -5
  96. package/ios/HediaRecommendationScreen/AppDelegate.h +0 -8
  97. package/ios/HediaRecommendationScreen/AppDelegate.m +0 -61
  98. package/ios/HediaRecommendationScreen/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
  99. package/ios/HediaRecommendationScreen/Images.xcassets/Contents.json +0 -6
  100. package/ios/HediaRecommendationScreen/Info.plist +0 -90
  101. package/ios/HediaRecommendationScreen/LaunchScreen.storyboard +0 -47
  102. package/ios/HediaRecommendationScreen/main.m +0 -9
  103. package/ios/HediaRecommendationScreen.xcodeproj/project.pbxproj +0 -778
  104. package/ios/HediaRecommendationScreen.xcodeproj/xcshareddata/xcschemes/HediaRecommendationScreen-tvOS.xcscheme +0 -88
  105. package/ios/HediaRecommendationScreen.xcodeproj/xcshareddata/xcschemes/HediaRecommendationScreen.xcscheme +0 -88
  106. package/ios/HediaRecommendationScreen.xcworkspace/contents.xcworkspacedata +0 -10
  107. package/ios/HediaRecommendationScreen.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  108. package/ios/HediaRecommendationScreenTests/HediaRecommendationScreenTests.m +0 -65
  109. package/ios/HediaRecommendationScreenTests/Info.plist +0 -24
  110. package/ios/Podfile +0 -32
  111. package/ios/Podfile.lock +0 -544
  112. package/jest.config.js +0 -197
  113. package/jest.mock.js +0 -1
  114. package/metro.config.js +0 -17
  115. package/react-native.config.js +0 -7
  116. package/src/__tests__/RecommendationScreen.test.d.ts +0 -1
  117. package/src/__tests__/RecommendationScreen.test.js +0 -965
  118. package/src/__tests__/RecommendationUtils.test.d.ts +0 -1
  119. package/src/__tests__/RecommendationUtils.test.js +0 -216
  120. package/src/__tests__/Translate.test.d.ts +0 -1
  121. package/src/__tests__/Translate.test.js +0 -27
  122. package/src/__tests__/Utils.test.d.ts +0 -1
  123. package/src/__tests__/Utils.test.js +0 -66
  124. package/src/__tests__/Validations.test.d.ts +0 -1
  125. package/src/__tests__/Validations.test.js +0 -465
  126. package/src/__tests__/components/Activity.test.d.ts +0 -1
  127. package/src/__tests__/components/Activity.test.js +0 -86
  128. package/src/__tests__/components/Emotion.test.d.ts +0 -1
  129. package/src/__tests__/components/Emotion.test.js +0 -70
  130. package/src/__tests__/components/Header.test.d.ts +0 -1
  131. package/src/__tests__/components/Header.test.js +0 -36
  132. package/src/__tests__/components/InfoBars.test.d.ts +0 -1
  133. package/src/__tests__/components/InfoBars.test.js +0 -130
  134. package/src/__tests__/components/InvisibleNumberInput.test.d.ts +0 -1
  135. package/src/__tests__/components/InvisibleNumberInput.test.js +0 -160
  136. package/src/__tests__/components/LimitationMessage.test.d.ts +0 -1
  137. package/src/__tests__/components/LimitationMessage.test.js +0 -47
  138. package/src/__tests__/components/MoodIcon.test.d.ts +0 -1
  139. package/src/__tests__/components/MoodIcon.test.js +0 -30
  140. package/src/__tests__/components/RecommendationModal.test.d.ts +0 -1
  141. package/src/__tests__/components/RecommendationModal.test.js +0 -98
  142. package/src/__tests__/components/RecommendedCarbs.test.d.ts +0 -1
  143. package/src/__tests__/components/RecommendedCarbs.test.js +0 -120
  144. package/src/__tests__/components/RecommendedInsulin.test.d.ts +0 -1
  145. package/src/__tests__/components/RecommendedInsulin.test.js +0 -154
  146. package/src/__tests__/components/Remeasure.test.d.ts +0 -1
  147. package/src/__tests__/components/Remeasure.test.js +0 -78
  148. package/src/__tests__/components/TransferToLogbook.test.d.ts +0 -1
  149. package/src/__tests__/components/TransferToLogbook.test.js +0 -30
  150. package/src/__tests__/components/TwoOptionModal.test.d.ts +0 -1
  151. package/src/__tests__/components/TwoOptionModal.test.js +0 -65
  152. package/src/__tests__/utils.d.ts +0 -16
  153. package/src/__tests__/utils.js +0 -126
  154. package/tsconfig.json +0 -72
  155. package/tslint.json +0 -193
  156. package/typedoc.json +0 -13
  157. /package/{index.d.ts → dist/index.d.ts} +0 -0
  158. /package/{index.js → dist/index.js} +0 -0
  159. /package/{src → dist/src}/assets/activity/Cyclist.png +0 -0
  160. /package/{src → dist/src}/assets/activity/Other.png +0 -0
  161. /package/{src → dist/src}/assets/activity/Runner.png +0 -0
  162. /package/{src → dist/src}/assets/activity/Swimmer.png +0 -0
  163. /package/{src → dist/src}/assets/activity/Walk.png +0 -0
  164. /package/{src → dist/src}/assets/mood/happy.png +0 -0
  165. /package/{src → dist/src}/assets/mood/happy_active.png +0 -0
  166. /package/{src → dist/src}/assets/mood/neutral.png +0 -0
  167. /package/{src → dist/src}/assets/mood/neutral_active.png +0 -0
  168. /package/{src → dist/src}/assets/mood/sad.png +0 -0
  169. /package/{src → dist/src}/assets/mood/sad_active.png +0 -0
  170. /package/{src → dist/src}/assets/mood/semi_happy.png +0 -0
  171. /package/{src → dist/src}/assets/mood/semi_happy_active.png +0 -0
  172. /package/{src → dist/src}/assets/mood/semi_sad.png +0 -0
  173. /package/{src → dist/src}/assets/mood/semi_sad_active.png +0 -0
  174. /package/{src → dist/src}/components/Header.d.ts +0 -0
  175. /package/{src → dist/src}/components/Header.js +0 -0
  176. /package/{src → dist/src}/components/Icon.d.ts +0 -0
  177. /package/{src → dist/src}/components/Icon.js +0 -0
  178. /package/{src → dist/src}/components/InfoBars.d.ts +0 -0
  179. /package/{src → dist/src}/components/InfoBars.js +0 -0
  180. /package/{src → dist/src}/components/InvisibleNumberInput.d.ts +0 -0
  181. /package/{src → dist/src}/components/InvisibleNumberInput.js +0 -0
  182. /package/{src → dist/src}/components/LimitationMessage.d.ts +0 -0
  183. /package/{src → dist/src}/components/LimitationMessage.js +0 -0
  184. /package/{src → dist/src}/components/LineSeparator.d.ts +0 -0
  185. /package/{src → dist/src}/components/LineSeparator.js +0 -0
  186. /package/{src → dist/src}/components/RecentInsulin.d.ts +0 -0
  187. /package/{src → dist/src}/components/RecentInsulin.js +0 -0
  188. /package/{src → dist/src}/components/RecommendationModal.d.ts +0 -0
  189. /package/{src → dist/src}/components/RecommendationModal.js +0 -0
  190. /package/{src → dist/src}/components/RecommendedCarbs.d.ts +0 -0
  191. /package/{src → dist/src}/components/RecommendedCarbs.js +0 -0
  192. /package/{src → dist/src}/components/RecommendedInsulin.d.ts +0 -0
  193. /package/{src → dist/src}/components/RecommendedInsulin.js +0 -0
  194. /package/{src → dist/src}/components/Remeasure.d.ts +0 -0
  195. /package/{src → dist/src}/components/Remeasure.js +0 -0
  196. /package/{src → dist/src}/components/TransferToLogbook.d.ts +0 -0
  197. /package/{src → dist/src}/components/TransferToLogbook.js +0 -0
  198. /package/{src → dist/src}/components/TwoOptionModal.d.ts +0 -0
  199. /package/{src → dist/src}/components/TwoOptionModal.js +0 -0
  200. /package/{src → dist/src}/components/activity/Activity.d.ts +0 -0
  201. /package/{src → dist/src}/components/activity/Activity.js +0 -0
  202. /package/{src → dist/src}/components/activity/ActivityIcon.d.ts +0 -0
  203. /package/{src → dist/src}/components/activity/ActivityIcon.js +0 -0
  204. /package/{src → dist/src}/components/activity/ActivityIntensity.d.ts +0 -0
  205. /package/{src → dist/src}/components/activity/ActivityIntensity.js +0 -0
  206. /package/{src → dist/src}/components/mood/Emotion.d.ts +0 -0
  207. /package/{src → dist/src}/components/mood/Emotion.js +0 -0
  208. /package/{src → dist/src}/components/mood/MoodIcon.d.ts +0 -0
  209. /package/{src → dist/src}/components/mood/MoodIcon.js +0 -0
  210. /package/{src → dist/src}/locale/da/messages.js +0 -0
  211. /package/{src → dist/src}/locale/de/messages.js +0 -0
  212. /package/{src → dist/src}/locale/en/messages.js +0 -0
  213. /package/{src → dist/src}/locale/fr/messages.js +0 -0
  214. /package/{src → dist/src}/locale/i18nUtils.d.ts +0 -0
  215. /package/{src → dist/src}/locale/i18nUtils.js +0 -0
  216. /package/{src → dist/src}/locale/it/messages.js +0 -0
  217. /package/{src → dist/src}/types/enum.d.ts +0 -0
  218. /package/{src → dist/src}/types/enum.js +0 -0
  219. /package/{src → dist/src}/types/types.d.ts +0 -0
  220. /package/{src → dist/src}/types/types.js +0 -0
  221. /package/{src → dist/src}/utils/AttentionMessages.d.ts +0 -0
  222. /package/{src → dist/src}/utils/AttentionMessages.js +0 -0
  223. /package/{src → dist/src}/utils/Constants.d.ts +0 -0
  224. /package/{src → dist/src}/utils/Constants.js +0 -0
  225. /package/{src → dist/src}/utils/RecommendationError.d.ts +0 -0
  226. /package/{src → dist/src}/utils/RecommendationError.js +0 -0
  227. /package/{src → dist/src}/utils/RecommendationUtils.d.ts +0 -0
  228. /package/{src → dist/src}/utils/RecommendationUtils.js +0 -0
  229. /package/{src → dist/src}/utils/Translations.d.ts +0 -0
  230. /package/{src → dist/src}/utils/Translations.js +0 -0
  231. /package/{src → dist/src}/utils/Utils.d.ts +0 -0
  232. /package/{src → dist/src}/utils/Utils.js +0 -0
  233. /package/{src → dist/src}/utils/Validations.d.ts +0 -0
  234. /package/{src → dist/src}/utils/Validations.js +0 -0
@@ -13,337 +13,337 @@ msgstr ""
13
13
  "Language-Team: \n"
14
14
  "Plural-Forms: \n"
15
15
 
16
- #: src/RecommendationScreen.tsx:198
16
+ #: src/RecommendationScreen.tsx:448
17
17
  msgid "Active Insulin"
18
18
  msgstr "Insulina attiva"
19
19
 
20
- #: src/components/activity/Activity.tsx:18
20
+ #: src/components/activity/Activity.tsx:32
21
21
  msgid "Activity"
22
22
  msgstr "Attività fisica"
23
23
 
24
- #: src/components/RecommendedCarbs.tsx:56
24
+ #: src/components/RecommendedCarbs.tsx:101
25
25
  msgid "Additional"
26
26
  msgstr "Ulteriori"
27
27
 
28
- #: src/components/LimitationMessage.tsx:15
29
- #: src/components/RecommendationModal.tsx:60
30
- #: src/components/RecommendedCarbs.tsx:31
31
- #: src/components/RecommendedInsulin.tsx:36
28
+ #: src/components/LimitationMessage.tsx:19
29
+ #: src/components/RecommendationModal.tsx:96
30
+ #: src/components/RecommendedCarbs.tsx:63
31
+ #: src/components/RecommendedInsulin.tsx:74
32
32
  msgid "Attention"
33
33
  msgstr "Attenzione"
34
34
 
35
- #: src/components/activity/Activity.tsx:33
35
+ #: src/components/activity/Activity.tsx:47
36
36
  msgid "Based on the selected activity your insulin recommendation is reduced by:"
37
37
  msgstr "In base all'attività selezionata, la prescrizione per l'insulina è ridotta di:"
38
38
 
39
- #: src/RecommendationScreen.tsx:199
39
+ #: src/RecommendationScreen.tsx:449
40
40
  msgid "Blood Glucose Level"
41
41
  msgstr "Indice glicemico"
42
42
 
43
- #: src/RecommendationScreen.tsx:200
43
+ #: src/RecommendationScreen.tsx:450
44
44
  msgid "Blood Ketone Level"
45
45
  msgstr "Livello di chetoni nel sangue"
46
46
 
47
- #: src/components/RecommendedCarbs.tsx:108
47
+ #: src/components/RecommendedCarbs.tsx:165
48
48
  msgid "Carbohydrates"
49
49
  msgstr "Carboidrati"
50
50
 
51
- #: src/RecommendationScreen.tsx:220
51
+ #: src/RecommendationScreen.tsx:470
52
52
  msgid "Close calculation"
53
53
  msgstr "Chiudi calcolo"
54
54
 
55
- #: src/utils/AttentionMessages.tsx:33
55
+ #: src/utils/AttentionMessages.tsx:86
56
56
  msgid "Consider not to initiate physical activity before your blood glucose level is within the recommended ranges prior to physical activity."
57
57
  msgstr "Ricorda di non iniziare l'attività fisica prima che il livello di glucosio nel sangue non sia rientrato negli intervalli raccomandati prima dell'attività fisica."
58
58
 
59
- #: src/components/RecommendedCarbs.tsx:111
59
+ #: src/components/RecommendedCarbs.tsx:168
60
60
  msgid "Entered"
61
61
  msgstr "Inserito"
62
62
 
63
- #: src/utils/RecommendationError.tsx:27
63
+ #: src/utils/RecommendationError.tsx:50
64
64
  msgid "Error. Hedia Calculator could not find your recent boluses"
65
65
  msgstr ""
66
66
 
67
- #: src/utils/RecommendationError.tsx:25
67
+ #: src/utils/RecommendationError.tsx:46
68
68
  msgid "Error. Hedia Calculator does not support an insulin dose greater than {SAFETY_INSULIN_LIMIT} units"
69
69
  msgstr "Errore. Hedia Calculator non supporta una dose di insulina superiore a {SAFETY_INSULIN_LIMIT} unità"
70
70
 
71
- #: src/utils/RecommendationError.tsx:26
71
+ #: src/utils/RecommendationError.tsx:48
72
72
  msgid "Error. Hedia Calculator does not support insulin recommendations with boluses older than 4 hours"
73
73
  msgstr "Errore. Hedia Calculator non supporta le raccomandazioni di insulina con boli più vecchi di 4 ore"
74
74
 
75
- #: src/utils/RecommendationError.tsx:22
75
+ #: src/utils/RecommendationError.tsx:40
76
76
  msgid "Error. Hedia Calculator does not support the blood glucose level of your latest logbook entry from the last 6 hours."
77
77
  msgstr ""
78
78
 
79
- #: src/utils/RecommendationError.tsx:15
79
+ #: src/utils/RecommendationError.tsx:26
80
80
  msgid "Error. Hedia Calculator does not support your activity intensity value"
81
81
  msgstr "Errore. Hedia Calculator non supporta il valore dell'intensità dell'attività"
82
82
 
83
- #: src/utils/RecommendationError.tsx:16
83
+ #: src/utils/RecommendationError.tsx:28
84
84
  msgid "Error. Hedia Calculator does not support your activity type value"
85
85
  msgstr "Errore. Hedia Calculator non supporta il valore del tipo di attività"
86
86
 
87
- #: src/utils/RecommendationError.tsx:21
87
+ #: src/utils/RecommendationError.tsx:38
88
88
  msgid "Error. Hedia Calculator does not support your current blood glucose level."
89
89
  msgstr "Errore. Hedia Calculator non supporta la tua glicemia attuale."
90
90
 
91
- #: src/utils/RecommendationError.tsx:32
91
+ #: src/utils/RecommendationError.tsx:60
92
92
  msgid "Error. Hedia Calculator does not support your current blood glucose unit."
93
93
  msgstr "Errore. Hedia Calculator non supporta l'attuale unità misura di glucosio nel sangue."
94
94
 
95
- #: src/utils/RecommendationError.tsx:23
95
+ #: src/utils/RecommendationError.tsx:42
96
96
  msgid "Error. Hedia Calculator does not support your current blood ketone level."
97
97
  msgstr "Errore. Hedia Calculator non supporta l'attuale livello di chetoni nel sangue."
98
98
 
99
- #: src/utils/RecommendationError.tsx:31
99
+ #: src/utils/RecommendationError.tsx:58
100
100
  msgid "Error. Hedia Calculator does not support your current blood ketone unit."
101
101
  msgstr "Errore. Hedia Calculator non supporta l'attuale unità di misura di chetoni del sangue."
102
102
 
103
- #: src/utils/RecommendationError.tsx:30
103
+ #: src/utils/RecommendationError.tsx:56
104
104
  msgid "Error. Hedia Calculator does not support your current language."
105
105
  msgstr "Errore. Hedia Calculator non supporta la lingua corrente."
106
106
 
107
- #: src/utils/RecommendationError.tsx:29
107
+ #: src/utils/RecommendationError.tsx:54
108
108
  msgid "Error. Hedia Calculator does not support your injection method."
109
109
  msgstr "Errore. Hedia Calculator non supporta il metodo di iniezione."
110
110
 
111
- #: src/utils/RecommendationError.tsx:13
111
+ #: src/utils/RecommendationError.tsx:22
112
112
  msgid "Error. Hedia Calculator only supports activities with a duration of maximum 60 minutes."
113
113
  msgstr "Errore. Hedia Calculator supporta solo attività della durata massima di 60 minuti."
114
114
 
115
- #: src/utils/RecommendationError.tsx:12
115
+ #: src/utils/RecommendationError.tsx:20
116
116
  msgid "Error. Please verify that your activity settings are set up correctly."
117
117
  msgstr "Errore. Verificare che le impostazioni delle attività siano impostate correttamente."
118
118
 
119
- #: src/utils/RecommendationError.tsx:17
119
+ #: src/utils/RecommendationError.tsx:30
120
120
  msgid "Error. Please verify that your activity target blood glucose value is correct."
121
121
  msgstr "Errore. Verificare che il indice glicemico desiderato durante l’attività sia corretto."
122
122
 
123
- #: src/utils/RecommendationError.tsx:19
123
+ #: src/utils/RecommendationError.tsx:34
124
124
  msgid "Error. Please verify that your insulin sensitivity value is correct."
125
125
  msgstr "Errore. Verificare che il valore della sensibilità all'insulina sia corretto."
126
126
 
127
- #: src/utils/RecommendationError.tsx:20
127
+ #: src/utils/RecommendationError.tsx:36
128
128
  msgid "Error. Please verify that your insulin to carb ratio value is correct."
129
129
  msgstr "Errore. Verificare che il valore del rapporto insulina/carboidrati sia corretto."
130
130
 
131
- #: src/utils/RecommendationError.tsx:24
131
+ #: src/utils/RecommendationError.tsx:44
132
132
  msgid "Error. Please verify that your target blood glucose value is correct."
133
133
  msgstr "Errore. Verificare che il valore obiettivo della glicemia sia corretto."
134
134
 
135
- #: src/utils/RecommendationError.tsx:28
135
+ #: src/utils/RecommendationError.tsx:52
136
136
  msgid "Error. Please verify your notifications settings."
137
137
  msgstr "Errore. Verificare le impostazioni di notifica."
138
138
 
139
- #: src/utils/RecommendationError.tsx:33
139
+ #: src/utils/RecommendationError.tsx:62
140
140
  msgid "Error. Your blood ketone settings are invalid."
141
141
  msgstr ""
142
142
 
143
- #: src/components/RecommendedCarbs.tsx:107
143
+ #: src/components/RecommendedCarbs.tsx:164
144
144
  msgid "Food"
145
145
  msgstr "Cibo"
146
146
 
147
- #: src/utils/Translations.ts:6
147
+ #: src/utils/Translations.ts:13
148
148
  msgid "Hard"
149
149
  msgstr "Intensa"
150
150
 
151
- #: src/components/RecentInsulin.tsx:17
151
+ #: src/components/RecentInsulin.tsx:24
152
152
  msgid "Have you taken insulin within the last 4 hours?"
153
153
  msgstr "Hai assunto insulina nelle ultime 4 ore?"
154
154
 
155
- #: src/utils/RecommendationError.tsx:14
155
+ #: src/utils/RecommendationError.tsx:24
156
156
  msgid "Hedia Calculator does not support activities that finished more than 4 hours ago."
157
157
  msgstr "Hedia Calculator non supporta attività che siano terminate più di 4 ore fa."
158
158
 
159
- #: src/utils/RecommendationError.tsx:18
159
+ #: src/utils/RecommendationError.tsx:32
160
160
  msgid "Hedia Calculator does not support insulin recommendations with more than 300 grams of carbohydrates present."
161
161
  msgstr "Hedia Calculator non supporta le prescrizioni di insulina con più di 300 grammi di carboidrati presenti."
162
162
 
163
- #: src/utils/AttentionMessages.tsx:47
163
+ #: src/utils/AttentionMessages.tsx:105
164
164
  msgid "Hedia does not support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation."
165
165
  msgstr "Hedia non supporta più di {SAFETY_INSULIN_LIMIT} unità di insulina per ogni calcolo."
166
166
 
167
- #: src/utils/AttentionMessages.tsx:45
167
+ #: src/utils/AttentionMessages.tsx:103
168
168
  msgid "Hedia doesn't support more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {0}% to {1} units for this calculation."
169
169
  msgstr "Hedia non supporta più di {SAFETY_INSULIN_LIMIT} unità di insulina per ogni calcolo, ma, a seguito dell'attività fisica che hai inserito, è stata ulteriormente ridotta del {0}% a {1} unità per questo calcolo."
170
170
 
171
- #: src/components/mood/Emotion.tsx:25
171
+ #: src/components/mood/Emotion.tsx:45
172
172
  msgid "How are you feeling?"
173
173
  msgstr "Come ti senti?"
174
174
 
175
- #: src/components/Header.tsx:24
175
+ #: src/components/Header.tsx:26
176
176
  msgid "INSULIN{0}RECOMMENDATION"
177
177
  msgstr "PRESCRIZIONE DI{0}INSULINA"
178
178
 
179
- #: src/utils/AttentionMessages.tsx:32
179
+ #: src/utils/AttentionMessages.tsx:84
180
180
  msgid "If it is possible, postpone your planned exercise."
181
181
  msgstr "Se possibile, posticipa l'allenamento pianificato."
182
182
 
183
- #: src/components/RecommendationModal.tsx:43
183
+ #: src/components/RecommendationModal.tsx:76
184
184
  msgid "Instead of taking insulin"
185
185
  msgstr "Invece di assumere insulina"
186
186
 
187
- #: src/utils/Translations.ts:4
187
+ #: src/utils/Translations.ts:11
188
188
  msgid "Light"
189
189
  msgstr "Leggera"
190
190
 
191
- #: src/utils/Translations.ts:5
191
+ #: src/utils/Translations.ts:12
192
192
  msgid "Moderate"
193
193
  msgstr "Moderata"
194
194
 
195
- #: src/utils/AttentionMessages.tsx:48
195
+ #: src/utils/AttentionMessages.tsx:107
196
196
  msgid "More than 15 minutes has passed since this calculation was started."
197
197
  msgstr "Sono passati più di 15 minuti dall'inizio di questo calcolo."
198
198
 
199
- #: src/components/RecommendationModal.tsx:23
199
+ #: src/components/RecommendationModal.tsx:51
200
200
  msgid "NO"
201
201
  msgstr "NO"
202
202
 
203
- #: src/components/RecentInsulin.tsx:26
203
+ #: src/components/RecentInsulin.tsx:33
204
204
  msgid "No"
205
205
  msgstr "No"
206
206
 
207
- #: src/RecommendationScreen.tsx:224
207
+ #: src/RecommendationScreen.tsx:474
208
208
  msgid "No, return to dashboard"
209
209
  msgstr "No, torna al pannello di controllo"
210
210
 
211
- #: src/components/Remeasure.tsx:38
211
+ #: src/components/Remeasure.tsx:69
212
212
  msgid "OFF"
213
213
  msgstr "SPENTO"
214
214
 
215
- #: src/components/LimitationMessage.tsx:21
216
- #: src/components/RecommendationModal.tsx:20
217
- #: src/components/RecommendationModal.tsx:67
218
- #: src/components/RecommendedCarbs.tsx:33
219
- #: src/components/RecommendedInsulin.tsx:38
215
+ #: src/components/LimitationMessage.tsx:25
216
+ #: src/components/RecommendationModal.tsx:48
217
+ #: src/components/RecommendationModal.tsx:103
218
+ #: src/components/RecommendedCarbs.tsx:65
219
+ #: src/components/RecommendedInsulin.tsx:76
220
220
  msgid "OK"
221
221
  msgstr "OK"
222
222
 
223
- #: src/utils/AttentionMessages.tsx:49
223
+ #: src/utils/AttentionMessages.tsx:112
224
224
  msgid "Please go through the calculation steps with new measurements to ensure a safe recommendation."
225
225
  msgstr "Completa tutte le fasi del calcolo con nuove misurazioni per assicurare una prescrizione sicura."
226
226
 
227
- #: src/utils/AttentionMessages.tsx:53
227
+ #: src/utils/AttentionMessages.tsx:117
228
228
  msgid "Recommendation from {day} at {time} was not transfered to your logbook.{0}Did you use the recommendation?"
229
229
  msgstr "La prescrizione del {day} alle {time} non è stata trasferita nel tuo diario.{0} Hai usato la prescrizione?"
230
230
 
231
- #: src/components/RecommendedCarbs.tsx:51
231
+ #: src/components/RecommendedCarbs.tsx:96
232
232
  msgid "Recommended"
233
233
  msgstr "Prescritta"
234
234
 
235
- #: src/components/RecentInsulin.tsx:13
236
- #: src/components/RecommendedInsulin.tsx:54
235
+ #: src/components/RecentInsulin.tsx:20
236
+ #: src/components/RecommendedInsulin.tsx:96
237
237
  msgid "Recommended amount of insulin"
238
238
  msgstr "Quantità prescritta di insulina"
239
239
 
240
- #: src/components/Remeasure.tsx:34
240
+ #: src/components/Remeasure.tsx:65
241
241
  msgid "Remind me to remeasure in"
242
242
  msgstr "Ricordami di misurare nuovamente tra"
243
243
 
244
- #: src/RecommendationScreen.tsx:224
244
+ #: src/RecommendationScreen.tsx:474
245
245
  msgid "Return to dashboard"
246
246
  msgstr "Torna al pannello di controllo"
247
247
 
248
- #: src/RecommendationScreen.tsx:220
248
+ #: src/RecommendationScreen.tsx:470
249
249
  msgid "Save data before closing?"
250
250
  msgstr "Salvare i dati prima della chiusura?"
251
251
 
252
- #: src/RecommendationScreen.tsx:220
252
+ #: src/RecommendationScreen.tsx:470
253
253
  msgid "Save to logbook"
254
254
  msgstr "Salva nel diario"
255
255
 
256
- #: src/RecommendationScreen.tsx:224
256
+ #: src/RecommendationScreen.tsx:474
257
257
  msgid "Start new calculation"
258
258
  msgstr "Inizia il nuovo calcolo"
259
259
 
260
- #: src/components/RecommendedCarbs.tsx:78
260
+ #: src/components/RecommendedCarbs.tsx:123
261
261
  msgid "Total"
262
262
  msgstr "Totale"
263
263
 
264
- #: src/components/TransferToLogbook.tsx:26
264
+ #: src/components/TransferToLogbook.tsx:44
265
265
  msgid "Transfer to logbook"
266
266
  msgstr "Trasferisci al diario"
267
267
 
268
- #: src/components/TransferToLogbook.tsx:29
268
+ #: src/components/TransferToLogbook.tsx:47
269
269
  msgid "Transferred to logbook"
270
270
  msgstr "Trasferito al diario"
271
271
 
272
- #: src/components/RecommendedInsulin.tsx:62
272
+ #: src/components/RecommendedInsulin.tsx:104
273
273
  msgid "Units"
274
274
  msgstr "Unità"
275
275
 
276
- #: src/components/activity/ActivityIcon.tsx:27
276
+ #: src/components/activity/ActivityIcon.tsx:40
277
277
  msgid "Untitled Activity"
278
278
  msgstr "Attività senza titolo"
279
279
 
280
- #: src/components/RecommendationModal.tsx:33
280
+ #: src/components/RecommendationModal.tsx:66
281
281
  msgid "We recommend eating an additional:"
282
282
  msgstr "Consigliamo di ingerire una quantità supplementare:"
283
283
 
284
- #: src/components/RecommendationModal.tsx:48
284
+ #: src/components/RecommendationModal.tsx:81
285
285
  msgid "Would you like to add this to your current calculation?"
286
286
  msgstr "Vuoi aggiungere questo al tuo calcolo corrente?"
287
287
 
288
- #: src/components/RecentInsulin.tsx:23
288
+ #: src/components/RecentInsulin.tsx:30
289
289
  msgid "Yes"
290
290
  msgstr "Sì"
291
291
 
292
- #: src/RecommendationScreen.tsx:224
292
+ #: src/RecommendationScreen.tsx:474
293
293
  msgid "Yes, save to logbook"
294
294
  msgstr "Sì, salva nel diario"
295
295
 
296
- #: src/utils/AttentionMessages.tsx:34
296
+ #: src/utils/AttentionMessages.tsx:88
297
297
  msgid "You have a high blood glucose level."
298
298
  msgstr "Hai un alto indice glicemico."
299
299
 
300
- #: src/utils/AttentionMessages.tsx:35
300
+ #: src/utils/AttentionMessages.tsx:90
301
301
  msgid "You should take rapid-acting insulin and measure ketones."
302
302
  msgstr "Devi assumere insulina ad azione rapida e misurare i chetoni."
303
303
 
304
- #: src/utils/AttentionMessages.tsx:31
304
+ #: src/utils/AttentionMessages.tsx:82
305
305
  msgid "You will be reminded to measure your blood glucose level in 15 min."
306
306
  msgstr "Ti verrà ricordato di misurare il indice glicemico tra 15 min."
307
307
 
308
- #: src/utils/AttentionMessages.tsx:30
308
+ #: src/utils/AttentionMessages.tsx:80
309
309
  msgid "Your blood glucose level is very low."
310
310
  msgstr "Il indice glicemico è molto basso."
311
311
 
312
- #: src/utils/AttentionMessages.tsx:29
312
+ #: src/utils/AttentionMessages.tsx:78
313
313
  msgid "Your blood glucose level is very low. Take glucagon or eat carbohydrates if possible. Seek medical attention."
314
314
  msgstr "Il indice glicemico è molto basso. Assumi glucagon o ingerisci carboidrati, se possibile. Rivolgiti a un medico."
315
315
 
316
- #: src/utils/AttentionMessages.tsx:38
316
+ #: src/utils/AttentionMessages.tsx:95
317
317
  msgid "Your recommendation would have been higher than {0} units of insulin, but it has been limited for safety reasons.{1} Hedia never recommends more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation, but because of the physical activity you entered it has been further reduced by {2}% to {3}."
318
318
  msgstr "La tua prescrizione sarebbe stata superiore a {0} unità di insulina, ma è stata limitata per motivi di sicurezza.{1} Hedia non prescrive mai più di {SAFETY_INSULIN_LIMIT} unità di insulina per calcolo, ma a seguito dell'attività fisica che hai inserito, questa è stata ulteriormente ridotta del {2}% a {3}."
319
319
 
320
- #: src/utils/AttentionMessages.tsx:36
320
+ #: src/utils/AttentionMessages.tsx:92
321
321
  msgid "Your recommendation would have been higher than {SAFETY_INSULIN_LIMIT} units of insulin, but it has been limited for safety reasons. Hedia never recommends more than {SAFETY_INSULIN_LIMIT} units of insulin per calculation."
322
322
  msgstr "La tua prescrizione sarebbe stata superiore a {SAFETY_INSULIN_LIMIT} unità di insulina, ma è stata limitata per motivi di sicurezza. Hedia non prescrive mai più di {SAFETY_INSULIN_LIMIT} unità di insulina per calcolo."
323
323
 
324
- #: src/RecommendationScreen.tsx:220
324
+ #: src/RecommendationScreen.tsx:470
325
325
  msgid "Your saved data will be used for future calculations."
326
326
  msgstr "I dati salvati saranno utilizzati per calcoli futuri."
327
327
 
328
- #: src/components/RecommendedCarbs.tsx:70
329
- #: src/components/RecommendedCarbs.tsx:80
330
- #: src/components/RecommendedCarbs.tsx:113
328
+ #: src/components/RecommendedCarbs.tsx:115
329
+ #: src/components/RecommendedCarbs.tsx:125
330
+ #: src/components/RecommendedCarbs.tsx:170
331
331
  msgid "grams"
332
332
  msgstr "grammi"
333
333
 
334
- #: src/components/RecommendationModal.tsx:39
334
+ #: src/components/RecommendationModal.tsx:72
335
335
  msgid "grams of carbohydrates"
336
336
  msgstr "grammi di carboidrati"
337
337
 
338
- #: src/components/Remeasure.tsx:41
338
+ #: src/components/Remeasure.tsx:72
339
339
  msgid "hours"
340
340
  msgstr "ore"
341
341
 
342
- #: src/components/activity/Activity.tsx:25
342
+ #: src/components/activity/Activity.tsx:39
343
343
  msgid "min"
344
344
  msgstr "min"
345
345
 
346
- #: src/components/InfoBars.tsx:22
347
- #: src/RecommendationScreen.tsx:198
346
+ #: src/RecommendationScreen.tsx:448
347
+ #: src/components/InfoBars.tsx:41
348
348
  msgid "units"
349
349
  msgstr "unità"
package/package.json CHANGED
@@ -1,31 +1,32 @@
1
1
  {
2
2
  "name": "@hedia/recommendation-screen",
3
- "version": "2.1.34-alpha.9",
3
+ "version": "2.1.34",
4
4
  "description": "Hedia Recommendation Screen for Bolus and Carbohydrates",
5
- "main": "index.js",
5
+ "main": "dist/index.js",
6
+ "files": [
7
+ "dist/"
8
+ ],
6
9
  "scripts": {
7
- "a": "./index-git.sh && cd android && ./gradlew clean && cd .. && react-native run-android",
8
- "start": "react-native start",
9
- "la": "./index-git.sh && cd ./android && ./gradlew clean && cd .. && gnome-terminal -- /bin/bash -c \"wmctrl -c 'Terminal';react-native start $SHELL\" && react-native run-android",
10
- "test": "npm run clean && jest",
11
- "test-coverage": "npm run clean && jest --coverage",
10
+ "test": "jest --coverage",
11
+ "tsc": "tsc --noEmit",
12
+ "build": "tsc --build && chmod +x copy-files.sh && ./copy-files.sh",
13
+ "clean": "tsc --build --clean && rm -rf dist/",
14
+ "build-guards": "ts-auto-guard src/**/[!index]*.ts",
12
15
  "lint": "tslint --project .",
13
16
  "lint-fix": "tslint --fix --project .",
14
- "lint-pkg": "npmPkgJsonLint .",
15
- "prettier": "prettier --check \"src/**/*.{ts,tsx}\"",
16
- "prettier-fix": "prettier --write \"src/**/*.{gts,tsx}\"",
17
+ "prettier": "prettier --check \"**/*.{ts,tsx}\"",
18
+ "prettier-fix": "prettier --write \"**/*.{ts,tsx}\"",
17
19
  "pkg-json-lint": "npmPkgJsonLint .",
18
20
  "package-audit": "npm-audit --critical",
19
- "tsc": "tsc",
20
- "clean": "tsc --build --clean",
21
- "build": "tsc --build",
21
+ "prepublishOnly": "npm ci --ignore-scripts && npm run build",
22
+ "postpublish": "npm run clean",
23
+ "a": "index-git.sh && cd android && gradlew clean && cd .. && react-native run-android",
24
+ "start": "react-native start",
22
25
  "add-locale": "lingui add-locale",
23
26
  "extract": "lingui extract",
24
27
  "extract-clean": "lingui extract --clean",
25
28
  "compile": "npm run cleanLanguage && lingui compile",
26
- "cleanLanguage": "node ./src/locale/CleanLanguage.ts",
27
- "prepublishOnly": "npm ci && npm run build",
28
- "postpublish": "npm run clean"
29
+ "cleanLanguage": "node ./src/locale/CleanLanguage.ts"
29
30
  },
30
31
  "keywords": [
31
32
  "Hedia",
@@ -62,15 +63,15 @@
62
63
  "babel-plugin-macros": "2.8.0",
63
64
  "jest": "26.6.3",
64
65
  "metro-react-native-babel-preset": "0.66.2",
65
- "npm-package-json-lint": "5.1.0",
66
- "prettier": "2.2.1",
66
+ "npm-package-json-lint": "5.4.1",
67
+ "prettier": "2.5.1",
67
68
  "react": "17.0.2",
68
69
  "react-native": "0.66.3",
69
70
  "react-native-linear-gradient": "2.5.6",
70
71
  "react-native-testing-library": "2.1.0",
71
72
  "react-native-vector-icons": "6.6.0",
72
73
  "react-test-renderer": "17.0.2",
73
- "tslint": "6.1.2",
74
+ "tslint": "6.1.3",
74
75
  "tslint-config-prettier": "1.18.0",
75
76
  "typedoc": "0.21.4",
76
77
  "typedoc-plugin-no-inherit": "1.3.0",
@@ -87,9 +88,9 @@
87
88
  },
88
89
  "peerDependencies": {
89
90
  "@hedia/recommendation-calculator": "*",
91
+ "@lingui/macro": "2.9.1",
90
92
  "@react-native-community/slider": "*",
91
93
  "react-native-linear-gradient": "*",
92
- "react-native-vector-icons": "*",
93
- "@lingui/macro": "2.9.1"
94
+ "react-native-vector-icons": "*"
94
95
  }
95
96
  }
package/.flowconfig DELETED
@@ -1,65 +0,0 @@
1
- [ignore]
2
- ; We fork some components by platform
3
- .*/*[.]android.js
4
-
5
- ; Ignore "BUCK" generated dirs
6
- <PROJECT_ROOT>/\.buckd/
7
-
8
- ; Ignore polyfills
9
- node_modules/react-native/Libraries/polyfills/.*
10
-
11
- ; Flow doesn't support platforms
12
- .*/Libraries/Utilities/LoadingView.js
13
-
14
- [untyped]
15
- .*/node_modules/@react-native-community/cli/.*/.*
16
-
17
- [include]
18
-
19
- [libs]
20
- node_modules/react-native/interface.js
21
- node_modules/react-native/flow/
22
-
23
- [options]
24
- emoji=true
25
-
26
- exact_by_default=true
27
-
28
- format.bracket_spacing=false
29
-
30
- module.file_ext=.js
31
- module.file_ext=.json
32
- module.file_ext=.ios.js
33
-
34
- munge_underscores=true
35
-
36
- module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
37
- module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
38
-
39
- suppress_type=$FlowIssue
40
- suppress_type=$FlowFixMe
41
- suppress_type=$FlowFixMeProps
42
- suppress_type=$FlowFixMeState
43
-
44
- [lints]
45
- sketchy-null-number=warn
46
- sketchy-null-mixed=warn
47
- sketchy-number=warn
48
- untyped-type-import=warn
49
- nonstrict-import=warn
50
- deprecated-type=warn
51
- unsafe-getters-setters=warn
52
- unnecessary-invariant=warn
53
- signature-verification-failure=warn
54
-
55
- [strict]
56
- deprecated-type
57
- nonstrict-import
58
- sketchy-null
59
- unclear-type
60
- unsafe-getters-setters
61
- untyped-import
62
- untyped-type-import
63
-
64
- [version]
65
- ^0.158.0
@@ -1,6 +0,0 @@
1
- <!--
2
- ⚠️⚠️ If pointing to master ⚠️⚠️
3
- -----------------------------
4
- - Remember to include HDA on the PR title
5
- - Remember to set the Label
6
- --!>
@@ -1,17 +0,0 @@
1
- name: Version Bump & Publish Alpha
2
-
3
- on:
4
- pull_request:
5
- branches:
6
- - master
7
- types: [opened, reopened, synchronize]
8
-
9
- env:
10
- HEDIA_BOT_NPM_TOKEN: ${{ secrets.HEDIA_BOT_NPM_TOKEN }}
11
-
12
- jobs:
13
- ci:
14
- uses: hedia-team/service-workflows/.github/workflows/ci-package.yaml@hda-1973-refactor-service-actions
15
- secrets:
16
- HEDIA_BOT_NPM_TOKEN: ${{ secrets.HEDIA_BOT_NPM_TOKEN }}
17
- HEDIA_BOT_GITHUB_PAT: ${{ secrets.HEDIA_BOT_GITHUB_PAT }}
@@ -1,17 +0,0 @@
1
- name: On post-merge - Publish package
2
-
3
- on:
4
- pull_request:
5
- branches:
6
- - master
7
- types: [closed]
8
-
9
- env:
10
- HEDIA_BOT_NPM_TOKEN: ${{ secrets.HEDIA_BOT_NPM_TOKEN }}
11
-
12
- jobs:
13
- ci:
14
- uses: hedia-team/service-workflows/.github/workflows/bump-and-publish-npm-package.yaml@hda-1973-refactor-service-actions
15
- secrets:
16
- HEDIA_BOT_NPM_TOKEN: ${{ secrets.HEDIA_BOT_NPM_TOKEN }}
17
- HEDIA_BOT_GITHUB_PAT: ${{ secrets.HEDIA_BOT_GITHUB_PAT }}
@@ -1,20 +0,0 @@
1
- name: Validate PR title
2
-
3
- on:
4
- pull_request:
5
- branches:
6
- - master
7
- types: [opened, reopened, edited]
8
-
9
- permissions:
10
- pull-requests: read
11
-
12
- jobs:
13
- validate-pr-title:
14
- runs-on: ubuntu-latest
15
-
16
- steps:
17
- - name: Validate PR title
18
- uses: deepakputhraya/action-pr-title@master
19
- with:
20
- regex: "^(((\\[\\d+\\.\\d+\\.\\d+\\])|(\\[Anytime\\]))\\s-\\s)?HDA-\\d+.*"
package/.linguirc DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "localeDir": "src/locale/",
3
- "srcPathDirs": ["src/"],
4
- "format": "po",
5
- "sourceLocale": "en"
6
- }