Skip to content

Commit

Permalink
fix(components): fix macos build
Browse files Browse the repository at this point in the history
- lock FEC version to v2 in frontend inventory
- use correct import in PDF generator
- fix incorect scss source folder cor create styles script
  • Loading branch information
Hyperkid123 committed Feb 3, 2021
1 parent 1465553 commit 872869b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/components/create-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const packagePath = process.cwd();
let sassInputs;

try {
sassInputs = glob.sync(resolve(packagePath, 'src/Components/**/*.scss')).map(path => {
sassInputs = glob.sync(resolve(packagePath, 'src/**/*.scss')).map(path => {
const [ name, file ] = path.split('/').slice(path.split('/').length - 2);
return {
path,
Expand Down
2 changes: 1 addition & 1 deletion packages/inventory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"react-content-loader": ">=3.4.1"
},
"dependencies": {
"@redhat-cloud-services/frontend-components": "*",
"@redhat-cloud-services/frontend-components": "^2.0.0",
"@redhat-cloud-services/frontend-components-notifications": "^2.0.0",
"@redhat-cloud-services/frontend-components-utilities": "*",
"@redhat-cloud-services/host-inventory-client": "1.0.91",
Expand Down
2 changes: 1 addition & 1 deletion packages/pdf-generator/src/components/PDFDocument.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
Document
} from '@react-pdf/renderer';
import RHLogo from './Logo';
import { DateFormat } from '../../../components/src/DateFormat';
import { DateFormat } from '@redhat-cloud-services/frontend-components';
import { customTitle } from '../utils/text';
import styles from '../utils/styles';

Expand Down

0 comments on commit 872869b

Please sign in to comment.