Commit graph

5613 commits

Author SHA1 Message Date
renovate[bot]
4dba9f0eb7 chore(deps): update node.js to d9d5350
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-09 04:22:06 +00:00
renovate[bot]
8f70b92954 chore(deps): update node.js to 3239a42
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-09 02:13:06 +00:00
renovate[bot]
45f85c9113 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-09 02:10:17 +00:00
renovate[bot]
269b1cb600 chore(deps): update dependency @types/node to v20.4.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 22:44:20 +00:00
renovate[bot]
a4d8fc26c9 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 22:38:23 +00:00
renovate[bot]
35a02cc745 fix(deps): update dependency i18next to v23.4.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 17:32:30 +00:00
renovate[bot]
c8cfebac57 chore(deps): update dependency eslint-plugin-cypress to v2.13.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 17:31:29 +00:00
renovate[bot]
3d138a8c21 chore(deps): update github/codeql-action action to v2.21.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 17:24:35 +00:00
renovate[bot]
a8fcfb06b7 chore(deps): update dependency @types/react to v18.2.19
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 07:16:03 +00:00
renovate[bot]
ca3c075dec chore(deps): update node.js to 4721df1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 01:42:19 +00:00
renovate[bot]
ba47bff310 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 22:49:31 +00:00
renovate[bot]
770c5fba4f chore(deps): update nextjs monorepo to v13.4.13
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 11:47:04 +00:00
renovate[bot]
b0b923f606 chore(deps): update dependency eslint-config-next to v13.4.13
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 11:46:14 +00:00
renovate[bot]
4733d0acca fix(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 11:44:42 +00:00
renovate[bot]
0767d6e821 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 07:07:01 +00:00
renovate[bot]
74d5698bb4 chore(deps): lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-07 00:29:46 +00:00
renovate[bot]
2c8745ed74 fix(deps): update dependency i18next to v23.4.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 21:40:00 +00:00
Philip Molares
c6c972c56c fix(blockquote): remove extra color tag
Remove the extra color tag in a way that still makes us able to use the color tag in the blockquote

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-08-06 19:06:29 +02:00
renovate[bot]
2aaea6fe3f chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 13:42:31 +00:00
renovate[bot]
73e2f24566 chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 12:01:33 +00:00
Tilman Vatteroth
cbfed96398 fix: code formatting in mermaid-chart.tsx
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-06 11:55:34 +00:00
renovate[bot]
236562cd9d chore(deps): update linters
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 11:55:34 +00:00
renovate[bot]
c8e1a99ad1 chore(deps): update dependency eslint-config-prettier to v9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 13:40:55 +02:00
renovate[bot]
db1b3e076a chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.0.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 10:20:00 +00:00
renovate[bot]
912d92f285 fix(deps): update dependency @fontsource/source-sans-pro to v5.0.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-06 07:08:21 +00:00
renovate[bot]
ad14c57588 chore(deps): update dependency @types/node to v20.4.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-05 16:11:32 +00:00
renovate[bot]
4c0e8fe669 chore(deps): update dependency eslint-config-prettier to v8.10.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-05 17:54:01 +02:00
renovate[bot]
98c41a4e52 fix(deps): update dependency @nestjs/schedule to v3.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 07:46:19 +00:00
renovate[bot]
68e1b75057 chore(deps): update dependency @types/node to v20.4.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 02:21:54 +00:00
renovate[bot]
d8f63dca1c fix(deps): update dependency @fontsource/source-sans-pro to v5.0.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 14:55:27 +00:00
renovate[bot]
01717f1a20 fix(deps): update dependency @fontsource/source-sans-pro to v5.0.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 01:49:31 +00:00
renovate[bot]
9cdbe83bb1 fix(deps): update dependency @hedgedoc/markdown-it-plugins to v2.1.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 21:35:40 +00:00
renovate[bot]
bc149ba24e fix(deps): update dependency vega-embed to v6.22.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 20:01:08 +00:00
renovate[bot]
d87612fd0c chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 19:55:56 +00:00
renovate[bot]
0c3b6db65a fix(deps): update dependency pg to v8.11.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 19:54:54 +00:00
renovate[bot]
362c75c5ee fix(deps): update dependency d3-graphviz to v5.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 21:39:52 +02:00
renovate[bot]
91181032df chore(deps): update dependency @codemirror/view to v6.16.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 21:37:35 +02:00
renovate[bot]
4d0b05c4c1 chore(deps): update dependency mkdocs to v1.5.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 15:14:24 +00:00
renovate[bot]
6774b7d1b2 fix(deps): update dependency sass to v1.64.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-02 10:15:48 +02:00
renovate[bot]
8a805153b8 chore(deps): update dependency cypress to v12.17.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 21:53:47 +00:00
renovate[bot]
5024bb91c8 fix(deps): update dependency @nestjs/swagger to v7.1.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 15:02:24 +00:00
renovate[bot]
2ff3cd2b14 chore(deps): update typescript-eslint monorepo to v6.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 21:17:13 +02:00
renovate[bot]
350d6d0e81 fix(deps): update dependency react-i18next to v13.0.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 16:17:58 +00:00
renovate[bot]
218c559d9d chore(deps): update nestjs packages
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 11:42:03 +00:00
renovate[bot]
4d158b98b2 chore(deps): lock file maintenance
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 01:44:42 +00:00
renovate[bot]
b115e1e871 chore(deps): update dependency @tsconfig/node18 to v18
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 15:25:27 +02:00
Tilman Vatteroth
8e2d59ff3c fix(commons): replace microbundle with bash based compile script
The commons package ships wrong types because it is refering to the same files for the ESM and the CJS build.
See https://arethetypeswrong.github.io/?p=%40mrdrogdrog%2Foptional%401.1.0

This happens because microbundle can handle the generation of `.mjs` and `.cjs` from files itself but delegates the generation of types entirely to typescript by running it once. Microbundle uses the "type" field from the package.json to know if a `.js` file is meant to be mjs or cjs and generates the other type by using the specific file extension `.cjs` and `.mjs` (so if your package is a `type: module`, then `.js` file are interpreted as ECMAModule and if you have a commonjs file you need to name it `.cjs`).  But this causes a problem with typescript. If you use typescript with the newer module resolver then it expects the type declarations to be named exactly like the file you wanna import. So if you have a `.js` file it will try to look up types in a `.d.ts` file. If it is resolving a `.mjs` file it is looking for a `.d.mts` file.

This clashes with the types generated by microbundle because you can't use a `.mjs` file with a `.d.ts` file.

Running typescript multiple times can also be complicated.
When generating type declaration files, typescript takes a look at the source file extension. So a `.mts` file will generate a `.mjs` and a `.d.mts` file. A `.ts` will generate a `.js` and `.d.ts` file. It doesn't matter if you run microbundle on `.ts`, `.mts` or `.cjs` files, it will only generate the type declarations once.

How do you get the other type declaration? To solve this problem you either have to run typescript multiple times and manipulate the input or output data to have correct `.d.mts` / `.d.cts` files AND imports... or do what this PR changes.

It runs typescript multiple times but places the complied files in different directories. It then places a package.json in both directories which declares if `.js` is commonjs or ESM.
This way the resolver is happy because it can import `.js` files according to the package.json content and typescript is happy because it can find type declarations. And because package.json files are inheriting properties from other package.json files no necessary file is missing.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-07-30 14:56:29 +02:00
renovate[bot]
1155fdd248 fix(deps): update dependency @hedgedoc/markdown-it-plugins to v2.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 12:13:04 +00:00
renovate[bot]
a13d2026a0 fix(deps): update dependency @hedgedoc/markdown-it-plugins to v2.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 13:42:10 +02:00
renovate[bot]
8f26d17d30 fix(deps): update dependency @hedgedoc/html-to-react to v2.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 13:01:55 +02:00