@glissandoo/lib 1.32.8 → 1.32.10

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 (304) hide show
  1. package/{lib/models → models}/Communication/Comment/index.d.ts +1 -1
  2. package/{lib/models → models}/Communication/Comment/types.d.ts +1 -1
  3. package/{lib/models → models}/Communication/index.d.ts +4 -4
  4. package/{lib/models → models}/Communication/types.d.ts +1 -1
  5. package/{lib/models → models}/Counters/Group/Analytics/index.d.ts +2 -2
  6. package/{lib/models → models}/Counters/Group/Analytics/types.d.ts +1 -1
  7. package/{lib/models → models}/Counters/Group/index.d.ts +2 -2
  8. package/{lib/models → models}/Counters/Group/types.d.ts +1 -1
  9. package/{lib/models → models}/Counters/event.d.ts +1 -1
  10. package/{lib/models → models}/Counters/index.d.ts +1 -1
  11. package/{lib/models → models}/Evento/Player/index.d.ts +1 -1
  12. package/{lib/models → models}/Evento/Player/types.d.ts +1 -1
  13. package/{lib/models → models}/Evento/Repertory/index.d.ts +1 -1
  14. package/{lib/models → models}/Evento/Repertory/types.d.ts +1 -1
  15. package/{lib/models → models}/Evento/basic.d.ts +3 -3
  16. package/{lib/models → models}/Evento/index.d.ts +7 -7
  17. package/{lib/models → models}/Evento/promoter.d.ts +1 -1
  18. package/{lib/models → models}/Evento/types.d.ts +1 -1
  19. package/{lib/models → models}/Federation/Partnership/index.d.ts +3 -3
  20. package/{lib/models → models}/Federation/Partnership/types.d.ts +1 -1
  21. package/{lib/models → models}/Federation/index.d.ts +4 -4
  22. package/{lib/models → models}/Federation/types.d.ts +1 -1
  23. package/{lib/models → models}/Group/Analytics/index.d.ts +1 -1
  24. package/{lib/models → models}/Group/Analytics/types.d.ts +1 -1
  25. package/{lib/models → models}/Group/Event/index.d.ts +2 -2
  26. package/{lib/models → models}/Group/Event/types.d.ts +1 -1
  27. package/{lib/models → models}/Group/Player/Event/index.d.ts +2 -2
  28. package/{lib/models → models}/Group/Player/Event/types.d.ts +1 -1
  29. package/{lib/models → models}/Group/Player/Log/index.d.ts +2 -2
  30. package/{lib/models → models}/Group/Player/Log/types.d.ts +1 -1
  31. package/{lib/models → models}/Group/Player/index.d.ts +1 -1
  32. package/{lib/models → models}/Group/Player/types.d.ts +1 -1
  33. package/{lib/models → models}/Group/Repertory/index.d.ts +1 -1
  34. package/{lib/models → models}/Group/Repertory/types.d.ts +1 -1
  35. package/{lib/models → models}/Group/basic.d.ts +2 -2
  36. package/{lib/models → models}/Group/index.d.ts +1 -1
  37. package/{lib/models → models}/Group/index.js +2 -2
  38. package/{lib/models → models}/Group/types.d.ts +1 -1
  39. package/{lib/models → models}/Metrics/index.d.ts +1 -1
  40. package/{lib/models → models}/Metrics/types.d.ts +1 -1
  41. package/{lib/models → models}/Model/index.d.ts +1 -1
  42. package/{lib/models → models}/Model/lang.d.ts +1 -1
  43. package/{lib/models → models}/Notification/index.d.ts +1 -1
  44. package/{lib/models → models}/Notification/types.d.ts +1 -1
  45. package/{lib/models → models}/Partner/basic.d.ts +4 -4
  46. package/{lib/models → models}/Partner/index.d.ts +2 -2
  47. package/{lib/models → models}/Partner/tiny.d.ts +1 -1
  48. package/{lib/models → models}/Partner/types.d.ts +1 -1
  49. package/{lib/models → models}/Partnership/Group/index.d.ts +5 -5
  50. package/{lib/models → models}/Partnership/Group/types.d.ts +1 -1
  51. package/{lib/models → models}/Partnership/Partner/Subscription/index.d.ts +5 -5
  52. package/{lib/models → models}/Partnership/Partner/Subscription/types.d.ts +1 -1
  53. package/{lib/models → models}/Partnership/Partner/index.d.ts +1 -1
  54. package/{lib/models → models}/Partnership/Payment/index.d.ts +1 -1
  55. package/{lib/models → models}/Partnership/Plan/basic.d.ts +1 -1
  56. package/{lib/models → models}/Partnership/Plan/index.d.ts +3 -3
  57. package/{lib/models → models}/Partnership/Plan/types.d.ts +1 -1
  58. package/{lib/models → models}/Partnership/basic.d.ts +1 -1
  59. package/{lib/models → models}/Partnership/index.d.ts +2 -2
  60. package/{lib/models → models}/Partnership/types.d.ts +1 -1
  61. package/{lib/models → models}/Payment/basic.d.ts +1 -1
  62. package/{lib/models → models}/Payment/index.d.ts +1 -1
  63. package/{lib/models → models}/Payment/types.d.ts +1 -1
  64. package/{lib/models → models}/Player/basic.d.ts +1 -1
  65. package/{lib/models → models}/Repertory/basic.d.ts +1 -1
  66. package/{lib/models → models}/User/Group/index.d.ts +2 -2
  67. package/{lib/models → models}/User/Group/types.d.ts +1 -1
  68. package/{lib/models → models}/User/Notification/index.d.ts +1 -1
  69. package/{lib/models → models}/User/Notification/types.d.ts +1 -1
  70. package/{lib/models → models}/User/basic.d.ts +1 -1
  71. package/{lib/models → models}/User/index.d.ts +6 -6
  72. package/{lib/models → models}/User/types.d.ts +1 -1
  73. package/package.json +1 -1
  74. package/types/firestore.d.ts +1998 -0
  75. package/.husky/pre-commit +0 -4
  76. package/README.md +0 -70
  77. package/scripts/setHusky.js +0 -11
  78. /package/{lib/functions → functions}/auth.d.ts +0 -0
  79. /package/{lib/functions → functions}/auth.js +0 -0
  80. /package/{lib/functions → functions}/communication.d.ts +0 -0
  81. /package/{lib/functions → functions}/communication.js +0 -0
  82. /package/{lib/functions → functions}/communicationComment.d.ts +0 -0
  83. /package/{lib/functions → functions}/communicationComment.js +0 -0
  84. /package/{lib/functions → functions}/event.d.ts +0 -0
  85. /package/{lib/functions → functions}/event.js +0 -0
  86. /package/{lib/functions → functions}/eventPlayer.d.ts +0 -0
  87. /package/{lib/functions → functions}/eventPlayer.js +0 -0
  88. /package/{lib/functions → functions}/eventRepertory.d.ts +0 -0
  89. /package/{lib/functions → functions}/eventRepertory.js +0 -0
  90. /package/{lib/functions → functions}/federation.d.ts +0 -0
  91. /package/{lib/functions → functions}/federation.js +0 -0
  92. /package/{lib/functions → functions}/federationPartnership.d.ts +0 -0
  93. /package/{lib/functions → functions}/federationPartnership.js +0 -0
  94. /package/{lib/functions → functions}/group.d.ts +0 -0
  95. /package/{lib/functions → functions}/group.js +0 -0
  96. /package/{lib/functions → functions}/groupPlayer.d.ts +0 -0
  97. /package/{lib/functions → functions}/groupPlayer.js +0 -0
  98. /package/{lib/functions → functions}/groupRepertory.d.ts +0 -0
  99. /package/{lib/functions → functions}/groupRepertory.js +0 -0
  100. /package/{lib/functions → functions}/index.d.ts +0 -0
  101. /package/{lib/functions → functions}/index.js +0 -0
  102. /package/{lib/functions → functions}/jwt.d.ts +0 -0
  103. /package/{lib/functions → functions}/jwt.js +0 -0
  104. /package/{lib/functions → functions}/misc.d.ts +0 -0
  105. /package/{lib/functions → functions}/misc.js +0 -0
  106. /package/{lib/functions → functions}/notification.d.ts +0 -0
  107. /package/{lib/functions → functions}/notification.js +0 -0
  108. /package/{lib/functions → functions}/partner.d.ts +0 -0
  109. /package/{lib/functions → functions}/partner.js +0 -0
  110. /package/{lib/functions → functions}/partnership.d.ts +0 -0
  111. /package/{lib/functions → functions}/partnership.js +0 -0
  112. /package/{lib/functions → functions}/partnershipGroup.d.ts +0 -0
  113. /package/{lib/functions → functions}/partnershipGroup.js +0 -0
  114. /package/{lib/functions → functions}/partnershipPlan.d.ts +0 -0
  115. /package/{lib/functions → functions}/partnershipPlan.js +0 -0
  116. /package/{lib/functions → functions}/regions.d.ts +0 -0
  117. /package/{lib/functions → functions}/regions.js +0 -0
  118. /package/{lib/functions → functions}/subscription.d.ts +0 -0
  119. /package/{lib/functions → functions}/subscription.js +0 -0
  120. /package/{lib/functions → functions}/user.d.ts +0 -0
  121. /package/{lib/functions → functions}/user.js +0 -0
  122. /package/{lib/helpers → helpers}/appScenes.d.ts +0 -0
  123. /package/{lib/helpers → helpers}/appScenes.js +0 -0
  124. /package/{lib/helpers → helpers}/audios.d.ts +0 -0
  125. /package/{lib/helpers → helpers}/audios.js +0 -0
  126. /package/{lib/helpers → helpers}/auth.d.ts +0 -0
  127. /package/{lib/helpers → helpers}/auth.js +0 -0
  128. /package/{lib/helpers → helpers}/badges.d.ts +0 -0
  129. /package/{lib/helpers → helpers}/badges.js +0 -0
  130. /package/{lib/helpers → helpers}/collections.d.ts +0 -0
  131. /package/{lib/helpers → helpers}/collections.js +0 -0
  132. /package/{lib/helpers → helpers}/dlinks.d.ts +0 -0
  133. /package/{lib/helpers → helpers}/dlinks.js +0 -0
  134. /package/{lib/helpers → helpers}/errors.d.ts +0 -0
  135. /package/{lib/helpers → helpers}/errors.js +0 -0
  136. /package/{lib/helpers → helpers}/fileSections/index.d.ts +0 -0
  137. /package/{lib/helpers → helpers}/fileSections/index.js +0 -0
  138. /package/{lib/helpers → helpers}/fileSections/orders.d.ts +0 -0
  139. /package/{lib/helpers → helpers}/fileSections/orders.js +0 -0
  140. /package/{lib/helpers → helpers}/instruments/index.d.ts +0 -0
  141. /package/{lib/helpers → helpers}/instruments/index.js +0 -0
  142. /package/{lib/helpers → helpers}/musicStyles/index.d.ts +0 -0
  143. /package/{lib/helpers → helpers}/musicStyles/index.js +0 -0
  144. /package/{lib/helpers → helpers}/musicStyles/orders.d.ts +0 -0
  145. /package/{lib/helpers → helpers}/musicStyles/orders.js +0 -0
  146. /package/{lib/helpers → helpers}/notifications.d.ts +0 -0
  147. /package/{lib/helpers → helpers}/notifications.js +0 -0
  148. /package/{lib/helpers → helpers}/objects.d.ts +0 -0
  149. /package/{lib/helpers → helpers}/objects.js +0 -0
  150. /package/{lib/helpers → helpers}/payments.d.ts +0 -0
  151. /package/{lib/helpers → helpers}/payments.js +0 -0
  152. /package/{lib/helpers → helpers}/plans.d.ts +0 -0
  153. /package/{lib/helpers → helpers}/plans.js +0 -0
  154. /package/{lib/helpers → helpers}/rates.d.ts +0 -0
  155. /package/{lib/helpers → helpers}/rates.js +0 -0
  156. /package/{lib/helpers → helpers}/reasons.d.ts +0 -0
  157. /package/{lib/helpers → helpers}/reasons.js +0 -0
  158. /package/{lib/helpers → helpers}/slate.d.ts +0 -0
  159. /package/{lib/helpers → helpers}/slate.js +0 -0
  160. /package/{lib/helpers → helpers}/styles.d.ts +0 -0
  161. /package/{lib/helpers → helpers}/styles.js +0 -0
  162. /package/{lib/helpers → helpers}/ts-extras/array-includes.d.ts +0 -0
  163. /package/{lib/helpers → helpers}/ts-extras/array-includes.js +0 -0
  164. /package/{lib/helpers → helpers}/ts-extras/as-mutable.d.ts +0 -0
  165. /package/{lib/helpers → helpers}/ts-extras/as-mutable.js +0 -0
  166. /package/{lib/helpers → helpers}/ts-extras/assert-error.d.ts +0 -0
  167. /package/{lib/helpers → helpers}/ts-extras/assert-error.js +0 -0
  168. /package/{lib/helpers → helpers}/ts-extras/index.d.ts +0 -0
  169. /package/{lib/helpers → helpers}/ts-extras/index.js +0 -0
  170. /package/{lib/helpers → helpers}/ts-extras/is-defined.d.ts +0 -0
  171. /package/{lib/helpers → helpers}/ts-extras/is-defined.js +0 -0
  172. /package/{lib/helpers → helpers}/ts-extras/is-empty.d.ts +0 -0
  173. /package/{lib/helpers → helpers}/ts-extras/is-empty.js +0 -0
  174. /package/{lib/helpers → helpers}/ts-extras/is-finite.d.ts +0 -0
  175. /package/{lib/helpers → helpers}/ts-extras/is-finite.js +0 -0
  176. /package/{lib/helpers → helpers}/ts-extras/is-infinite.d.ts +0 -0
  177. /package/{lib/helpers → helpers}/ts-extras/is-infinite.js +0 -0
  178. /package/{lib/helpers → helpers}/ts-extras/is-integer.d.ts +0 -0
  179. /package/{lib/helpers → helpers}/ts-extras/is-integer.js +0 -0
  180. /package/{lib/helpers → helpers}/ts-extras/is-present.d.ts +0 -0
  181. /package/{lib/helpers → helpers}/ts-extras/is-present.js +0 -0
  182. /package/{lib/helpers → helpers}/ts-extras/is-safe-integer.d.ts +0 -0
  183. /package/{lib/helpers → helpers}/ts-extras/is-safe-integer.js +0 -0
  184. /package/{lib/helpers → helpers}/ts-extras/object-entries.d.ts +0 -0
  185. /package/{lib/helpers → helpers}/ts-extras/object-entries.js +0 -0
  186. /package/{lib/helpers → helpers}/ts-extras/object-from-entries.d.ts +0 -0
  187. /package/{lib/helpers → helpers}/ts-extras/object-from-entries.js +0 -0
  188. /package/{lib/helpers → helpers}/ts-extras/object-has-own.d.ts +0 -0
  189. /package/{lib/helpers → helpers}/ts-extras/object-has-own.js +0 -0
  190. /package/{lib/helpers → helpers}/ts-extras/object-keys.d.ts +0 -0
  191. /package/{lib/helpers → helpers}/ts-extras/object-keys.js +0 -0
  192. /package/{lib/helpers → helpers}/ts-extras/set-has.d.ts +0 -0
  193. /package/{lib/helpers → helpers}/ts-extras/set-has.js +0 -0
  194. /package/{lib/helpers → helpers}/types.d.ts +0 -0
  195. /package/{lib/helpers → helpers}/types.js +0 -0
  196. /package/{lib/helpers → helpers}/utils.d.ts +0 -0
  197. /package/{lib/helpers → helpers}/utils.js +0 -0
  198. /package/{lib/index.d.ts → index.d.ts} +0 -0
  199. /package/{lib/index.js → index.js} +0 -0
  200. /package/{lib/lang → lang}/ca.json +0 -0
  201. /package/{lib/lang → lang}/de.json +0 -0
  202. /package/{lib/lang → lang}/en.json +0 -0
  203. /package/{lib/lang → lang}/es.json +0 -0
  204. /package/{lib/lang → lang}/eu.json +0 -0
  205. /package/{lib/lang → lang}/gl.json +0 -0
  206. /package/{lib/lang → lang}/index.d.ts +0 -0
  207. /package/{lib/lang → lang}/index.js +0 -0
  208. /package/{lib/lang → lang}/pt.json +0 -0
  209. /package/{lib/models → models}/Communication/Comment/index.js +0 -0
  210. /package/{lib/models → models}/Communication/Comment/types.js +0 -0
  211. /package/{lib/models → models}/Communication/index.js +0 -0
  212. /package/{lib/models → models}/Communication/types.js +0 -0
  213. /package/{lib/models → models}/Counters/Group/Analytics/index.js +0 -0
  214. /package/{lib/models → models}/Counters/Group/Analytics/types.js +0 -0
  215. /package/{lib/models → models}/Counters/Group/index.js +0 -0
  216. /package/{lib/models → models}/Counters/Group/types.js +0 -0
  217. /package/{lib/models → models}/Counters/event.js +0 -0
  218. /package/{lib/models → models}/Counters/index.js +0 -0
  219. /package/{lib/models → models}/Counters/types.d.ts +0 -0
  220. /package/{lib/models → models}/Counters/types.js +0 -0
  221. /package/{lib/models → models}/Evento/Player/index.js +0 -0
  222. /package/{lib/models → models}/Evento/Player/types.js +0 -0
  223. /package/{lib/models → models}/Evento/Repertory/index.js +0 -0
  224. /package/{lib/models → models}/Evento/Repertory/types.js +0 -0
  225. /package/{lib/models → models}/Evento/basic.js +0 -0
  226. /package/{lib/models → models}/Evento/index.js +0 -0
  227. /package/{lib/models → models}/Evento/promoter.js +0 -0
  228. /package/{lib/models → models}/Evento/tiny.d.ts +0 -0
  229. /package/{lib/models → models}/Evento/tiny.js +0 -0
  230. /package/{lib/models → models}/Evento/types.js +0 -0
  231. /package/{lib/models → models}/Federation/Partnership/index.js +0 -0
  232. /package/{lib/models → models}/Federation/Partnership/types.js +0 -0
  233. /package/{lib/models → models}/Federation/index.js +0 -0
  234. /package/{lib/models → models}/Federation/types.js +0 -0
  235. /package/{lib/models → models}/Group/Analytics/index.js +0 -0
  236. /package/{lib/models → models}/Group/Analytics/types.js +0 -0
  237. /package/{lib/models → models}/Group/Event/index.js +0 -0
  238. /package/{lib/models → models}/Group/Event/types.js +0 -0
  239. /package/{lib/models → models}/Group/Player/Event/index.js +0 -0
  240. /package/{lib/models → models}/Group/Player/Event/types.js +0 -0
  241. /package/{lib/models → models}/Group/Player/Log/index.js +0 -0
  242. /package/{lib/models → models}/Group/Player/Log/types.js +0 -0
  243. /package/{lib/models → models}/Group/Player/index.js +0 -0
  244. /package/{lib/models → models}/Group/Player/types.js +0 -0
  245. /package/{lib/models → models}/Group/Repertory/File/Section/index.d.ts +0 -0
  246. /package/{lib/models → models}/Group/Repertory/File/Section/index.js +0 -0
  247. /package/{lib/models → models}/Group/Repertory/File/Section/types.d.ts +0 -0
  248. /package/{lib/models → models}/Group/Repertory/File/Section/types.js +0 -0
  249. /package/{lib/models → models}/Group/Repertory/File/index.d.ts +0 -0
  250. /package/{lib/models → models}/Group/Repertory/File/index.js +0 -0
  251. /package/{lib/models → models}/Group/Repertory/File/types.d.ts +0 -0
  252. /package/{lib/models → models}/Group/Repertory/File/types.js +0 -0
  253. /package/{lib/models → models}/Group/Repertory/FilePath/index.d.ts +0 -0
  254. /package/{lib/models → models}/Group/Repertory/FilePath/index.js +0 -0
  255. /package/{lib/models → models}/Group/Repertory/index.js +0 -0
  256. /package/{lib/models → models}/Group/Repertory/types.js +0 -0
  257. /package/{lib/models → models}/Group/basic.js +0 -0
  258. /package/{lib/models → models}/Group/types.js +0 -0
  259. /package/{lib/models → models}/Instrument/index.d.ts +0 -0
  260. /package/{lib/models → models}/Instrument/index.js +0 -0
  261. /package/{lib/models → models}/Metrics/index.js +0 -0
  262. /package/{lib/models → models}/Metrics/types.js +0 -0
  263. /package/{lib/models → models}/Model/index.js +0 -0
  264. /package/{lib/models → models}/Model/lang.js +0 -0
  265. /package/{lib/models → models}/MusicStyle/index.d.ts +0 -0
  266. /package/{lib/models → models}/MusicStyle/index.js +0 -0
  267. /package/{lib/models → models}/Notification/index.js +0 -0
  268. /package/{lib/models → models}/Notification/types.js +0 -0
  269. /package/{lib/models → models}/Partner/basic.js +0 -0
  270. /package/{lib/models → models}/Partner/index.js +0 -0
  271. /package/{lib/models → models}/Partner/tiny.js +0 -0
  272. /package/{lib/models → models}/Partner/types.js +0 -0
  273. /package/{lib/models → models}/Partnership/Group/index.js +0 -0
  274. /package/{lib/models → models}/Partnership/Group/types.js +0 -0
  275. /package/{lib/models → models}/Partnership/Partner/Subscription/index.js +0 -0
  276. /package/{lib/models → models}/Partnership/Partner/Subscription/types.js +0 -0
  277. /package/{lib/models → models}/Partnership/Partner/index.js +0 -0
  278. /package/{lib/models → models}/Partnership/Partner/types.d.ts +0 -0
  279. /package/{lib/models → models}/Partnership/Partner/types.js +0 -0
  280. /package/{lib/models → models}/Partnership/Payment/index.js +0 -0
  281. /package/{lib/models → models}/Partnership/Payment/types.d.ts +0 -0
  282. /package/{lib/models → models}/Partnership/Payment/types.js +0 -0
  283. /package/{lib/models → models}/Partnership/Plan/basic.js +0 -0
  284. /package/{lib/models → models}/Partnership/Plan/index.js +0 -0
  285. /package/{lib/models → models}/Partnership/Plan/types.js +0 -0
  286. /package/{lib/models → models}/Partnership/basic.js +0 -0
  287. /package/{lib/models → models}/Partnership/index.js +0 -0
  288. /package/{lib/models → models}/Partnership/types.js +0 -0
  289. /package/{lib/models → models}/Payment/basic.js +0 -0
  290. /package/{lib/models → models}/Payment/index.js +0 -0
  291. /package/{lib/models → models}/Payment/types.js +0 -0
  292. /package/{lib/models → models}/Player/basic.js +0 -0
  293. /package/{lib/models → models}/Player/types.d.ts +0 -0
  294. /package/{lib/models → models}/Player/types.js +0 -0
  295. /package/{lib/models → models}/Repertory/basic.js +0 -0
  296. /package/{lib/models → models}/Repertory/types.d.ts +0 -0
  297. /package/{lib/models → models}/Repertory/types.js +0 -0
  298. /package/{lib/models → models}/User/Group/index.js +0 -0
  299. /package/{lib/models → models}/User/Group/types.js +0 -0
  300. /package/{lib/models → models}/User/Notification/index.js +0 -0
  301. /package/{lib/models → models}/User/Notification/types.js +0 -0
  302. /package/{lib/models → models}/User/basic.js +0 -0
  303. /package/{lib/models → models}/User/index.js +0 -0
  304. /package/{lib/models → models}/User/types.js +0 -0
package/.husky/pre-commit DELETED
@@ -1,4 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- npx lint-staged
package/README.md DELETED
@@ -1,70 +0,0 @@
1
- # Glissandoo Library
2
-
3
- ## What is this repository for?
4
-
5
- - This repo contains a common model codebase that all Glissandoo projects can use.
6
-
7
- ## Configuration
8
-
9
- - This project should work with any Node.js version >= 12 and uses NPM to manage dependencies.
10
- - To install Node.js, we recommend using NVM, which is a Node.js version manager, and can be installed with the following command:
11
-
12
- ```bash
13
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
14
- ```
15
-
16
- - Once installed, restart your terminal and you will be able to use the following command to install the desired Node.js version:
17
-
18
- ```bash
19
- nvm install {version}
20
- ```
21
-
22
- - To activate a certain Node.js version, you can use the following command:
23
-
24
- ```bash
25
- nvm use {version}
26
- ```
27
-
28
- - Then, install dependencies with the following command:
29
-
30
- ```bash
31
- npm install
32
- ```
33
-
34
- ## Developing locally
35
-
36
- ### 0. (Optional) Create a VS Code workspace including lib:
37
-
38
- - Open your existing project with VS Code. Then, in the upper left menu, go to File > Add Folder to Workspace, and choose the lib repo folder.
39
-
40
- - Then, in the same menu as before, go to File > Save Workspace As... and save your workspace wherever you like.
41
-
42
- - Now, you will be able to work in both your current project and the lib repo in the same workspace.
43
-
44
- ### 1. NPM-Link lib to your project:
45
-
46
- - There is a way to link your local lib project to your current project, so any changes made to your local lib repo will automatically be reflected in your current project.
47
-
48
- - To do this, open a terminal and go to the lib repo folder. Then, run the following command:
49
-
50
- ```bash
51
- npm run link
52
- ```
53
-
54
- This will create a symlink to your lib repo globally.
55
-
56
- - Now, to tell your project to use the symlink, go to your project folder and run the following command:
57
-
58
- ```bash
59
- npm link @glissandoo/lib
60
- ```
61
-
62
- - Now, your project will use the ts-compiled folder of the lib repo as its dependency, but there is one more step left.
63
-
64
- - Since we use TypeScript, we would need to compile lib for every change we made to it, but we can automate this process by opening a terminal, going into the lib repo folder and keeping the following command running:
65
-
66
- ```bash
67
- npm run build:watch
68
- ```
69
-
70
- This will compile lib for every change you make to it, so that changes automatically get reflected in your current project.
@@ -1,11 +0,0 @@
1
- const isProduction = process.env.NODE_ENV === 'production';
2
- const isCi = process.env.CI !== undefined;
3
-
4
- const main = async () => {
5
- if (!isCi && !isProduction) {
6
- const husky = await import('husky');
7
- husky.install();
8
- }
9
- };
10
-
11
- main();
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes