DU4L / CTFNote

CTFNote is a collaborative tool aiming to help CTF teams to organise their work.
GNU General Public License v3.0
0 stars 0 forks source link

Add ical Link #31

Closed frereit closed 2 years ago

frereit commented 2 years ago

Sorry about the huge commit :/

To make this work, I had to do some minor fixes and make /calendar.ics available through the nginx proxy in front (and quasar config for development).

I also removed graphql files from eslint because we dropped the graphql eslint plugin.

This will close #30 and close #9

JM-Lemmi commented 2 years ago

Build of api fails because of missing ical-generator plugin


Step 9/27 : RUN yarn run build
 ---> Running in 05b874d9d7b6
yarn run v1.22.15
$ tsc
src/routes/ical.ts(1,30): error TS2307: Cannot find module 'ical-generator' or its corresponding type declarations.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: Service 'api' failed to build : The command '/bin/sh -c yarn run build' returned a non-zero code: 2
``
frereit commented 2 years ago

Good catch, I still had it installed from previous tests.

frereit commented 2 years ago

Okay, I have reproduced the issue and am working on it.

Interestingly enough, it doesn't happen on upstream-ical-link, the branch that's compatible with the upstream dev branch.

Edit: should be fixed. Completely removing all docker images, volumes, and containers and rebuilding works, so I think it should work now.