1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Replace gray-matter with @gr2m/gray-matter to control quotes in frontmatter (#57049)

This commit is contained in:
Kevin Heis
2025-08-11 06:41:17 -07:00
committed by GitHub
parent 6b15cafa2d
commit c1577ff1e8
13 changed files with 30 additions and 60 deletions

View File

@@ -2,7 +2,7 @@ import walk from 'walk-sync'
import { existsSync, lstatSync, unlinkSync } from 'fs'
import path from 'path'
import { readFile, writeFile, readdir } from 'fs/promises'
import matter from 'gray-matter'
import matter from '@gr2m/gray-matter'
import { rimraf } from 'rimraf'
import { mkdirp } from 'mkdirp'
import { difference, isEqual } from 'lodash-es'

View File

@@ -5,7 +5,7 @@ import path from 'path'
import { afterAll, beforeAll, describe, expect, test } from 'vitest'
import { mkdirp } from 'mkdirp'
import matter from 'gray-matter'
import matter from '@gr2m/gray-matter'
import type { FrontmatterVersions } from '@/types'
import { updateContentDirectory } from '../lib/update-markdown'