Skip to content

Commit d1b4b9c

Browse files
committed
fix code validate script
1 parent 9e7b3d6 commit d1b4b9c

File tree

3 files changed

+58
-22
lines changed

3 files changed

+58
-22
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,12 @@
7373
"@types/string-similarity": "^4.0.2",
7474
"@typescript-eslint/eslint-plugin": "7.18.0",
7575
"@typescript-eslint/parser": "7.18.0",
76+
"chalk": "^5.4.1",
7677
"eslint": "8.57.1",
7778
"eslint-config-prettier": "^9.1.0",
7879
"eslint-plugin-mdx": "^3.1.5",
7980
"eslint-plugin-tailwindcss": "3.17.5",
81+
"glob": "^11.0.2",
8082
"prettier": "3.4.2",
8183
"prettier-plugin-pkg": "^0.18.1",
8284
"prettier-plugin-tailwindcss": "^0.6.9",

pnpm-lock.yaml

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

scripts/validate-snippets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import fs from "node:fs"
44
import path from "node:path"
5-
import glob from "glob"
5+
import { glob } from "glob"
66
import { parse } from "graphql"
77
import chalk from "chalk"
88
import { fileURLToPath } from "node:url"

0 commit comments

Comments
 (0)