Skip to content

Commit

Permalink
Merge pull request #17 from dwyl/misc-fix
Browse files Browse the repository at this point in the history
[PR] Removing fast-glob and unused `markdownclint-cli2` file.
  • Loading branch information
nelsonic authored Oct 14, 2024
2 parents 9370efd + d4da198 commit ea91cf0
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 103 deletions.
26 changes: 0 additions & 26 deletions .markdownlint-cli2.mjs

This file was deleted.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,11 @@
"autoprefixer": "^10.4.19",
"babel-jest": "^29.7.0",
"dotenv": "^16.4.5",
"fast-glob": "^3.3.2",
"glob": "^11.0.0",
"ignore": "^6.0.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"markdown-link-check": "^3.12.2",
"markdownlint-cli2": "^0.13.0",
"markdownlint-rule-relative-links": "^3.0.0",
"monocart-reporter": "^2.5.0",
"open-cli": "^8.0.0",
Expand Down
71 changes: 0 additions & 71 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion src/generatePrivateRoutes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Project, SyntaxKind, ObjectLiteralExpression, PropertyAssignment } from "ts-morph";
import path from "path";
import fs from "fs";
import { globSync } from "fast-glob";
import { globSync } from "glob";
import { PrivateRoutes } from './types';

/**
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/generatePrivateRoutes.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { changeMiddleware, getPrivateRoutes } from "@/src/generatePrivateRoutes";
import { globSync } from "fast-glob";
import { globSync } from "glob";
import { existsSync, readFileSync } from "fs";
import path, { resolve } from "path";
import { Project, SyntaxKind } from "ts-morph";
Expand All @@ -14,8 +14,8 @@ jest.mock("path", () => ({
resolve: jest.fn(),
}));

// Mock fast-glob
jest.mock("fast-glob", () => ({
// Mock glob
jest.mock("glob", () => ({
globSync: jest.fn(),
}));

Expand Down

0 comments on commit ea91cf0

Please sign in to comment.