Skip to content

Commit

Permalink
Merge branch 'next' into test-move-to-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 authored Aug 1, 2023
2 parents 36bfe6b + d6ab48b commit f9b3476
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 65 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@
"@types/markdown-it": "~12.2.3",
"@types/node": "~20.4.1",
"@types/prettier": "~2.7.3",
"@types/react": "~18.2.15",
"@types/react": "~18.2.17",
"@types/sanitize-html": "~2.9.0",
"@types/semver": "~7.5.0",
"@types/validator": "~13.7.17",
"@typescript-eslint/eslint-plugin": "~6.1.0",
"@typescript-eslint/parser": "~6.1.0",
"@typescript-eslint/eslint-plugin": "~6.2.0",
"@typescript-eslint/parser": "~6.2.0",
"@vitest/coverage-v8": "~0.33.0",
"@vitest/ui": "~0.33.0",
"@vueuse/core": "~10.2.1",
Expand Down Expand Up @@ -128,7 +128,7 @@
"typescript": "~4.9.5",
"validator": "~13.9.0",
"vite": "~4.4.2",
"vitepress": "1.0.0-beta.6",
"vitepress": "1.0.0-beta.7",
"vitest": "~0.33.0",
"vue": "~3.3.4"
},
Expand Down
120 changes: 60 additions & 60 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion test/scripts/apidoc/verify-jsdoc-tags.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ describe('verify JSDoc tags', () => {
mkdirSync(dir, { recursive: true });

const path = resolvePathToMethodFile(moduleName, methodName);
const imports = [...new Set(examples.match(/faker[^\.]*(?=\.)/g))];
const imports = [
...new Set(examples.match(/(?<!\.)faker[^\.]*(?=\.)/g)),
];
writeFileSync(
path,
`import { ${imports.join(
Expand Down

0 comments on commit f9b3476

Please sign in to comment.