@diplodoc/client 5.2.2 → 5.2.4
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/.github/workflows/coverage.yml +70 -0
- package/.github/workflows/release.yml +35 -6
- package/.github/workflows/tests.yml +1 -1
- package/.husky/commit-msg +3 -3
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +15 -0
- package/build/client/manifest.json +2 -2
- package/build/client/{vendor-42f1b39e64aa43b8.js → vendor-38a8fe9ee299ccc3.js} +3 -3
- package/build/client/vendor-38a8fe9ee299ccc3.js.map +1 -0
- package/build/server/vendor.js +5 -4
- package/build/server/vendor.js.map +1 -1
- package/package.json +3 -5
- package/sonar-project.properties +27 -0
- package/.github/workflows/prerelease.yaml +0 -27
- package/.github/workflows/quality.yaml +0 -27
- package/build/client/vendor-42f1b39e64aa43b8.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diplodoc/client",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/server/app.js",
|
|
6
6
|
"repository": {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@diplodoc/babel-preset": "^1.0.3",
|
|
48
|
-
"@diplodoc/components": "^5.2.
|
|
48
|
+
"@diplodoc/components": "^5.2.5",
|
|
49
49
|
"@diplodoc/latex-extension": "^1.3.4",
|
|
50
|
-
"@diplodoc/lint": "^1.
|
|
50
|
+
"@diplodoc/lint": "^1.13.2",
|
|
51
51
|
"@diplodoc/mdx-extension": "^1.6.2",
|
|
52
52
|
"@diplodoc/mermaid-extension": "^1.3.3",
|
|
53
53
|
"@diplodoc/openapi-extension": "^5.0.0",
|
|
@@ -66,8 +66,6 @@
|
|
|
66
66
|
"@types/react-dom": "^18.2.4",
|
|
67
67
|
"@types/rtlcss": "^3.5.4",
|
|
68
68
|
"bem-cn-lite": "^4.1.0",
|
|
69
|
-
"esbuild": "^0.27.2",
|
|
70
|
-
"esbuild-register": "^3.6.0",
|
|
71
69
|
"postcss-loader": "^8.1.1",
|
|
72
70
|
"postcss-preset-env": "^9.6.0",
|
|
73
71
|
"react": "^18.2.0",
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# SonarCloud project configuration
|
|
2
|
+
# This file will be generated/updated by SonarCloud when you connect your repository
|
|
3
|
+
|
|
4
|
+
# Project identification
|
|
5
|
+
# Note: sonar.organization can also be set via environment variable SONAR_ORGANIZATION
|
|
6
|
+
# or via GitHub Actions workflow. If not set here, it must be provided in the workflow.
|
|
7
|
+
sonar.organization=diplodoc-platform
|
|
8
|
+
sonar.projectKey=diplodoc-platform_client
|
|
9
|
+
sonar.projectName=client
|
|
10
|
+
|
|
11
|
+
# Source code location
|
|
12
|
+
sonar.sources=src
|
|
13
|
+
sonar.exclusions=**/*.spec.ts,**/*.test.ts,**/__tests__/**
|
|
14
|
+
|
|
15
|
+
# Test code location
|
|
16
|
+
sonar.tests=src
|
|
17
|
+
sonar.test.inclusions=**/*.spec.ts,**/*.test.ts,**/__tests__/**
|
|
18
|
+
|
|
19
|
+
# Coverage reports
|
|
20
|
+
sonar.javascript.lcov.reportPaths=coverage/lcov.info
|
|
21
|
+
sonar.typescript.lcov.reportPaths=coverage/lcov.info
|
|
22
|
+
|
|
23
|
+
# TypeScript configuration
|
|
24
|
+
sonar.typescript.tsconfigPath=tsconfig.json
|
|
25
|
+
|
|
26
|
+
# Encoding
|
|
27
|
+
sonar.sourceEncoding=UTF-8
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
on: workflow_dispatch
|
|
2
|
-
|
|
3
|
-
name: prerelease
|
|
4
|
-
|
|
5
|
-
permissions:
|
|
6
|
-
contents: read
|
|
7
|
-
id-token: write
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
prerelease:
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
if: github.ref_protected != true
|
|
13
|
-
steps:
|
|
14
|
-
- uses: actions/checkout@v4
|
|
15
|
-
- name: Setup Node 22
|
|
16
|
-
uses: actions/setup-node@v4
|
|
17
|
-
with:
|
|
18
|
-
node-version: 22
|
|
19
|
-
registry-url: 'https://registry.npmjs.org'
|
|
20
|
-
cache: 'npm'
|
|
21
|
-
- name: Install latest npm (>= 11.5.1)
|
|
22
|
-
run: |
|
|
23
|
-
[ "$(printf '%s\n' "11.5.1" "$(npm -v)" | sort -V | head -n1)" = "11.5.1" ] || npm install -g npm@latest
|
|
24
|
-
shell: bash
|
|
25
|
-
- run: npm ci
|
|
26
|
-
- run: npm version --no-git-tag-version 0.0.0-rc-$(git branch --show-current)-$(date "+%Y%m%d%H%M")
|
|
27
|
-
- run: npm publish --tag $(git branch --show-current)
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
name: Code quality
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
|
|
6
|
-
jobs:
|
|
7
|
-
build:
|
|
8
|
-
runs-on: ubuntu-latest
|
|
9
|
-
|
|
10
|
-
strategy:
|
|
11
|
-
matrix:
|
|
12
|
-
node-version: [22.x]
|
|
13
|
-
|
|
14
|
-
steps:
|
|
15
|
-
- uses: actions/checkout@v4
|
|
16
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
17
|
-
uses: actions/setup-node@v4
|
|
18
|
-
with:
|
|
19
|
-
node-version: ${{ matrix.node-version }}
|
|
20
|
-
cache: 'npm'
|
|
21
|
-
- name: Install latest npm (>= 11.5.1)
|
|
22
|
-
run: |
|
|
23
|
-
[ "$(printf '%s\n' "11.5.1" "$(npm -v)" | sort -V | head -n1)" = "11.5.1" ] || npm install -g npm@latest
|
|
24
|
-
shell: bash
|
|
25
|
-
- run: npm ci
|
|
26
|
-
- run: npm run lint
|
|
27
|
-
- run: npm run typecheck
|