Skip to content

Commit

Permalink
Added conflict lib
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed Jul 19, 2023
1 parent 0832836 commit 560f180
Show file tree
Hide file tree
Showing 3 changed files with 503 additions and 298 deletions.
1 change: 1 addition & 0 deletions src/tooling/piral-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"tar": "^4.4.8"
},
"dependencies": {
"css-conflict-inspector": "^0.1.1",
"dets": "^0.13.0",
"kras": "^0.15.4",
"rimraf": "^3.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isMonorepoPackageRef, findLatestVersion } from '../common';
import { analyzeCss } from 'css-conflict-inspector';
import { PiletRuleContext } from '../types';

export type Options = 'suggest' | 'required' | 'ignore';
Expand All @@ -9,5 +9,6 @@ export type Options = 'suggest' | 'required' | 'ignore';
export default async function (context: PiletRuleContext, options: Options = 'suggest') {
if (options !== 'ignore') {
//TODO
const result = analyzeCss('');
}
}
Loading

0 comments on commit 560f180

Please sign in to comment.