Skip to content

Commit

Permalink
fix!: Moved @types/minimatch dependency to devDepencencies (#1206)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `createMinimatch` is no longer a public function.
  • Loading branch information
alexandercerutti committed Mar 15, 2020
1 parent 13f4deb commit 592e0b3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion src/test/utils/paths.test.ts
Expand Up @@ -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, '/');
Expand Down

0 comments on commit 592e0b3

Please sign in to comment.