Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
conceptualshark authored Jan 6, 2025
2 parents 2ac6c63 + 09bd942 commit e764890
Show file tree
Hide file tree
Showing 479 changed files with 15,714 additions and 35,131 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 22
- name: Install Dependencies
run: npm ci
- name: Cache Docusaurus
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 22
- name: Install Dependencies
run: npm ci
- name: Verify format with Vale
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/preview-env-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
name: deploy-preview-env
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v1
with:
node-version: 22

- name: Import secrets from Vault
id: secrets
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 22
- name: Install Dependencies
run: npm ci
- name: Enable Indexing
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 22
- name: Install Dependencies
run: npm ci
- name: Cache Docusaurus
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.1
22.11.0
2 changes: 1 addition & 1 deletion Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To run: `npm run build:docker`

# Install dependencies
FROM node:16 AS build-setup
FROM node:22 AS build-setup
WORKDIR /app
COPY package*.json ./
RUN npm install
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ components:
scheme: bearer
bearerFormat: JWT
info:
title: Console SM Admin API
description: Access the administration API of Console SM.
title: Administration API (Self-Managed)
description: Access the administration API of Console Self-Managed.
version: 1.0.0
contact:
url: https://www.camunda.com
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
const { makeServerDynamic } = require("../make-server-dynamic");
const removeDuplicateVersionBadge = require("../remove-duplicate-version-badge");

const outputDir = "docs/apis-tools/console-sm-api/specifications";
const specFile = "api/console-sm/console-sm-openapi.yaml";
const outputDir = "docs/apis-tools/administration-sm-api/specifications";
const specFile = "api/administration-sm/administration-sm-openapi.yaml";

function preGenerateDocs() {
makeServerDynamic(specFile);
}

function postGenerateDocs() {
removeDuplicateVersionBadge(`${outputDir}/console-sm-admin-api.info.mdx`);
removeDuplicateVersionBadge(
`${outputDir}/administration-api-self-managed.info.mdx`
);
}

module.exports = {
Expand Down
Loading

0 comments on commit e764890

Please sign in to comment.