Skip to content

Commit 976d067

Browse files
authored
Release notes for v0.111.0 (#2130)
1 parent 7d77d42 commit 976d067

8 files changed

Lines changed: 1449 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,4 @@ jobs:
1515
- run: npm install
1616
# - run: npm run build
1717
- name: Build Static Docs
18-
env:
19-
NODE_OPTIONS: '--max_old_space_size=8192'
2018
run: npm run build

.vuepress/client.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
*/
66

77
import { defineClientConfig } from 'vuepress/client';
8+
import AsciinemaPlayer from './components/AsciinemaPlayer.vue';
89
import BlogPosts from './components/BlogPosts.vue';
910
import JumpToc from './components/JumpToc.vue';
1011
import PrBy from './components/PrBy.vue';
1112
import ReleaseToc from './components/ReleaseToc.vue';
1213

1314
export default defineClientConfig({
1415
enhance({ app }) {
16+
app.component('AsciinemaPlayer', AsciinemaPlayer);
1517
app.component('BlogPosts', BlogPosts);
1618
app.component('JumpToc', JumpToc);
1719
app.component('PrBy', PrBy);
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<template>
2+
<div ref="playerElement"></div>
3+
</template>
4+
5+
<!-- for opts see https://docs.asciinema.org/manual/player/options/ -->
6+
7+
<script setup>
8+
import { ref, onMounted } from 'vue';
9+
import { ClientOnly } from 'vuepress/client';
10+
11+
const props = defineProps({
12+
castUrl: {
13+
type: String,
14+
required: true,
15+
},
16+
opts: {
17+
type: Object,
18+
required: false,
19+
},
20+
});
21+
22+
const playerElement = ref(null);
23+
24+
onMounted(async () => {
25+
const { create } = await import('asciinema-player');
26+
create(props.castUrl, playerElement.value, { theme: 'tango', ...props.opts });
27+
});
28+
</script>

.vuepress/styles/index.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '../../node_modules/asciinema-player/dist/bundle/asciinema-player.css';
2+
13
@font-face {
24
font-family: 'Fira Code';
35
src:

blog/2026-02-28-nushell_v0_111_0.md

Lines changed: 1274 additions & 0 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 135 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"type": "module",
77
"scripts": {
88
"update": "nu make_docs.nu",
9-
"dev": "vuepress dev",
10-
"build": "vuepress build",
9+
"dev": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vuepress dev",
10+
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vuepress build",
1111
"postinstall": "patch-package",
1212
"prepare": "git config --unset core.hooksPath && rm -rf .husky || true; npx lefthook install",
1313
"pretty": "prettier --write ."
@@ -20,6 +20,8 @@
2020
"@vuepress/plugin-shiki": "2.0.0-rc.118",
2121
"@vuepress/plugin-sitemap": "2.0.0-rc.118",
2222
"@vuepress/theme-default": "2.0.0-rc.118",
23+
"asciinema-player": "^3.15.1",
24+
"cross-env": "^10.1.0",
2325
"lefthook": "1.8.2",
2426
"patch-package": "^8.0.1",
2527
"prettier": "^3.3.3",

typos.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ extend-ignore-identifiers-re = [
66
"(?i)foobar", # false positive in book/sorting.md
77
]
88

9+
extend-ignore-re = [
10+
"\\x1b\\[[0-9;]*m.*", # ignore ansi color instructions
11+
]
12+
913
[default.extend-words]
1014
"ime" = "ime" # false positive in cookbook/polars_v_pandas_v_nushell.md
1115
ba = "ba"

0 commit comments

Comments
 (0)