summaryrefslogtreecommitdiff
path: root/packages/markdown/remark/src
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2022-07-11 21:51:17 -0500
committerGravatar GitHub <noreply@github.com> 2022-07-11 22:51:17 -0400
commit93e1020b1e8549b08cf5646e1ebc3ae34e14ebc8 (patch)
tree36aad07a5594e95f2706ef9a4958a1ca55d33be5 /packages/markdown/remark/src
parent14ed29c6457e1930c3752245e9d62c6fa579334b (diff)
downloadastro-93e1020b1e8549b08cf5646e1ebc3ae34e14ebc8.tar.gz
astro-93e1020b1e8549b08cf5646e1ebc3ae34e14ebc8.tar.zst
astro-93e1020b1e8549b08cf5646e1ebc3ae34e14ebc8.zip
Fix: reintroduce smoke tests across example projects (#3669)
* chore: update smoke tests * chore: bump smoke tests to node@16 * chore: remove gitmodules * chore(ci): prefer node@14 * wip: remove path from smoke clone step * feat: run build:examples from test:smoke * fix: remove no-frozen-lockfile * fix: checkout monorepo last for pnpm setup * wip: replace @astrojs/markdown/remark import from md * fix: remove type defs from generated file * fix: function order * chore: remove ssr-utils export * wip: remove windows from smoke test * fix: instantiate slugger in snippet * fix: exclude with-mdx from smoke (for now) * fix: add quotes on filter flag for safety * chore: changeset * wip: try reintroducing windows smoke * sad chore: remove client: directive from with-mdx * Revert "wip: try reintroducing windows smoke" This reverts commit 9529b1a45c007286c22861e106b82200545e4198. Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: bholmesdev <hey@bholmes.dev>
Diffstat (limited to 'packages/markdown/remark/src')
-rw-r--r--packages/markdown/remark/src/ssr-utils.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/markdown/remark/src/ssr-utils.ts b/packages/markdown/remark/src/ssr-utils.ts
deleted file mode 100644
index 1491e24a5..000000000
--- a/packages/markdown/remark/src/ssr-utils.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-/** Utilities used in deployment-ready SSR bundles */
-import Slugger from 'github-slugger';
-
-const slugger = new Slugger();
-/** @see {@link "/packages/astro/vite-plugin-markdown"} */
-export function slug(value: string): string {
- return slugger.slug(value);
-}