Skip to content

Commit 592e0b3

Browse files
fix!: Moved @types/minimatch dependency to devDepencencies (#1206)
BREAKING CHANGE: `createMinimatch` is no longer a public function.
1 parent 13f4deb commit 592e0b3

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"node": ">= 8.0.0"
2121
},
2222
"dependencies": {
23-
"@types/minimatch": "3.0.3",
2423
"fs-extra": "^8.1.0",
2524
"handlebars": "^4.7.2",
2625
"highlight.js": "^9.17.1",
@@ -33,6 +32,7 @@
3332
"typescript": "3.7.x"
3433
},
3534
"devDependencies": {
35+
"@types/minimatch": "3.0.3",
3636
"@types/fs-extra": "^8.0.1",
3737
"@types/lodash": "^4.14.149",
3838
"@types/marked": "^0.7.2",

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ export { Application } from './lib/application';
22
export { CliApplication } from './lib/cli';
33

44
export { EventDispatcher, Event } from './lib/utils/events';
5-
export { createMinimatch } from './lib/utils/paths';
65
export { resetReflectionID } from './lib/models/reflections/abstract';
76
export { normalizePath } from './lib/utils/fs';
87
export * from './lib/models/reflections';

src/test/utils/paths.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Minimatch } from 'minimatch';
44
import isEqual = require('lodash/isEqual');
55
import Assert = require('assert');
66

7-
import { createMinimatch } from '../..';
7+
import { createMinimatch } from '../../lib/utils/paths';
88

99
// Used to ensure uniform path cross OS
1010
const absolutePath = (path: string) => Path.resolve(path.replace(/^\w:/, '')).replace(/[\\]/g, '/');

0 commit comments

Comments
 (0)