David Germain
5b6cf4b837
chore: add back files that are needed
2024-06-13 15:10:03 +01:00
David Germain
ed0ef9b88a
chore: yarn run format
2024-06-13 15:10:03 +01:00
David Germain
802079de5f
chore: undelete file, it is needed for the CI
2024-06-13 15:10:03 +01:00
David Germain
a39793ba6f
chore: fix docker emulator
2024-06-13 15:10:03 +01:00
David Germain
de42911c0d
chore: cast to any to avoid type errors
2024-06-13 15:10:03 +01:00
David Germain
7b7a305a1d
chore: check if stats is undefined
2024-06-13 15:10:03 +01:00
David Germain
b8d67c64bb
chore: import correct types
2024-06-13 15:10:03 +01:00
Mário Nunes
c654c5a8a2
fix: functions build
2024-06-02 12:52:09 +01:00
Eva Killenberg
d12f1343fb
feat(patreon): set up auth with patreon
2023-11-29 16:31:19 -05:00
chrismclarke
48ce0075d9
chore: update webhook test endpoints
2023-11-09 21:45:33 -08:00
chrismclarke
ff3b15fd3a
chore: update test config uris
2023-11-09 20:52:34 -08:00
chrismclarke
ec5d610eef
chore: update emulator project names
2023-10-29 22:23:41 -07:00
Eva Killenberg
86091e4f0d
fix: add config var to test model
2023-07-11 21:06:45 +01:00
Ikko Eltociear Ashimine
d0e5454085
fix: typo in start.ts
...
programatically -> programmatically
2023-06-22 00:59:12 +09:00
chrismclarke
eb87592562
fix: ci tests
2022-12-18 11:12:10 -08:00
chrismclarke
95080a9fef
fix: realtimedb emulator
2022-10-31 18:51:30 -07:00
chrismclarke
9cb6260e37
feat: add support for functions runtime config in emulator
2022-06-28 11:57:00 -07:00
chrismclarke
8ad7dc951e
chore: code tidying
2022-06-27 23:10:06 -07:00
chrismclarke
81fd577314
chore: code tidying
2022-06-27 22:31:38 -07:00
chrismclarke
734e409e2f
refactor: merge seo sitemap and render folders
2022-06-27 21:20:58 -07:00
chrismclarke
cc78af7f39
test: add support for runtime test config
2022-06-20 18:27:15 -07:00
chrismclarke
131ed5d6ac
feat: add support for pubsub emulator
2022-06-15 20:54:08 -07:00
Chris
563061bb1a
fix: emulator start scripts
2022-04-11 12:35:15 +01:00
chrismclarke
4b4936e430
Merge branch 'master' of https://github.com/ONEARMY/community-platform into spike/docker-emulators
2022-04-07 11:17:49 -07:00
Luke Watts
25e9e0d122
chore: apply prettier 2.x formatting
2022-03-29 21:28:37 +02:00
chrismclarke
238e11ac9c
chore: remove legacy seed extract scripts
2022-02-27 11:18:02 -08:00
Luke Watts
410d6a798f
test: introduce test infrastructure to functions ( #1252 )
...
* test: introduce tests
The aim of this change is to introduce the infrastructure so
that future contributors to the `functions` workspace can
be asked to include tests with minimal overhead.
A test has been added to demonstrate how functions triggered
by changes within the FireStore data can be validated.
If you want to run the tests locally you can do so using
the [firebase tools](https://www.npmjs.com/package/firebase-tools )
```bash
firebase emulators:exec --project default "jest ."
```
```bash
firebase emulators:exec --project default "jest . --watch"
```
* ci: downgrade jest to align with wider project
* feat: introduce tests
* chore: drop commit docs from this branch
* ci: reduce size of resouce class
* chore: align ts-jest with jest version
* docs: clarify wording for job
* fix: add jest types for functions
Co-authored-by: chrismclarke <chris.m.clarke@live.co.uk >
2022-02-02 13:30:43 -08:00
Luke Watts
294ce20de6
chore: remove precompile from functions build process
2022-02-02 08:12:57 +01:00
Chris
933d1b009d
ensure webpack build and seed data
2021-09-06 09:32:37 +01:00
Chris
e649071299
rename emulator seed function
2021-09-06 09:31:03 +01:00
chrismclarke
184d1de7d4
tidy functions start scripts
2021-08-28 11:37:14 -07:00
chrismclarke
c1d80b7869
add functions precompile script
2021-08-28 11:35:42 -07:00
chrismclarke
345b8beebe
update seed data
2021-08-23 22:43:38 -07:00
chrismclarke
5b085f549c
add custom service-worker auth
2021-08-23 21:34:40 -07:00
chrismclarke
6cbbb6144d
update seed data load scripts and default
2021-08-18 12:13:48 -07:00
chrismclarke
7a16e63d71
emulator serve scripts and docs
2021-08-18 12:12:24 -07:00
chrismclarke
afcc3dd5a2
add improved functions start script
2021-08-02 18:36:27 -07:00