diff --git a/package.json b/package.json index 87f9169cb..e2604a424 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "node": ">= 8.0.0" }, "dependencies": { - "@types/minimatch": "3.0.3", "fs-extra": "^8.1.0", "handlebars": "^4.7.2", "highlight.js": "^9.17.1", @@ -33,6 +32,7 @@ "typescript": "3.7.x" }, "devDependencies": { + "@types/minimatch": "3.0.3", "@types/fs-extra": "^8.0.1", "@types/lodash": "^4.14.149", "@types/marked": "^0.7.2", diff --git a/src/index.ts b/src/index.ts index f4adbf0af..dee3c33c8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,7 +2,6 @@ export { Application } from './lib/application'; export { CliApplication } from './lib/cli'; export { EventDispatcher, Event } from './lib/utils/events'; -export { createMinimatch } from './lib/utils/paths'; export { resetReflectionID } from './lib/models/reflections/abstract'; export { normalizePath } from './lib/utils/fs'; export * from './lib/models/reflections'; diff --git a/src/test/utils/paths.test.ts b/src/test/utils/paths.test.ts index 2f854eabb..d66a583ec 100644 --- a/src/test/utils/paths.test.ts +++ b/src/test/utils/paths.test.ts @@ -4,7 +4,7 @@ import { Minimatch } from 'minimatch'; import isEqual = require('lodash/isEqual'); import Assert = require('assert'); -import { createMinimatch } from '../..'; +import { createMinimatch } from '../../lib/utils/paths'; // Used to ensure uniform path cross OS const absolutePath = (path: string) => Path.resolve(path.replace(/^\w:/, '')).replace(/[\\]/g, '/');