From 681664d97eed18671cf459c2e0c8581e79c03170 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sat, 10 Oct 2026 15:32:04 +0200 Subject: [PATCH 1/3] Modernize build and repository infrastructure - GitHub Actions: build (HTML + PDF in Docker, diagram freshness check, artifacts) and lint (markdownlint, heylogs, textlint, Vale) workflows - Dependabot for Maven, GitHub Actions, npm and Docker - Commit rendered UML diagrams to src/doc/uml so they show on GitHub (#12) - Docker image based on pandoc/latex with Java 21, Graphviz and rsvg-convert; PDF rendered with LuaLaTeX - Self-contained HTML output (CSS and SVGs embedded) - Maven wrapper, updated Maven plugins and PlantUML - CHANGELOG.md in Keep a Changelog format replaces doc/changelog.md - markdownlint, textlint, Vale and editorconfig configuration; Markdown files auto-fixed by markdownlint - Remove Eclipse metadata, launch configurations and Jenkinsfile Fixes #12 Co-Authored-By: Claude Fable 5.1 --- .classpath | 27 - .editorconfig | 16 + .../org.eclipse.jdt.core.javabuilder.launch | 7 - .../org.eclipse.m2e.core.maven2Builder.launch | 7 - .gitattributes | 3 + .github/dependabot.yml | 33 + .github/workflows/build.yml | 83 + .github/workflows/lint.yml | 84 + .gitignore | 18 +- .markdownlint-cli2.yaml | 5 + .markdownlint.yml | 15 + .mvn/wrapper/maven-wrapper.properties | 3 + .project | 38 - .settings/org.eclipse.jdt.core.prefs | 9 - .settings/org.eclipse.m2e.core.prefs | 4 - .textlintrc.json | 5 + .vale.ini | 11 + CHANGELOG.md | 38 + Jenkinsfile | 44 - README.md | 129 +- doc/changelog.md | 3 - doc/changes_1.0.0.md | 5 - docker/Dockerfile | 34 +- launch/arch-template - clean.launch | 20 - launch/arch-template - compile.launch | 20 - launch/arch-template - license update.launch | 20 - launch/arch-template - package.launch | 20 - launch/maven license-list.launch | 20 - mvnw | 295 +++ mvnw.cmd | 189 ++ package-lock.json | 2078 +++++++++++++++++ package.json | 12 + pom.xml | 80 +- src/assembly/htmldoc.xml | 22 +- src/doc/architecture.md | 2 +- src/doc/bibliography.md | 2 +- src/doc/building_block_view.md | 5 +- .../building_block_view/MachineApplication.md | 6 +- src/doc/concepts.md | 3 + src/doc/deployment_view.md | 5 +- src/doc/design_decisions.md | 9 +- src/doc/glossary.md | 2 +- src/doc/introduction.md | 8 +- src/doc/quality_scenarios.md | 3 +- src/doc/risks.md | 5 +- src/doc/runtime_view.md | 4 +- src/doc/runtime_view/ordering_dishes.md | 7 +- .../runtime_view/paying_with_credit_card.md | 2 +- src/doc/runtime_view/preparing_dishes.md | 2 +- src/doc/solution_strategy.md | 2 +- src/doc/uml/class/cl_dishes.svg | 1 + src/doc/uml/class/cl_quality_tree.svg | 1 + .../component/comp_circular_dependencies.svg | 1 + src/doc/uml/component/comp_context.svg | 1 + .../component/comp_machine_application.svg | 1 + src/doc/uml/component/comp_overview.svg | 1 + ...comp_units_components_and_compositions.svg | 1 + src/doc/uml/deployment/depl_autoyummybox.svg | 1 + src/doc/uml/deployment/depl_overview.svg | 1 + .../uml/sequence/seq_container_inventory.svg | 1 + src/doc/uml/sequence/seq_ordering_dishes.svg | 1 + .../seq_ordering_dishes_detailed_design.svg | 1 + src/main/lua/pdf_image_path_converter.lua | 8 - 63 files changed, 3090 insertions(+), 394 deletions(-) delete mode 100644 .classpath create mode 100644 .editorconfig delete mode 100644 .externalToolBuilders/org.eclipse.jdt.core.javabuilder.launch delete mode 100644 .externalToolBuilders/org.eclipse.m2e.core.maven2Builder.launch create mode 100644 .gitattributes create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/lint.yml create mode 100644 .markdownlint-cli2.yaml create mode 100644 .markdownlint.yml create mode 100644 .mvn/wrapper/maven-wrapper.properties delete mode 100644 .project delete mode 100644 .settings/org.eclipse.jdt.core.prefs delete mode 100644 .settings/org.eclipse.m2e.core.prefs create mode 100644 .textlintrc.json create mode 100644 .vale.ini create mode 100644 CHANGELOG.md delete mode 100644 Jenkinsfile delete mode 100644 doc/changelog.md delete mode 100644 doc/changes_1.0.0.md delete mode 100644 launch/arch-template - clean.launch delete mode 100644 launch/arch-template - compile.launch delete mode 100644 launch/arch-template - license update.launch delete mode 100644 launch/arch-template - package.launch delete mode 100644 launch/maven license-list.launch create mode 100644 mvnw create mode 100644 mvnw.cmd create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 src/doc/uml/class/cl_dishes.svg create mode 100644 src/doc/uml/class/cl_quality_tree.svg create mode 100644 src/doc/uml/component/comp_circular_dependencies.svg create mode 100644 src/doc/uml/component/comp_context.svg create mode 100644 src/doc/uml/component/comp_machine_application.svg create mode 100644 src/doc/uml/component/comp_overview.svg create mode 100644 src/doc/uml/component/comp_units_components_and_compositions.svg create mode 100644 src/doc/uml/deployment/depl_autoyummybox.svg create mode 100644 src/doc/uml/deployment/depl_overview.svg create mode 100644 src/doc/uml/sequence/seq_container_inventory.svg create mode 100644 src/doc/uml/sequence/seq_ordering_dishes.svg create mode 100644 src/doc/uml/sequence/seq_ordering_dishes_detailed_design.svg delete mode 100644 src/main/lua/pdf_image_path_converter.lua diff --git a/.classpath b/.classpath deleted file mode 100644 index 2d6b392..0000000 --- a/.classpath +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..da1e34e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +# Two trailing spaces are a Markdown line break +trim_trailing_whitespace = false + +[*.{cmd,bat}] +end_of_line = crlf diff --git a/.externalToolBuilders/org.eclipse.jdt.core.javabuilder.launch b/.externalToolBuilders/org.eclipse.jdt.core.javabuilder.launch deleted file mode 100644 index c1caeea..0000000 --- a/.externalToolBuilders/org.eclipse.jdt.core.javabuilder.launch +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/.externalToolBuilders/org.eclipse.m2e.core.maven2Builder.launch b/.externalToolBuilders/org.eclipse.m2e.core.maven2Builder.launch deleted file mode 100644 index f075191..0000000 --- a/.externalToolBuilders/org.eclipse.m2e.core.maven2Builder.launch +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..11b5b04 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +* text=auto +*.cmd text eol=crlf +*.svg text eol=lf diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..f4a1051 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,33 @@ +version: 2 +updates: + - package-ecosystem: maven + directory: / + schedule: + interval: weekly + groups: + maven: + patterns: + - "*" + + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + groups: + github-actions: + patterns: + - "*" + + - package-ecosystem: npm + directory: / + schedule: + interval: weekly + groups: + npm: + patterns: + - "*" + + - package-ecosystem: docker + directory: /docker + schedule: + interval: weekly diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..7bbe108 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,83 @@ +name: Build + +on: + push: + branches: + - main + pull_request: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + build: + name: Render HTML and PDF + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v7 + with: + show-progress: false + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v4 + + - name: Build the build-environment image + uses: docker/build-push-action@v7 + with: + context: docker + load: true + tags: oft-arch-builder:latest + cache-from: type=gha + cache-to: type=gha,mode=max + + - name: Cache Maven repository and wrapper distribution + uses: actions/cache@v6 + with: + path: ~/.m2 + key: maven-${{ hashFiles('pom.xml', '.mvn/wrapper/maven-wrapper.properties') }} + restore-keys: | + maven- + + - name: Render HTML and package archives + run: > + docker run --rm + -v "$PWD:/workspace" + -v "$HOME/.m2:/root/.m2" + oft-arch-builder + ./mvnw -B -ntp clean package + + - name: Render PDF + run: > + docker run --rm + -v "$PWD:/workspace" + -v "$HOME/.m2:/root/.m2" + oft-arch-builder + ./mvnw -B -ntp compile -P render-pdf + + - name: Check that the committed diagrams are up to date + # The build renders the PlantUML sources to src/doc/uml. + # If anything changed, the SVGs in git are stale: re-run "./mvnw generate-resources" and commit the result. + run: | + if [ -n "$(git status --porcelain -- src/doc/uml)" ]; then + echo "::error::The rendered diagrams in src/doc/uml are out of date. Run './mvnw generate-resources' and commit the changes." + git status --porcelain -- src/doc/uml + git diff --stat -- src/doc/uml + exit 1 + fi + + - name: Upload rendered documents + uses: actions/upload-artifact@v7 + with: + name: documents + path: | + target/*.html + target/*.pdf + target/*.zip + target/*.tar.gz + if-no-files-found: error diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..8515421 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,84 @@ +name: Lint + +on: + push: + branches: + - main + pull_request: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + markdownlint: + name: markdownlint + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v7 + with: + show-progress: false + - name: Run markdownlint + uses: DavidAnson/markdownlint-cli2-action@v24 + with: + globs: | + **/*.md + #node_modules + + changelog: + name: CHANGELOG.md (heylogs) + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v7 + with: + show-progress: false + - name: Check CHANGELOG.md + uses: jbangdev/jbang-action@v0.142.0 + with: + script: com.github.nbbrd.heylogs:heylogs-cli:0.19.1:bin + scriptargs: check --format github-actions CHANGELOG.md + + textlint: + name: textlint + runs-on: ubuntu-latest + # Spelling hints only, do not block the build + continue-on-error: true + steps: + - name: Checkout + uses: actions/checkout@v7 + with: + show-progress: false + - name: Set up Node.js + uses: actions/setup-node@v7 + with: + node-version: 24 + cache: npm + - name: Install dependencies + run: npm ci + - name: Run textlint + run: npm run textlint + + vale: + name: Vale + runs-on: ubuntu-latest + permissions: + contents: read + checks: write + pull-requests: write + steps: + - name: Checkout + uses: actions/checkout@v7 + with: + show-progress: false + - name: Run Vale + uses: vale-cli/vale-action@v3 + # Style hints only, do not block the build + continue-on-error: true + with: + fail_on_error: false diff --git a/.gitignore b/.gitignore index c341579..00a02df 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,18 @@ +# Maven build output /target/ -**/*.md.html \ No newline at end of file + +# Local Markdown previews +**/*.md.html + +# Node.js (textlint) +/node_modules/ + +# Vale downloads its style packages here (see .vale.ini) +/.github/styles/ + +# IDEs +/.idea/ +/.vscode/ +/.project +/.classpath +/.settings/ diff --git a/.markdownlint-cli2.yaml b/.markdownlint-cli2.yaml new file mode 100644 index 0000000..0a5e363 --- /dev/null +++ b/.markdownlint-cli2.yaml @@ -0,0 +1,5 @@ +# Options for markdownlint-cli2, the rule configuration is in .markdownlint.yml +ignores: + - "node_modules/**" + # Vale style packages downloaded by "vale sync" + - ".github/styles/**" diff --git a/.markdownlint.yml b/.markdownlint.yml new file mode 100644 index 0000000..5b55c9f --- /dev/null +++ b/.markdownlint.yml @@ -0,0 +1,15 @@ +# Configuration for markdownlint (https://github.com/DavidAnson/markdownlint) +default: true + +# Long lines are fine: the specification is written one sentence per line +MD013: false + +# Consecutive "> OFT:" hints are intentionally separate blockquotes +MD028: false + +# Pandoc needs a little inline HTML (e.g.,
wrappers for figures) +MD033: + allowed_elements: ['a', 'div', 'figure', 'figcaption', 'img', 'kbd', 'p', 'span'] + +# Specification files start with a license header comment, and sub-chapters start with h2 +MD041: false diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties new file mode 100644 index 0000000..216df05 --- /dev/null +++ b/.mvn/wrapper/maven-wrapper.properties @@ -0,0 +1,3 @@ +wrapperVersion=3.3.4 +distributionType=only-script +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip diff --git a/.project b/.project deleted file mode 100644 index 26de7d7..0000000 --- a/.project +++ /dev/null @@ -1,38 +0,0 @@ - - - openfasttrace-architecture-template - - - - - - org.eclipse.ui.externaltools.ExternalToolBuilder - full,incremental, - - - LaunchConfigHandle - <project>/.externalToolBuilders/org.eclipse.jdt.core.javabuilder.launch - - - - - org.eclipse.ui.externaltools.ExternalToolBuilder - full,incremental, - - - LaunchConfigHandle - <project>/.externalToolBuilders/org.eclipse.m2e.core.maven2Builder.launch - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.m2e.core.maven2Nature - - diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index d43d712..0000000 --- a/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,9 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.release=disabled -org.eclipse.jdt.core.compiler.source=1.5 diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs deleted file mode 100644 index f897a7f..0000000 --- a/.settings/org.eclipse.m2e.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -activeProfiles= -eclipse.preferences.version=1 -resolveWorkspaceProjects=true -version=1 diff --git a/.textlintrc.json b/.textlintrc.json new file mode 100644 index 0000000..802decf --- /dev/null +++ b/.textlintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "common-misspellings": true + } +} diff --git a/.vale.ini b/.vale.ini new file mode 100644 index 0000000..82e3eb3 --- /dev/null +++ b/.vale.ini @@ -0,0 +1,11 @@ +StylesPath = .github/styles +MinAlertLevel = suggestion + +Packages = write-good + +[*.md] +BasedOnStyles = write-good +# E-Prime (flagging every "is"/"are"/"be") is too strict for technical docs. +write-good.E-Prime = NO +# "TooWordy" flags "requirement", which a specification cannot avoid. +write-good.TooWordy = NO diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..057d14f --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,38 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Added + +- Rendered UML diagrams are now committed to `src/doc/uml`, so that they also show up when browsing the Markdown sources on GitHub. [#12](https://github.com/itsallcode/openfasttrace-architecture-template/issues/12) +- GitHub Actions workflows build the HTML and PDF documents, verify that the committed diagrams are up to date, and lint the Markdown files (markdownlint, textlint, Vale) and this changelog (heylogs). +- Dependabot keeps the Maven plugins, GitHub Actions, npm packages, and the Docker base image up to date. +- Maven wrapper (`mvnw`), so that no Maven installation is required. +- `.editorconfig` for consistent formatting. + +### Changed + +- The rendered HTML document is now self-contained: CSS and diagrams are embedded. +- The PDF is rendered with LuaLaTeX instead of pdfLaTeX. +- The build environment Docker image is based on the official Pandoc image with LaTeX (`pandoc/latex`), which ships Pandoc 3 and LuaLaTeX. +- Updated Maven plugins and the PlantUML dependency. +- The changelog is now kept in `CHANGELOG.md` in the [Keep a Changelog](https://keepachangelog.com/) format. + +### Removed + +- Eclipse project files and launch configurations. +- Jenkins pipeline; the build runs on GitHub Actions instead. + +## [1.0.0] - 2024-01-14 + +### Fixed + +- Updated the PlantUML dependency to fix CVE-2023-3432. [#8](https://github.com/itsallcode/openfasttrace-architecture-template/issues/8) + +[Unreleased]: https://github.com/itsallcode/openfasttrace-architecture-template/compare/1.0.0...HEAD +[1.0.0]: https://github.com/itsallcode/openfasttrace-architecture-template/releases/tag/1.0.0 diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index e508796..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,44 +0,0 @@ -pipeline { - agent { - label "docker" - } - - environment{ - def DOCKER_IMAGE = "jenkins-oft-arch-builder" - def DOCKER_REGISTRY = "" - } - - stages{ - stage("checkout") { - steps{ - checkout scm - } - } - - stage("build docker") { - steps{ - sh "docker build -t ${DOCKER_IMAGE} -f docker/Dockerfile ." - } - } - - stage("render html") { - steps { - sh "docker run --rm -v $WORKSPACE:/home/jenkins -v $WORKSPACE/.m2/:/root/.m2/repository ${DOCKER_IMAGE} mvn -B -U clean compile" - archiveArtifacts artifacts: '**/target/*.html,**/target/**/*', fingerprint: true - } - } - - stage("render pdf") { - steps { - sh "docker run --rm -v $WORKSPACE:/home/jenkins -v $WORKSPACE/.m2/:/root/.m2/repository ${DOCKER_IMAGE} mvn -B -U compile -P render-pdf" - archiveArtifacts artifacts: '**/target/*.pdf', fingerprint: true - } - } - } - - options { - buildDiscarder(logRotator(numToKeepStr:'10')) - timeout(time: 60, unit: 'MINUTES') - disableConcurrentBuilds() - } -} diff --git a/README.md b/README.md index 6167ede..ea9f2fa 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # OpenFastTrace Architecture Template +[![Build](https://github.com/itsallcode/openfasttrace-architecture-template/actions/workflows/build.yml/badge.svg)](https://github.com/itsallcode/openfasttrace-architecture-template/actions/workflows/build.yml) +[![Lint](https://github.com/itsallcode/openfasttrace-architecture-template/actions/workflows/lint.yml/badge.svg)](https://github.com/itsallcode/openfasttrace-architecture-template/actions/workflows/lint.yml) + Template for system and software architecture done with OpenFastTrace. ## Acknowledgments @@ -12,43 +15,56 @@ This build automatically includes license headers in the Markdown files for that ## Change Log -* [Change log](doc/changelog.md) +* [Change log](CHANGELOG.md) ## Installation -### On Debian / Ubuntu Linux +The build needs a Java Runtime (17 or later), [Pandoc](https://pandoc.org) and [Graphviz](https://graphviz.org) (used by [PlantUML](https://plantuml.com) for rendering UML diagrams). +Maven is downloaded automatically by the Maven wrapper (`mvnw`). -If you only want to render the document to you need to install [Pandoc](https://pandoc.org). UML diagrams are rendered with [PlantUML](https://plantuml.com). +Since Pandoc renders PDFs with the help of LuaLaTeX you also need to install an appropriate TeX distribution. On Linux the [TeX Live](https://tug.org/texlive/) packages are typically part of the standard repositories. Since PlantUML generates SVGs as vector format, we also need a converter from SVG to PDF. + +### On Debian / Ubuntu Linux ```bash -apt install plantuml pandoc +apt install default-jre-headless graphviz pandoc texlive-luatex texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended lmodern librsvg2-bin ``` -Since Pandoc renders PDFs with the Help of `pdflatex` you also need to install a appropriate TeX distribution. On Linux the [TeX Live](https://tug.org/texlive/) packages are typically part of the standard repositories. Since PlantUML generates SVGs as vector format, we also need a converter from SVN to PDF. +### On Fedora Linux ```bash -apt install plantuml pandoc texlive-latex-base texlive-fonts-recommended librsvg2-bin +yum install java-latest-openjdk-headless graphviz pandoc texlive-scheme-full librsvg2-tools ``` -### On Fedora Linux +### Using Docker + +If you don't want to install the tools, you can use the Docker image defined in [`docker/Dockerfile`](docker/Dockerfile). It is based on the [official Pandoc image with LaTeX](https://hub.docker.com/r/pandoc/latex), contains everything needed to run the build and is also used by the [Continuous Integration](#continuous-integration). ```bash -yum install plantuml pandoc texlive-schema-full librsvg2-tools +docker build -t oft-arch-builder docker +docker run --rm -v "$PWD:/workspace" -v "$HOME/.m2:/root/.m2" oft-arch-builder ./mvnw -B clean package +docker run --rm -v "$PWD:/workspace" -v "$HOME/.m2:/root/.m2" oft-arch-builder ./mvnw -B compile -P render-pdf ``` ## Project Layout The directory structure below shows the most important parts of the project layout and what they mean. -``` +```text project root - |-- launch Eclipse launch configurations + |-- .github + | |-- workflows GitHub Actions workflows (build and lint) + | '-- dependabot.yml Automatic dependency updates + | + |-- docker + | '-- Dockerfile Build environment with all tools | |-- src | |-- assembly Configuration for creating archives (TAR, ZIP) | | | |-- doc Markdown sources of the specification | | |-- css CSS for the HTML output + | | |-- uml Rendered UML diagrams (generated, but committed) | | ... | | | |-- license License and license headers @@ -57,7 +73,7 @@ project root | | '-- lua Lua filters for Pandoc | | | '-- uml PlantUML sources for the UML model - | |-- actors + | |-- actors | |-- classes | |-- diagrams Sources for the UML diagrams | | |-- activity @@ -69,23 +85,23 @@ project root | |-- .html Generated HTML output of the specification | '-- .pdf Generated PDF ... + |-- CHANGELOG.md Change log in "Keep a Changelog" format '-- pom.xml Maven project configuration ``` -**⚠ Be careful not to accidentally edit files in the target directory. It happens to us now and then and is each time a source of annoyance since the changes are gone with the next build run.** - +**⚠ Be careful not to accidentally edit files in the target directory. It happens to us now and then and is each time a source of annoyance since the changes are gone with the next build run.** ## Authoring For authoring any text editor will work. -We recommend using [Eclipse](https://eclipse.org), the built-in WikiText editor for [Markdown](https://daringfireball.net/projects/markdown/) and the [Eclipse PlantUML plug-in](http://plantuml.com/eclipse). +We recommend an editor with Markdown and PlantUML support, for example [Visual Studio Code](https://code.visualstudio.com/) with the [PlantUML extension](https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml), [IntelliJ IDEA](https://www.jetbrains.com/idea/) with the [PlantUML Integration plugin](https://plugins.jetbrains.com/plugin/7017-plantuml-integration) or [Eclipse](https://eclipse.org) with the [Eclipse PlantUML plug-in](https://plantuml.com/eclipse). -Read the [OpenFastTrace User Guide](https://github.com/itsallcode/openfasttrace/blob/master/doc/user_guide.md) to learn how to create specifications in the OFT Markdown format. +Read the [OpenFastTrace User Guide](https://github.com/itsallcode/openfasttrace/blob/main/doc/user_guide.md) to learn how to create specifications in the OFT Markdown format. ### Stripping the OFT Comments -The template contains a lot of comments in the form of Markdown quotes starting with "OFT:". You can strip them with your editors multi-file search and replace function (e.g. CRTL+H in Eclipse). +The template contains a lot of comments in the form of Markdown quotes starting with "OFT:". You can strip them with your editors multi-file search and replace function. Or you can use command line tools like `sed`. Run the script below on the root directory of the architecture template. @@ -93,6 +109,37 @@ Or you can use command line tools like `sed`. Run the script below on the root d find src/doc -name '*.md' -exec sed -i -e '/^>\s*OFT:.*/d' {} \; ``` +### UML Diagrams + +The UML diagrams are written in [PlantUML](https://plantuml.com) and live in `src/uml`. The sources of the diagrams that are embedded in the document are in `src/uml/diagrams`. + +The build renders them to SVG files in `src/doc/uml`. These rendered files are committed to the repository, so that the diagrams are also shown when you browse the Markdown sources on GitHub. + +**⚠ After changing a diagram source, re-render the diagrams and commit the result:** + +```bash +./mvnw generate-resources +``` + +The CI build fails if the committed diagrams are out of date. + +### Linting + +The Markdown files are checked with [markdownlint](https://github.com/DavidAnson/markdownlint) (configuration in [`.markdownlint.yml`](.markdownlint.yml)). To check locally run: + +```bash +npx markdownlint-cli2 "**/*.md" "#node_modules" +``` + +Spelling and style are checked with [textlint](https://textlint.org/) and [Vale](https://vale.sh/). These checks only report hints and do not fail the build. To run textlint locally: + +```bash +npm ci +npm run textlint +``` + +The change log is checked with [heylogs](https://github.com/nbbrd/heylogs) to adhere to the [Keep a Changelog](https://keepachangelog.com/) format. + ## Building ### Build Dependencies @@ -100,12 +147,12 @@ find src/doc -name '*.md' -exec sed -i -e '/^>\s*OFT:.*/d' {} \; | Dependency | Purpose | License | |-----------------------------------------------------------------------------------------|------------------------|------------------------------------------------------------------------| | [Assembly Maven plugin](https://maven.apache.org/plugins/maven-assembly-plugin/) | Pack into archive | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html) | -| [Copy resources Maven plugin](https://maven.apache.org/plugins/maven-resources-plugin/) | Copy original files | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html) | | +| [Enforcer Maven plugin](https://maven.apache.org/enforcer/maven-enforcer-plugin/) | Check tool versions | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html) | | [Exec Maven plugin](https://www.mojohaus.org/exec-maven-plugin/) | Running Pandoc | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html) | -| [License Maven plugin](http://www.mojohaus.org/license-maven-plugin/) | Adding license headers | [GPL v3.0](http://www.gnu.org/licenses/quick-guide-gplv3.html) | +| [License Maven plugin](https://www.mojohaus.org/license-maven-plugin/) | Adding license headers | [GPL v3.0](https://www.gnu.org/licenses/quick-guide-gplv3.html) | | [Maven](https://maven.apache.org/) | Build | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html) | -| [Pandoc](https://pandoc.org) | Document rendering | [GPL v3.0](http://www.gnu.org/licenses/quick-guide-gplv3.html) | -| [PlantUML Maven plugin](https://github.com/jeluard/maven-plantuml-plugin) | Diagram rendering | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html) | +| [Pandoc](https://pandoc.org) | Document rendering | [GPL v3.0](https://www.gnu.org/licenses/quick-guide-gplv3.html) | +| [PlantUML Maven plugin](https://github.com/davidmoten/plantuml-maven-plugin) | Diagram rendering | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html) | ### Configuration @@ -150,7 +197,7 @@ The Maven build automatically checks whether all markdown files have a license h Run the following Maven command to create or update the file headers: ```bash -mvn license:update-project-license license:update-file-header +./mvnw license:update-project-license license:update-file-header ``` ### Conversion @@ -161,22 +208,32 @@ On the other hand you of course want the links to work properly when converting Check the following [Lua](https://www.lua.org/) file to see how the original links between the source Markdown files are converted to the target format. - src/main/lua/link_converter.lua +```text +src/main/lua/link_converter.lua +``` The filter is applied via the `--lua-filters` command line switch. +The HTML output is self-contained: Pandoc embeds the CSS and the SVG diagrams into the HTML file (`--embed-resources`), so you can share the single file. + ### Running the Build If you only want to render the document and UML source into HTML and images run: ```bash -mvn compile +./mvnw compile ``` To create archives from the rendered documents run: ```bash -mvn package +./mvnw package +``` + +To render a PDF instead of HTML, activate the `render-pdf` profile: + +```bash +./mvnw compile -P render-pdf ``` ## Validation @@ -191,31 +248,21 @@ Install the `linkchecker` package: apt install linkchecker ``` -Check the links in the generated HTML docuements: +Check the links in the generated HTML documents: ```bash linkchecker --check-extern target/*.html ``` -If you remove the command line switch `--check-extern` only local links are checked. +If you remove the command line switch `--check-extern` only local links are checked. ## Continuous Integration -This project contains a CI setup for Jenkins. The build uses [Docker](https://www.docker.com/) to provide a stable environment for its execution. So Jenkins needs to be able to execute Docker commands. -The build process itself is defined within `Jenkinsfile` and consists of these stages: -- checkout : Get the source from repo -- build docker : Create the Docker image to be used during build execution (only once if it doesn't exist locally) -- render html : render a HTML file from sources -- render pdf : render a PDF file from source - -The rendering of HTML, PDF,... is controlled with Maven profiles (`render-html`, `render-pdf`). To enable other/ additional formats new profiles can be defined within `pom.xml`. +This project contains a CI setup for [GitHub Actions](https://docs.github.com/en/actions) in [`.github/workflows`](.github/workflows): -### Build without Docker +* `build.yml`: builds the Docker image from [`docker/Dockerfile`](docker/Dockerfile), renders the HTML and PDF documents inside the container, verifies that the committed UML diagrams are up to date and uploads the rendered documents as build artifacts. +* `lint.yml`: runs markdownlint, textlint, Vale and heylogs (see ["Linting"](#linting)). -If there is no Docker installation available the required tools/ dependencies described above need to be provided on Jenkins or at least one of its agents. -- [docker/Dockerfile](docker/Dockerfile) can be used as template for the setup of the required tools. -- the Jenkins agents should be labeled accordingly (i.e. pandoc) -- `Jenkinsfile` : label needs to match agent-labels (i.e. pandoc) -- `Jenkinsfile` : the "build docker" stage has to be removed -- `Jenkinsfile` : the "run docker"-part has to be removed from sh-executions +The rendering of HTML, PDF, ... is controlled with Maven profiles (`render-html`, `render-pdf`). To enable other / additional formats new profiles can be defined within `pom.xml`. +[Dependabot](https://docs.github.com/en/code-security/dependabot) keeps the Maven plugins, GitHub Actions, npm packages and the Docker base image up to date (see [`.github/dependabot.yml`](.github/dependabot.yml)). diff --git a/doc/changelog.md b/doc/changelog.md deleted file mode 100644 index 4046949..0000000 --- a/doc/changelog.md +++ /dev/null @@ -1,3 +0,0 @@ -## Change Log - -* [1.0.0](changes_1.0.0.md) \ No newline at end of file diff --git a/doc/changes_1.0.0.md b/doc/changes_1.0.0.md deleted file mode 100644 index f9daed0..0000000 --- a/doc/changes_1.0.0.md +++ /dev/null @@ -1,5 +0,0 @@ -# OpenFastTrace Architecture Template - 1.0.0 - -In this release we updated the PlantUML dependency to fix CVE-2023-3432. - -* #8: Updated the PlantUML dependency to fix CVE-2023-3432 \ No newline at end of file diff --git a/docker/Dockerfile b/docker/Dockerfile index 59c39e8..95dcdef 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,18 +1,22 @@ -FROM maven:3.5-jdk-8 +# Build environment for rendering the architecture document. +# Used by the GitHub Actions workflow and usable locally, see README.md. +# +# Based on the official Pandoc image with LaTeX (https://hub.docker.com/r/pandoc/latex). +# It contains Pandoc and a TeX Live installation with LuaLaTeX and the packages needed by Pandoc's LaTeX template. +FROM pandoc/latex:3.11.0.0 -ARG PANDOC_VERSION="2.2.3.2" +# Java runs Maven and PlantUML, Graphviz is needed by PlantUML, rsvg-convert by Pandoc for SVG images in PDFs. +# PlantUML needs the full JRE (not the headless one) because it requires the font manager for text layout. +RUN apk add --no-cache \ + font-dejavu \ + fontconfig \ + graphviz \ + openjdk21-jre \ + rsvg-convert -# Install dependencies texlive, graphviz -RUN apt-get update \ - && apt-get install -y texlive-latex-base graphviz \ - && apt-get autoremove --purge -y \ - && apt-get autoclean -y \ - && apt-get clean +# The Pandoc image uses pandoc as entrypoint. We want to run Maven (./mvnw) instead. +ENTRYPOINT [] +CMD ["sh"] -# pandoc 2.x required -RUN curl -fL https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux.tar.gz | tar xzv --strip-components 1 -C /usr/local/ - -RUN apt-get install -y texlive-fonts-recommended librsvg2-bin - -# Set workdir (also mountpoint for docker volume) -WORKDIR /home/jenkins +# Mount point for the project directory. Run the build with the Maven wrapper: ./mvnw +WORKDIR /workspace diff --git a/launch/arch-template - clean.launch b/launch/arch-template - clean.launch deleted file mode 100644 index e06667b..0000000 --- a/launch/arch-template - clean.launch +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/launch/arch-template - compile.launch b/launch/arch-template - compile.launch deleted file mode 100644 index d8cf717..0000000 --- a/launch/arch-template - compile.launch +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/launch/arch-template - license update.launch b/launch/arch-template - license update.launch deleted file mode 100644 index 68bcf03..0000000 --- a/launch/arch-template - license update.launch +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/launch/arch-template - package.launch b/launch/arch-template - package.launch deleted file mode 100644 index 0d9f4b0..0000000 --- a/launch/arch-template - package.launch +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/launch/maven license-list.launch b/launch/maven license-list.launch deleted file mode 100644 index ff92d0b..0000000 --- a/launch/maven license-list.launch +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/mvnw b/mvnw new file mode 100644 index 0000000..bd8896b --- /dev/null +++ b/mvnw @@ -0,0 +1,295 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Apache Maven Wrapper startup batch script, version 3.3.4 +# +# Optional ENV vars +# ----------------- +# JAVA_HOME - location of a JDK home dir, required when download maven via java source +# MVNW_REPOURL - repo url base for downloading maven distribution +# MVNW_USERNAME/MVNW_PASSWORD - user and password for downloading maven +# MVNW_VERBOSE - true: enable verbose log; debug: trace the mvnw script; others: silence the output +# ---------------------------------------------------------------------------- + +set -euf +[ "${MVNW_VERBOSE-}" != debug ] || set -x + +# OS specific support. +native_path() { printf %s\\n "$1"; } +case "$(uname)" in +CYGWIN* | MINGW*) + [ -z "${JAVA_HOME-}" ] || JAVA_HOME="$(cygpath --unix "$JAVA_HOME")" + native_path() { cygpath --path --windows "$1"; } + ;; +esac + +# set JAVACMD and JAVACCMD +set_java_home() { + # For Cygwin and MinGW, ensure paths are in Unix format before anything is touched + if [ -n "${JAVA_HOME-}" ]; then + if [ -x "$JAVA_HOME/jre/sh/java" ]; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + JAVACCMD="$JAVA_HOME/jre/sh/javac" + else + JAVACMD="$JAVA_HOME/bin/java" + JAVACCMD="$JAVA_HOME/bin/javac" + + if [ ! -x "$JAVACMD" ] || [ ! -x "$JAVACCMD" ]; then + echo "The JAVA_HOME environment variable is not defined correctly, so mvnw cannot run." >&2 + echo "JAVA_HOME is set to \"$JAVA_HOME\", but \"\$JAVA_HOME/bin/java\" or \"\$JAVA_HOME/bin/javac\" does not exist." >&2 + return 1 + fi + fi + else + JAVACMD="$( + 'set' +e + 'unset' -f command 2>/dev/null + 'command' -v java + )" || : + JAVACCMD="$( + 'set' +e + 'unset' -f command 2>/dev/null + 'command' -v javac + )" || : + + if [ ! -x "${JAVACMD-}" ] || [ ! -x "${JAVACCMD-}" ]; then + echo "The java/javac command does not exist in PATH nor is JAVA_HOME set, so mvnw cannot run." >&2 + return 1 + fi + fi +} + +# hash string like Java String::hashCode +hash_string() { + str="${1:-}" h=0 + while [ -n "$str" ]; do + char="${str%"${str#?}"}" + h=$(((h * 31 + $(LC_CTYPE=C printf %d "'$char")) % 4294967296)) + str="${str#?}" + done + printf %x\\n $h +} + +verbose() { :; } +[ "${MVNW_VERBOSE-}" != true ] || verbose() { printf %s\\n "${1-}"; } + +die() { + printf %s\\n "$1" >&2 + exit 1 +} + +trim() { + # MWRAPPER-139: + # Trims trailing and leading whitespace, carriage returns, tabs, and linefeeds. + # Needed for removing poorly interpreted newline sequences when running in more + # exotic environments such as mingw bash on Windows. + printf "%s" "${1}" | tr -d '[:space:]' +} + +scriptDir="$(dirname "$0")" +scriptName="$(basename "$0")" + +# parse distributionUrl and optional distributionSha256Sum, requires .mvn/wrapper/maven-wrapper.properties +while IFS="=" read -r key value; do + case "${key-}" in + distributionUrl) distributionUrl=$(trim "${value-}") ;; + distributionSha256Sum) distributionSha256Sum=$(trim "${value-}") ;; + esac +done <"$scriptDir/.mvn/wrapper/maven-wrapper.properties" +[ -n "${distributionUrl-}" ] || die "cannot read distributionUrl property in $scriptDir/.mvn/wrapper/maven-wrapper.properties" + +case "${distributionUrl##*/}" in +maven-mvnd-*bin.*) + MVN_CMD=mvnd.sh _MVNW_REPO_PATTERN=/maven/mvnd/ + case "${PROCESSOR_ARCHITECTURE-}${PROCESSOR_ARCHITEW6432-}:$(uname -a)" in + *AMD64:CYGWIN* | *AMD64:MINGW*) distributionPlatform=windows-amd64 ;; + :Darwin*x86_64) distributionPlatform=darwin-amd64 ;; + :Darwin*arm64) distributionPlatform=darwin-aarch64 ;; + :Linux*x86_64*) distributionPlatform=linux-amd64 ;; + *) + echo "Cannot detect native platform for mvnd on $(uname)-$(uname -m), use pure java version" >&2 + distributionPlatform=linux-amd64 + ;; + esac + distributionUrl="${distributionUrl%-bin.*}-$distributionPlatform.zip" + ;; +maven-mvnd-*) MVN_CMD=mvnd.sh _MVNW_REPO_PATTERN=/maven/mvnd/ ;; +*) MVN_CMD="mvn${scriptName#mvnw}" _MVNW_REPO_PATTERN=/org/apache/maven/ ;; +esac + +# apply MVNW_REPOURL and calculate MAVEN_HOME +# maven home pattern: ~/.m2/wrapper/dists/{apache-maven-,maven-mvnd--}/ +[ -z "${MVNW_REPOURL-}" ] || distributionUrl="$MVNW_REPOURL$_MVNW_REPO_PATTERN${distributionUrl#*"$_MVNW_REPO_PATTERN"}" +distributionUrlName="${distributionUrl##*/}" +distributionUrlNameMain="${distributionUrlName%.*}" +distributionUrlNameMain="${distributionUrlNameMain%-bin}" +MAVEN_USER_HOME="${MAVEN_USER_HOME:-${HOME}/.m2}" +MAVEN_HOME="${MAVEN_USER_HOME}/wrapper/dists/${distributionUrlNameMain-}/$(hash_string "$distributionUrl")" + +exec_maven() { + unset MVNW_VERBOSE MVNW_USERNAME MVNW_PASSWORD MVNW_REPOURL || : + exec "$MAVEN_HOME/bin/$MVN_CMD" "$@" || die "cannot exec $MAVEN_HOME/bin/$MVN_CMD" +} + +if [ -d "$MAVEN_HOME" ]; then + verbose "found existing MAVEN_HOME at $MAVEN_HOME" + exec_maven "$@" +fi + +case "${distributionUrl-}" in +*?-bin.zip | *?maven-mvnd-?*-?*.zip) ;; +*) die "distributionUrl is not valid, must match *-bin.zip or maven-mvnd-*.zip, but found '${distributionUrl-}'" ;; +esac + +# prepare tmp dir +if TMP_DOWNLOAD_DIR="$(mktemp -d)" && [ -d "$TMP_DOWNLOAD_DIR" ]; then + clean() { rm -rf -- "$TMP_DOWNLOAD_DIR"; } + trap clean HUP INT TERM EXIT +else + die "cannot create temp dir" +fi + +mkdir -p -- "${MAVEN_HOME%/*}" + +# Download and Install Apache Maven +verbose "Couldn't find MAVEN_HOME, downloading and installing it ..." +verbose "Downloading from: $distributionUrl" +verbose "Downloading to: $TMP_DOWNLOAD_DIR/$distributionUrlName" + +# select .zip or .tar.gz +if ! command -v unzip >/dev/null; then + distributionUrl="${distributionUrl%.zip}.tar.gz" + distributionUrlName="${distributionUrl##*/}" +fi + +# verbose opt +__MVNW_QUIET_WGET=--quiet __MVNW_QUIET_CURL=--silent __MVNW_QUIET_UNZIP=-q __MVNW_QUIET_TAR='' +[ "${MVNW_VERBOSE-}" != true ] || __MVNW_QUIET_WGET='' __MVNW_QUIET_CURL='' __MVNW_QUIET_UNZIP='' __MVNW_QUIET_TAR=v + +# normalize http auth +case "${MVNW_PASSWORD:+has-password}" in +'') MVNW_USERNAME='' MVNW_PASSWORD='' ;; +has-password) [ -n "${MVNW_USERNAME-}" ] || MVNW_USERNAME='' MVNW_PASSWORD='' ;; +esac + +if [ -z "${MVNW_USERNAME-}" ] && command -v wget >/dev/null; then + verbose "Found wget ... using wget" + wget ${__MVNW_QUIET_WGET:+"$__MVNW_QUIET_WGET"} "$distributionUrl" -O "$TMP_DOWNLOAD_DIR/$distributionUrlName" || die "wget: Failed to fetch $distributionUrl" +elif [ -z "${MVNW_USERNAME-}" ] && command -v curl >/dev/null; then + verbose "Found curl ... using curl" + curl ${__MVNW_QUIET_CURL:+"$__MVNW_QUIET_CURL"} -f -L -o "$TMP_DOWNLOAD_DIR/$distributionUrlName" "$distributionUrl" || die "curl: Failed to fetch $distributionUrl" +elif set_java_home; then + verbose "Falling back to use Java to download" + javaSource="$TMP_DOWNLOAD_DIR/Downloader.java" + targetZip="$TMP_DOWNLOAD_DIR/$distributionUrlName" + cat >"$javaSource" <<-END + public class Downloader extends java.net.Authenticator + { + protected java.net.PasswordAuthentication getPasswordAuthentication() + { + return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() ); + } + public static void main( String[] args ) throws Exception + { + setDefault( new Downloader() ); + java.nio.file.Files.copy( java.net.URI.create( args[0] ).toURL().openStream(), java.nio.file.Paths.get( args[1] ).toAbsolutePath().normalize() ); + } + } + END + # For Cygwin/MinGW, switch paths to Windows format before running javac and java + verbose " - Compiling Downloader.java ..." + "$(native_path "$JAVACCMD")" "$(native_path "$javaSource")" || die "Failed to compile Downloader.java" + verbose " - Running Downloader.java ..." + "$(native_path "$JAVACMD")" -cp "$(native_path "$TMP_DOWNLOAD_DIR")" Downloader "$distributionUrl" "$(native_path "$targetZip")" +fi + +# If specified, validate the SHA-256 sum of the Maven distribution zip file +if [ -n "${distributionSha256Sum-}" ]; then + distributionSha256Result=false + if [ "$MVN_CMD" = mvnd.sh ]; then + echo "Checksum validation is not supported for maven-mvnd." >&2 + echo "Please disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties." >&2 + exit 1 + elif command -v sha256sum >/dev/null; then + if echo "$distributionSha256Sum $TMP_DOWNLOAD_DIR/$distributionUrlName" | sha256sum -c - >/dev/null 2>&1; then + distributionSha256Result=true + fi + elif command -v shasum >/dev/null; then + if echo "$distributionSha256Sum $TMP_DOWNLOAD_DIR/$distributionUrlName" | shasum -a 256 -c >/dev/null 2>&1; then + distributionSha256Result=true + fi + else + echo "Checksum validation was requested but neither 'sha256sum' or 'shasum' are available." >&2 + echo "Please install either command, or disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties." >&2 + exit 1 + fi + if [ $distributionSha256Result = false ]; then + echo "Error: Failed to validate Maven distribution SHA-256, your Maven distribution might be compromised." >&2 + echo "If you updated your Maven version, you need to update the specified distributionSha256Sum property." >&2 + exit 1 + fi +fi + +# unzip and move +if command -v unzip >/dev/null; then + unzip ${__MVNW_QUIET_UNZIP:+"$__MVNW_QUIET_UNZIP"} "$TMP_DOWNLOAD_DIR/$distributionUrlName" -d "$TMP_DOWNLOAD_DIR" || die "failed to unzip" +else + tar xzf${__MVNW_QUIET_TAR:+"$__MVNW_QUIET_TAR"} "$TMP_DOWNLOAD_DIR/$distributionUrlName" -C "$TMP_DOWNLOAD_DIR" || die "failed to untar" +fi + +# Find the actual extracted directory name (handles snapshots where filename != directory name) +actualDistributionDir="" + +# First try the expected directory name (for regular distributions) +if [ -d "$TMP_DOWNLOAD_DIR/$distributionUrlNameMain" ]; then + if [ -f "$TMP_DOWNLOAD_DIR/$distributionUrlNameMain/bin/$MVN_CMD" ]; then + actualDistributionDir="$distributionUrlNameMain" + fi +fi + +# If not found, search for any directory with the Maven executable (for snapshots) +if [ -z "$actualDistributionDir" ]; then + # enable globbing to iterate over items + set +f + for dir in "$TMP_DOWNLOAD_DIR"/*; do + if [ -d "$dir" ]; then + if [ -f "$dir/bin/$MVN_CMD" ]; then + actualDistributionDir="$(basename "$dir")" + break + fi + fi + done + set -f +fi + +if [ -z "$actualDistributionDir" ]; then + verbose "Contents of $TMP_DOWNLOAD_DIR:" + verbose "$(ls -la "$TMP_DOWNLOAD_DIR")" + die "Could not find Maven distribution directory in extracted archive" +fi + +verbose "Found extracted Maven distribution directory: $actualDistributionDir" +printf %s\\n "$distributionUrl" >"$TMP_DOWNLOAD_DIR/$actualDistributionDir/mvnw.url" +mv -- "$TMP_DOWNLOAD_DIR/$actualDistributionDir" "$MAVEN_HOME" || [ -d "$MAVEN_HOME" ] || die "fail to move MAVEN_HOME" + +clean || : +exec_maven "$@" diff --git a/mvnw.cmd b/mvnw.cmd new file mode 100644 index 0000000..92450f9 --- /dev/null +++ b/mvnw.cmd @@ -0,0 +1,189 @@ +<# : batch portion +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Apache Maven Wrapper startup batch script, version 3.3.4 +@REM +@REM Optional ENV vars +@REM MVNW_REPOURL - repo url base for downloading maven distribution +@REM MVNW_USERNAME/MVNW_PASSWORD - user and password for downloading maven +@REM MVNW_VERBOSE - true: enable verbose log; others: silence the output +@REM ---------------------------------------------------------------------------- + +@IF "%__MVNW_ARG0_NAME__%"=="" (SET __MVNW_ARG0_NAME__=%~nx0) +@SET __MVNW_CMD__= +@SET __MVNW_ERROR__= +@SET __MVNW_PSMODULEP_SAVE=%PSModulePath% +@SET PSModulePath= +@FOR /F "usebackq tokens=1* delims==" %%A IN (`powershell -noprofile "& {$scriptDir='%~dp0'; $script='%__MVNW_ARG0_NAME__%'; icm -ScriptBlock ([Scriptblock]::Create((Get-Content -Raw '%~f0'))) -NoNewScope}"`) DO @( + IF "%%A"=="MVN_CMD" (set __MVNW_CMD__=%%B) ELSE IF "%%B"=="" (echo %%A) ELSE (echo %%A=%%B) +) +@SET PSModulePath=%__MVNW_PSMODULEP_SAVE% +@SET __MVNW_PSMODULEP_SAVE= +@SET __MVNW_ARG0_NAME__= +@SET MVNW_USERNAME= +@SET MVNW_PASSWORD= +@IF NOT "%__MVNW_CMD__%"=="" ("%__MVNW_CMD__%" %*) +@echo Cannot start maven from wrapper >&2 && exit /b 1 +@GOTO :EOF +: end batch / begin powershell #> + +$ErrorActionPreference = "Stop" +if ($env:MVNW_VERBOSE -eq "true") { + $VerbosePreference = "Continue" +} + +# calculate distributionUrl, requires .mvn/wrapper/maven-wrapper.properties +$distributionUrl = (Get-Content -Raw "$scriptDir/.mvn/wrapper/maven-wrapper.properties" | ConvertFrom-StringData).distributionUrl +if (!$distributionUrl) { + Write-Error "cannot read distributionUrl property in $scriptDir/.mvn/wrapper/maven-wrapper.properties" +} + +switch -wildcard -casesensitive ( $($distributionUrl -replace '^.*/','') ) { + "maven-mvnd-*" { + $USE_MVND = $true + $distributionUrl = $distributionUrl -replace '-bin\.[^.]*$',"-windows-amd64.zip" + $MVN_CMD = "mvnd.cmd" + break + } + default { + $USE_MVND = $false + $MVN_CMD = $script -replace '^mvnw','mvn' + break + } +} + +# apply MVNW_REPOURL and calculate MAVEN_HOME +# maven home pattern: ~/.m2/wrapper/dists/{apache-maven-,maven-mvnd--}/ +if ($env:MVNW_REPOURL) { + $MVNW_REPO_PATTERN = if ($USE_MVND -eq $False) { "/org/apache/maven/" } else { "/maven/mvnd/" } + $distributionUrl = "$env:MVNW_REPOURL$MVNW_REPO_PATTERN$($distributionUrl -replace "^.*$MVNW_REPO_PATTERN",'')" +} +$distributionUrlName = $distributionUrl -replace '^.*/','' +$distributionUrlNameMain = $distributionUrlName -replace '\.[^.]*$','' -replace '-bin$','' + +$MAVEN_M2_PATH = "$HOME/.m2" +if ($env:MAVEN_USER_HOME) { + $MAVEN_M2_PATH = "$env:MAVEN_USER_HOME" +} + +if (-not (Test-Path -Path $MAVEN_M2_PATH)) { + New-Item -Path $MAVEN_M2_PATH -ItemType Directory | Out-Null +} + +$MAVEN_WRAPPER_DISTS = $null +if ((Get-Item $MAVEN_M2_PATH).Target[0] -eq $null) { + $MAVEN_WRAPPER_DISTS = "$MAVEN_M2_PATH/wrapper/dists" +} else { + $MAVEN_WRAPPER_DISTS = (Get-Item $MAVEN_M2_PATH).Target[0] + "/wrapper/dists" +} + +$MAVEN_HOME_PARENT = "$MAVEN_WRAPPER_DISTS/$distributionUrlNameMain" +$MAVEN_HOME_NAME = ([System.Security.Cryptography.SHA256]::Create().ComputeHash([byte[]][char[]]$distributionUrl) | ForEach-Object {$_.ToString("x2")}) -join '' +$MAVEN_HOME = "$MAVEN_HOME_PARENT/$MAVEN_HOME_NAME" + +if (Test-Path -Path "$MAVEN_HOME" -PathType Container) { + Write-Verbose "found existing MAVEN_HOME at $MAVEN_HOME" + Write-Output "MVN_CMD=$MAVEN_HOME/bin/$MVN_CMD" + exit $? +} + +if (! $distributionUrlNameMain -or ($distributionUrlName -eq $distributionUrlNameMain)) { + Write-Error "distributionUrl is not valid, must end with *-bin.zip, but found $distributionUrl" +} + +# prepare tmp dir +$TMP_DOWNLOAD_DIR_HOLDER = New-TemporaryFile +$TMP_DOWNLOAD_DIR = New-Item -Itemtype Directory -Path "$TMP_DOWNLOAD_DIR_HOLDER.dir" +$TMP_DOWNLOAD_DIR_HOLDER.Delete() | Out-Null +trap { + if ($TMP_DOWNLOAD_DIR.Exists) { + try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null } + catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" } + } +} + +New-Item -Itemtype Directory -Path "$MAVEN_HOME_PARENT" -Force | Out-Null + +# Download and Install Apache Maven +Write-Verbose "Couldn't find MAVEN_HOME, downloading and installing it ..." +Write-Verbose "Downloading from: $distributionUrl" +Write-Verbose "Downloading to: $TMP_DOWNLOAD_DIR/$distributionUrlName" + +$webclient = New-Object System.Net.WebClient +if ($env:MVNW_USERNAME -and $env:MVNW_PASSWORD) { + $webclient.Credentials = New-Object System.Net.NetworkCredential($env:MVNW_USERNAME, $env:MVNW_PASSWORD) +} +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 +$webclient.DownloadFile($distributionUrl, "$TMP_DOWNLOAD_DIR/$distributionUrlName") | Out-Null + +# If specified, validate the SHA-256 sum of the Maven distribution zip file +$distributionSha256Sum = (Get-Content -Raw "$scriptDir/.mvn/wrapper/maven-wrapper.properties" | ConvertFrom-StringData).distributionSha256Sum +if ($distributionSha256Sum) { + if ($USE_MVND) { + Write-Error "Checksum validation is not supported for maven-mvnd. `nPlease disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties." + } + Import-Module $PSHOME\Modules\Microsoft.PowerShell.Utility -Function Get-FileHash + if ((Get-FileHash "$TMP_DOWNLOAD_DIR/$distributionUrlName" -Algorithm SHA256).Hash.ToLower() -ne $distributionSha256Sum) { + Write-Error "Error: Failed to validate Maven distribution SHA-256, your Maven distribution might be compromised. If you updated your Maven version, you need to update the specified distributionSha256Sum property." + } +} + +# unzip and move +Expand-Archive "$TMP_DOWNLOAD_DIR/$distributionUrlName" -DestinationPath "$TMP_DOWNLOAD_DIR" | Out-Null + +# Find the actual extracted directory name (handles snapshots where filename != directory name) +$actualDistributionDir = "" + +# First try the expected directory name (for regular distributions) +$expectedPath = Join-Path "$TMP_DOWNLOAD_DIR" "$distributionUrlNameMain" +$expectedMvnPath = Join-Path "$expectedPath" "bin/$MVN_CMD" +if ((Test-Path -Path $expectedPath -PathType Container) -and (Test-Path -Path $expectedMvnPath -PathType Leaf)) { + $actualDistributionDir = $distributionUrlNameMain +} + +# If not found, search for any directory with the Maven executable (for snapshots) +if (!$actualDistributionDir) { + Get-ChildItem -Path "$TMP_DOWNLOAD_DIR" -Directory | ForEach-Object { + $testPath = Join-Path $_.FullName "bin/$MVN_CMD" + if (Test-Path -Path $testPath -PathType Leaf) { + $actualDistributionDir = $_.Name + } + } +} + +if (!$actualDistributionDir) { + Write-Error "Could not find Maven distribution directory in extracted archive" +} + +Write-Verbose "Found extracted Maven distribution directory: $actualDistributionDir" +Rename-Item -Path "$TMP_DOWNLOAD_DIR/$actualDistributionDir" -NewName $MAVEN_HOME_NAME | Out-Null +try { + Move-Item -Path "$TMP_DOWNLOAD_DIR/$MAVEN_HOME_NAME" -Destination $MAVEN_HOME_PARENT | Out-Null +} catch { + if (! (Test-Path -Path "$MAVEN_HOME" -PathType Container)) { + Write-Error "fail to move MAVEN_HOME" + } +} finally { + try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null } + catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" } +} + +Write-Output "MVN_CMD=$MAVEN_HOME/bin/$MVN_CMD" diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..c55fdf9 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,2078 @@ +{ + "name": "openfasttrace-architecture-template", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "openfasttrace-architecture-template", + "devDependencies": { + "textlint": "^15.8.0", + "textlint-rule-common-misspellings": "^1.0.1" + } + }, + "node_modules/@azu/format-text": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@azu/format-text/-/format-text-1.0.2.tgz", + "integrity": "sha512-Swi4N7Edy1Eqq82GxgEECXSSLyn6GOb5htRFPzBDdUkECGXtlf12ynO5oJSpWKPwCaUssOu7NfhDcCWpIC6Ywg==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@azu/style-format": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@azu/style-format/-/style-format-1.0.1.tgz", + "integrity": "sha512-AHcTojlNBdD/3/KxIKlg8sxIWHfOtQszLvOpagLTO+bjC3u7SAszu1lf//u7JJC50aUSH+BVWDD/KvaA6Gfn5g==", + "dev": true, + "license": "WTFPL", + "dependencies": { + "@azu/format-text": "^1.0.1" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.29.7", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@cacheable/memory": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cacheable/memory/-/memory-2.2.0.tgz", + "integrity": "sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cacheable/utils": "^2.5.0", + "@keyv/bigmap": "^1.3.1", + "hookified": "^1.15.1", + "keyv": "^5.6.0" + } + }, + "node_modules/@cacheable/utils": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@cacheable/utils/-/utils-2.5.0.tgz", + "integrity": "sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hashery": "^1.5.1", + "keyv": "^5.6.0" + } + }, + "node_modules/@keyv/bigmap": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@keyv/bigmap/-/bigmap-1.3.1.tgz", + "integrity": "sha512-WbzE9sdmQtKy8vrNPa9BRnwZh5UF4s1KTmSK0KUVLo3eff5BlQNNWDnFOouNpKfPKDnms9xynJjsMYjMaT/aFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "hashery": "^1.4.0", + "hookified": "^1.15.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "keyv": "^5.6.0" + } + }, + "node_modules/@keyv/serialize": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.1.1.tgz", + "integrity": "sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@modelcontextprotocol/core": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@modelcontextprotocol/core/-/core-2.3.1.tgz", + "integrity": "sha512-laVmIhPGpWi7rG9q+0UigblRN0Hws/Yjlb6qLFtVqryXVLkc4h+yN8z731POD2LnAGQlFe7/tXhUm7Bi0YB91g==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "zod": "^4.2.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@modelcontextprotocol/server": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@modelcontextprotocol/server/-/server-2.3.1.tgz", + "integrity": "sha512-e59MfWuSssj6DoQ96JCTqdW1AXT5/XtnTl0WWd6MU1Ka434fFUGGosCLJbGNySDhHGvxQWoRWK137FXYFkYNWw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@modelcontextprotocol/core": "2.3.1", + "zod": "^4.2.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@textlint/ast-node-types": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/ast-node-types/-/ast-node-types-15.8.0.tgz", + "integrity": "sha512-5CiH9COYmovWmExQgs7763DzX6Gy9zjkjJ7JxCC95wyTcjwQn/8poNF6fv3qzRlmx8CRRde8DHr9FcgAAiPzgw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@textlint/ast-tester": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/ast-tester/-/ast-tester-15.8.0.tgz", + "integrity": "sha512-EoNPm/Xpv59BYQimlUcEsD8iHWVLMiyA/U66ATQCiZQTrvS93C67q3V630fhCJWeSuSR660BGadHGX1jv+IeTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@textlint/ast-node-types": "15.8.0", + "debug": "^4.4.3" + } + }, + "node_modules/@textlint/ast-traverse": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/ast-traverse/-/ast-traverse-15.8.0.tgz", + "integrity": "sha512-N/FhYDJLXUFOIlsRAuyx78ll2/O2SCU5mZBB1jWQhX71653YcrJvFf6r+EavnKlxNie0mcaTt0hrCnX2q0SdLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@textlint/ast-node-types": "15.8.0" + } + }, + "node_modules/@textlint/config-loader": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/config-loader/-/config-loader-15.8.0.tgz", + "integrity": "sha512-iJjgkZxURc7YAIRwNkhjsD2d0j3zKzlyRAw5EAmX/Rxr1/jBXPm2taaLOX1yMaaeZxVpWZ+7mauU5B96qjfQpQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@textlint/kernel": "15.8.0", + "@textlint/module-interop": "15.8.0", + "@textlint/resolver": "15.8.0", + "@textlint/types": "15.8.0", + "@textlint/utils": "15.8.0", + "debug": "^4.4.3", + "rc-config-loader": "^4.1.4" + } + }, + "node_modules/@textlint/feature-flag": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/feature-flag/-/feature-flag-15.8.0.tgz", + "integrity": "sha512-qvk6DV9lazH9EVHGLglvO9LwJbi22yy2LdZDQNH4EvlGk5+cNxbV1yZzuLdk+7elOuK2Lb9l5geMpZPa/j11XQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@textlint/fixer-formatter": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/fixer-formatter/-/fixer-formatter-15.8.0.tgz", + "integrity": "sha512-/Lwo9E6Kvltb/cYsOCKvBwVRz4GZ8CLgOVNTDRdyYVtXE6EGk5utCPCdzjEm1h3C6bdXcnoArGvgyhlFw7AsUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@textlint/module-interop": "15.8.0", + "@textlint/resolver": "15.8.0", + "@textlint/types": "15.8.0", + "debug": "^4.4.3", + "diff": "^8.0.4", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "engines": { + "node": ">=20.18.0" + } + }, + "node_modules/@textlint/kernel": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/kernel/-/kernel-15.8.0.tgz", + "integrity": "sha512-Wc2Z2Oq95v+IXj+G4j3cKpfQ1t2YRgubxHHj8i93Nu+R2F/GvszRC7pYBHYBH9HMmlJyTBq8jcjBOYG/b52CUQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@textlint/ast-node-types": "15.8.0", + "@textlint/ast-tester": "15.8.0", + "@textlint/ast-traverse": "15.8.0", + "@textlint/feature-flag": "15.8.0", + "@textlint/source-code-fixer": "15.8.0", + "@textlint/types": "15.8.0", + "@textlint/utils": "15.8.0", + "debug": "^4.4.3", + "fast-equals": "^4.0.3", + "structured-source": "^4.0.0" + } + }, + "node_modules/@textlint/linter-formatter": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/linter-formatter/-/linter-formatter-15.8.0.tgz", + "integrity": "sha512-+oU3A235NATv6Lzi4xa4kJ65PuNJlIxesaO4AvDhDWA9FWm7y4XKWaoQCW1esgaQQ6dwnUiFKArQ8TcJ86mC4w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azu/format-text": "^1.0.2", + "@azu/style-format": "^1.0.1", + "@textlint/module-interop": "15.8.0", + "@textlint/resolver": "15.8.0", + "@textlint/types": "15.8.0", + "debug": "^4.4.3", + "js-yaml": "^4.3.0", + "lodash": "^4.18.1", + "pluralize": "^2.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "table": "^6.9.0", + "text-table": "^0.2.0" + }, + "engines": { + "node": ">=20.18.0" + } + }, + "node_modules/@textlint/markdown-to-ast": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/markdown-to-ast/-/markdown-to-ast-15.8.0.tgz", + "integrity": "sha512-gWOcd2+UCqODMLGIIY5WiPE9zmR9L4aut3FIkxH8gSCiZ6EVkBaU2mgm+8KiGOjJqdtT98xkWocCwDtQ1kypOQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@textlint/ast-node-types": "15.8.0", + "debug": "^4.4.3", + "mdast-util-gfm-autolink-literal": "^0.1.3", + "neotraverse": "^0.6.18", + "remark-footnotes": "^3.0.0", + "remark-frontmatter": "^3.0.0", + "remark-gfm": "^1.0.0", + "remark-parse": "^9.0.0", + "structured-source": "^4.0.0", + "unified": "^9.2.2" + } + }, + "node_modules/@textlint/module-interop": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/module-interop/-/module-interop-15.8.0.tgz", + "integrity": "sha512-rt+OR1WYGoLOY8HkA/aBPrqufF6yUUEsKEAh7XohTsT3lp9IyZFT6zOIbjul9P4FAzsmSPkcrYjVx3Bz/IUfkg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@textlint/resolver": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/resolver/-/resolver-15.8.0.tgz", + "integrity": "sha512-E88tzfX3K8Jykk+38aJ9cy8RquD8ABVOPTO2rFEESq0wcg8x6/ypdAS8ZgR7OKiGqlRF0hkO/m5PbQwVfKM3VA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@textlint/source-code-fixer": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/source-code-fixer/-/source-code-fixer-15.8.0.tgz", + "integrity": "sha512-oWEBXLRzvv9bMu7/8NFMDM6GXil6iPXbNdiopQfxmrEVduc7mZ5gPoKr77gwrUO05jLS5ycfxE7kwPUu5sXP8Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@textlint/types": "15.8.0", + "debug": "^4.4.3" + } + }, + "node_modules/@textlint/text-to-ast": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/text-to-ast/-/text-to-ast-15.8.0.tgz", + "integrity": "sha512-Mmhy0tW9fOhekLNMouyy93WEQR9xVrbigKtgCA+jyoqrs5vqSC6x06f/KeZZSvDXQ6hy2gA25m36Swfcg35BPA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@textlint/ast-node-types": "15.8.0" + } + }, + "node_modules/@textlint/textlint-plugin-markdown": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/textlint-plugin-markdown/-/textlint-plugin-markdown-15.8.0.tgz", + "integrity": "sha512-susQtSt0omGIkQmb3vNXx3CQS92OViTHD7Qe79quSMxYv0jgN/bCZUa8ej96qOOqPeuoSDDDpMdEZ4D+B6Lb+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@textlint/markdown-to-ast": "15.8.0", + "@textlint/types": "15.8.0" + } + }, + "node_modules/@textlint/textlint-plugin-text": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/textlint-plugin-text/-/textlint-plugin-text-15.8.0.tgz", + "integrity": "sha512-oz+tip3nSEkzPv5h4WVtXngLorBtJe97Sc1o3EddbcpIvI57jj5cCM7tNMQVGpgpQnGYplfzJt4M1EyFPopfCw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@textlint/text-to-ast": "15.8.0", + "@textlint/types": "15.8.0" + } + }, + "node_modules/@textlint/types": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/types/-/types-15.8.0.tgz", + "integrity": "sha512-Anhc6y5736YIsvqae0U6k0YmB2M/QVHkEeOv2aydAn/WIkdI69dCOiDbe3/+RagS3qstFTSFWJzNRA2lUjv19w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@textlint/ast-node-types": "15.8.0" + } + }, + "node_modules/@textlint/utils": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/@textlint/utils/-/utils-15.8.0.tgz", + "integrity": "sha512-waINJCI7sBVs1A3K05UFKe8QoNAsdJFCXr3PJ1QsgAf0BeEgCtyrLVcZUdbOtKxRkF4QB4NuClB0By1Ty4znpQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/mdast": { + "version": "3.0.15", + "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.15.tgz", + "integrity": "sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^2" + } + }, + "node_modules/@types/normalize-package-data": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", + "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/unist": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", + "dev": true, + "license": "MIT" + }, + "node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/bail": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz", + "integrity": "sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/boundary": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/boundary/-/boundary-2.0.0.tgz", + "integrity": "sha512-rJKn5ooC9u8q13IMCrW0RSp31pxBCHE3y9V/tp3TdWSLf8Em3p6Di4NBpfzbJge9YjjFEsD0RtFEjtvHL5VyEA==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/brace-expansion": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", + "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/cacheable": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.5.0.tgz", + "integrity": "sha512-60cyAOytib/OzBw1JNSoSV/boK1AtHryDIjvVBk7XbN4ugfkM3+Sry7fEjNgPMGgOjuaZPAp8ruZ0Cxafwyq9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cacheable/memory": "^2.2.0", + "@cacheable/utils": "^2.5.0", + "hookified": "^1.15.0", + "keyv": "^5.6.0", + "qified": "^0.10.1" + } + }, + "node_modules/ccount": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.1.0.tgz", + "integrity": "sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz", + "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-legacy": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz", + "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-reference-invalid": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz", + "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/charenc": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", + "integrity": "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/crypt": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", + "integrity": "sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/diff": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/diff/-/diff-8.0.4.tgz", + "integrity": "sha512-DPi0FmjiSU5EvQV0++GFDOJ9ASQUVFh5kD+OzOnYdi7n3Wpm9hWWGfB/O2blfHcMVTL5WkQXSnRiK9makhrcnw==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-equals": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-4.0.3.tgz", + "integrity": "sha512-G3BSX9cfKttjr+2o1O22tYMLq0DPluZnYtq1rXumE1SpL/F/SLIfHx08WYQoWSIpeMYf8sRbJ8++71+v6Pnxfg==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-uri": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz", + "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/fault": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz", + "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==", + "dev": true, + "license": "MIT", + "dependencies": { + "format": "^0.2.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/file-entry-cache": { + "version": "10.1.4", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-10.1.4.tgz", + "integrity": "sha512-5XRUFc0WTtUbjfGzEwXc42tiGxQHBmtbUG1h9L2apu4SulCGN3Hqm//9D6FAolf8MYNL7f/YlJl9vy08pj5JuA==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^6.1.13" + } + }, + "node_modules/find-up-simple": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.1.tgz", + "integrity": "sha512-afd4O7zpqHeRyg4PfDQsXmlDe2PfdHtJt6Akt8jOWaApLOZk5JXs6VMR29lz03pRe9mpykrRCYIYxaJYcfpncQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "6.1.23", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.23.tgz", + "integrity": "sha512-f++BY9pTk+983xK1FLzlLpmM0i0z+jHmx3QESGkURMXujQZz1k5wzwX6hjnQ8goaD0B+sYnDK1yZ6MTyZfUaqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "cacheable": "^2.5.0", + "flatted": "^3.4.2", + "hookified": "^1.15.0" + } + }, + "node_modules/flatted": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz", + "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==", + "dev": true, + "license": "ISC" + }, + "node_modules/format": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", + "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==", + "dev": true, + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/glob": { + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", + "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "minimatch": "^10.2.2", + "minipass": "^7.1.3", + "path-scurry": "^2.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/hashery": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/hashery/-/hashery-1.5.1.tgz", + "integrity": "sha512-iZyKG96/JwPz1N55vj2Ie2vXbhu440zfUfJvSwEqEbeLluk7NnapfGqa7LH0mOsnDxTF85Mx8/dyR6HfqcbmbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "hookified": "^1.15.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/hookified": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/hookified/-/hookified-1.15.1.tgz", + "integrity": "sha512-MvG/clsADq1GPM2KGo2nyfaWVyn9naPiXrqIe4jYjXNZQt238kWyOGrsyc/DmRAQ+Re6yeo6yX/yoNCG5KAEVg==", + "dev": true, + "license": "MIT" + }, + "node_modules/hosted-git-info": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz", + "integrity": "sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/hosted-git-info/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/index-to-position": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-1.2.0.tgz", + "integrity": "sha512-Yg7+ztRkqslMAS2iFaU+Oa4KTSidr63OsFGlOrJoW981kIYO3CGCS3wA95P1mUi/IVSJkn0D479KTJpVpvFNuw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-alphabetical": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz", + "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-alphanumerical": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz", + "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-alphabetical": "^1.0.0", + "is-decimal": "^1.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-decimal": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz", + "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-hexadecimal": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz", + "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", + "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/keyv": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.6.0.tgz", + "integrity": "sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@keyv/serialize": "^1.1.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lodash": { + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.truncate": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", + "integrity": "sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==", + "dev": true, + "license": "MIT" + }, + "node_modules/longest-streak": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-2.0.4.tgz", + "integrity": "sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/lru-cache": { + "version": "11.5.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz", + "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/markdown-table": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-2.0.0.tgz", + "integrity": "sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==", + "dev": true, + "license": "MIT", + "dependencies": { + "repeat-string": "^1.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/md5": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", + "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "charenc": "0.0.2", + "crypt": "0.0.2", + "is-buffer": "~1.1.6" + } + }, + "node_modules/mdast-util-find-and-replace": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-1.1.1.tgz", + "integrity": "sha512-9cKl33Y21lyckGzpSmEQnIDjEfeeWelN5s1kUW1LwdB0Fkuq2u+4GdqcGEygYxJE8GVqCl0741bYXHgamfWAZA==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^4.0.0", + "unist-util-is": "^4.0.0", + "unist-util-visit-parents": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-footnote": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/mdast-util-footnote/-/mdast-util-footnote-0.1.7.tgz", + "integrity": "sha512-QxNdO8qSxqbO2e3m09KwDKfWiLgqyCurdWTQ198NpbZ2hxntdc+VKS4fDJCmNWbAroUdYnSthu+XbZ8ovh8C3w==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-to-markdown": "^0.6.0", + "micromark": "~2.11.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-from-markdown": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz", + "integrity": "sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mdast": "^3.0.0", + "mdast-util-to-string": "^2.0.0", + "micromark": "~2.11.0", + "parse-entities": "^2.0.0", + "unist-util-stringify-position": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-frontmatter": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/mdast-util-frontmatter/-/mdast-util-frontmatter-0.2.0.tgz", + "integrity": "sha512-FHKL4w4S5fdt1KjJCwB0178WJ0evnyyQr5kXTM3wrOVpytD0hrkvd+AOOjU9Td8onOejCkmZ+HQRT3CZ3coHHQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark-extension-frontmatter": "^0.2.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-0.1.2.tgz", + "integrity": "sha512-NNkhDx/qYcuOWB7xHUGWZYVXvjPFFd6afg6/e2g+SV4r9q5XUcCbV4Wfa3DLYIiD+xAEZc6K4MGaE/m0KDcPwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-gfm-autolink-literal": "^0.1.0", + "mdast-util-gfm-strikethrough": "^0.2.0", + "mdast-util-gfm-table": "^0.1.0", + "mdast-util-gfm-task-list-item": "^0.1.0", + "mdast-util-to-markdown": "^0.6.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-autolink-literal": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-0.1.3.tgz", + "integrity": "sha512-GjmLjWrXg1wqMIO9+ZsRik/s7PLwTaeCHVB7vRxUwLntZc8mzmTsLVr6HW1yLokcnhfURsn5zmSVdi3/xWWu1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ccount": "^1.0.0", + "mdast-util-find-and-replace": "^1.1.0", + "micromark": "^2.11.3" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-strikethrough": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-0.2.3.tgz", + "integrity": "sha512-5OQLXpt6qdbttcDG/UxYY7Yjj3e8P7X16LzvpX8pIQPYJ/C2Z1qFGMmcw+1PZMUM3Z8wt8NRfYTvCni93mgsgA==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-to-markdown": "^0.6.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-table": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-0.1.6.tgz", + "integrity": "sha512-j4yDxQ66AJSBwGkbpFEp9uG/LS1tZV3P33fN1gkyRB2LoRL+RR3f76m0HPHaby6F4Z5xr9Fv1URmATlRRUIpRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "markdown-table": "^2.0.0", + "mdast-util-to-markdown": "~0.6.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-task-list-item": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-0.1.6.tgz", + "integrity": "sha512-/d51FFIfPsSmCIRNp7E6pozM9z1GYPIkSy1urQ8s/o4TC22BZ7DqfHFWiqBD23bc7J3vV1Fc9O4QIHBlfuit8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-to-markdown": "~0.6.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-markdown": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-0.6.5.tgz", + "integrity": "sha512-XeV9sDE7ZlOQvs45C9UKMtfTcctcaj/pGwH8YLbMHoMOXNNCn2LsqVQOqrF1+/NU8lKDAqozme9SCXWyo9oAcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.0", + "longest-streak": "^2.0.0", + "mdast-util-to-string": "^2.0.0", + "parse-entities": "^2.0.0", + "repeat-string": "^1.0.0", + "zwitch": "^1.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz", + "integrity": "sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark": { + "version": "2.11.4", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-2.11.4.tgz", + "integrity": "sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "debug": "^4.0.0", + "parse-entities": "^2.0.0" + } + }, + "node_modules/micromark-extension-footnote": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/micromark-extension-footnote/-/micromark-extension-footnote-0.3.2.tgz", + "integrity": "sha512-gr/BeIxbIWQoUm02cIfK7mdMZ/fbroRpLsck4kvFtjbzP4yi+OPVbnukTc/zy0i7spC2xYE/dbX1Sur8BEDJsQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark": "~2.11.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-frontmatter": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/micromark-extension-frontmatter/-/micromark-extension-frontmatter-0.2.2.tgz", + "integrity": "sha512-q6nPLFCMTLtfsctAuS0Xh4vaolxSFUWUWR6PZSrXXiRy+SANGllpcqdXFv2z07l0Xz/6Hl40hK0ffNCJPH2n1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "fault": "^1.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-0.3.3.tgz", + "integrity": "sha512-oVN4zv5/tAIA+l3GbMi7lWeYpJ14oQyJ3uEim20ktYFAcfX1x3LNlFGGlmrZHt7u9YlKExmyJdDGaTt6cMSR/A==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark": "~2.11.0", + "micromark-extension-gfm-autolink-literal": "~0.5.0", + "micromark-extension-gfm-strikethrough": "~0.6.5", + "micromark-extension-gfm-table": "~0.4.0", + "micromark-extension-gfm-tagfilter": "~0.3.0", + "micromark-extension-gfm-task-list-item": "~0.3.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-autolink-literal": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-0.5.7.tgz", + "integrity": "sha512-ePiDGH0/lhcngCe8FtH4ARFoxKTUelMp4L7Gg2pujYD5CSMb9PbblnyL+AAMud/SNMyusbS2XDSiPIRcQoNFAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark": "~2.11.3" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-strikethrough": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-0.6.5.tgz", + "integrity": "sha512-PpOKlgokpQRwUesRwWEp+fHjGGkZEejj83k9gU5iXCbDG+XBA92BqnRKYJdfqfkrRcZRgGuPuXb7DaK/DmxOhw==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark": "~2.11.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-table": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-0.4.3.tgz", + "integrity": "sha512-hVGvESPq0fk6ALWtomcwmgLvH8ZSVpcPjzi0AjPclB9FsVRgMtGZkUcpE0zgjOCFAznKepF4z3hX8z6e3HODdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark": "~2.11.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-tagfilter": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-0.3.0.tgz", + "integrity": "sha512-9GU0xBatryXifL//FJH+tAZ6i240xQuFrSL7mYi8f4oZSbc+NvXjkrHemeYP0+L4ZUT+Ptz3b95zhUZnMtoi/Q==", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-task-list-item": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-0.3.3.tgz", + "integrity": "sha512-0zvM5iSLKrc/NQl84pZSjGo66aTGd57C1idmlWmE87lkMcXrTxg1uXa/nXomxJytoje9trP0NDLvw4bZ/Z/XCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark": "~2.11.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/minimatch": { + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.8" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/minipass": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/misspellings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/misspellings/-/misspellings-1.1.0.tgz", + "integrity": "sha512-4QT2u/8X7PccbiHUcsZeEZrt3jGIVEpfcQ1RU01wDHKHVNtNhaP+0Xmsg7YPxD7OCc8bO802BTEWeGPvAXBwuw==", + "dev": true, + "license": "GPL-3.0" + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/neotraverse": { + "version": "0.6.18", + "resolved": "https://registry.npmjs.org/neotraverse/-/neotraverse-0.6.18.tgz", + "integrity": "sha512-Z4SmBUweYa09+o6pG+eASabEpP6QkQ70yHj351pQoEXIs8uHbaU2DWVmzBANKgflPa47A50PtB2+NgRpQvr7vA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "node_modules/normalize-package-data": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.2.tgz", + "integrity": "sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^7.0.0", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/parse-entities": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz", + "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "character-entities": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "character-reference-invalid": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-hexadecimal": "^1.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/parse-json": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.3.0.tgz", + "integrity": "sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.26.2", + "index-to-position": "^1.1.0", + "type-fest": "^4.39.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/path-scurry": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", + "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-to-glob-pattern": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-to-glob-pattern/-/path-to-glob-pattern-2.0.1.tgz", + "integrity": "sha512-tmciSlVyHnX0LC86+zSr+0LURw9rDPw8ilhXcmTpVUOnI6OsKdCzXQs5fTG10Bjz26IBdnKL3XIaP+QvGsk5YQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/pluralize": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-2.0.0.tgz", + "integrity": "sha512-TqNZzQCD4S42De9IfnnBvILN7HAW7riLqsCyp8lgjXeysyPlX5HhqKAcJHHHb9XskE4/a+7VGC9zzx8Ls0jOAw==", + "dev": true, + "license": "MIT" + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/qified": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/qified/-/qified-0.10.1.tgz", + "integrity": "sha512-+Owyggi9IxT1ePKGafcI87ubSmxol6smwJ+RAHDQlx9+9cPwFWDiKFFCPuWhr9ignlGpZ9vDQLw67N4dcTVFEA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hookified": "^2.1.1" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/qified/node_modules/hookified": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/hookified/-/hookified-2.2.0.tgz", + "integrity": "sha512-p/LgFzRN5FeoD3DLS6bkUapeye6E4SI6yJs6KetENd18S+FBthqYq2amJUWpt5z0EQwwHemidjY5OqJGEKm5uA==", + "dev": true, + "license": "MIT" + }, + "node_modules/rc-config-loader": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/rc-config-loader/-/rc-config-loader-4.1.4.tgz", + "integrity": "sha512-3GiwEzklkbXTDp52UR5nT8iXgYAx1V9ZG/kDZT7p60u2GCv2XTwQq4NzinMoMpNtXhmt3WkhYXcj6HH8HdwCEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "js-yaml": "^4.1.1", + "json5": "^2.2.3", + "require-from-string": "^2.0.2" + } + }, + "node_modules/read-package-up": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/read-package-up/-/read-package-up-11.0.0.tgz", + "integrity": "sha512-MbgfoNPANMdb4oRBNg5eqLbB2t2r+o5Ua1pNt8BqGp4I0FJZhuVSOj3PaBPni4azWuSzEdNn2evevzVmEk1ohQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up-simple": "^1.0.0", + "read-pkg": "^9.0.0", + "type-fest": "^4.6.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-9.0.1.tgz", + "integrity": "sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/normalize-package-data": "^2.4.3", + "normalize-package-data": "^6.0.0", + "parse-json": "^8.0.0", + "type-fest": "^4.6.0", + "unicorn-magic": "^0.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/remark-footnotes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/remark-footnotes/-/remark-footnotes-3.0.0.tgz", + "integrity": "sha512-ZssAvH9FjGYlJ/PBVKdSmfyPc3Cz4rTWgZLI4iE/SX8Nt5l3o3oEjv3wwG5VD7xOjktzdwp5coac+kJV9l4jgg==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-footnote": "^0.1.0", + "micromark-extension-footnote": "^0.3.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-frontmatter": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/remark-frontmatter/-/remark-frontmatter-3.0.0.tgz", + "integrity": "sha512-mSuDd3svCHs+2PyO29h7iijIZx4plX0fheacJcAoYAASfgzgVIcXGYSq9GFyYocFLftQs8IOmmkgtOovs6d4oA==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-frontmatter": "^0.2.0", + "micromark-extension-frontmatter": "^0.2.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-gfm": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-1.0.0.tgz", + "integrity": "sha512-KfexHJCiqvrdBZVbQ6RopMZGwaXz6wFJEfByIuEwGf0arvITHjiKKZ1dpXujjH9KZdm1//XJQwgfnJ3lmXaDPA==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-gfm": "^0.1.0", + "micromark-extension-gfm": "^0.3.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-parse": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-9.0.0.tgz", + "integrity": "sha512-geKatMwSzEXKHuzBNU1z676sGcDcFoChMK38TgdHJNAYfFtsfHDQG7MoJAjs6sgYMqyLduCYWDIWZIxiPeafEw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdast-util-from-markdown": "^0.8.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "dev": true, + "license": "CC-BY-3.0" + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.24", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.24.tgz", + "integrity": "sha512-cLS9TtWkIQFyLkJ3/5aFQAOHOSKTlOs/7WDut/XPSdjom1fJhUdkepeJAKXa9Y05+FabHd0sti+Et559vDtkpQ==", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/structured-source": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/structured-source/-/structured-source-4.0.0.tgz", + "integrity": "sha512-qGzRFNJDjFieQkl/sVOI2dUjHKRyL9dAJi2gCPGJLbJHBIkyOHxjuocpIEfbLioX+qSJpvbYdT49/YCdMznKxA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boundary": "^2.0.0" + } + }, + "node_modules/table": { + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz", + "integrity": "sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "ajv": "^8.0.1", + "lodash.truncate": "^4.4.2", + "slice-ansi": "^4.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true, + "license": "MIT" + }, + "node_modules/textlint": { + "version": "15.8.0", + "resolved": "https://registry.npmjs.org/textlint/-/textlint-15.8.0.tgz", + "integrity": "sha512-3xE8MknztkpEC5MYDO1lXhUDXx+uq45gdvZB16Xh80rX148NgUehSyWCc5ir2SBW0KVpzRRgU3EWAJZqsBfqtA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@modelcontextprotocol/server": "^2.0.0", + "@textlint/ast-node-types": "15.8.0", + "@textlint/ast-traverse": "15.8.0", + "@textlint/config-loader": "15.8.0", + "@textlint/feature-flag": "15.8.0", + "@textlint/fixer-formatter": "15.8.0", + "@textlint/kernel": "15.8.0", + "@textlint/linter-formatter": "15.8.0", + "@textlint/module-interop": "15.8.0", + "@textlint/resolver": "15.8.0", + "@textlint/textlint-plugin-markdown": "15.8.0", + "@textlint/textlint-plugin-text": "15.8.0", + "@textlint/types": "15.8.0", + "@textlint/utils": "15.8.0", + "debug": "^4.4.3", + "file-entry-cache": "^10.1.4", + "glob": "^13.0.6", + "md5": "^2.3.0", + "optionator": "^0.9.4", + "path-to-glob-pattern": "^2.0.1", + "rc-config-loader": "^4.1.4", + "read-package-up": "^11.0.0", + "structured-source": "^4.0.0", + "zod": "^4.2.0" + }, + "bin": { + "textlint": "bin/textlint.js" + }, + "engines": { + "node": ">=20.18.0" + } + }, + "node_modules/textlint-rule-common-misspellings": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/textlint-rule-common-misspellings/-/textlint-rule-common-misspellings-1.0.1.tgz", + "integrity": "sha512-f5KWhQFJzJBUX3RirAS25aSkAaaOHeSHtBeb7d49O+vxnAX3dZBS5DB/e5M1kR4tifW4qae64oqWZygoGYWkjQ==", + "dev": true, + "license": "GPL-3.0", + "dependencies": { + "misspellings": "^1.0.1", + "textlint-rule-helper": "^1.1.5" + } + }, + "node_modules/textlint-rule-helper": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/textlint-rule-helper/-/textlint-rule-helper-1.2.0.tgz", + "integrity": "sha512-yJmVbmyuUPOndKsxOijpx/G7mwybXXf4M10U2up0BeIZSN+6drUl+aSKAoC+RUHY7bG4ogLwRcmWoNG1lSrRIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "unist-util-visit": "^1.1.0" + } + }, + "node_modules/trough": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", + "integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/unicorn-magic": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", + "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/unified": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/unified/-/unified-9.2.2.tgz", + "integrity": "sha512-Sg7j110mtefBD+qunSLO1lqOEKdrwBFBrR6Qd8f4uwkhWNlbkaqwHse6e7QvD3AP/MNoJdEDLaf8OxYyoWgorQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bail": "^1.0.0", + "extend": "^3.0.0", + "is-buffer": "^2.0.0", + "is-plain-obj": "^2.0.0", + "trough": "^1.0.0", + "vfile": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unified/node_modules/is-buffer": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", + "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/unist-util-is": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.1.0.tgz", + "integrity": "sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-stringify-position": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz", + "integrity": "sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-1.4.1.tgz", + "integrity": "sha512-AvGNk7Bb//EmJZyhtRUnNMEpId/AZ5Ph/KUpTI09WHQuDZHKovQ1oEv3mfmKpWKtoMzyMC4GLBm1Zy5k12fjIw==", + "dev": true, + "license": "MIT", + "dependencies": { + "unist-util-visit-parents": "^2.0.0" + } + }, + "node_modules/unist-util-visit-parents": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-3.1.1.tgz", + "integrity": "sha512-1KROIZWo6bcMrZEwiH2UrXDyalAa0uqzWCxCJj6lPOvTve2WkfgCytoDTPaMnodXh1WrXOq0haVYHj99ynJlsg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-is": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit/node_modules/unist-util-is": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-3.0.0.tgz", + "integrity": "sha512-sVZZX3+kspVNmLWBPAB6r+7D9ZgAFPNWm66f7YNb420RlQSbn+n8rG8dGZSkrER7ZIXGQYNm5pqC3v3HopH24A==", + "dev": true, + "license": "MIT" + }, + "node_modules/unist-util-visit/node_modules/unist-util-visit-parents": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-2.1.2.tgz", + "integrity": "sha512-DyN5vD4NE3aSeB+PXYNKxzGsfocxp6asDc2XXE3b0ekO2BaRUpBicbbUygfSvYfUz1IkmjFR1YF7dPklraMZ2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "unist-util-is": "^3.0.0" + } + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/vfile": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-4.2.1.tgz", + "integrity": "sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.0", + "is-buffer": "^2.0.0", + "unist-util-stringify-position": "^2.0.0", + "vfile-message": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-message": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-2.0.4.tgz", + "integrity": "sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-stringify-position": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile/node_modules/is-buffer": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", + "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/zod": { + "version": "4.6.5", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.5.tgz", + "integrity": "sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zwitch": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz", + "integrity": "sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..f93c4e6 --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "name": "openfasttrace-architecture-template", + "private": true, + "description": "Prose linting (textlint) for the Markdown sources, see .github/workflows/lint.yml", + "devDependencies": { + "textlint": "^15.8.0", + "textlint-rule-common-misspellings": "^1.0.1" + }, + "scripts": { + "textlint": "textlint -f github \"**/*.md\"" + } +} diff --git a/pom.xml b/pom.xml index f595a28..c61cf7a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,14 +4,15 @@ 4.0.0 org.itsallcode openfasttrace-architecture-template - 1.0.0 + 1.1.0-SNAPSHOT + pom https://github.com/itsallcode/openfasttrace-architecture-template.git itsallcode.org - https://github.com/itsallcode/openfasttrace + https://github.com/itsallcode/openfasttrace-architecture-template OpenFastTrace Architecture Template - Free software requirement tracing suite + Template for system and software architecture documents done with OpenFastTrace yyyy-MM-dd ${project.version} @@ -35,10 +36,10 @@ ${project.basedir}/src/doc ${spec.source.directory}/css ${project.basedir}/src/uml + + ${spec.source.directory}/uml ${project.build.directory} ${project.build.directory} - ${project.build.directory}/uml - ${project.build.directory}/css ${spec.build.html.directory}/${spec.filename}.html ${spec.build.pdf.directory}/${spec.filename}.pdf ${project.basedir}/src/main/lua @@ -46,23 +47,24 @@ - maven-resources-plugin - 3.3.1 + org.apache.maven.plugins + maven-enforcer-plugin + 3.6.3 - copy-resources - process-resources + enforce-versions - copy-resources + enforce - ${spec.build.css.directory} - - - ${spec.source.css.directory} - true - - + + + 3.8.1 + + + 17 + + @@ -70,11 +72,11 @@ com.github.davidmoten plantuml-maven-plugin - 0.2.9 + 0.2.15 plantuml - process-resources + generate-resources generate @@ -92,20 +94,21 @@ ${spec.build.uml.directory} true + false net.sourceforge.plantuml plantuml - 1.2026.0 + 1.2026.8 - + org.codehaus.mojo license-maven-plugin - 2.3.0 + 2.7.1 false true @@ -152,7 +155,7 @@ org.apache.maven.plugins maven-assembly-plugin - 3.6.0 + 3.8.0 ${project.basedir}/src/assembly/htmldoc.xml @@ -179,7 +182,7 @@ org.codehaus.mojo exec-maven-plugin - 3.1.1 + 3.6.4 pandoc-pdf @@ -189,10 +192,10 @@ ${spec.source.directory} --from=markdown --to=latex + --pdf-engine=lualatex --standalone --toc --number-sections - --lua-filter=${lua.source.directory}/pdf_image_path_converter.lua --strip-comments --output=${spec.file.pdf} --metadata=title:"${spec.title}" @@ -219,7 +222,7 @@ org.codehaus.mojo exec-maven-plugin - 1.6.0 + 3.6.4 pandoc @@ -227,14 +230,17 @@ pandoc ${spec.source.directory} + --from=markdown --to=html5 --standalone + --embed-resources --toc --number-sections --css=${spec.source.css.directory}/spec.css --lua-filter=${lua.source.directory}/link_converter.lua - --strip-comments --output=${spec.file.html} + --strip-comments + --output=${spec.file.html} --metadata=title:"${spec.title}" --metadata=date:"${spec.date}" --metadata=author:"${spec.authors}" @@ -246,26 +252,6 @@ - - org.apache.maven.plugins - maven-enforcer-plugin - 3.4.1 - - - enforce-maven - - enforce - - - - - 3.6.3 - - - - - - diff --git a/src/assembly/htmldoc.xml b/src/assembly/htmldoc.xml index 10aafb6..5a71aa2 100644 --- a/src/assembly/htmldoc.xml +++ b/src/assembly/htmldoc.xml @@ -1,33 +1,29 @@ + + xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.2.0 https://maven.apache.org/xsd/assembly-2.2.0.xsd"> htmldoc tar.gz - tar.bz2 zip + false - src + ${project.basedir} + LICENSE* - target + + ${project.build.directory} *.html - - target/uml - uml - - **/* - - - \ No newline at end of file + diff --git a/src/doc/architecture.md b/src/doc/architecture.md index ee5e2dd..9bb9bd2 100644 --- a/src/doc/architecture.md +++ b/src/doc/architecture.md @@ -22,7 +22,7 @@ > OFT: For large chapters like the "Runtime" we recommend splitting the chapter in subsections that you keep in folder named after the chapter. -> OFT: Glossary and bibliography do not get sub-folders since they usually do not grow to a size where they need to be split down further. Also this makes generating and referencing them easier. +> OFT: Glossary and bibliography do not get sub-folders since they usually do not grow to a size where they need to be split down further. Also this makes generating and referencing them easier. 1. [Introduction](introduction.md) 2. [Context](context.md) diff --git a/src/doc/bibliography.md b/src/doc/bibliography.md index 2d86a2e..3638966 100644 --- a/src/doc/bibliography.md +++ b/src/doc/bibliography.md @@ -23,7 +23,7 @@ > OFT: List here any standards that you refer to in your documents. For example IETF RFCs or ISO standards. -* "[RFC 2119: Key words for use in RFCs to Indicate Requirement Levels](https://tools.ietf.org/html/rfc2119)", *S. Brander*, 1997, Harvard Univerity +* "[RFC 2119: Key words for use in RFCs to Indicate Requirement Levels](https://tools.ietf.org/html/rfc2119)", *S. Brander*, 1997, Harvard University ## Documents diff --git a/src/doc/building_block_view.md b/src/doc/building_block_view.md index 8ba76e2..d29a58a 100644 --- a/src/doc/building_block_view.md +++ b/src/doc/building_block_view.md @@ -47,7 +47,7 @@ The associations between the components represent "A-knows-B" relationships. Thi Circular dependencies would create unacceptable constraints on the development life cycle and deployment of the components. -Since the circle has no start, there is no component that you could deploy first without creating a broken dependency for at least a short time. This means that you have to release and deploy all components at the same time which is bound to fail. +Since the circle has no start, there is no component that you could deploy first without creating a broken dependency for at least a short time. This means that you have to release and deploy all components at the same time which is bound to fail. ## Building Block Overview @@ -64,6 +64,7 @@ This section contains the building block breakdown on the highest level. > OFT: We use tags in the specification items to allow filtering. This helps splitting the workload between multiple development teams since each team can define tag filters to check coverage for the components they are responsible for. Check the [OFT User Guide](https://github.com/itsallcode/openfasttrace/blob/master/doc/user_guide.md) to learn more about tag filters. ### AutoYummyBox + `arch~ayb.autoyummybox~1` This hardware component is a vending machine with a built-in 3D food printer. It is responsible for printing and cooking the dishes. @@ -75,6 +76,7 @@ Tags: AutoYummyBox > OFT: Note that we did not cover an SRS requirement with this component decision. The reason is simple: you would have to link each SRS requirement that is implemented in this component with the component in addition to the runtime requirements. This is way to error-prone to be practical and also not very helpful. ### MachineApplication + `arch~ayb.machine-application~1` The MachineApplication is an embedded software that controls the operation of the [AutoYummyBox](#autoyummybox) hardware and communicates with the [MachineManager](#machinemanager) backend. @@ -84,6 +86,7 @@ Needs: arch Tags: MachineApplication ### MachineManager + `arch~ayb.machinemanager~1` The MachineManager is a backend component that serves as a single entry point for all communication with the [MachineApplication](#machineapplication). diff --git a/src/doc/building_block_view/MachineApplication.md b/src/doc/building_block_view/MachineApplication.md index 66b44e2..f21dbe4 100644 --- a/src/doc/building_block_view/MachineApplication.md +++ b/src/doc/building_block_view/MachineApplication.md @@ -40,26 +40,28 @@ The CreditCardReader is a self-sufficient standard component that only requires > OFT: This also gives us the opportunity to demonstrate what you should do if you don't own an interface you depend on. Of course an external HTTP client brings its own interface, but we have the MachineBackendConnector component in place where adapt if necessary. Same is true for the CreditCardConnector and PaymentHanlder. #### PasteContainer + `arch~ayb.pastecontainer~1` A PasteCoPaymentHandlerardware component that contains one of the pastes that serve as raw material for the dishes AutoYummiBox serves. It has a controller built in that can identify the contents and fill grade. Comments: -While the specification for the paste containers physical outside dimensions as well as the electrical and software interface are owned by the AutoYummiBox project, the containers themselves are designed and manufactured by external suppliers. +While the specification for the paste containers physical outside dimensions as well as the electrical and software interface are owned by the AutoYummiBox project, the containers themselves are designed and manufactured by external suppliers. Needs: dsn Tags: PasteContainer #### FoodPrinter + `arch~ayb.foodprinter~1` The FoodPrinter is a hardware component that is feed with [pastes](glossary.md#paste) and prints a dish out of them. Comments: -The FoodPrinter is designed and produced by the hardware department of AutoYummiBox. +The FoodPrinter is designed and produced by the hardware department of AutoYummiBox. Needs: dsn diff --git a/src/doc/concepts.md b/src/doc/concepts.md index 69f9240..9b63449 100644 --- a/src/doc/concepts.md +++ b/src/doc/concepts.md @@ -32,9 +32,11 @@ This section describes the terms "menu", "dish" and "recipe" and their relations ![Menu, dishes and recipes](uml/class/cl_dishes.svg "Menu, dishes and recipes") #### Dishes + `arch~ayb.dishes~2` Dishes have the following attributes: + * name (String) * price (MonetaryAmount) * recipe (Recipe) @@ -51,6 +53,7 @@ Needs: dsn Tags: Cook, CookingBook #### Recipe + `arch~ayb.recipe~1` A Recipe is a series of steps to cook a Dish. diff --git a/src/doc/deployment_view.md b/src/doc/deployment_view.md index c25f608..1b7800b 100644 --- a/src/doc/deployment_view.md +++ b/src/doc/deployment_view.md @@ -32,6 +32,7 @@ The diagram below shows how the AutoYummyBoxes, the backend and the external bac > OFT: Note that only the network boundary that the project is responsible for is depicted here. While we can assume that for example the credit card institutes have their own data centers, the exact deployment does not matter here, since we cannot influence it anyway. For the project it is just an external System connected via the Internet. ## AutoYummyBox Redundant Network Connections + `arch~ayb.box.redundant-network-connections~1` Each AutoYummyBox has an Internet connection via at least two distinct modems and network providers (e.g. DSL via network provider A and 3G via network provider B). @@ -43,6 +44,7 @@ Covers: Needs: dsn ## AutoYummyBox Backend Connection + `arch~ayb.backend-connection~1` Each AutoYummyBox has a network route to at least one AutoYummyBox Backend. @@ -64,6 +66,7 @@ Needs: dsn > OFT: This is a typical example of a situation where documenting a decision in the architecture is a good idea. You made an important design decision based on the user requirement. It saves costs while sacrificing the availability of the backend connection, depending on offline capabilities instead. ## AutoYummyBox Credit Card Provider Connection + `arch~ayb.box-credit-card-provider-connection~1` Each AutoYummyBox has network routes to at least two distinct backends of credit card institutes. @@ -88,4 +91,4 @@ The network and bus connections inside the AutoYummyBox are predefined by the ha The product used as embedded database is intentionally not specified. Selecting one is at the discretion of the designers of the [MachineApplication](building_block_view/MachineApplication.md). -> OFT: Note that it is a perfectly normal situation to have internal components deployed on project-external runtime environments. \ No newline at end of file +> OFT: Note that it is a perfectly normal situation to have internal components deployed on project-external runtime environments. diff --git a/src/doc/design_decisions.md b/src/doc/design_decisions.md index d6762ff..aa35095 100644 --- a/src/doc/design_decisions.md +++ b/src/doc/design_decisions.md @@ -20,7 +20,7 @@ This section elaborates the most important design decisions. Criteria for whethe ## Vending Machine Related Decisions -> OFT: Below we demonstrate typical (if admittedly constructed) situations that require design decisions on architectural level. The main goal of the whole chapter is to avoid having the same discussions over and over in your project. This is also why it is essential that the decision contexts are properly explained and the decision are justified in comprehensible fashion. +> OFT: Below we demonstrate typical (if admittedly constructed) situations that require design decisions on architectural level. The main goal of the whole chapter is to avoid having the same discussions over and over in your project. This is also why it is essential that the decision contexts are properly explained and the decision are justified in comprehensible fashion. ### Which Embedded HTTP Client do we use? @@ -30,7 +30,7 @@ We need an HTTP client for the communication with our backends REST services. Th The CreditCardReader we are using has a built-in HTTP Client from Wriggly Wombat Soft, a daughter company of the reader's manufacturer Wriggly Wombat Corporation. The credit card reader is a component certified by the credit card industry. The embedded software on the device is proprietary and the part of the certified product. -Wriggly Wombat Soft gave us the opportunity to make a code quality assessment in exchange for signing an NDA. We found the overall quality of the software and the build process to be very high. +Wriggly Wombat Soft gave us the opportunity to make a code quality assessment in exchange for signing an NDA. We found the overall quality of the software and the build process to be very high. The manufacturer of the CreditCardReader forwards the per-machine license costs of the WrigglyWombatHttpClient to its customers. Software Updates are free-of-charge for the term defined in the contract with the Wriggly Wombat Corporation. Wriggly Wombat Soft agreed to fix any security vulnerabilities we find in the HTTP client within a timeframe of maximum two weeks for the duration of the contract. @@ -39,7 +39,7 @@ The CreditCardReader updates its internal embedded software autonomously — Wriggly Wombat Soft Announces regular updates five days in advance, critical security updates are installed immediately. -> OFT: Not all design decisions need to be discussed in detail in the architecture. Especially if they concern only a single component. Therefore you should explain why you consider the decision to be architecture-relevant. +> OFT: Not all design decisions need to be discussed in detail in the architecture. Especially if they concern only a single component. Therefore you should explain why you consider the decision to be architecture-relevant. This decision is architecture-relevant because it impacts: @@ -62,13 +62,14 @@ We considered the following alternatives: > OFT: Wrap the actual decisions in specification items so that they become part of the tracing chain. #### MachineApplication uses WombatHttpClient + `arch~ayb.machineapplication-uses-wombathttpclient~1` The MachineApplication uses the Wriggly Wombat Soft HTTP client. Comment: -To keep the two HTTP clients fully aligned, we will have to be ready to align our software updates for the AutoYummyBox with the software updates Wriggly Wombat Soft roles out. +To keep the two HTTP clients fully aligned, we will have to be ready to align our software updates for the AutoYummyBox with the software updates Wriggly Wombat Soft roles out. Needs: archrisk, dsn diff --git a/src/doc/glossary.md b/src/doc/glossary.md index 6797b46..163d5ab 100644 --- a/src/doc/glossary.md +++ b/src/doc/glossary.md @@ -19,7 +19,7 @@ Food vending machine with an internal 3D printer that creates dishes from [paste ### Container Distribution Center -*Container Distributions Centers* keep a small stock of [paste containers](#paste-container). Machine Maintainers pick the container up there and deliver them to the individual [AutoYummyBoxes](#autoyummybox). +*Container Distributions Centers* keep a small stock of [paste containers](#paste-container). Machine Maintainers pick the container up there and deliver them to the individual [AutoYummyBoxes](#autoyummybox). ## P diff --git a/src/doc/introduction.md b/src/doc/introduction.md index 81954b7..4609f4e 100644 --- a/src/doc/introduction.md +++ b/src/doc/introduction.md @@ -23,7 +23,7 @@ Check [System Scope and Context](context.md) for an overview of the systems conn ### Target Audience -The target audience are persons involved with the construction of the system, technical decisions and quality assurance. See section ["Stakeholders"](#stakeholders) for more details. +The target audience are persons involved with the construction of the system, technical decisions and quality assurance. See section ["Stakeholders"](#stakeholders) for more details. ### Notational Conventions @@ -93,7 +93,7 @@ This section list the target audience of the system architecture and their inter > OFT: While knowing them and their motivations and responsibilities is certainly a good idea, we from itsallcode.org recommend that you keep contact information in a separate document and only reference it here. The reason for this is that in any non-trivial project organizations have a radically different life cycle than architecture documents and it is inconvenient and error-prone to keep a copy of your organizational structure in this document. -> OFT: Hint: always use plural when referring to roles. This keeps your specifications gender-neutral especially when using pronouns. +> OFT: Hint: always use plural when referring to roles. This keeps your specifications gender-neutral especially when using pronouns. For a list of OFTAutoYummi's stakeholder contacts and their responsibilities please refer to the [OAY-ORGA](../bibilography.md#oay-orga). @@ -101,7 +101,7 @@ For a list of OFTAutoYummi's stakeholder contacts and their responsibilities ple ### Software Developers -The main audience for this software architecture are persons responsible for the design and implementation of the [building blocks](building_block_view.md). They have to base their detailed designs on the requirements stated in this document. +The main audience for this software architecture are persons responsible for the design and implementation of the [building blocks](building_block_view.md). They have to base their detailed designs on the requirements stated in this document. Recommended reading: @@ -116,7 +116,7 @@ Recommended reading: ### Project Managers -While project managers will usually not dive into the technical details of the system architecture, they still need to at least know the general +While project managers will usually not dive into the technical details of the system architecture, they still need to at least know the general Recommended reading: diff --git a/src/doc/quality_scenarios.md b/src/doc/quality_scenarios.md index 8896bfd..e28864a 100644 --- a/src/doc/quality_scenarios.md +++ b/src/doc/quality_scenarios.md @@ -17,7 +17,7 @@ > OFT: What remains are mainly scenarios that hint tests from a technical perspective (like performance tests and their technical setup) and scenarios you want the designers of the components to cover. -> OFT: You could argue to remove the chapter altogether from the SwAD and only cover it in the SRS. In the arc42 template the lines between user-level specification and system architecture are sometimes blurry though. +> OFT: You could argue to remove the chapter altogether from the SwAD and only cover it in the SRS. In the arc42 template the lines between user-level specification and system architecture are sometimes blurry though. > OFT: arc42 suggests to organize quality scenarios as leafs in a quality tree. @@ -48,6 +48,7 @@ > OFT: Now let make a scenario for the SwAD in as a contrast. #### Maximum Dish List Download Duration + `arch~ayb.maximum-dish-list-download-duration~1` Measured with a network connection of at least 1 MBit effective throughput and an end-to-end latency of no longer than 10 ms, the Cook component takes a maximum of 10 seconds to download the complete dish list including recipes from the CookingBook component in at least 95% of all cases. diff --git a/src/doc/risks.md b/src/doc/risks.md index 200c7a5..77a97c2 100644 --- a/src/doc/risks.md +++ b/src/doc/risks.md @@ -34,6 +34,7 @@ Risks are often the direct consequence of constraints, so please check the chapt ## Security Risks ### Unpatched HTTP Client Vulnerabilities + `archrisk~ayb.unpatched-http-client-vulnerabilities` The guaranteed time-to-fix for known vulnerabilities in the Wriggly Wombat Soft HTTP client we are using in the [MachineApplication](components/MachineApplication.md) is two weeks counted from the day a vulnerability is first reported. Worst case this means that our product suffers from an unpatched vulnerability for the whole two weeks. @@ -45,7 +46,7 @@ The guaranteed time-to-fix for known vulnerabilities in the Wriggly Wombat Soft Consequences: * Depending on the severity of the vulnerability consequences range from remote Denial-of-Service (DoS) over data leakage to remote infection of the AutoYummyBox with malicious code. -* Since the HTTP client is also an integral part of the [CreditCardReader](components/CreditCardReader.md) the worst thing that could happen is leakage of our customers' credit card information. +* Since the HTTP client is also an integral part of the [CreditCardReader](components/CreditCardReader.md) the worst thing that could happen is leakage of our customers' credit card information. The following mitigations are possible: @@ -63,7 +64,7 @@ The following mitigations are possible: We will do this as a last resort for critical vulnerabilities if we come to the conclusion that the security risk can be mitigated with reasonable effort. Also keep in mind that workarounds often create new attack surfaces. We have no chance to compartmentalize the vulnerability inside of the CreditCardReader. - + Comment: This risk was accepted by project management on 2018-03-02. diff --git a/src/doc/runtime_view.md b/src/doc/runtime_view.md index 11a704b..675cee3 100644 --- a/src/doc/runtime_view.md +++ b/src/doc/runtime_view.md @@ -19,7 +19,7 @@ This chapter describes the system behavior at runtime. > OFT: Since the sections in this chapter tend to get quite large we also recommend that you split up the chapter into separate files, one for each feature. -> OFT: When designing features keep in mind that there should be not more that fit on a single page product sheet — after you subtracted the space for images and general product description. As a rule of thumb three to ten top-level features are a good number. +> OFT: When designing features keep in mind that there should be not more that fit on a single page product sheet — after you subtracted the space for images and general product description. As a rule of thumb three to ten top-level features are a good number. * [Ordering Dishes](runtime/ordering_dishes.md) * [Preparing Dishes](runtime/preparing_dishes.md) @@ -28,7 +28,7 @@ This chapter describes the system behavior at runtime. * Cleaning AutoYummyBoxes * Keeping the boxes well-stocked * Monitoring the boxes -* ... +* ... > OFT: We stop the feature enumeration at this point, since we are sure you got the concept. diff --git a/src/doc/runtime_view/ordering_dishes.md b/src/doc/runtime_view/ordering_dishes.md index 6aee56c..010daed 100644 --- a/src/doc/runtime_view/ordering_dishes.md +++ b/src/doc/runtime_view/ordering_dishes.md @@ -11,7 +11,7 @@ ## Ordering Dishes -> OFT: Readers are lazy, so it is best not to assume that they read the feature description in the SRS. You should at least +> OFT: Readers are lazy, so it is best not to assume that they read the feature description in the SRS. You should at least This section explains how [Customers](../introduction#customer) order dishes at the AutoYummyBox. This includes finding out which dishes AutoYummiBox can [prepare](preparing_dishes.md) given the available [pastes](../glossary.md#paste) and their remaining amounts. @@ -19,7 +19,7 @@ This section explains how [Customers](../introduction#customer) order dishes at > OFT: Which level of granularity should you choose here? Since we are writing a Software Architectural Design (SwAD) document and assume that development teams are responsible for the detailed design of the sub-level-1 components, you should show interactions between the components here. Going deeper unnecessarily takes away design freedom from the development teams. -> OFT: The diagram below has three different responsible parties: the Customer (who does not have to implement anything), the MachineApplication which we assume is in the responsibility of a dedicated development team and the PasteContainer which is a delivery you get from a supplier. Your job as a system architect is to make sure all teams have the necessary information to get their parts running together as one system in the end. +> OFT: The diagram below has three different responsible parties: the Customer (who does not have to implement anything), the MachineApplication which we assume is in the responsibility of a dedicated development team and the PasteContainer which is a delivery you get from a supplier. Your job as a system architect is to make sure all teams have the necessary information to get their parts running together as one system in the end. ![Ordering dishes](uml/sequence/seq_ordering_dishes.svg "Ordering dishes") @@ -34,6 +34,7 @@ This section explains how [Customers](../introduction#customer) order dishes at > OFT: Next we are going to list the runtime requirements of the feature. If you are not sure about the level of granularity, simply use the diagram and write one requirement for each message and/or loop. ### User Requests Dish List + `arch~ayb.user-requests-dish-list~1` The MachineApplication allows users to request a list of currently available dishes. @@ -47,6 +48,7 @@ Needs: dsn Tags: MachineApplication ### MachineApplication Creates Paste Inventory + `arch~ayb.machineapplication_creates_inventory~1` The MachineApplication queries all installed PasteContainers for paste type and fill grade to create a paste inventory. @@ -66,6 +68,7 @@ Tags: MachineApplication > OFT: Our colleague Poldi once told me that he draws the line at splitting requirements to the point where they are likely to be individually changed. This advice turned out to be a perfect compromise between detail level and effort. ### MachineApplication Calculates Available Dishes + `arch~ayb.machine-application-calculates-available-dishes~1` The Machine Application compares all internally kept recipes with the currently available paste types and amounts to create a list of currently available dishes. diff --git a/src/doc/runtime_view/paying_with_credit_card.md b/src/doc/runtime_view/paying_with_credit_card.md index 85074b2..de7d431 100644 --- a/src/doc/runtime_view/paying_with_credit_card.md +++ b/src/doc/runtime_view/paying_with_credit_card.md @@ -11,4 +11,4 @@ ## Paying With Credit Card -> OFT: empty on purpose in this example document. \ No newline at end of file +> OFT: empty on purpose in this example document. diff --git a/src/doc/runtime_view/preparing_dishes.md b/src/doc/runtime_view/preparing_dishes.md index b35bc0f..de60f3f 100644 --- a/src/doc/runtime_view/preparing_dishes.md +++ b/src/doc/runtime_view/preparing_dishes.md @@ -11,4 +11,4 @@ ## Preparing Dishes -> OFT: empty on purpose in this example document. \ No newline at end of file +> OFT: empty on purpose in this example document. diff --git a/src/doc/solution_strategy.md b/src/doc/solution_strategy.md index ab2b5ac..3db670e 100644 --- a/src/doc/solution_strategy.md +++ b/src/doc/solution_strategy.md @@ -19,6 +19,6 @@ > OFT: Second this chapter is bound to create duplicated information especially when compared to the [Design Decisions](design_decisions.md) chapter and duplications are a major source of error. -> OFT: Third the job of a system or software architecture is to keep as many decision options open for as long as possible. If you draw the lines to early and to strictly you are removing freedom from the designers that could have given you a better overall solution. +> OFT: Third the job of a system or software architecture is to keep as many decision options open for as long as possible. If you draw the lines to early and to strictly you are removing freedom from the designers that could have given you a better overall solution. > OFT: Our recommendation is to remove this chapter unless you have uncountermandable decisions that everyone needs to get over before starting to work on a solution. A prime example would be if your company enforces a strict book of standards for technical systems that does not allow for solutions outside of that box. In this case you can either deal with it and find the best remaining solution within the confines of these regulations, spend your time trying to get the book of standards adapted to your needs or leave for a company that understands the necessity of picking the right tool for the job. diff --git a/src/doc/uml/class/cl_dishes.svg b/src/doc/uml/class/cl_dishes.svg new file mode 100644 index 0000000..878eede --- /dev/null +++ b/src/doc/uml/class/cl_dishes.svg @@ -0,0 +1 @@ +MenuDishname : Stringprice : MonetaryAmountRecipeStepingredientAmount : floattargetTemperature : floatIngredientname : String3DShapePasteproductNumber : StringIngredientDeclarationname : Stringallergen : booleanNutritionFacttype : NutritionFactTypeamountPercent : float«enumeration»NutritionFactTypeFATSUGARPROTEINVITAMIN_AVITAMIN_BVITAMIN_Cavaiblabledishes1..*prepared according to1..*compatible1..*declare** \ No newline at end of file diff --git a/src/doc/uml/class/cl_quality_tree.svg b/src/doc/uml/class/cl_quality_tree.svg new file mode 100644 index 0000000..5ff80f0 --- /dev/null +++ b/src/doc/uml/class/cl_quality_tree.svg @@ -0,0 +1 @@ +UtilityUsabilityEfficiencyReliabilityMaintainabilityPortabilityPerformanceResource UsageScalabilityAvailability \ No newline at end of file diff --git a/src/doc/uml/component/comp_circular_dependencies.svg b/src/doc/uml/component/comp_circular_dependencies.svg new file mode 100644 index 0000000..7e0ea0b --- /dev/null +++ b/src/doc/uml/component/comp_circular_dependencies.svg @@ -0,0 +1 @@ +ABCDE \ No newline at end of file diff --git a/src/doc/uml/component/comp_context.svg b/src/doc/uml/component/comp_context.svg new file mode 100644 index 0000000..b99e38f --- /dev/null +++ b/src/doc/uml/component/comp_context.svg @@ -0,0 +1 @@ +Customer«external»MachineMaintainer«external»MechatronicTechnician«external»«external»OftAutoYummy«external»PaymentProvider«external»PasteFactory***credit card paymentsVirtuCoinBuddy payments4..*paste orderpaste delivery2..* \ No newline at end of file diff --git a/src/doc/uml/component/comp_machine_application.svg b/src/doc/uml/component/comp_machine_application.svg new file mode 100644 index 0000000..e2df4f2 --- /dev/null +++ b/src/doc/uml/component/comp_machine_application.svg @@ -0,0 +1 @@ +org.itsallcodevendingmachinefoodprinterpayment«external»«hardware»CreditCardReaderMachineControllerUserInterfaceMachineBackendConnectorCookPasteContainerConnectorFoodPrinterControllerFoodPrinter«interface»PasteContainer«interface»CreditCardConnectorPaymentHandler«external»WrigglyWombatHttpClient«external»HttpClient«external»«hardware»PasteContainer«hardware»FoodPrinterWe keep the two embeddedHTTP client instances aligned.«external»PaymentClientCreditCardReader«external»PaymentClient«external»HttpClient«external» \ No newline at end of file diff --git a/src/doc/uml/component/comp_overview.svg b/src/doc/uml/component/comp_overview.svg new file mode 100644 index 0000000..c75a1b1 --- /dev/null +++ b/src/doc/uml/component/comp_overview.svg @@ -0,0 +1 @@ +«external»«hardware»PasteContainer«hardware»AutoYummyBoxMachineApplication«external»PaymentProvider«external»PasteFactoryServicePaymentProviderAdapterAuthenticationAndAuthorizationProvidernMachineMasterDataProviderMachineManager* \ No newline at end of file diff --git a/src/doc/uml/component/comp_units_components_and_compositions.svg b/src/doc/uml/component/comp_units_components_and_compositions.svg new file mode 100644 index 0000000..9a5cf7c --- /dev/null +++ b/src/doc/uml/component/comp_units_components_and_compositions.svg @@ -0,0 +1 @@ +Software UnitComponentSoftwareComponentHardwareComponentCompositionaka. "Building Block"is ais ais aconsistsof1..*is a \ No newline at end of file diff --git a/src/doc/uml/deployment/depl_autoyummybox.svg b/src/doc/uml/deployment/depl_autoyummybox.svg new file mode 100644 index 0000000..1b4ad49 --- /dev/null +++ b/src/doc/uml/deployment/depl_autoyummybox.svg @@ -0,0 +1 @@ +«external»EmbeddedARMBoardBoardExentsion«external»EmbeddedRTOS«external»EmbeddedDB«external»WirelessModem«external»DSLModemMachineControllerUserInterfaceMachineBackendConnectorCookPasteContainerConnectorFoodPrinterControllerCreditCardConnector«external»HttpClient«external»PaymentClientPaymentHandlerRecipePaymentPasteInventory«external»«device»CreditCardReaderNode«device»FoodPrinterNode«external»«device»PasteContainerNodeSPI2SPI2EthernetI²C15SPI \ No newline at end of file diff --git a/src/doc/uml/deployment/depl_overview.svg b/src/doc/uml/deployment/depl_overview.svg new file mode 100644 index 0000000..ba10074 --- /dev/null +++ b/src/doc/uml/deployment/depl_overview.svg @@ -0,0 +1 @@ +DataCenterBackendAutoYummyBox«external»PasteFactory«external»CreditCardProvider«external»VirtuCoinBuddyProvider**2..*            *2..*            2..***2..* \ No newline at end of file diff --git a/src/doc/uml/sequence/seq_container_inventory.svg b/src/doc/uml/sequence/seq_container_inventory.svg new file mode 100644 index 0000000..6426ee6 --- /dev/null +++ b/src/doc/uml/sequence/seq_container_inventory.svg @@ -0,0 +1 @@ +Please use CSS style instead of skinparam ParticipantPaddingPasteContainerConnector..external....hardware..MachineControllerPasteContainerConnector«external»«hardware»PasteContainerMachineControllergetInventory()loopgetPasteType() \ No newline at end of file diff --git a/src/doc/uml/sequence/seq_ordering_dishes.svg b/src/doc/uml/sequence/seq_ordering_dishes.svg new file mode 100644 index 0000000..dc7b1a6 --- /dev/null +++ b/src/doc/uml/sequence/seq_ordering_dishes.svg @@ -0,0 +1 @@ +Please use CSS style instead of skinparam ParticipantPadding..external..MachineApplication..external....hardware..«external»CustomerMachineApplication«external»«hardware»PasteContainerlistDishes()loop[each pasteContainer]getPasteType()pasteTypegetFillLevel()fillLevelcalculateAvailableDishes(pasteInventory)dishList \ No newline at end of file diff --git a/src/doc/uml/sequence/seq_ordering_dishes_detailed_design.svg b/src/doc/uml/sequence/seq_ordering_dishes_detailed_design.svg new file mode 100644 index 0000000..fb7154e --- /dev/null +++ b/src/doc/uml/sequence/seq_ordering_dishes_detailed_design.svg @@ -0,0 +1 @@ +Please use CSS style instead of skinparam ParticipantPaddingMachineApplication..external..UserInterfaceMachineControllerCookPasteContainerConnector..external....hardware..«external»CustomerUserInterfaceMachineControllerCookPasteContainerConnector«external»«hardware»PasteContainerlistDishes()listDishes()getInventory()loop[each pasteContainer]getPasteType()pasteTypegetFillLevel()fillLevelpasteInventoryfilterDishes(pasteInventory)loop[each recipe]canPrepare(recipe,pasteInvertory)dishesdishesrenderDishList(dishes)dishList \ No newline at end of file diff --git a/src/main/lua/pdf_image_path_converter.lua b/src/main/lua/pdf_image_path_converter.lua deleted file mode 100644 index 65be392..0000000 --- a/src/main/lua/pdf_image_path_converter.lua +++ /dev/null @@ -1,8 +0,0 @@ -function Image(image) - src = image.src - - src = "../../target/" .. src - image.src = src - - return image -end From cff2fb5bd34285cfd6730363deb1f774efbe3d72 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sat, 10 Oct 2026 15:49:07 +0200 Subject: [PATCH 2/3] Pin actions, add link check, fix broken links in the specification - Make the Maven wrapper script executable - SHA-pin all GitHub Actions (with version comments for Dependabot) - Run markdownlint (npm) and heylogs (JBang install script) directly: the organization's Actions policy refuses the DavidAnson and jbangdev actions at workflow startup - Add a link check with linkspector (replaces the linkchecker hint) - Fix 28 broken links in the Markdown sources and add the missing "Constraints" chapter that the table of contents linked to - Reference diagrams from sub-chapters as "../uml/..." so they show on GitHub; a Lua filter strips the prefix for Pandoc Co-Authored-By: Claude Fable 5.1 --- .github/workflows/build.yml | 10 +- .github/workflows/check-links.yml | 36 + .github/workflows/lint.yml | 45 +- .linkspector.yml | 25 + .markdownlint.yml | 4 + CHANGELOG.md | 7 +- README.md | 22 +- mvnw | 0 package-lock.json | 1516 ++++++++++++++++- package.json | 5 +- pom.xml | 4 +- src/doc/architecture.md | 4 +- src/doc/bibliography.md | 4 +- src/doc/building_block_view.md | 2 +- .../building_block_view/MachineApplication.md | 6 +- src/doc/constraints.md | 42 + src/doc/context.md | 6 +- src/doc/introduction.md | 14 +- src/doc/risks.md | 6 +- src/doc/runtime_view.md | 6 +- src/doc/runtime_view/ordering_dishes.md | 6 +- src/main/lua/image_path_converter.lua | 8 + 22 files changed, 1621 insertions(+), 157 deletions(-) create mode 100644 .github/workflows/check-links.yml create mode 100644 .linkspector.yml mode change 100644 => 100755 mvnw create mode 100644 src/doc/constraints.md create mode 100644 src/main/lua/image_path_converter.lua diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7bbe108..ad68e32 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,15 +20,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: show-progress: false - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v4 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 - name: Build the build-environment image - uses: docker/build-push-action@v7 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: context: docker load: true @@ -37,7 +37,7 @@ jobs: cache-to: type=gha,mode=max - name: Cache Maven repository and wrapper distribution - uses: actions/cache@v6 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.m2 key: maven-${{ hashFiles('pom.xml', '.mvn/wrapper/maven-wrapper.properties') }} @@ -72,7 +72,7 @@ jobs: fi - name: Upload rendered documents - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: documents path: | diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml new file mode 100644 index 0000000..aac5327 --- /dev/null +++ b/.github/workflows/check-links.yml @@ -0,0 +1,36 @@ +name: Check links + +on: + push: + branches: + - main + pull_request: + schedule: + # Once a month, to notice external links that died + - cron: "0 9 1 * *" + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + linkspector: + name: linkspector + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + show-progress: false + - name: Set up Node.js + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + with: + node-version: 24 + - name: Run linkspector + # Runs the CLI directly instead of umbrelladocs/action-linkspector, because the organization's Actions policy + # only allows actions from GitHub and verified creators + run: npx --yes @umbrelladocs/linkspector@0.5.6 check -c .linkspector.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8515421..071347a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,29 +20,44 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: show-progress: false - - name: Run markdownlint - uses: DavidAnson/markdownlint-cli2-action@v24 + - name: Set up Node.js + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - globs: | - **/*.md - #node_modules + node-version: 24 + cache: npm + - name: Install dependencies + run: npm ci + - name: Run markdownlint + run: npm run markdownlint changelog: name: CHANGELOG.md (heylogs) runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: show-progress: false - - name: Check CHANGELOG.md - uses: jbangdev/jbang-action@v0.142.0 + - name: Set up Java + uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 with: - script: com.github.nbbrd.heylogs:heylogs-cli:0.19.1:bin - scriptargs: check --format github-actions CHANGELOG.md + distribution: temurin + java-version: 21 + - name: Cache JBang + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + path: ~/.jbang + key: jbang-heylogs-${{ hashFiles('.github/workflows/lint.yml') }} + restore-keys: | + jbang-heylogs- + - name: Install JBang + # The jbangdev/jbang-action is not allowed by the organization's Actions policy, so install JBang directly + run: curl -Ls https://sh.jbang.dev | bash -s - app setup + - name: Check CHANGELOG.md + run: ~/.jbang/bin/jbang com.github.nbbrd.heylogs:heylogs-cli:0.19.1:bin check --format github-actions CHANGELOG.md textlint: name: textlint @@ -51,11 +66,11 @@ jobs: continue-on-error: true steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: show-progress: false - name: Set up Node.js - uses: actions/setup-node@v7 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 24 cache: npm @@ -73,11 +88,11 @@ jobs: pull-requests: write steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: show-progress: false - name: Run Vale - uses: vale-cli/vale-action@v3 + uses: vale-cli/vale-action@518a9136acc6e6668ce7c00d367051e0941e87ff # v3.0.0 # Style hints only, do not block the build continue-on-error: true with: diff --git a/.linkspector.yml b/.linkspector.yml new file mode 100644 index 0000000..d8d5fa4 --- /dev/null +++ b/.linkspector.yml @@ -0,0 +1,25 @@ +# Configuration for linkspector (https://github.com/UmbrellaDocs/linkspector) +dirs: + - . +excludedDirs: + - ./node_modules + - ./target + - ./.github/styles +useGitIgnore: true +modifiedFilesOnly: false +ignorePatterns: + # gnu.org throttles automated requests, which leads to timeouts + - pattern: "^https?://(www\\.)?gnu\\.org" + # Example domains used in the specification + - pattern: "^https?://(www\\.)?example\\.(com|org|net)" + # localhost links + - pattern: "^https?://localhost" +aliveStatusCodes: + - 200 + - 204 + - 301 + - 302 + - 307 + - 308 + - 403 + - 429 diff --git a/.markdownlint.yml b/.markdownlint.yml index 5b55c9f..16a4030 100644 --- a/.markdownlint.yml +++ b/.markdownlint.yml @@ -13,3 +13,7 @@ MD033: # Specification files start with a license header comment, and sub-chapters start with h2 MD041: false + +# CHANGELOG.md repeats "Added", "Changed", "Fixed" under each release (Keep a Changelog) +MD024: + siblings_only: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 057d14f..b2c9ba6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Rendered UML diagrams are now committed to `src/doc/uml`, so that they also show up when browsing the Markdown sources on GitHub. [#12](https://github.com/itsallcode/openfasttrace-architecture-template/issues/12) -- GitHub Actions workflows build the HTML and PDF documents, verify that the committed diagrams are up to date, and lint the Markdown files (markdownlint, textlint, Vale) and this changelog (heylogs). +- GitHub Actions workflows build the HTML and PDF documents, verify that the committed diagrams are up to date, lint the Markdown files (markdownlint, textlint, Vale) and this changelog (heylogs), and check the links (linkspector). - Dependabot keeps the Maven plugins, GitHub Actions, npm packages, and the Docker base image up to date. - Maven wrapper (`mvnw`), so that no Maven installation is required. - `.editorconfig` for consistent formatting. @@ -28,6 +28,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Eclipse project files and launch configurations. - Jenkins pipeline; the build runs on GitHub Actions instead. +### Fixed + +- Broken links in the specification sources (wrong file names, anchors and relative paths, moved OpenFastTrace user guide). +- Added the missing "Constraints" chapter that the table of contents already linked to. + ## [1.0.0] - 2024-01-14 ### Fixed diff --git a/README.md b/README.md index ea9f2fa..dbb7279 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ For authoring any text editor will work. We recommend an editor with Markdown and PlantUML support, for example [Visual Studio Code](https://code.visualstudio.com/) with the [PlantUML extension](https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml), [IntelliJ IDEA](https://www.jetbrains.com/idea/) with the [PlantUML Integration plugin](https://plugins.jetbrains.com/plugin/7017-plantuml-integration) or [Eclipse](https://eclipse.org) with the [Eclipse PlantUML plug-in](https://plantuml.com/eclipse). -Read the [OpenFastTrace User Guide](https://github.com/itsallcode/openfasttrace/blob/main/doc/user_guide.md) to learn how to create specifications in the OFT Markdown format. +Read the [OpenFastTrace User Guide](https://github.com/itsallcode/openfasttrace/blob/main/doc/user_guide/user_guide.md) to learn how to create specifications in the OFT Markdown format. ### Stripping the OFT Comments @@ -128,13 +128,15 @@ The CI build fails if the committed diagrams are out of date. The Markdown files are checked with [markdownlint](https://github.com/DavidAnson/markdownlint) (configuration in [`.markdownlint.yml`](.markdownlint.yml)). To check locally run: ```bash -npx markdownlint-cli2 "**/*.md" "#node_modules" +npm ci +npm run markdownlint ``` +`npm run markdownlint:fix` fixes most findings automatically. + Spelling and style are checked with [textlint](https://textlint.org/) and [Vale](https://vale.sh/). These checks only report hints and do not fail the build. To run textlint locally: ```bash -npm ci npm run textlint ``` @@ -240,22 +242,12 @@ To render a PDF instead of HTML, activate the `render-pdf` profile: It is a good idea to check the links in your document from time to time. -### Under Debian / Ubuntu - -Install the `linkchecker` package: +The links in the Markdown sources are checked with [linkspector](https://github.com/UmbrellaDocs/linkspector) (configuration in [`.linkspector.yml`](.linkspector.yml)). The CI runs it on every pull request and once a month, so that dead external links are noticed. To check locally run: ```bash -apt install linkchecker +npx @umbrelladocs/linkspector check ``` -Check the links in the generated HTML documents: - -```bash -linkchecker --check-extern target/*.html -``` - -If you remove the command line switch `--check-extern` only local links are checked. - ## Continuous Integration This project contains a CI setup for [GitHub Actions](https://docs.github.com/en/actions) in [`.github/workflows`](.github/workflows): diff --git a/mvnw b/mvnw old mode 100644 new mode 100755 diff --git a/package-lock.json b/package-lock.json index c55fdf9..098e914 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,6 +6,7 @@ "": { "name": "openfasttrace-architecture-template", "devDependencies": { + "markdownlint-cli2": "^0.23.3", "textlint": "^15.8.0", "textlint-rule-common-misspellings": "^1.0.1" } @@ -127,6 +128,57 @@ "node": ">=20" } }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@sindresorhus/merge-streams": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", + "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@textlint/ast-node-types": { "version": "15.8.0", "resolved": "https://registry.npmjs.org/@textlint/ast-node-types/-/ast-node-types-15.8.0.tgz", @@ -335,6 +387,23 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/debug": { + "version": "4.1.13", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz", + "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/ms": "*" + } + }, + "node_modules/@types/katex": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@types/katex/-/katex-0.16.8.tgz", + "integrity": "sha512-trgaNyfU+Xh2Tc+ABIb44a5AYUpicB3uwirOioeOkNPPbmgRNtcWyDeeFRzjPZENO9Vq8gvVqfhaaXWLlevVwg==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/mdast": { "version": "3.0.15", "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.15.tgz", @@ -345,6 +414,13 @@ "@types/unist": "^2" } }, + "node_modules/@types/ms": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", + "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/normalize-package-data": { "version": "2.4.4", "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", @@ -460,6 +536,19 @@ "node": "20 || >=22" } }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/cacheable": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.5.0.tgz", @@ -548,6 +637,16 @@ "dev": true, "license": "MIT" }, + "node_modules/commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, "node_modules/crypt": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", @@ -576,6 +675,31 @@ } } }, + "node_modules/decode-named-character-reference": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz", + "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "character-entities": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/decode-named-character-reference/node_modules/character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", @@ -583,6 +707,30 @@ "dev": true, "license": "MIT" }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "dev": true, + "license": "MIT", + "dependencies": { + "dequal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/diff": { "version": "8.0.4", "resolved": "https://registry.npmjs.org/diff/-/diff-8.0.4.tgz", @@ -600,6 +748,19 @@ "dev": true, "license": "MIT" }, + "node_modules/entities": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-8.1.0.tgz", + "integrity": "sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, "node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -634,6 +795,23 @@ "dev": true, "license": "MIT" }, + "node_modules/fast-glob": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.8" + }, + "engines": { + "node": ">=8.6.0" + } + }, "node_modules/fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", @@ -658,6 +836,16 @@ ], "license": "BSD-3-Clause" }, + "node_modules/fastq": { + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.3.tgz", + "integrity": "sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, "node_modules/fault": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz", @@ -682,6 +870,19 @@ "flat-cache": "^6.1.13" } }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/find-up-simple": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.1.tgz", @@ -723,6 +924,19 @@ "node": ">=0.4.x" } }, + "node_modules/get-east-asian-width": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz", + "integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/glob": { "version": "13.0.6", "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", @@ -741,6 +955,54 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/globby": { + "version": "16.2.4", + "resolved": "https://registry.npmjs.org/globby/-/globby-16.2.4.tgz", + "integrity": "sha512-c8B/VNLmxRcmqqenRA9t+9IyOjf9+V6lTxPaUJLqOCONdQkWZ0ETYgX0qbtJqPsgCNusT9MZ5Jeidw8Eb9tn2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/merge-streams": "^4.0.0", + "fast-glob": "^3.3.3", + "ignore": "^7.0.5", + "is-path-inside": "^4.0.0", + "micromatch": "^4.0.8", + "slash": "^5.1.0", + "unicorn-magic": "^0.4.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby/node_modules/unicorn-magic": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.4.1.tgz", + "integrity": "sha512-lzlXPoVB0Uy/FvTaUgX39RbixYiSKoc3JSoSf01+0c2B6FR3qdYIPN7Qjo/AV7n6sqLCk0509cT3LRj1oSZ1+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/hashery": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/hashery/-/hashery-1.5.1.tgz", @@ -781,6 +1043,16 @@ "dev": true, "license": "ISC" }, + "node_modules/ignore": { + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.12.tgz", + "integrity": "sha512-/8UvqAPU9DGTI9k4mxtf49U37Isfwr8Uts96+SBHIkFxPJnHS0Ew4f00sM4Scd8V8EjM0jUNtVDdv1kPdt35lg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, "node_modules/index-to-position": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-1.2.0.tgz", @@ -838,6 +1110,16 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", @@ -848,6 +1130,19 @@ "node": ">=8" } }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-hexadecimal": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz", @@ -859,6 +1154,29 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-path-inside": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-4.0.0.tgz", + "integrity": "sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-plain-obj": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", @@ -919,6 +1237,40 @@ "node": ">=6" } }, + "node_modules/jsonc-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz", + "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsonpointer": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", + "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/katex": { + "version": "0.16.47", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.47.tgz", + "integrity": "sha512-Eeo8Ys1doU1z+x8AZsPpQu+p/QcZBI5PeOo7QGQdy2x2m0MU/hYagBbGOmXwr5KVbEfVuWv9LpnQWeehogurjg==", + "dev": true, + "funding": [ + "https://opencollective.com/katex", + "https://github.com/sponsors/katex" + ], + "license": "MIT", + "dependencies": { + "commander": "^8.3.0" + }, + "bin": { + "katex": "cli.js" + } + }, "node_modules/keyv": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.6.0.tgz", @@ -943,6 +1295,26 @@ "node": ">= 0.8.0" } }, + "node_modules/linkify-it": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-6.1.0.tgz", + "integrity": "sha512-wJ/TwpSDTLepCrQoYWYIExIKg5Zchex2Nn5yk2mFnB+6PtdkHtyLx742md9csRjjOnGkKIS/RrbY7l8D6gT9Vw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/markdown-it" + } + ], + "license": "MIT", + "dependencies": { + "uc.micro": "^3.0.0" + } + }, "node_modules/lodash": { "version": "4.18.1", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", @@ -978,6 +1350,51 @@ "node": "20 || >=22" } }, + "node_modules/markdown-it": { + "version": "15.0.1", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-15.0.1.tgz", + "integrity": "sha512-9/7gE95FNPkfUWrjJIoHZza2iLmuJlPD0UNMxPi7bxUrbCR525YZY0r+zyfes0dZI5ZZ/uNIXUJca0pJvtw41g==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/markdown-it" + } + ], + "license": "MIT", + "dependencies": { + "argparse": "^3.0.0", + "entities": "^8.0.0", + "linkify-it": "^6.0.0", + "mdurl": "^2.1.0", + "punycode.js": "^2.3.1", + "uc.micro": "^3.0.0" + }, + "bin": { + "markdown-it": "bin/markdown-it.mjs" + } + }, + "node_modules/markdown-it/node_modules/argparse": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-3.0.2.tgz", + "integrity": "sha512-mFdDM6WqWKraGLsVb+C9CahPnzTXOefAOLq3jYcca2YZ8bEWpr++Tzj+zSaKW9+X9L5uSxcm1AZ3Y6aZJ09OhQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "PSF-2.0" + }, "node_modules/markdown-table": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-2.0.0.tgz", @@ -992,12 +1409,216 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/md5": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", - "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", + "node_modules/markdownlint": { + "version": "0.41.1", + "resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.41.1.tgz", + "integrity": "sha512-qHKeU2E1bdyNAT077go2FVTNXvYcktN5IHtF6XyeD1l0PClxzSp2tUApAV14ORI8DGX4H9bNKZEzelZp4qn8IA==", "dev": true, - "license": "BSD-3-Clause", + "license": "MIT", + "dependencies": { + "micromark": "4.0.2", + "micromark-core-commonmark": "2.0.3", + "micromark-extension-directive": "4.0.0", + "micromark-extension-gfm-autolink-literal": "2.1.0", + "micromark-extension-gfm-footnote": "2.1.0", + "micromark-extension-gfm-table": "2.1.1", + "micromark-extension-math": "3.1.0", + "micromark-util-types": "2.0.2", + "string-width": "8.2.1" + }, + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/sponsors/DavidAnson" + } + }, + "node_modules/markdownlint-cli2": { + "version": "0.23.3", + "resolved": "https://registry.npmjs.org/markdownlint-cli2/-/markdownlint-cli2-0.23.3.tgz", + "integrity": "sha512-xAr5o/TGpC3v6lE6cKIW4b5eOFRrRX5u7Vtjae9ix3RALv8nNOd94XMkD/1OXXBtpMcJ4uQGbpSo3hv5UqS4uQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "globby": "16.2.4", + "js-yaml": "5.4.1", + "jsonc-parser": "3.3.1", + "jsonpointer": "5.0.1", + "markdown-it": "15.0.1", + "markdownlint": "0.41.1", + "markdownlint-cli2-formatter-default": "0.0.6", + "micromatch": "4.0.8", + "smol-toml": "1.8.0" + }, + "bin": { + "markdownlint-cli2": "markdownlint-cli2-bin.mjs" + }, + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/sponsors/DavidAnson" + } + }, + "node_modules/markdownlint-cli2-formatter-default": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/markdownlint-cli2-formatter-default/-/markdownlint-cli2-formatter-default-0.0.6.tgz", + "integrity": "sha512-VVDGKsq9sgzu378swJ0fcHfSicUnMxnL8gnLm/Q4J/xsNJ4e5bA6lvAz7PCzIl0/No0lHyaWdqVD2jotxOSFMQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/DavidAnson" + }, + "peerDependencies": { + "markdownlint-cli2": ">=0.0.4" + } + }, + "node_modules/markdownlint-cli2/node_modules/js-yaml": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.4.1.tgz", + "integrity": "sha512-28R/k+NAjeuf7+CKlTxWZVExJGwVVLwY06DgEnOMz2gEpfNkDcD7QvyiVPT0xy0XXhU8vHsd4Ot42OOPdJG7dQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.mjs" + } + }, + "node_modules/markdownlint/node_modules/ansi-regex": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz", + "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/markdownlint/node_modules/micromark": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.2.tgz", + "integrity": "sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/markdownlint/node_modules/micromark-extension-gfm-autolink-literal": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/markdownlint/node_modules/micromark-extension-gfm-table": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.1.tgz", + "integrity": "sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==", + "dev": true, + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/markdownlint/node_modules/string-width": { + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.1.tgz", + "integrity": "sha512-IIaP0g3iy9Cyy18w3M9YcaDudujEAVHKt3a3QJg1+sr/oX96TbaGUubG0hJyCjCBThFH+tFpcIyoUHUn1ogaLA==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/markdownlint/node_modules/strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.2.2" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/md5": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", + "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", + "dev": true, + "license": "BSD-3-Clause", "dependencies": { "charenc": "0.0.2", "crypt": "0.0.2", @@ -1174,6 +1795,23 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/mdurl": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.1.0.tgz", + "integrity": "sha512-1+HBaOx0zi/dQWht8rNv9MYf9qqpqL/kxI0hXImU6Y547zM6Sni8BQibt7ifgMcYtQg41ao3Ivd6cnSM86inpg==", + "dev": true, + "license": "MIT" + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, "node_modules/micromark": { "version": "2.11.4", "resolved": "https://registry.npmjs.org/micromark/-/micromark-2.11.4.tgz", @@ -1189,124 +1827,693 @@ "url": "https://opencollective.com/unified" } ], - "license": "MIT", - "dependencies": { - "debug": "^4.0.0", - "parse-entities": "^2.0.0" - } + "license": "MIT", + "dependencies": { + "debug": "^4.0.0", + "parse-entities": "^2.0.0" + } + }, + "node_modules/micromark-core-commonmark": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz", + "integrity": "sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-extension-directive": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-directive/-/micromark-extension-directive-4.0.0.tgz", + "integrity": "sha512-/C2nqVmXXmiseSSuCdItCMho7ybwwop6RrrRPk0KbOHW21JKoCldC+8rFOaundDoRBUWBnJJcxeA/Kvi34WQXg==", + "dev": true, + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "parse-entities": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-directive/node_modules/character-entities-legacy": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", + "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/micromark-extension-directive/node_modules/character-reference-invalid": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz", + "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/micromark-extension-directive/node_modules/is-alphabetical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz", + "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/micromark-extension-directive/node_modules/is-alphanumerical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz", + "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-alphabetical": "^2.0.0", + "is-decimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/micromark-extension-directive/node_modules/is-decimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz", + "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/micromark-extension-directive/node_modules/is-hexadecimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz", + "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==", + "dev": true, + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/micromark-extension-directive/node_modules/parse-entities": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz", + "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.0", + "character-entities-legacy": "^3.0.0", + "character-reference-invalid": "^2.0.0", + "decode-named-character-reference": "^1.0.0", + "is-alphanumerical": "^2.0.0", + "is-decimal": "^2.0.0", + "is-hexadecimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/micromark-extension-footnote": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/micromark-extension-footnote/-/micromark-extension-footnote-0.3.2.tgz", + "integrity": "sha512-gr/BeIxbIWQoUm02cIfK7mdMZ/fbroRpLsck4kvFtjbzP4yi+OPVbnukTc/zy0i7spC2xYE/dbX1Sur8BEDJsQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark": "~2.11.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-frontmatter": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/micromark-extension-frontmatter/-/micromark-extension-frontmatter-0.2.2.tgz", + "integrity": "sha512-q6nPLFCMTLtfsctAuS0Xh4vaolxSFUWUWR6PZSrXXiRy+SANGllpcqdXFv2z07l0Xz/6Hl40hK0ffNCJPH2n1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "fault": "^1.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-0.3.3.tgz", + "integrity": "sha512-oVN4zv5/tAIA+l3GbMi7lWeYpJ14oQyJ3uEim20ktYFAcfX1x3LNlFGGlmrZHt7u9YlKExmyJdDGaTt6cMSR/A==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark": "~2.11.0", + "micromark-extension-gfm-autolink-literal": "~0.5.0", + "micromark-extension-gfm-strikethrough": "~0.6.5", + "micromark-extension-gfm-table": "~0.4.0", + "micromark-extension-gfm-tagfilter": "~0.3.0", + "micromark-extension-gfm-task-list-item": "~0.3.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-autolink-literal": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-0.5.7.tgz", + "integrity": "sha512-ePiDGH0/lhcngCe8FtH4ARFoxKTUelMp4L7Gg2pujYD5CSMb9PbblnyL+AAMud/SNMyusbS2XDSiPIRcQoNFAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark": "~2.11.3" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", + "dev": true, + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-strikethrough": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-0.6.5.tgz", + "integrity": "sha512-PpOKlgokpQRwUesRwWEp+fHjGGkZEejj83k9gU5iXCbDG+XBA92BqnRKYJdfqfkrRcZRgGuPuXb7DaK/DmxOhw==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark": "~2.11.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-table": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-0.4.3.tgz", + "integrity": "sha512-hVGvESPq0fk6ALWtomcwmgLvH8ZSVpcPjzi0AjPclB9FsVRgMtGZkUcpE0zgjOCFAznKepF4z3hX8z6e3HODdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark": "~2.11.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-tagfilter": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-0.3.0.tgz", + "integrity": "sha512-9GU0xBatryXifL//FJH+tAZ6i240xQuFrSL7mYi8f4oZSbc+NvXjkrHemeYP0+L4ZUT+Ptz3b95zhUZnMtoi/Q==", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-task-list-item": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-0.3.3.tgz", + "integrity": "sha512-0zvM5iSLKrc/NQl84pZSjGo66aTGd57C1idmlWmE87lkMcXrTxg1uXa/nXomxJytoje9trP0NDLvw4bZ/Z/XCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "micromark": "~2.11.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-math": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz", + "integrity": "sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/katex": "^0.16.0", + "devlop": "^1.0.0", + "katex": "^0.16.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-space": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.1.0.tgz", + "integrity": "sha512-fS8hnLIjnjvdQIj39Geug8wWsR0HrYZ43KShKxNfwT7t2LOHo/LbWZEzEaSOjwtjdCsjoE6syHhonEzW0zv0+Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", + "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" }, - "node_modules/micromark-extension-footnote": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/micromark-extension-footnote/-/micromark-extension-footnote-0.3.2.tgz", - "integrity": "sha512-gr/BeIxbIWQoUm02cIfK7mdMZ/fbroRpLsck4kvFtjbzP4yi+OPVbnukTc/zy0i7spC2xYE/dbX1Sur8BEDJsQ==", + "node_modules/micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", "dev": true, - "license": "MIT", - "dependencies": { - "micromark": "~2.11.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" }, - "node_modules/micromark-extension-frontmatter": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/micromark-extension-frontmatter/-/micromark-extension-frontmatter-0.2.2.tgz", - "integrity": "sha512-q6nPLFCMTLtfsctAuS0Xh4vaolxSFUWUWR6PZSrXXiRy+SANGllpcqdXFv2z07l0Xz/6Hl40hK0ffNCJPH2n1A==", + "node_modules/micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], "license": "MIT", "dependencies": { - "fault": "^1.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "micromark-util-symbol": "^2.0.0" } }, - "node_modules/micromark-extension-gfm": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-0.3.3.tgz", - "integrity": "sha512-oVN4zv5/tAIA+l3GbMi7lWeYpJ14oQyJ3uEim20ktYFAcfX1x3LNlFGGlmrZHt7u9YlKExmyJdDGaTt6cMSR/A==", + "node_modules/micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], "license": "MIT", "dependencies": { - "micromark": "~2.11.0", - "micromark-extension-gfm-autolink-literal": "~0.5.0", - "micromark-extension-gfm-strikethrough": "~0.6.5", - "micromark-extension-gfm-table": "~0.4.0", - "micromark-extension-gfm-tagfilter": "~0.3.0", - "micromark-extension-gfm-task-list-item": "~0.3.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "micromark-util-types": "^2.0.0" } }, - "node_modules/micromark-extension-gfm-autolink-literal": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-0.5.7.tgz", - "integrity": "sha512-ePiDGH0/lhcngCe8FtH4ARFoxKTUelMp4L7Gg2pujYD5CSMb9PbblnyL+AAMud/SNMyusbS2XDSiPIRcQoNFAw==", + "node_modules/micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], "license": "MIT", "dependencies": { - "micromark": "~2.11.3" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" } }, - "node_modules/micromark-extension-gfm-strikethrough": { - "version": "0.6.5", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-0.6.5.tgz", - "integrity": "sha512-PpOKlgokpQRwUesRwWEp+fHjGGkZEejj83k9gU5iXCbDG+XBA92BqnRKYJdfqfkrRcZRgGuPuXb7DaK/DmxOhw==", + "node_modules/micromark-util-subtokenize": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz", + "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==", "dev": true, + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], "license": "MIT", "dependencies": { - "micromark": "~2.11.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" } }, - "node_modules/micromark-extension-gfm-table": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-0.4.3.tgz", - "integrity": "sha512-hVGvESPq0fk6ALWtomcwmgLvH8ZSVpcPjzi0AjPclB9FsVRgMtGZkUcpE0zgjOCFAznKepF4z3hX8z6e3HODdA==", + "node_modules/micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", "dev": true, - "license": "MIT", - "dependencies": { - "micromark": "~2.11.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" }, - "node_modules/micromark-extension-gfm-tagfilter": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-0.3.0.tgz", - "integrity": "sha512-9GU0xBatryXifL//FJH+tAZ6i240xQuFrSL7mYi8f4oZSbc+NvXjkrHemeYP0+L4ZUT+Ptz3b95zhUZnMtoi/Q==", + "node_modules/micromark-util-types": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz", + "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==", "dev": true, - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" }, - "node_modules/micromark-extension-gfm-task-list-item": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-0.3.3.tgz", - "integrity": "sha512-0zvM5iSLKrc/NQl84pZSjGo66aTGd57C1idmlWmE87lkMcXrTxg1uXa/nXomxJytoje9trP0NDLvw4bZ/Z/XCQ==", + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "license": "MIT", "dependencies": { - "micromark": "~2.11.0" + "braces": "^3.0.3", + "picomatch": "^2.3.1" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "engines": { + "node": ">=8.6" } }, "node_modules/minimatch": { @@ -1460,6 +2667,19 @@ "dev": true, "license": "ISC" }, + "node_modules/picomatch": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/pluralize": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-2.0.0.tgz", @@ -1477,6 +2697,16 @@ "node": ">= 0.8.0" } }, + "node_modules/punycode.js": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", + "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/qified": { "version": "0.10.1", "resolved": "https://registry.npmjs.org/qified/-/qified-0.10.1.tgz", @@ -1497,6 +2727,27 @@ "dev": true, "license": "MIT" }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, "node_modules/rc-config-loader": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/rc-config-loader/-/rc-config-loader-4.1.4.tgz", @@ -1627,6 +2878,41 @@ "node": ">=0.10.0" } }, + "node_modules/reusify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, "node_modules/semver": { "version": "7.8.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", @@ -1640,6 +2926,19 @@ "node": ">=10" } }, + "node_modules/slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/slice-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", @@ -1658,6 +2957,19 @@ "url": "https://github.com/chalk/slice-ansi?sponsor=1" } }, + "node_modules/smol-toml": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.8.0.tgz", + "integrity": "sha512-kCZr2V3ch9i00x8zXRhjUNVcjG9ijES5dDudkXvUVCT5QlJNQWElSJdZqyPemffHoLNUYwOcou0Fy+ojN0uHSQ==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">= 18" + }, + "funding": { + "url": "https://github.com/sponsors/cyyynthia" + } + }, "node_modules/spdx-correct": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", @@ -1816,6 +3128,19 @@ "unist-util-visit": "^1.1.0" } }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, "node_modules/trough": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", @@ -1853,6 +3178,13 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/uc.micro": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-3.0.0.tgz", + "integrity": "sha512-U3PppEkleoTnIfi8BozMx3yju3qc/L6SwqWo2Sw+54PX+PX0q9I+r1Um5HCmqD7n9VDX5/v3vQH/AjA6deDdtw==", + "dev": true, + "license": "MIT" + }, "node_modules/unicorn-magic": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", diff --git a/package.json b/package.json index f93c4e6..c3a1af7 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,15 @@ { "name": "openfasttrace-architecture-template", "private": true, - "description": "Prose linting (textlint) for the Markdown sources, see .github/workflows/lint.yml", + "description": "Markdown linting (markdownlint, textlint) for the Markdown sources, see .github/workflows/lint.yml", "devDependencies": { + "markdownlint-cli2": "^0.23.3", "textlint": "^15.8.0", "textlint-rule-common-misspellings": "^1.0.1" }, "scripts": { + "markdownlint": "markdownlint-cli2 \"**/*.md\"", + "markdownlint:fix": "markdownlint-cli2 --fix \"**/*.md\"", "textlint": "textlint -f github \"**/*.md\"" } } diff --git a/pom.xml b/pom.xml index c61cf7a..937aed6 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ Design S. Bär, M. Thielcke SwAD-AutoYummiBox - architecture.md introduction.md context.md + architecture.md introduction.md context.md constraints.md solution_strategy.md building_block_view.md building_block_view/MachineApplication.md runtime_view.md runtime_view/ordering_dishes.md @@ -196,6 +196,7 @@ --standalone --toc --number-sections + --lua-filter=${lua.source.directory}/image_path_converter.lua --strip-comments --output=${spec.file.pdf} --metadata=title:"${spec.title}" @@ -239,6 +240,7 @@ --number-sections --css=${spec.source.css.directory}/spec.css --lua-filter=${lua.source.directory}/link_converter.lua + --lua-filter=${lua.source.directory}/image_path_converter.lua --strip-comments --output=${spec.file.html} --metadata=title:"${spec.title}" diff --git a/src/doc/architecture.md b/src/doc/architecture.md index 9bb9bd2..9c3ec87 100644 --- a/src/doc/architecture.md +++ b/src/doc/architecture.md @@ -12,7 +12,7 @@ > OFT: In this system architecture template we are discussing the design of a fictional product "OFTAutoYummy" that synthesizes meals from raw materials and is basically a 3D printer for ready-made food. The example is intended to demonstrate architectural considerations of a project that has both hardware and software parts. -> OFT: The structure of the architectural template is based on the arc42 template ([arc42.org](https://arc42.org)) by Dr. Gernot Starke and Dr. Peter Hruschka. Both, the arc42 template and this template are licensed under the [Creative-Commons-BY-SA license](../LICENSE.txt). +> OFT: The structure of the architectural template is based on the arc42 template ([arc42.org](https://arc42.org)) by Dr. Gernot Starke and Dr. Peter Hruschka. Both, the arc42 template and this template are licensed under the [Creative-Commons-BY-SA license](../../LICENSE.txt). > OFT: In order to allow for requirement tracing, the template uses the "Requirement-enhanced Markdown format" defined by the [OpenFastTrace](https://github.com/itsallcode/openfasttrace) project. The examples and additions also come from this project. @@ -31,7 +31,7 @@ 5. [Building blocks](building_block_view.md) 6. [Runtime](runtime_view.md) 7. [Deployment](deployment_view.md) -8. [Cross-cutting Concerns](concerns.md) +8. [Cross-cutting Concerns](concepts.md) 9. [Design Decisions](design_decisions.md) 10. [Quality Scenarios](quality_scenarios.md) 11. [Risks](risks.md) diff --git a/src/doc/bibliography.md b/src/doc/bibliography.md index 3638966..5f8f628 100644 --- a/src/doc/bibliography.md +++ b/src/doc/bibliography.md @@ -17,7 +17,7 @@ ## Specifications -* SRS: "OFTAutoYummi - System Requirement Specification", *S. Baer, Chr. Pirkl*, 2018, [itsallcode.org](http://itsallcode.org) +* SRS: "OFTAutoYummi - System Requirement Specification", *S. Baer, Chr. Pirkl*, 2018, [itsallcode.org](https://github.com/itsallcode) ## Standards @@ -27,7 +27,7 @@ ## Documents -* ASGL: "Logging Guideline", *J. Weng, M. Liu"*, 2017 +* ASGL: "Logging Guideline", *J. Weng, M. Liu"*, 2017 * OAY-ORGA: "OFTAutoYummi Organization", *J. Doe*, 2018 * LGL: "Logging Guideline", *M. Mustermann"*, 2017 * MGL: "Monitoring Guideline", *L. Smith"*, 2017 diff --git a/src/doc/building_block_view.md b/src/doc/building_block_view.md index d29a58a..148bc8d 100644 --- a/src/doc/building_block_view.md +++ b/src/doc/building_block_view.md @@ -61,7 +61,7 @@ This section contains the building block breakdown on the highest level. > OFT: If you want to make sure the components you define in this architecture appear in the actual detailed designs (and in the implementations) we recommend that you create one specification item for each internal component and require coverage on detailed design level (here `dsn`). Of course you should talk the component breakdown through with the implementing teams in order to get their agreement. Otherwise you will end up with a nice architecture document that nobody cares about. -> OFT: We use tags in the specification items to allow filtering. This helps splitting the workload between multiple development teams since each team can define tag filters to check coverage for the components they are responsible for. Check the [OFT User Guide](https://github.com/itsallcode/openfasttrace/blob/master/doc/user_guide.md) to learn more about tag filters. +> OFT: We use tags in the specification items to allow filtering. This helps splitting the workload between multiple development teams since each team can define tag filters to check coverage for the components they are responsible for. Check the [OFT User Guide](https://github.com/itsallcode/openfasttrace/blob/main/doc/user_guide/user_guide.md) to learn more about tag filters. ### AutoYummyBox diff --git a/src/doc/building_block_view/MachineApplication.md b/src/doc/building_block_view/MachineApplication.md index f21dbe4..08087cb 100644 --- a/src/doc/building_block_view/MachineApplication.md +++ b/src/doc/building_block_view/MachineApplication.md @@ -23,7 +23,7 @@ This section contains the internal component breakdown of the MachineApplication The breakdown is kept rough intentionally to avoid excessive information duplication with the detailed design documents. -![MachineApplication composition](uml/component/comp_machine_application.svg "MachineApplication composition") +![MachineApplication composition](../uml/component/comp_machine_application.svg "MachineApplication composition") > OFT: The main purpose of the above diagram in the context of this architecture example is to demonstrate a variety of component and package relationships. Explaining the structure of the product is one of if not the most important job of a architecture. @@ -33,7 +33,7 @@ In case of the paste containers this is due to the fact that the companies provi > OFT: Look at the component diagram. You can see from the package structure that the interface is owned internally. This is the structure of choice if you want to create a plug-in architecture. -The CreditCardReader is a self-sufficient standard component that only requires an external HttpClient. See ["Which Embedded HTTP Client do we use?"](../design_decisions.md#which-embedded-http-client-do-we-use) in the ["Design Decisions"](../design_decision.md) chapter for details about how this influences the architecture of the backend connection. +The CreditCardReader is a self-sufficient standard component that only requires an external HttpClient. See ["Which Embedded HTTP Client do we use?"](../design_decisions.md#which-embedded-http-client-do-we-use) in the ["Design Decisions"](../design_decisions.md) chapter for details about how this influences the architecture of the backend connection. > OFT: Some design decisions are a constant source of discussion. We intentionally picked the HTTP client as an example since from our experience this topic always ignites heated debates in the embedded world. @@ -57,7 +57,7 @@ Tags: PasteContainer `arch~ayb.foodprinter~1` -The FoodPrinter is a hardware component that is feed with [pastes](glossary.md#paste) and prints a dish out of them. +The FoodPrinter is a hardware component that is feed with [pastes](../glossary.md#paste) and prints a dish out of them. Comments: diff --git a/src/doc/constraints.md b/src/doc/constraints.md new file mode 100644 index 0000000..f5a36b8 --- /dev/null +++ b/src/doc/constraints.md @@ -0,0 +1,42 @@ + + +# Constraints + +> OFT: Constraints are requirements that limit the freedom of the architects and developers. They are typically not negotiable. Typical sources are laws, standards, contracts, the organization you are working for and existing technical environments. + +> OFT: List the constraints in this chapter and explain where they come from. Give each constraint an OFT specification item ID so that you can trace the design decisions and risks back to the constraints that caused them. + +## Technical Constraints + +> OFT: Hardware and software your product must run on or with, technologies that must or must not be used, programming languages, libraries and so on. + +### Vending Machine Hardware + +`arch~ayb.vending-machine-hardware~1` + +The AutoYummyBox uses the already existing third-party 3D food printer hardware. The printer controller is a black box that we cannot change. + +## Organizational Constraints + +> OFT: Team structure, budget, schedule, development process and tools, licenses of third-party components. + +### Open Source Licenses + +`arch~ayb.open-source-licenses~1` + +Only third-party components with licenses that allow commercial use without copyleft obligations are allowed in the MachineApplication. + +## Conventions + +> OFT: Coding guidelines, documentation standards, naming conventions. + +The architecture is documented following the [arc42](https://arc42.org) template and the requirements are traced with [OpenFastTrace](https://github.com/itsallcode/openfasttrace). diff --git a/src/doc/context.md b/src/doc/context.md index 255c59e..781715b 100644 --- a/src/doc/context.md +++ b/src/doc/context.md @@ -17,7 +17,7 @@ > OFT: arc42 recommends two sub-sections here: "Business Context" and "Technical Context". If you have a separate System Requirement Specification (SRS), the "Business Context" is better kept there since it is part of the user domain. Of course referencing it from here is a good idea. -For information about the uers's point of view on the system context please refer to the [OFTAutoYummi System Requirement Specification (SRS)](bibliography.md#SRS). +For information about the uers's point of view on the system context please refer to the [OFTAutoYummi System Requirement Specification (SRS)](bibliography.md#srs). ## Technical Context @@ -37,7 +37,7 @@ The Customers in OFTAutoYummi are people using the vending machine to purchase d #### Mechatronic Technician -Mechatronic Technicians are responsible for repairing defect [AutoYummiBoxes](glossary.md#autoyummibox). The need in-depth knowledge of electronics, 3D printer mechanics and food engineering. They also get regular trainings on updated versions of the AutoYummiBox. Due to their specific skill set Mechatronics Technicians are more expensive than [Machine Maintainers](#machine-maintainer). The project also employs fewer of them since the need for repairs should be a lot less frequent than for refilling and cleaning. +Mechatronic Technicians are responsible for repairing defect [AutoYummiBoxes](glossary.md#autoyummybox). The need in-depth knowledge of electronics, 3D printer mechanics and food engineering. They also get regular trainings on updated versions of the AutoYummiBox. Due to their specific skill set Mechatronics Technicians are more expensive than [Machine Maintainers](#machine-maintainer). The project also employs fewer of them since the need for repairs should be a lot less frequent than for refilling and cleaning. #### Machine Maintainer @@ -47,7 +47,7 @@ Machine Maintainers are responsible for keeping the AutoYummiBoxes clean and sto > OFT: Neighboring systems are project-external technical systems that are attached to your system or that your system attaches to. Systems run by the same company which are outside of the responsibility of this project also count as external. -> OFT: arc42 suggests listing technical details about the communication channels to the neighboring systems. We recommend that you do not go to this level of detail here since in a non-trivial system interface descriptions go beyond the scope of a simple system context, often involving painful architectural decisions between available communication options. Those details are better kept in the [Building Block View](building_block_view.md) and [Deployment View](deployment.md) chapter. Also keep in mind that the context chapter is often read by management and needs to be on an abstraction level managers are able to follow. +> OFT: arc42 suggests listing technical details about the communication channels to the neighboring systems. We recommend that you do not go to this level of detail here since in a non-trivial system interface descriptions go beyond the scope of a simple system context, often involving painful architectural decisions between available communication options. Those details are better kept in the [Building Block View](building_block_view.md) and [Deployment View](deployment_view.md) chapter. Also keep in mind that the context chapter is often read by management and needs to be on an abstraction level managers are able to follow. #### Payment Provider diff --git a/src/doc/introduction.md b/src/doc/introduction.md index 4609f4e..a8d7fb0 100644 --- a/src/doc/introduction.md +++ b/src/doc/introduction.md @@ -13,7 +13,7 @@ > OFT: start with a general introduction of your product / project here. Choose a detail level that allows first-time readers of your document whether or not the content is interesting for them. -OFTAutoYummi is a system of instant food vending machines and the necessary IT backend. The machines are 3D printers that create preprogrammed dishes from a set of [pastes](../glossary.md#paste) that are stored as raw materials in the machine. +OFTAutoYummi is a system of instant food vending machines and the necessary IT backend. The machines are 3D printers that create preprogrammed dishes from a set of [pastes](glossary.md#paste) that are stored as raw materials in the machine. OFTAutoYummi uses a backend connection via the Internet to report fill level of the paste containers, health status of the machines and payment services. @@ -27,7 +27,7 @@ The target audience are persons involved with the construction of the system, te ### Notational Conventions -Requirements in this document are written in "Requirement enhanced Markdown format" which is the native specification format of [OpenFastTrace (OFT)](https://github.com/itsallcode/openfasttrace). If you want to learn more about this format please check the [OpenFastTrace User Guide](https://github.com/itsallcode/openfasttrace/blob/master/doc/user_guide.md). +Requirements in this document are written in "Requirement enhanced Markdown format" which is the native specification format of [OpenFastTrace (OFT)](https://github.com/itsallcode/openfasttrace). If you want to learn more about this format please check the [OpenFastTrace User Guide](https://github.com/itsallcode/openfasttrace/blob/main/doc/user_guide/user_guide.md). Using this format allows you to scan the requirement chain using OFT to see if all requirements from the user-level [System Requirement Specification (SRS)](bibliography.md#srs) are covered. @@ -70,11 +70,11 @@ This has two advantages: > OFT: Generally speaking though the arc42 template contains this section, we do recommend to keep these requirements in a separate document since the life cycle and responsible persons are different for system requirements and system architecture. -See [OFTAutoYummy System Requirement Specification](../bibliography.md#srs) +See [OFTAutoYummy System Requirement Specification](bibliography.md#srs) ## Quality Goals -> OFT: The arc42 template suggests that you list your most important quality goals here. Limit yourself to not more than five since you still have plenty of opportunity to add quality details in the chapter ["Quality Scenarios"](../quality_scenarios/quality_scenarios.md) +> OFT: The arc42 template suggests that you list your most important quality goals here. Limit yourself to not more than five since you still have plenty of opportunity to add quality details in the chapter ["Quality Scenarios"](quality_scenarios.md) OFTAutoYummi's main quality goals are in descending order of importance: @@ -95,7 +95,7 @@ This section list the target audience of the system architecture and their inter > OFT: Hint: always use plural when referring to roles. This keeps your specifications gender-neutral especially when using pronouns. -For a list of OFTAutoYummi's stakeholder contacts and their responsibilities please refer to the [OAY-ORGA](../bibilography.md#oay-orga). +For a list of OFTAutoYummi's stakeholder contacts and their responsibilities please refer to the [OAY-ORGA](bibliography.md#oay-orga). > OFT: Usually only certain chapters are interesting for an individual project role. You can help your readers finding the relevant information more quickly by listing the chapters they should read. @@ -109,7 +109,7 @@ Recommended reading: * [Context](context.md) * [Constraints](constraints.md) * [Building Block View](building_block_view.md) -* [Runtime View](runtime.md) +* [Runtime View](runtime_view.md) * [Concepts](concepts.md) * [Design Decisions](design_decisions.md) * [Quality Scenarios](quality_scenarios.md) @@ -155,7 +155,7 @@ Recommended reading: * [Context](context.md) * [Constraints](constraints.md) * [Building Block View](building_block_view.md) -* [Runtime View](runtime.md) +* [Runtime View](runtime_view.md) * [Concepts](concepts.md) * [Quality Scenarios](quality_scenarios.md) diff --git a/src/doc/risks.md b/src/doc/risks.md index 77a97c2..5cbbcd7 100644 --- a/src/doc/risks.md +++ b/src/doc/risks.md @@ -37,7 +37,7 @@ Risks are often the direct consequence of constraints, so please check the chapt `archrisk~ayb.unpatched-http-client-vulnerabilities` -The guaranteed time-to-fix for known vulnerabilities in the Wriggly Wombat Soft HTTP client we are using in the [MachineApplication](components/MachineApplication.md) is two weeks counted from the day a vulnerability is first reported. Worst case this means that our product suffers from an unpatched vulnerability for the whole two weeks. +The guaranteed time-to-fix for known vulnerabilities in the Wriggly Wombat Soft HTTP client we are using in the [MachineApplication](building_block_view/MachineApplication.md) is two weeks counted from the day a vulnerability is first reported. Worst case this means that our product suffers from an unpatched vulnerability for the whole two weeks. > OFT: This admittedly constructed example demonstrates why project members in general and project management in particular tend to avoid thinking too much about risks. This risk is a potential show-stopper for the whole product. As a professional architect you have to make the risk transparent. Project management needs to calculate and decide whether it is in total cheaper to accept the risk with all consequences or to spend time, effort and money to mitigate or remove it. @@ -46,7 +46,7 @@ The guaranteed time-to-fix for known vulnerabilities in the Wriggly Wombat Soft Consequences: * Depending on the severity of the vulnerability consequences range from remote Denial-of-Service (DoS) over data leakage to remote infection of the AutoYummyBox with malicious code. -* Since the HTTP client is also an integral part of the [CreditCardReader](components/CreditCardReader.md) the worst thing that could happen is leakage of our customers' credit card information. +* Since the HTTP client is also an integral part of the [CreditCardReader](building_block_view/MachineApplication.md) the worst thing that could happen is leakage of our customers' credit card information. The following mitigations are possible: @@ -56,7 +56,7 @@ The following mitigations are possible: 1. Offer a patch (case-by-case) - We have the source code but we are neither allowed nor able to exchange the HTTP client in the [CreditCardReader](components/CreditCardReader.md). + We have the source code but we are neither allowed nor able to exchange the HTTP client in the [CreditCardReader](building_block_view/MachineApplication.md). Also it is questionable whether we are faster to create a patch than the original maker of the HTTP client. 1. Compartmentalize the vulnerability in our components (case-by-case) diff --git a/src/doc/runtime_view.md b/src/doc/runtime_view.md index 675cee3..9442499 100644 --- a/src/doc/runtime_view.md +++ b/src/doc/runtime_view.md @@ -21,9 +21,9 @@ This chapter describes the system behavior at runtime. > OFT: When designing features keep in mind that there should be not more that fit on a single page product sheet — after you subtracted the space for images and general product description. As a rule of thumb three to ten top-level features are a good number. -* [Ordering Dishes](runtime/ordering_dishes.md) -* [Preparing Dishes](runtime/preparing_dishes.md) -* [Paying With Credit Card](runtime/paying_with_credit_card.md) +* [Ordering Dishes](runtime_view/ordering_dishes.md) +* [Preparing Dishes](runtime_view/preparing_dishes.md) +* [Paying With Credit Card](runtime_view/paying_with_credit_card.md) * Paying With VirtuCoinBuddy * Cleaning AutoYummyBoxes * Keeping the boxes well-stocked diff --git a/src/doc/runtime_view/ordering_dishes.md b/src/doc/runtime_view/ordering_dishes.md index 010daed..1a41515 100644 --- a/src/doc/runtime_view/ordering_dishes.md +++ b/src/doc/runtime_view/ordering_dishes.md @@ -13,7 +13,7 @@ > OFT: Readers are lazy, so it is best not to assume that they read the feature description in the SRS. You should at least -This section explains how [Customers](../introduction#customer) order dishes at the AutoYummyBox. This includes finding out which dishes AutoYummiBox can [prepare](preparing_dishes.md) given the available [pastes](../glossary.md#paste) and their remaining amounts. +This section explains how [Customers](../context.md#customer) order dishes at the AutoYummyBox. This includes finding out which dishes AutoYummiBox can [prepare](preparing_dishes.md) given the available [pastes](../glossary.md#paste) and their remaining amounts. > OFT: Next we recommend that you outline what happens in a behavioral chart. If unsure which one to pick, start with a sequence chart. @@ -21,12 +21,12 @@ This section explains how [Customers](../introduction#customer) order dishes at > OFT: The diagram below has three different responsible parties: the Customer (who does not have to implement anything), the MachineApplication which we assume is in the responsibility of a dedicated development team and the PasteContainer which is a delivery you get from a supplier. Your job as a system architect is to make sure all teams have the necessary information to get their parts running together as one system in the end. -![Ordering dishes](uml/sequence/seq_ordering_dishes.svg "Ordering dishes") +![Ordering dishes](../uml/sequence/seq_ordering_dishes.svg "Ordering dishes") > OFT: For comparison here the detailed design that shows the inner workings of the MachineApplication.
-![Ordering dishes -- detailed design](uml/sequence/seq_ordering_dishes_detailed_design.svg "Ordering dishes -- detailed design") +![Ordering dishes -- detailed design](../uml/sequence/seq_ordering_dishes_detailed_design.svg "Ordering dishes -- detailed design")
> OFT: As you can see there is a lot of internal details that does not necessarily need to appear in the SwAD. diff --git a/src/main/lua/image_path_converter.lua b/src/main/lua/image_path_converter.lua new file mode 100644 index 0000000..8c575b6 --- /dev/null +++ b/src/main/lua/image_path_converter.lua @@ -0,0 +1,8 @@ +-- Pandoc renders all chapters with the working directory set to the root of the +-- Markdown sources (src/doc). Chapters in sub-directories reference the diagrams +-- as "../uml/...", so that the links also work on GitHub. Strip the "../" so that +-- the images are found during rendering. +function Image(image) + image.src = string.gsub(image.src, "^%.%./", "") + return image +end From 69b1126005249a82bf1827addf5602354cab5fdb Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sat, 10 Oct 2026 15:50:39 +0200 Subject: [PATCH 3/3] Allow the Chromium sandbox for linkspector on Ubuntu 24.04 runners Co-Authored-By: Claude Fable 5.1 --- .github/workflows/check-links.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index aac5327..b8890b1 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -30,6 +30,10 @@ jobs: uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 24 + - name: Allow the Chromium sandbox + # linkspector uses a headless Chromium via Puppeteer. Ubuntu 24.04 restricts unprivileged user + # namespaces via AppArmor, which makes Chromium fail with "No usable sandbox". + run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 - name: Run linkspector # Runs the CLI directly instead of umbrelladocs/action-linkspector, because the organization's Actions policy # only allows actions from GitHub and verified creators