diff --git a/.dockerignore b/.dockerignore index c08f9add..656f0dde 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,5 @@ -_site \ No newline at end of file +.git +.venv +_site +site +__pycache__ diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml new file mode 100644 index 00000000..9397b3d1 --- /dev/null +++ b/.github/workflows/preview.yml @@ -0,0 +1,53 @@ +name: Build preview + +on: + pull_request: + push: + branches: + - prepare-mkdocs-ci + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: preview-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v5 + with: + submodules: recursive + + - name: Regenerate Organizations API documentation + run: sudo make graphql-docs + + - name: Check generated documentation is current + run: | + git status --short --untracked-files=all -- .graphqlrc.yml graphql src/docs/integratie/org-api + test -z "$(git status --porcelain --untracked-files=all -- .graphqlrc.yml graphql src/docs/integratie/org-api)" + + - uses: actions/setup-python@v6 + with: + python-version: 3.12.12 + cache: pip + + - name: Install dependencies + run: python -m pip install -r requirements.txt + + - name: Check submodules are clean + run: git submodule foreach --recursive 'test -z "$(git status --porcelain)"' + + - name: Build documentation + run: mkdocs build --strict + + - name: Upload preview artifact + uses: actions/upload-artifact@v4 + with: + name: site-${{ github.sha }} + path: site/ + if-no-files-found: error + retention-days: 14 diff --git a/Dockerfile b/Dockerfile index 4ba77060..98ccf8c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,11 @@ -FROM jekyll/jekyll:3 -RUN gem install bundler -v 2.4.22 -COPY Gemfile Gemfile.lock ./ -RUN bundle install +FROM python:3.12.12-slim-bookworm + +WORKDIR /docs + +COPY requirements.txt ./ +RUN python -m pip install --no-cache-dir -r requirements.txt + COPY . . -ENTRYPOINT ["bundle", "exec", "jekyll", "serve", "--host", "0.0.0.0"] \ No newline at end of file + +EXPOSE 8000 +CMD ["mkdocs", "serve", "--dev-addr=0.0.0.0:8000"] diff --git a/README.md b/README.md index 7a06b336..be15d4d2 100644 --- a/README.md +++ b/README.md @@ -2,44 +2,52 @@ This repository generates [https://developer.meemoo.be/](https://developer.meemoo.be/). -## Build the docs locally +## Run the docs locally -First, [install Ruby 2.7.](https://www.ruby-lang.org/en/documentation/installation/) - -Next, install [Jekyll](https://jekyllrb.com/) and other dependencies from the `Gemfile` with +Install Python 3.12, then run: ```bash -bundle install +git submodule update --init --recursive +python3.12 -m venv .venv +. .venv/bin/activate +python -m pip install -r requirements.txt +mkdocs serve ``` -Finally, run +Open `http://127.0.0.1:8000` to browse the docs. + +## Run the docs with Docker + +Build and run the preview image: ```bash -bundle exec jekyll serve +docker build -t meemoo-docs . +docker run --rm -it -p 8000:8000 meemoo-docs ``` -## Build the docs via Docker +Open `http://127.0.0.1:8000`. This image is for local preview only; production serves the static `site/` artifact. -First, make sure that [Docker is installed](https://docs.docker.com/get-docker/). +## Update the Organizations API documentation -Next, build the Docker image: +[Install Docker](https://docs.docker.com/get-docker/), then regenerate the committed Markdown from the current schema snapshot: ```bash -docker build -t meemoo-docs . +make graphql-docs ``` -Then, start the container serving the docs: +To refresh the schema snapshot first, provide the URL of the introspection JSON: ```bash -docker container run --rm -it -p 4000:4000 meemoo-docs +make graphql-schema SCHEMA_URL=https://example.test/schema.json +make graphql-docs ``` -Finally, go to `http://127.0.0.1:4000` using your preferred browser to browse the docs. +Commit changes to `graphql/schema.json`, `graphql/introduction.md`, and the generated files under `src/docs/integratie/org-api/` together. Node.js and npm run inside `graphql/Dockerfile`; they are not host prerequisites. ## Convert legacy files -Get pandoc +Install Pandoc, then run: -``` +```bash pandoc -s -t markdown -o ./docs/output.md --wrap=none ``` diff --git a/graphql/Dockerfile b/graphql/Dockerfile index 0f02c644..a21b5551 100644 --- a/graphql/Dockerfile +++ b/graphql/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22.15.0-alpine +FROM node:24-alpine WORKDIR /app COPY package.json package-lock.json ./ diff --git a/graphql/package-lock.json b/graphql/package-lock.json index 47e20524..35631635 100644 --- a/graphql/package-lock.json +++ b/graphql/package-lock.json @@ -1,13 +1,13 @@ { - "name": "meemoo-developer-documentation", + "name": "meemoo-graphql-documentation", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "meemoo-developer-documentation", + "name": "meemoo-graphql-documentation", "dependencies": { - "@graphql-markdown/cli": "1.1.0", - "@graphql-markdown/formatters": "1.1.1", + "@graphql-markdown/cli": "1.2.0", + "@graphql-markdown/formatters": "1.2.0", "graphql": "17.0.2" } }, @@ -76,9 +76,9 @@ } }, "node_modules/@fastify/busboy": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-3.2.2.tgz", - "integrity": "sha512-yXSS27qPExaXeuLvMRMXOLtpipzfQYNjG3FkunDWKGfMYjKuhFXko9CVzqxm8jcF+lmtS9Fd89QNdh9XDjnbNg==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-3.2.3.tgz", + "integrity": "sha512-fmo/IKgkenPzz3qTKG+sIUXdF/Kv83AkvvOXJHPTHJeKJbat8SsL1ihUaFaDotqoEl4UZ1Lf8Eb/3vK6eaWX2A==", "license": "MIT" }, "node_modules/@fastify/deepmerge": { @@ -107,14 +107,15 @@ } }, "node_modules/@graphql-markdown/cli": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@graphql-markdown/cli/-/cli-1.1.0.tgz", - "integrity": "sha512-nigMt+RQxgsKk7ldgUcSrvO6hwlF2Wz2EMADyuS6NtFMo8k9V1RODnBjUdo0lmfn0Qo+TOhTJ+ly41ZFqSxCVA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@graphql-markdown/cli/-/cli-1.2.0.tgz", + "integrity": "sha512-046WXHG/BYbfew11FcAI77cIveyCWRXPYqQCtb81l+vRfRq+O86GASL7jddoHzOmqNYCpP78pJRavyCO13ImrA==", "license": "MIT", "dependencies": { - "@graphql-markdown/core": "", - "@graphql-markdown/logger": "", - "@graphql-markdown/types": "", + "@graphql-markdown/core": "^1.25.0", + "@graphql-markdown/logger": "^1.1.3", + "@graphql-markdown/telemetry": "^0.1.0", + "@graphql-markdown/types": "^1.17.0", "commander": "^15.0.0", "graphql-config": "5.1.6" }, @@ -126,24 +127,26 @@ } }, "node_modules/@graphql-markdown/cli/node_modules/@graphql-markdown/core": { - "version": "1.23.0", - "resolved": "https://registry.npmjs.org/@graphql-markdown/core/-/core-1.23.0.tgz", - "integrity": "sha512-w7B4pMN/+CrRC9mvRh+T7k4uK2BGsvF3ViSwb570jfNrh5Nkcz11RPGLtUDh/4gDfXipHiO9gJJhvgaTY0KUvQ==", + "version": "1.25.0", + "resolved": "https://registry.npmjs.org/@graphql-markdown/core/-/core-1.25.0.tgz", + "integrity": "sha512-MlFdwW1BBrIYMvciLovftPnvJ1rspTWb/lAbqzGJOPrqyjDgDN3OUJB/T/75AZdRIgQ0QLZG0YW7C7esu4yyRg==", "license": "MIT", "dependencies": { - "@fastify/deepmerge": "^3.2.1", - "@graphql-markdown/graphql": "", - "@graphql-markdown/logger": "", - "@graphql-markdown/printer-legacy": "", - "@graphql-markdown/types": "", - "@graphql-markdown/utils": "" + "@fastify/deepmerge": "^3.2.2", + "@graphql-markdown/graphql": "^1.3.3", + "@graphql-markdown/logger": "^1.1.3", + "@graphql-markdown/printer-legacy": "^1.19.2", + "@graphql-markdown/telemetry": "^0.1.0", + "@graphql-markdown/types": "^1.17.0", + "@graphql-markdown/utils": "^1.14.0" }, "engines": { "node": ">=22.12.0" }, "peerDependencies": { - "@graphql-markdown/diff": "", - "@graphql-markdown/helpers": "", + "@graphql-markdown/diff": "^1.1.22", + "@graphql-markdown/helpers": "^1.2.3", + "graphql": "^16.0.0 || ^17.0.0", "graphql-config": "5.1.6" }, "peerDependenciesMeta": { @@ -200,27 +203,27 @@ } }, "node_modules/@graphql-markdown/formatters": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@graphql-markdown/formatters/-/formatters-1.1.1.tgz", - "integrity": "sha512-2wJATELVVhhggj+EmoKKPvbkyEwbedLKVWFeED/PuYUZqG05OOkN2CfJnH7cu5XihmljRiVNq1xUrh9BWyXfEA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@graphql-markdown/formatters/-/formatters-1.2.0.tgz", + "integrity": "sha512-cn05LHg1FdMy+VbzkX4LAM7BIPkEhjvTLhB0xOS8A3pYodh7hRKT9Wgb5RMxGQI8h0ADqjzxytvaeyf6rbhbYQ==", "license": "MIT", "dependencies": { - "@graphql-markdown/helpers": "", - "@graphql-markdown/types": "", - "@graphql-markdown/utils": "" + "@graphql-markdown/helpers": "^1.2.3", + "@graphql-markdown/types": "^1.17.0", + "@graphql-markdown/utils": "^1.14.0" }, "engines": { "node": ">=22.12.0" } }, "node_modules/@graphql-markdown/graphql": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@graphql-markdown/graphql/-/graphql-1.3.0.tgz", - "integrity": "sha512-VaDTvDyvln3X0zd69oiMBfGeoHujTJDfyEt+yCGqK2lVU4RY0ueCCZujtDOpMZ5pvcq1mOJ+i6uR3mLw3Fr3wg==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@graphql-markdown/graphql/-/graphql-1.3.3.tgz", + "integrity": "sha512-S3VFP9Jt0UdmzTmiXoZEuohTSal6+Fyg8GZIHQ++UF9g2C18SBRDMlPDojJsDnH3cPo+jHUyy5+ju3PKNkzIxA==", "license": "MIT", "dependencies": { - "@graphql-markdown/types": "", - "@graphql-markdown/utils": "", + "@graphql-markdown/types": "^1.17.0", + "@graphql-markdown/utils": "^1.14.0", "@graphql-tools/load": "8.1.10" }, "engines": { @@ -231,14 +234,14 @@ } }, "node_modules/@graphql-markdown/helpers": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@graphql-markdown/helpers/-/helpers-1.2.0.tgz", - "integrity": "sha512-IQRjbsq8Nv0iexB/L99z6hsqu16DuLcT83fqmgpj+wejOKCCbQUYHPCsSI8CrRbFkuJPN85PwYVOR3/W2sCg2A==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@graphql-markdown/helpers/-/helpers-1.2.3.tgz", + "integrity": "sha512-NTGxNO7MVkyuz51X9nlD9zVECiwT/K8K3AtCsOBj5al3PO5AD8KMZGQf3guK3TsodHLEvbStm226j7JeG2XXQA==", "license": "MIT", "dependencies": { - "@graphql-markdown/graphql": "", - "@graphql-markdown/types": "", - "@graphql-markdown/utils": "" + "@graphql-markdown/graphql": "^1.3.3", + "@graphql-markdown/types": "^1.17.0", + "@graphql-markdown/utils": "^1.14.0" }, "engines": { "node": ">=22.12.0" @@ -248,36 +251,48 @@ } }, "node_modules/@graphql-markdown/logger": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@graphql-markdown/logger/-/logger-1.1.0.tgz", - "integrity": "sha512-hMfiF1xDKs2VV8IzLnZyI6RUrkR881eghQSjIbJhjeFpKH5YskyjG4fYvPVfVki4Rgqb0btIMVSBUCU5IprEcg==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@graphql-markdown/logger/-/logger-1.1.3.tgz", + "integrity": "sha512-AeI/Sk2g49YZx5y4b6/eepHn2G+t4F0AXa/ixoAGD/cbtaHfhv6cLw3nDHitvvVGE0nb1AHH01+hZaG8PhkIKQ==", "license": "MIT", "dependencies": { - "@graphql-markdown/types": "" + "@graphql-markdown/types": "^1.17.0" }, "engines": { "node": ">=22.12.0" } }, "node_modules/@graphql-markdown/printer-legacy": { - "version": "1.18.0", - "resolved": "https://registry.npmjs.org/@graphql-markdown/printer-legacy/-/printer-legacy-1.18.0.tgz", - "integrity": "sha512-wyZpHCOQNVz4L7r84SwMO1gK6/as6kp0YzMiev2Bfs0rK9t7ymQTDlJVvdsGCyvyzi9aZOXPU/4DFCtlp06e0A==", + "version": "1.19.2", + "resolved": "https://registry.npmjs.org/@graphql-markdown/printer-legacy/-/printer-legacy-1.19.2.tgz", + "integrity": "sha512-zoQbTYt5bYpn12BXPZdeFkVfvYz5881kmSrlT4LmB24NNf8VHQBZb03AZRSOaKCE+DhnIPpn9JkPSUXJh7HBGg==", + "license": "MIT", + "dependencies": { + "@graphql-markdown/formatters": "^1.2.0", + "@graphql-markdown/graphql": "^1.3.3", + "@graphql-markdown/types": "^1.17.0", + "@graphql-markdown/utils": "^1.14.0" + }, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/@graphql-markdown/telemetry": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@graphql-markdown/telemetry/-/telemetry-0.1.0.tgz", + "integrity": "sha512-1hGOe2y9ya7THD7PM5u8PEvY50NRuIytMRBfjoG4CwZZ34sU13db4ckyDMKUvLp6sTxVlgTM3ADzsIumjRq13Q==", "license": "MIT", "dependencies": { - "@graphql-markdown/formatters": "", - "@graphql-markdown/graphql": "", - "@graphql-markdown/types": "", - "@graphql-markdown/utils": "" + "@graphql-markdown/types": "^1.17.0" }, "engines": { "node": ">=22.12.0" } }, "node_modules/@graphql-markdown/types": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/@graphql-markdown/types/-/types-1.15.0.tgz", - "integrity": "sha512-AnLEHMl3E06s73I6eTVSDmPKRW81l/KwRByvDb5IxYv8oJcpxzhhIc6DObz8eTSubYMUFd/xHrFZc2d7Hc2uoQ==", + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/@graphql-markdown/types/-/types-1.17.0.tgz", + "integrity": "sha512-jUooGqJhVf4UYq0DagN5PczcrOzd8EDmJCh8KlSFzCuR8VNRzGL5bm+GYzhyibwW/xu3FT5tqmUrDyRqKQXsFw==", "license": "MIT", "dependencies": { "@graphql-tools/load": "8.1.10", @@ -330,12 +345,12 @@ } }, "node_modules/@graphql-markdown/utils": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/@graphql-markdown/utils/-/utils-1.13.1.tgz", - "integrity": "sha512-2tyMkAoPGEmI6Pm+qT3rc1ed3AV9TTh76WKU/YZqYBAErgnY/F374JW82Xj9nzTe+WnhwU+aluwXKxvJqg2zkA==", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@graphql-markdown/utils/-/utils-1.14.0.tgz", + "integrity": "sha512-06rBekZJTN5MRj82qqn/2Quv7pFeWZ/agPT4vvlxhUpI2Ffcr7uFLeZEXi9af9WyEMJ5OVJA6dvvJ2FiKhPe3Q==", "license": "MIT", "dependencies": { - "@graphql-markdown/types": "" + "@graphql-markdown/types": "^1.17.0" }, "engines": { "node": ">=22.12.0" @@ -368,9 +383,9 @@ } }, "node_modules/@graphql-tools/batch-execute/node_modules/@graphql-tools/utils": { - "version": "12.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz", - "integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.4.tgz", + "integrity": "sha512-hJmeBRrK1OUABqRxLXB1YwrBB+3zTXeRJYb5PaF7CweV80zNGnN640Jz+0BrCaUE8HBk6KtoVXM/tUScUsKdeg==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -420,9 +435,9 @@ } }, "node_modules/@graphql-tools/delegate/node_modules/@graphql-tools/utils": { - "version": "12.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz", - "integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.4.tgz", + "integrity": "sha512-hJmeBRrK1OUABqRxLXB1YwrBB+3zTXeRJYb5PaF7CweV80zNGnN640Jz+0BrCaUE8HBk6KtoVXM/tUScUsKdeg==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -450,12 +465,12 @@ } }, "node_modules/@graphql-tools/executor": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/executor/-/executor-2.0.3.tgz", - "integrity": "sha512-0qUCtalTDdanDuvW4EiHnNMct8QHYKTuGjI2lXU388LrpoV+5tlqp/xPqdYbrDtl3OBpZHToOEBcQunWz1UDig==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/executor/-/executor-2.0.4.tgz", + "integrity": "sha512-Rr0Q69vP9zE2svHibKi2bFsO4DF97JmlSvrTKBj4ldDuQqygeOWB7SxjQrAMNQHm/b9UjFYD36Rk5RRhi3lL3A==", "license": "MIT", "dependencies": { - "@graphql-tools/utils": "^12.0.3", + "@graphql-tools/utils": "^12.0.4", "@graphql-typed-document-node/core": "^3.2.0", "@repeaterjs/repeater": "^3.1.0", "@whatwg-node/disposablestack": "^0.1.0", @@ -486,9 +501,9 @@ } }, "node_modules/@graphql-tools/executor-common/node_modules/@graphql-tools/utils": { - "version": "12.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz", - "integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.4.tgz", + "integrity": "sha512-hJmeBRrK1OUABqRxLXB1YwrBB+3zTXeRJYb5PaF7CweV80zNGnN640Jz+0BrCaUE8HBk6KtoVXM/tUScUsKdeg==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -537,9 +552,9 @@ } }, "node_modules/@graphql-tools/executor-graphql-ws/node_modules/@graphql-tools/utils": { - "version": "12.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz", - "integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.4.tgz", + "integrity": "sha512-hJmeBRrK1OUABqRxLXB1YwrBB+3zTXeRJYb5PaF7CweV80zNGnN640Jz+0BrCaUE8HBk6KtoVXM/tUScUsKdeg==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -590,9 +605,9 @@ } }, "node_modules/@graphql-tools/executor-http/node_modules/@graphql-tools/utils": { - "version": "12.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz", - "integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.4.tgz", + "integrity": "sha512-hJmeBRrK1OUABqRxLXB1YwrBB+3zTXeRJYb5PaF7CweV80zNGnN640Jz+0BrCaUE8HBk6KtoVXM/tUScUsKdeg==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -648,13 +663,13 @@ } }, "node_modules/@graphql-tools/executor-legacy-ws": { - "version": "1.1.37", - "resolved": "https://registry.npmjs.org/@graphql-tools/executor-legacy-ws/-/executor-legacy-ws-1.1.37.tgz", - "integrity": "sha512-2rcZv0aLgNPEhsfXYOiRyCpES76jLuUFpSZJRXivMxjgZWlHTLwz0bBP4QmjQDR+b0DDSe8KgSVAbcSHcB0Z0A==", + "version": "1.1.38", + "resolved": "https://registry.npmjs.org/@graphql-tools/executor-legacy-ws/-/executor-legacy-ws-1.1.38.tgz", + "integrity": "sha512-mamb2so0wYF27Zkwgs+idffOswL3L6got2pimXV42mBtxlgDp6QaKOa/0Pv3+GRtWdeetPt5SS5jypTWHwvp9A==", "license": "MIT", "dependencies": { - "@graphql-tools/utils": "^12.0.3", - "@types/ws": "^8.0.0", + "@graphql-tools/utils": "^12.0.4", + "@types/ws": "^8.18.2", "isomorphic-ws": "^5.0.0", "tslib": "^2.4.0", "ws": "^8.21.3" @@ -667,9 +682,9 @@ } }, "node_modules/@graphql-tools/executor-legacy-ws/node_modules/@graphql-tools/utils": { - "version": "12.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz", - "integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.4.tgz", + "integrity": "sha512-hJmeBRrK1OUABqRxLXB1YwrBB+3zTXeRJYb5PaF7CweV80zNGnN640Jz+0BrCaUE8HBk6KtoVXM/tUScUsKdeg==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -697,9 +712,9 @@ } }, "node_modules/@graphql-tools/executor/node_modules/@graphql-tools/utils": { - "version": "12.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz", - "integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.4.tgz", + "integrity": "sha512-hJmeBRrK1OUABqRxLXB1YwrBB+3zTXeRJYb5PaF7CweV80zNGnN640Jz+0BrCaUE8HBk6KtoVXM/tUScUsKdeg==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -740,13 +755,13 @@ } }, "node_modules/@graphql-tools/graphql-file-loader": { - "version": "8.1.22", - "resolved": "https://registry.npmjs.org/@graphql-tools/graphql-file-loader/-/graphql-file-loader-8.1.22.tgz", - "integrity": "sha512-vEhO76Sznim4xe13U7oDlku+k9o7JbNA1xoTuPPnzRbyZy7x22cwKYYQQzzJjEqAq1tf6+znrJaC84mHgKnB3A==", + "version": "8.1.23", + "resolved": "https://registry.npmjs.org/@graphql-tools/graphql-file-loader/-/graphql-file-loader-8.1.23.tgz", + "integrity": "sha512-J/AdQ3Lr9TKHkpFFgOffiGObASvgyDI6ivr3FzoNAwXMMHGKelysd+kCETj0ZLcdncy3gHLfazfwv6XsW6HxZg==", "license": "MIT", "dependencies": { - "@graphql-tools/import": "^7.2.2", - "@graphql-tools/utils": "^12.0.3", + "@graphql-tools/import": "^7.2.3", + "@graphql-tools/utils": "^12.0.4", "globby": "^11.0.3", "tslib": "^2.4.0", "unixify": "^1.0.0" @@ -759,9 +774,9 @@ } }, "node_modules/@graphql-tools/graphql-file-loader/node_modules/@graphql-tools/utils": { - "version": "12.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz", - "integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.4.tgz", + "integrity": "sha512-hJmeBRrK1OUABqRxLXB1YwrBB+3zTXeRJYb5PaF7CweV80zNGnN640Jz+0BrCaUE8HBk6KtoVXM/tUScUsKdeg==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -789,12 +804,12 @@ } }, "node_modules/@graphql-tools/import": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/@graphql-tools/import/-/import-7.2.2.tgz", - "integrity": "sha512-6tNVKBWGelZ//9CwO9fXkMK/pxz5IbSa8xMlWQ/eW6BVkhqf2PbrfJCJenGE8Ywo8JRDn1VZeTyI8jZnQGP4Ww==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@graphql-tools/import/-/import-7.2.3.tgz", + "integrity": "sha512-mVljeKUsUJRbJ+vmUAzaATQSeDAeXoRVmAVC17Ro1r7wCupzmS2OXnWtiSB3zWP5ZvBUuvPwo9rAKYLFkVcoCQ==", "license": "MIT", "dependencies": { - "@graphql-tools/utils": "^12.0.3", + "@graphql-tools/utils": "^12.0.4", "resolve-from": "5.0.0", "tslib": "^2.4.0" }, @@ -806,9 +821,9 @@ } }, "node_modules/@graphql-tools/import/node_modules/@graphql-tools/utils": { - "version": "12.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz", - "integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.4.tgz", + "integrity": "sha512-hJmeBRrK1OUABqRxLXB1YwrBB+3zTXeRJYb5PaF7CweV80zNGnN640Jz+0BrCaUE8HBk6KtoVXM/tUScUsKdeg==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -836,12 +851,12 @@ } }, "node_modules/@graphql-tools/json-file-loader": { - "version": "8.0.36", - "resolved": "https://registry.npmjs.org/@graphql-tools/json-file-loader/-/json-file-loader-8.0.36.tgz", - "integrity": "sha512-PkH8gXIFVjxhxHGVYEspClnmxe7WfVwGS1a2kWC0a7+l9vk81e2qXMOcXn95w4jBZzBZD2o+2NoIlu8IhR35cw==", + "version": "8.0.37", + "resolved": "https://registry.npmjs.org/@graphql-tools/json-file-loader/-/json-file-loader-8.0.37.tgz", + "integrity": "sha512-NH+xyYZo/mCSi+esjrqRR++nKbFlHa/JDUewznZJl5SY4ZXivYaFkWZt3gQ+vanQaTOZa6h4MCGmxG2scaAwqg==", "license": "MIT", "dependencies": { - "@graphql-tools/utils": "^12.0.3", + "@graphql-tools/utils": "^12.0.4", "globby": "^11.0.3", "tslib": "^2.4.0", "unixify": "^1.0.0" @@ -854,9 +869,9 @@ } }, "node_modules/@graphql-tools/json-file-loader/node_modules/@graphql-tools/utils": { - "version": "12.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz", - "integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.4.tgz", + "integrity": "sha512-hJmeBRrK1OUABqRxLXB1YwrBB+3zTXeRJYb5PaF7CweV80zNGnN640Jz+0BrCaUE8HBk6KtoVXM/tUScUsKdeg==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -902,12 +917,12 @@ } }, "node_modules/@graphql-tools/merge": { - "version": "9.2.6", - "resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-9.2.6.tgz", - "integrity": "sha512-M7iI/qoCnks6iITkimtdZgI2SrWOInr+QRWuhEsInaumzQGPd0pnWbRAVTRVcFN2Gu9hM2aS5kYzASC93d9epw==", + "version": "9.2.7", + "resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-9.2.7.tgz", + "integrity": "sha512-Zo69OGURoOupi9v+3PCNOuQSgwz0/KNOsfTNMudSLzHTKMu40Bz3KqHaIxWuUiFr/ZDRXClI8ou48vdJWtwh4w==", "license": "MIT", "dependencies": { - "@graphql-tools/utils": "^12.0.3", + "@graphql-tools/utils": "^12.0.4", "tslib": "^2.4.0" }, "engines": { @@ -918,9 +933,9 @@ } }, "node_modules/@graphql-tools/merge/node_modules/@graphql-tools/utils": { - "version": "12.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz", - "integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.4.tgz", + "integrity": "sha512-hJmeBRrK1OUABqRxLXB1YwrBB+3zTXeRJYb5PaF7CweV80zNGnN640Jz+0BrCaUE8HBk6KtoVXM/tUScUsKdeg==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -948,13 +963,13 @@ } }, "node_modules/@graphql-tools/schema": { - "version": "10.1.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-10.1.3.tgz", - "integrity": "sha512-N1ZpzguxzqTy5fpurqWQ5BXyjirlrtvVLeSafsu+SCDNjDeRnVxf9n5PVbdgzwFPAmP/7NK9sq9UB/kyR8oFiw==", + "version": "10.1.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-10.1.4.tgz", + "integrity": "sha512-talZuSrjeklX7RVYLgF7fxHgywZXSYWzFZf3NG5CNFgkeK3xTocYMvlC3FLAApMWUW59qkyuHN1/HIgaIGfjRA==", "license": "MIT", "dependencies": { - "@graphql-tools/merge": "^9.2.6", - "@graphql-tools/utils": "^12.0.3", + "@graphql-tools/merge": "^9.2.7", + "@graphql-tools/utils": "^12.0.4", "tslib": "^2.4.0" }, "engines": { @@ -965,9 +980,9 @@ } }, "node_modules/@graphql-tools/schema/node_modules/@graphql-tools/utils": { - "version": "12.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz", - "integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.4.tgz", + "integrity": "sha512-hJmeBRrK1OUABqRxLXB1YwrBB+3zTXeRJYb5PaF7CweV80zNGnN640Jz+0BrCaUE8HBk6KtoVXM/tUScUsKdeg==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -995,17 +1010,17 @@ } }, "node_modules/@graphql-tools/url-loader": { - "version": "9.1.12", - "resolved": "https://registry.npmjs.org/@graphql-tools/url-loader/-/url-loader-9.1.12.tgz", - "integrity": "sha512-99m+itTf1WJRHBKX4exIXqQnrioSTvK9PhpkMaXfQa9KzQCqKVMUEujilpGE0Y9+8GweiUOrwxSpzoMycb7lyw==", + "version": "9.1.13", + "resolved": "https://registry.npmjs.org/@graphql-tools/url-loader/-/url-loader-9.1.13.tgz", + "integrity": "sha512-Uo2+I16vrpvbRuh9q0wGoO6Aox7JSokk/ODHMgja8/vwzZ6hBGCgLtwDKV4xsd7PhdYPwm+sQICT6j1JseaK/g==", "license": "MIT", "dependencies": { "@graphql-tools/executor-graphql-ws": "^3.2.0", "@graphql-tools/executor-http": "^3.4.0", - "@graphql-tools/executor-legacy-ws": "^1.1.37", - "@graphql-tools/utils": "^12.0.3", + "@graphql-tools/executor-legacy-ws": "^1.1.38", + "@graphql-tools/utils": "^12.0.4", "@graphql-tools/wrap": "^11.1.1", - "@types/ws": "^8.0.0", + "@types/ws": "^8.18.2", "@whatwg-node/fetch": "^0.12.0", "@whatwg-node/promise-helpers": "^2.0.0", "isomorphic-ws": "^5.0.0", @@ -1021,9 +1036,9 @@ } }, "node_modules/@graphql-tools/url-loader/node_modules/@graphql-tools/utils": { - "version": "12.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz", - "integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.4.tgz", + "integrity": "sha512-hJmeBRrK1OUABqRxLXB1YwrBB+3zTXeRJYb5PaF7CweV80zNGnN640Jz+0BrCaUE8HBk6KtoVXM/tUScUsKdeg==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -1088,9 +1103,9 @@ } }, "node_modules/@graphql-tools/wrap/node_modules/@graphql-tools/utils": { - "version": "12.0.3", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.3.tgz", - "integrity": "sha512-M+04bHvI1SKoug7W2EkwfKjig2mdtgIIlFY8p2jLHmxPNVs5bC/3R+58JrD+7ZXWgPILWTwuqJ9AqTjPlahroA==", + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-12.0.4.tgz", + "integrity": "sha512-hJmeBRrK1OUABqRxLXB1YwrBB+3zTXeRJYb5PaF7CweV80zNGnN640Jz+0BrCaUE8HBk6KtoVXM/tUScUsKdeg==", "license": "MIT", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", @@ -1168,9 +1183,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "26.6.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.4.tgz", - "integrity": "sha512-ldVPDCzj7fsaGZrLB0NuHuTvJcsNasysBAqMolr/cgxrLd1xbqxIr3XJiPnHHJUCxj5sNF1vnRj9aWnrVh5Jcg==", + "version": "26.6.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.5.tgz", + "integrity": "sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg==", "license": "MIT", "dependencies": { "undici-types": "~8.9.0" @@ -1517,9 +1532,9 @@ } }, "node_modules/graphql-ws": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/graphql-ws/-/graphql-ws-6.3.0.tgz", - "integrity": "sha512-qBAXPtFjWHF3QypDyNcBp8Rycd+rmofxUSJsu3bGI9QMMq7pImKBSLSg9hZ2ojIMbJ54T/LPjKBIeOUoJbNBnQ==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/graphql-ws/-/graphql-ws-6.4.0.tgz", + "integrity": "sha512-hy5+0vmuGBP+rZyp+MsutGFHARSEiQkQ/Qc8Q+anGjTQDs9BgeS+jLKpGfA8vQLePgd17MT7yVJ1qOKFqIwrWA==", "license": "MIT", "engines": { "node": ">=20" diff --git a/graphql/package.json b/graphql/package.json index 9680105c..75a9a806 100644 --- a/graphql/package.json +++ b/graphql/package.json @@ -2,8 +2,8 @@ "name": "meemoo-graphql-documentation", "private": true, "dependencies": { - "@graphql-markdown/cli": "1.1.0", - "@graphql-markdown/formatters": "1.1.1", + "@graphql-markdown/cli": "1.2.0", + "@graphql-markdown/formatters": "1.2.0", "graphql": "17.0.2" } }