@diplodoc/client 5.7.7 → 5.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diplodoc/client",
3
- "version": "5.7.7",
3
+ "version": "5.7.8",
4
4
  "description": "",
5
5
  "main": "./build/server/app.js",
6
6
  "repository": {
@@ -46,10 +46,10 @@
46
46
  "devDependencies": {
47
47
  "@diplodoc/babel-preset": "^1.0.3",
48
48
  "@diplodoc/components": "^5.9.5",
49
- "@diplodoc/infra": "2.0.2",
49
+ "@diplodoc/infra": "2.0.5",
50
50
  "@diplodoc/latex-extension": "^1.3.4",
51
51
  "@diplodoc/mdx-extension": "^1.6.2",
52
- "@diplodoc/mermaid-extension": "^1.3.3",
52
+ "@diplodoc/mermaid-extension": "^2.1.2",
53
53
  "@diplodoc/openapi-extension": "^5.0.0",
54
54
  "@diplodoc/page-constructor-extension": "^0.13.4",
55
55
  "@diplodoc/tabs-extension": "^3.7.2",
@@ -1,52 +0,0 @@
1
- name: Update package
2
-
3
- on:
4
- workflow_dispatch:
5
- inputs:
6
- package:
7
- description: 'Package name'
8
- required: true
9
- type: string
10
- version:
11
- description: 'Package version'
12
- required: true
13
- type: string
14
- default: 'latest'
15
-
16
- jobs:
17
- update-package:
18
- runs-on: ubuntu-latest
19
- steps:
20
- - uses: actions/checkout@v4
21
- - name: Setup Node 22
22
- uses: actions/setup-node@v4
23
- with:
24
- node-version: ${{ vars.NODE_VERSION }}
25
- registry-url: 'https://registry.npmjs.org'
26
- cache: 'npm'
27
- - name: Install latest npm (>= 11.5.1)
28
- run: |
29
- [ "$(printf '%s\n' "11.5.1" "$(npm -v)" | sort -V | head -n1)" = "11.5.1" ] || npm install -g npm@latest
30
- shell: bash
31
- - run: npm ci
32
- - name: Update package
33
- run: npm i ${{ inputs.package }}@${{ inputs.version }}
34
- - name: Create and publish PR
35
- env:
36
- GH_TOKEN: ${{ secrets.YC_UI_BOT_GITHUB_TOKEN }}
37
- run: |
38
- set -e
39
-
40
- [[ -z $(git diff --stat | grep package.json) ]] && echo "::info::Nothing to update" && exit 0
41
-
42
- VERSION=$(npm explore --no-workspaces ${{ inputs.package }} "node -pe 'require(\"./package.json\").version'" --shell sh)
43
-
44
- git config --global user.email "95919151+yc-ui-bot@users.noreply.github.com"
45
- git config --global user.name "yc-ui-bot"
46
-
47
- git push -f origin :ci/update-deps/${{ inputs.package }}-$VERSION || true
48
- git checkout -b ci/update-deps/${{ inputs.package }}-$VERSION
49
- git add package.json package-lock.json
50
- git commit -m "fix(deps): Update ${{ inputs.package }} to $VERSION" --no-verify
51
- git push -u origin ci/update-deps/${{ inputs.package }}-$VERSION
52
- gh pr create -f