Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @vue/eslint-config-typescript to v13 #5430

Merged
merged 3 commits into from
Mar 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ perf/
.nyc_output/
.github_token
.temp
docs/.vitepress/graphs
docs/.vitepress/graphs/*.mmd
*.tsbuildinfo
target
*.node
Expand Down
1 change: 1 addition & 0 deletions docs/.vitepress/graphs/mermaid-66d62a8a.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/.vitepress/graphs/mermaid-7a3058ce.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/.vitepress/mermaid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export function renderMermaidGraphsPlugin(): Plugin {
const existingGraphFileNames = await existingGraphFileNamesPromise;
const outFileURL = new URL(outFile, graphsDirectory);
if (!existingGraphFileNames.has(outFile)) {
console.warn(
`Pre-rendered file ${outFile} not found, rendering...\nIf this throws on Vercel, you need to run "npm run build:docs" locally first and commit the updated svg files.`
);
const inFileURL = new URL(`${outFile}.mmd`, graphsDirectory);
await writeFile(inFileURL, codeBlock);
const { stdout, stderr } = await execPromise(
Expand Down
30 changes: 22 additions & 8 deletions docs/repl/components/ReplMain.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ onUnmounted(() => {
</script>

<style>
/* override vitepress styles */
.vp-doc.container {
padding: 0;
max-width: 100%;
}

/* global styles */
.repl-button {
font-family: inherit;
Expand Down Expand Up @@ -108,31 +114,39 @@ input {

.repl-icon-pencil:before {
content: '\e800';
} /* '' */
}

.repl-icon-cancel:before {
content: '\e801';
} /* '' */
}

.repl-icon-plus:before {
content: '\e802';
} /* '' */
}

.repl-icon-minus:before {
content: '\e803';
} /* '' */
}

.repl-icon-ok:before {
content: '\e804';
} /* '' */
}

.repl-icon-error:before {
content: '\e805';
} /* '' */
}

.repl-icon-attention:before {
content: '\e806';
} /* '' */
}
</style>

<style scoped>
h2 {
white-space: nowrap;
margin-bottom: 0.25rem;
margin: 0 0 0.25rem;
border: none;
padding: 0;
font-size: 20px;
line-height: 28px;
font-weight: 600;
Expand Down