Skip to content

Commit

Permalink
Extract from eb0209c42d131a083cff766779236ece874ad382
Browse files Browse the repository at this point in the history
  • Loading branch information
akeneo committed Jul 2, 2024
1 parent f24900b commit bfb688d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/dsm
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ const getFileMetrics = async filePath => {
const isShared = -1 !== filePath.indexOf('/shared/') || -1 !== filePath.indexOf('common/components');
const isComponent = !isSVG && !isTest && !isShared;
const usesStyledComponents = -1 !== fileContent.indexOf(`from 'styled-components';`);
const usesPimShared = -1 !== fileContent.indexOf(`from '@akeneo-pim-community/shared';`);
const usesLegacyBridge = -1 !== fileContent.indexOf(`from '@akeneo-pim-community/legacy-bridge';`);
const usesPimShared = -1 !== fileContent.indexOf(`from '@akeneo-pim/shared';`);
const usesLegacyBridge = -1 !== fileContent.indexOf(`from '@akeneo-pim/legacy-bridge';`);
const usesDSM = -1 !== fileContent.indexOf(`from 'akeneo-design-system';`);
const usesBEM =
-1 !== fileContent.indexOf(`className='Akn`) ||
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "akeneo-design-system",
"version": "0.1.251",
"version": "0.1.252",
"description": "Akeneo design system",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit bfb688d

Please sign in to comment.