Skip to content

Commit

Permalink
chore(deps): update dependency @vue/eslint-config-typescript to v13 (#…
Browse files Browse the repository at this point in the history
…5430)

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

* Re-enable vitepress updates

* Commit generated SVGs as they do not render on Vercel

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lukas Taegert-Atkinson <lukas.taegert-atkinson@tngtech.com>
  • Loading branch information
renovate[bot] and lukastaegert committed Mar 16, 2024
1 parent b124341 commit ee42353
Show file tree
Hide file tree
Showing 8 changed files with 187 additions and 277 deletions.
2 changes: 1 addition & 1 deletion .gitignore
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
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
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

0 comments on commit ee42353

Please sign in to comment.