@diplodoc/cli-tests 0.0.0-rc-err-count-202505291233 → 0.0.0-rc-ci-optimization-test-202506191355
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/e2e/__snapshots__/include-toc.test.ts.snap +98 -106
- package/e2e/__snapshots__/load-custom-resources.spec.ts.snap +66 -56
- package/e2e/__snapshots__/metadata.spec.ts.snap +19 -14
- package/e2e/__snapshots__/plugin-corner-cases.spec.ts.snap +0 -0
- package/e2e/__snapshots__/regression.test.ts.snap +764 -760
- package/e2e/__snapshots__/restricted-access.test.ts.snap +234 -0
- package/e2e/__snapshots__/rtl.spec.ts.snap +57 -47
- package/e2e/__snapshots__/translation.spec.ts.snap +366 -0
- package/e2e/errors.spec.ts +37 -0
- package/e2e/restricted-access.test.ts +21 -0
- package/fixtures/cliAdapter.ts +39 -20
- package/fixtures/runners/binary.ts +21 -3
- package/fixtures/runners/index.ts +3 -1
- package/fixtures/runners/source.ts +5 -5
- package/fixtures/runners/types.ts +7 -1
- package/fixtures/utils/file.ts +3 -3
- package/fixtures/utils/test.ts +6 -1
- package/mocks/errors/unreachable-link/input/exists.md +1 -0
- package/mocks/errors/unreachable-link/input/index.md +2 -0
- package/mocks/errors/unreachable-link/input/toc.yaml +1 -0
- package/mocks/regression/input/1.md +0 -4
- package/mocks/regression/input/_assets/5_1.png +0 -0
- package/mocks/regression/input/images.md +2 -0
- package/mocks/regression/input/includes.md +1 -0
- package/mocks/restricted-access/test1/input/index.md +0 -0
- package/mocks/restricted-access/test1/input/plugins/index.md +0 -0
- package/mocks/restricted-access/test1/input/plugins/index2.md +0 -0
- package/mocks/restricted-access/test1/input/plugins/index3.md +0 -0
- package/mocks/restricted-access/test1/input/plugins/index4.md +4 -0
- package/mocks/restricted-access/test1/input/toc.yaml +28 -0
- package/mocks/restricted-access/test2/input/index.md +0 -0
- package/mocks/restricted-access/test2/input/plugins/index.md +0 -0
- package/mocks/restricted-access/test2/input/project/index.md +0 -0
- package/mocks/restricted-access/test2/input/toc.yaml +21 -0
- package/mocks/restricted-access/test3/input/a1.md +1 -0
- package/mocks/restricted-access/test3/input/folder1/a1.md +1 -0
- package/mocks/restricted-access/test3/input/folder1/folder2/a1.md +1 -0
- package/mocks/restricted-access/test3/input/folder1/folder2/toc.yaml +8 -0
- package/mocks/restricted-access/test3/input/folder1/toc.yaml +10 -0
- package/mocks/restricted-access/test3/input/index.md +0 -0
- package/mocks/restricted-access/test3/input/toc.yaml +16 -0
- package/package.json +4 -3
- package/vitest.config.ts +1 -2
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
title: Yandex Flavored Markdown
|
|
2
|
+
items:
|
|
3
|
+
- name: Yandex Flavored Markdown
|
|
4
|
+
href: index.md
|
|
5
|
+
restricted-access: admin
|
|
6
|
+
- name: Plugins
|
|
7
|
+
items:
|
|
8
|
+
- name: Overview
|
|
9
|
+
href: plugins/index.md
|
|
10
|
+
restricted-access:
|
|
11
|
+
- admin
|
|
12
|
+
- name: Plugins 2
|
|
13
|
+
restricted-access: admin
|
|
14
|
+
items:
|
|
15
|
+
- name: Overview 2
|
|
16
|
+
href: plugins/index2.md
|
|
17
|
+
restricted-access:
|
|
18
|
+
- admin
|
|
19
|
+
- user
|
|
20
|
+
- name: Overview 3
|
|
21
|
+
href: plugins/index3.md
|
|
22
|
+
restricted-access:
|
|
23
|
+
- admin
|
|
24
|
+
- name: Overview 4
|
|
25
|
+
href: plugins/index4.md
|
|
26
|
+
restricted-access:
|
|
27
|
+
- admin
|
|
28
|
+
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
title: Yandex Flavored Markdown
|
|
2
|
+
items:
|
|
3
|
+
- name: Plugins
|
|
4
|
+
restricted-access:
|
|
5
|
+
- admin
|
|
6
|
+
- manager
|
|
7
|
+
items:
|
|
8
|
+
- name: Overview
|
|
9
|
+
href: plugins/index.md
|
|
10
|
+
restricted-access:
|
|
11
|
+
- userA
|
|
12
|
+
- userB
|
|
13
|
+
- name: Organizing a YFM project
|
|
14
|
+
items:
|
|
15
|
+
- name: Overview
|
|
16
|
+
href: project/index.md
|
|
17
|
+
restricted-access:
|
|
18
|
+
- userA
|
|
19
|
+
- userB
|
|
20
|
+
|
|
21
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This is the /a1.md file content.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This is the /folder1/a1.md file content.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This is the /folder1/folder1/a1.md file content.
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diplodoc/cli-tests",
|
|
3
|
-
"version": "0.0.0-rc-
|
|
3
|
+
"version": "0.0.0-rc-ci-optimization-test-202506191355",
|
|
4
4
|
"bin": {
|
|
5
5
|
"diplodoc-cli-test": "bin.mjs"
|
|
6
6
|
},
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
],
|
|
18
18
|
"scripts": {
|
|
19
19
|
"build": "false",
|
|
20
|
-
"test": "vitest run"
|
|
20
|
+
"test": "vitest run",
|
|
21
|
+
"test:update": "vitest -u"
|
|
21
22
|
},
|
|
22
23
|
"publishConfig": {
|
|
23
24
|
"access": "public"
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
"@diplodoc/cli": "file:.."
|
|
27
28
|
},
|
|
28
29
|
"dependencies": {
|
|
29
|
-
"@diplodoc/client": "^3.3
|
|
30
|
+
"@diplodoc/client": "^3.6.3",
|
|
30
31
|
"@types/node": "18.x",
|
|
31
32
|
"@vitest/coverage-istanbul": "^3.1.1",
|
|
32
33
|
"@vitest/coverage-v8": "^3.1.1",
|
package/vitest.config.ts
CHANGED
|
@@ -17,10 +17,9 @@ export default defineConfig({
|
|
|
17
17
|
environment: 'node',
|
|
18
18
|
include: [
|
|
19
19
|
'e2e/**/*.{test,spec}.ts',
|
|
20
|
-
'units/**/*.{test,spec}.ts',
|
|
21
20
|
...resolvedTestPaths.map((path) => `${path}/**/*.{test,spec}.ts`),
|
|
22
21
|
],
|
|
23
|
-
exclude: ['node_modules'
|
|
22
|
+
exclude: ['node_modules'],
|
|
24
23
|
coverage: {
|
|
25
24
|
enabled: false,
|
|
26
25
|
},
|