26 Commits

Author SHA1 Message Date
δυς
9e37df6207 Update MyMeta to ECMAScript Modules + Switch to DID:PKH (#1429)
* beginning ESM transition: Ceramic libraries, Next.js, & TypeScript configuration 🇭🇰

* updating Chakra, React, & Next image `import`s 👔

* upgrading `@types/react`, import extensions for Node, & b64 SVG to PNG ⛹🏿‍♀️

* fixing relative import names & upddating @types packages 📻

* removoing WYSIWYG editor, draft-js, & updating express ⛹🏿‍♀️

* updating OpenSea 🚲

* ¡@metafam/utils is building! 📰

* ¡Discord bot is building! 👘

* ¡backend is building! 🛩

* fixed everything but Ceramic DID update 🏍

* switching to DID:PKH 📦

* fixing "only one child allowed" error 🙇🏿‍♀️

* importing `React` as required by tsc's `isolatedModules` 🇲🇰

* disabling testing rather than taking the time to fix jest ⚜

* removing set `types` from `tsconfig` to fix compilation error 🥦

* printing tests disabled warning, hopefully 🙀

* setting file to be copied to the new resolver 👁️‍🗨️

* "paths-resolver" not "paths-resolve" 🦴

* switching back to relative paths rather than trying to fix `paths` 

* `yarn backend:dev` not working, testing GitHub build 🎺

* removing design system build & fixing some images ✊🏿

* fixed "expected function got string" error & trying to address undefined HTMLElement 🐡

* fixing @emotion/react tree shaking by making external 🏏

* including eslint config in Dockerfile 🌾

* fixing more images 🎯

* updating DIDs & switching back to an updated DID:3 ❇

* switching to w3s.link gateway & fixing early termination of storage endpoint 🔭

* switching back to ipfs.io gateway b/c w3s.link serves SVGs as application/xml which are CORB blocked 🥾

* fixing node config name in eslint ignore & shortening some paths 🧰

* fixing ts-node not handling project references 🥁
2022-11-14 11:26:41 -05:00
luxumbra
a53e450f81 addressing feedback from @alalonde
- Moved `Honeybadger.notify()` to `errorHandler.ts` and replaced instances.
- Removed module definitions from `env.d.ts`
2022-10-21 13:21:38 -06:00
Alec LaLonde
80d46b410d Added GA ID, fixed FRONTEND_URL 2022-07-06 10:05:15 -06:00
Alec LaLonde
063c680d10 Added a couple more env variables to build 2022-07-04 20:03:03 -06:00
Alec LaLonde
cf1e099d56 More config to get relative imports working in backend 2022-05-18 09:06:43 -06:00
Alec LaLonde
0e0db39ba9 Fixed discord-bot Dockerfile 2022-03-24 12:57:12 -06:00
Alec LaLonde
388fde2ee1 Moved node from slim- to normal container 2022-03-22 10:33:22 -06:00
Alec LaLonde
b88693e0a1 Added another dep 2022-03-22 10:33:22 -06:00
Alec LaLonde
0fc84ebb99 Fixed docker build puking on git+https dependencies 2022-03-22 10:33:22 -06:00
δυς
f5295c3242 Reading and Writing Profile Info From Ceramic (#943)
This is being merged for further testing so as to not block the progress of `develop` & not require more rebases.
2022-01-25 16:51:53 -05:00
polimyl
4f1e47562c fix: move discord-bot RUNTIME_ENV to the last stage 2021-12-26 21:14:28 -07:00
polimyl
d61e39b6d8 Docker image size optimization (#910)
* build(docker): use slim base images

* build(docker): create new stages that only include necessary files

* build(docker): delete devDependencies after build

* build(docker): move env vars to a later point for better caching
2021-11-13 12:29:22 -05:00
δυς
0362f8ca47 switching to multer (& writing to a file) from streaming 🎮 2021-10-29 21:16:28 -06:00
polimyl
34fdf7f4c4 make env vars in hasura and backend containers more customizable 2021-10-06 20:44:20 -06:00
polimyl
a2685112d5 add Dockerfile for frontend 2021-10-06 20:44:20 -06:00
Alec LaLonde
f653d0879e Added an env var to specify which types of files are loaded 2021-05-18 11:31:43 -06:00
Alec LaLonde
fbb70e54a8 Added Dockerfile for discord-bot 2021-05-06 13:07:32 -06:00
Alec LaLonde
24765d030a Added createDiscordClient to discord-bot, changed backend to use it 2021-03-09 10:54:23 -07:00
Will Holcomb
e59618d319 codegen was removed, but some references linger 2021-02-01 20:52:28 -07:00
Hammad Jutt
4c2bb981cf Update backend Dockerfile to include codegen 2020-08-16 20:23:05 -06:00
Hammad Jutt
c82ba547b6 Fix command for backend Dockerfile 2020-08-05 00:18:57 -06:00
Hammad Jutt
26c9bfa134 Cleanup / simplify package.json scripts and names 2020-07-13 11:06:24 -06:00
Hammad Jutt
5de1a5eba5 Simplify Render config 2020-07-12 11:41:52 -06:00
Hammad Jutt
c063c3c41a Setup explicit ports to prevent broken deployment on Render
https://github.com/hasura/graphql-engine/issues/3904
2020-07-12 11:41:52 -06:00
Hammad Jutt
5cfd7d88dd Setup multistage build to allow running backend server in dev mode so we dont have to run it outside Docker
This will automatically restart the backend server in docker anytime there are changes to the original
source files instead of copying over when running in dev mode. In production, it will still do the
normal copy/build.
2020-07-06 01:55:44 -06:00
Pacien Boisson
899335594a [WIP] Fix docker with lerna (#8)
* trying to fix Backend docker image with lerna

* fix dockerfile CMD

* Fix Dockerfile build

* Fix 3box types

Co-authored-by: Hammad Jutt <jutt@ualberta.ca>
2020-06-08 00:49:39 -06:00