Skip to content

Commit

Permalink
test: don't depend on n-ui-foundations in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
apaleslimghost committed Jan 27, 2025
1 parent 0db0c68 commit 3cd6818
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 37 deletions.
4 changes: 1 addition & 3 deletions examples/ft-ui/client/main.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// The base styles will be output in the shared css bundle, so
// only include the required mixins and variables.
@import 'n-ui-foundations/mixins';
@import '@financial-times/o-typography/main';

p {
@include oTypographySans($scale: 7);
Expand Down
2 changes: 1 addition & 1 deletion examples/ft-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@financial-times/dotcom-middleware-navigation": "file:../../packages/dotcom-middleware-navigation",
"@financial-times/dotcom-ui-layout": "file:../../packages/dotcom-ui-layout",
"@financial-times/dotcom-ui-shell": "file:../../packages/dotcom-ui-shell",
"@financial-times/o-typography": "^7.6.2",
"express": "^4.21.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand All @@ -25,7 +26,6 @@
"@financial-times/dotcom-build-base": "file:../../packages/dotcom-build-base",
"@financial-times/dotcom-build-js": "file:../../packages/dotcom-build-js",
"@financial-times/dotcom-build-sass": "file:../../packages/dotcom-build-sass",
"n-ui-foundations": "^9.0.0",
"nodemon": "^1.18.9",
"ready-state": "^2.0.5",
"webpack": "^5.88.2",
Expand Down
4 changes: 1 addition & 3 deletions examples/kitchen-sink/client/main.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// The base styles will be output in the shared css bundle, so
// only include the required mixins and variables.
@import 'n-ui-foundations/mixins';
@import '@financial-times/o-typography/main';

.hello {
@include oTypographySans($scale: 7);
Expand Down
3 changes: 1 addition & 2 deletions examples/kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@financial-times/dotcom-ui-layout": "file:../../packages/dotcom-ui-layout",
"@financial-times/dotcom-ui-shell": "file:../../packages/dotcom-ui-shell",
"@financial-times/n-tracking": "7.2.1",
"@financial-times/o-typography": "^7.6.2",
"express": "^4.21.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand All @@ -32,9 +33,7 @@
"@financial-times/dotcom-build-code-splitting": "file:../../packages/dotcom-build-code-splitting",
"@financial-times/dotcom-build-js": "file:../../packages/dotcom-build-js",
"@financial-times/dotcom-build-sass": "file:../../packages/dotcom-build-sass",
"@financial-times/o-header": "^11.1.0",
"@sucrase/jest-plugin": "^2.0.0",
"n-ui-foundations": "^9.0.0",
"nodemon": "^1.18.9",
"ready-state": "^2.0.5",
"webpack": "^5.88.2",
Expand Down
33 changes: 6 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
"jest-puppeteer": "^11.0.0",
"lint-staged": "^10.0.0",
"morphdom": "^2.7.0",
"n-ui-foundations": "9.0.0",
"prettier": "^2.0.2",
"puppeteer": "^24.1.0",
"react": "^17.0.2",
Expand Down

0 comments on commit 3cd6818

Please sign in to comment.