🪟 Fix plugin loading on Windows #3435
Annotations
8 errors and 10 warnings
lint:
packages/myst-cli/src/plugins.ts#L2
Require statement not part of import statement
|
lint
Process completed with exit code 1.
|
tests/endToEnd.spec.ts > End-to-end cli export tests > Basic plugin build:
packages/mystmd/tests/endToEnd.spec.ts#L61
AssertionError: expected { kind: 'Article', …(7) } to match object { kind: 'Article', …(8) }
- Expected
+ Received
Object {
"dependencies": Array [],
"frontmatter": Object {
"exports": Array [
Object {
"filename": "index.md",
"format": "md",
"url": "/index.md",
},
],
"github": "https://github.com/jupyter-book/mystmd",
"keywords": Array [],
"title": "Basic Test",
},
"kind": "Article",
"location": "/index.md",
"mdast": Object {
"children": Array [
Object {
"children": Array [
Object {
"children": Array [
Object {
"position": Object {
"end": Object {
"column": 1,
"line": 5,
},
"start": Object {
"column": 1,
"line": 5,
},
},
"type": "text",
"value": "Lorem Ipsum",
},
],
"depth": 2,
"html_id": "lorem-ipsum",
"identifier": "lorem-ipsum",
"implicit": true,
"label": "Lorem Ipsum",
"position": Object {
"end": Object {
"column": 1,
"line": 5,
},
"start": Object {
"column": 1,
"line": 5,
},
},
"type": "heading",
},
Object {
"children": Array [
Object {
"position": Object {
"end": Object {
"column": 1,
"line": 7,
},
"start": Object {
"column": 1,
"line": 7,
},
},
"type": "text",
"value": "Set ",
},
Object {
"class": "red",
"position": Object {
"end": Object {
"column": 1,
"line": 7,
},
"start": Object {
"column": 1,
"line": 7,
},
},
"type": "text",
"value": "this text",
},
Object {
"position": Object {
"end": Object {
"column": 1,
"line": 7,
},
"start": Object {
"column": 1,
"line": 7,
},
},
"type": "text",
"value": " to a class of red.",
},
],
"position": Object {
"end": Object {
"column": 1,
"line": 7,
},
"start": Object {
"column": 1,
"line": 7,
},
},
"type": "paragraph",
},
],
"type": "block",
},
],
"type": "root",
},
"references": Object {
"cite": Object {
"data": Object {},
"order": Array [],
},
},
"sha256": "900eec73ecdfd1641367698dab8e7727ce2a81122ba0cd641c61c4f0f3b30694",
"slug": "index",
- "version": "1",
}
❯ tests/endToEnd.spec.ts:61:11
❯ tests/endToEnd.spec.ts:56:13
|
Testing on node 22.4.x
Process completed with exit code 1.
|
Testing on node 18
The job was canceled because "_22_4_x" failed.
|
Testing on node 18
The operation was canceled.
|
Testing on node 20
The job was canceled because "_22_4_x" failed.
|
Testing on node 20
The operation was canceled.
|
lint:
packages/myst-directives/src/include.ts#L2
'normalizeLabel' is defined but never used
|
lint:
packages/myst-to-typst/src/index.ts#L6
'getDefaultCaptionSupplement' is defined but never used
|
lint:
packages/myst-cli-utils/src/session.ts#L10
'url' is defined but never used
|
lint:
packages/myst-cli-utils/src/session.ts#L10
'init' is defined but never used
|
lint:
packages/myst-cli/src/build/cff.ts#L18
'parseMyst' is defined but never used
|
lint:
packages/myst-cli/src/build/typst.ts#L69
'templateYml' is defined but never used
|
lint:
packages/myst-cli/src/build/typst.ts#L70
'printGlossaries' is defined but never used
|
lint:
packages/myst-cli/src/init/jupyter-book/toc.ts#L335
'_' is assigned a value but never used
|
lint:
packages/myst-cli/src/init/jupyter-book/toc.ts#L383
'_' is assigned a value but never used
|
lint:
packages/myst-cli/src/process/notebook.ts#L10
'INotebookMetadata' is defined but never used
|