Skip to content

Commit

Permalink
fix(packages): add exports confg for scss files (#2112)
Browse files Browse the repository at this point in the history
  • Loading branch information
owilliams320 authored Feb 29, 2024
1 parent 81d8334 commit 144218a
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/docs-app/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@import '../../../libs/markdown/markdown-theme';
@import '../../../libs/angular-highlight/highlight-theme';
@import '../../../libs/markdown-flavored/flavored-markdown-theme';
@import '../../../libs/markdown-navigator/markdon-navigator-theme';
@import '../../../libs/markdown-navigator/markdown-navigator-theme';
@import '../../../libs/angular-guided-tour/guided-tour-theme';
@import '../../../libs/angular-guided-tour/styles/guided-tour.scss';
// Teradata brand
Expand Down
5 changes: 5 additions & 0 deletions libs/angular-highlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@
},
"dependencies": {
"tslib": "0.0.0-TSLIB"
},
"exports": {
"./highlight-theme": {
"sass": "./_highlight-theme.scss"
}
}
}
3 changes: 3 additions & 0 deletions libs/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"exports": {
".": {
"sass": "./theming/_all-theme.scss"
},
"./theming/*": {
"sass": "./theming/*.scss"
}
},
"repository": {
Expand Down
6 changes: 5 additions & 1 deletion libs/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"description": "Icons for covalent design system",
"exports": {
".": {
"sass": "./covalent-icons.css"
"sass": "./covalent-icons.scss",
"style": "./covalent-icons.css"
},
"./variables": {
"sass": "./covalent-icons-variables.scss"
}
},
"repository": {
Expand Down
5 changes: 5 additions & 0 deletions libs/markdown-flavored/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,10 @@
},
"dependencies": {
"tslib": "0.0.0-TSLIB"
},
"exports": {
"./flavored-markdown-theme": {
"sass": "./_flavored-markdown-theme.scss"
}
}
}
5 changes: 5 additions & 0 deletions libs/markdown-navigator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,10 @@
},
"dependencies": {
"tslib": "0.0.0-TSLIB"
},
"exports": {
"./markdown-navigator-theme": {
"sass": "./_markdown-navigator-theme.scss"
}
}
}
5 changes: 5 additions & 0 deletions libs/markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,10 @@
},
"dependencies": {
"tslib": "0.0.0-TSLIB"
},
"exports": {
"./markdown-theme": {
"sass": "./_markdown-theme.scss"
}
}
}
8 changes: 7 additions & 1 deletion libs/tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@
"url": "https://github.com/teradata/covalent/issues"
},
"license": "MIT",
"author": "Teradata UX"
"author": "Teradata UX",
"exports": {
".": {
"sass": "./_index.scss",
"style": "./index.css"
}
}
}

0 comments on commit 144218a

Please sign in to comment.