Skip to content

Commit

Permalink
chore: remove dotcom-ui-polyfill-service package
Browse files Browse the repository at this point in the history
  • Loading branch information
apaleslimghost committed Feb 27, 2024
1 parent ff0e6b8 commit 8220a7e
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 231 deletions.
1 change: 0 additions & 1 deletion examples/dynamic-imports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
},
"dependencies": {
"@financial-times/dotcom-server-handlebars": "file:../../packages/dotcom-server-handlebars",
"@financial-times/dotcom-ui-polyfill-service": "file:../../packages/dotcom-ui-polyfill-service",
"express": "^4.16.2"
},
"devDependencies": {
Expand Down
5 changes: 1 addition & 4 deletions examples/dynamic-imports/server/controllers/home.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
const polyfillService = require('@financial-times/dotcom-ui-polyfill-service')

module.exports = (request, response, next) => {
const renderOptions = {
pageTitle: 'Dynamically-loaded dogs',
polyfillServiceUrl: polyfillService.enhanced()
pageTitle: 'Dynamically-loaded dogs'
}

try {
Expand Down
1 change: 0 additions & 1 deletion examples/dynamic-imports/views/home.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
Click me
</button>
</main>
<script src="{{polyfillServiceUrl}}"></script>
<script src="public/scripts.bundle.js"></script>
</body>
</html>
7 changes: 1 addition & 6 deletions package-lock.json

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

36 changes: 0 additions & 36 deletions packages/dotcom-ui-polyfill-service/README.md

This file was deleted.

1 change: 0 additions & 1 deletion packages/dotcom-ui-polyfill-service/browser.js

This file was deleted.

45 changes: 0 additions & 45 deletions packages/dotcom-ui-polyfill-service/package.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/dotcom-ui-polyfill-service/server.js

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion packages/dotcom-ui-polyfill-service/src/index.ts

This file was deleted.

103 changes: 0 additions & 103 deletions packages/dotcom-ui-polyfill-service/src/polyfillServiceURLs.ts

This file was deleted.

8 changes: 0 additions & 8 deletions packages/dotcom-ui-polyfill-service/tsconfig.json

This file was deleted.

3 changes: 1 addition & 2 deletions packages/dotcom-ui-shell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ An optional property to insert additional metadata elements into the document `<

#### `showSmartBanner` (boolean)

An optional property to explicity say whether you want to show [Smart Banner](https://developer.apple.com/documentation/webkit/promoting_apps_with_smart_app_banners) at the top of the page or not. The default is `true` so the pages will always show smart banner.
An optional property to explicity say whether you want to show [Smart Banner](https://developer.apple.com/documentation/webkit/promoting_apps_with_smart_app_banners) at the top of the page or not. The default is `true` so the pages will always show smart banner.

### Social and Open Graph

Expand All @@ -220,7 +220,6 @@ An optional object describing the [Open Graph] metadata to add to the page. The
[JavaScript bootstrap]: ../dotcom-ui-bootstrap/README.md
[feature flags]: ../dotcom-ui-flags/README.md
[FT app context]: ../dotcom-ui-app-context/README.md
[polyfill service]: ../dotcom-ui-polyfill-service/README.md
[Open Graph]: http://ogp.me/
[linked data]: https://w3.org/standards/semanticweb/data
[JSON-LD]: https://json-ld.org/
1 change: 0 additions & 1 deletion packages/dotcom-ui-shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"@financial-times/dotcom-ui-base-styles": "file:../dotcom-ui-base-styles",
"@financial-times/dotcom-ui-bootstrap": "file:../dotcom-ui-bootstrap",
"@financial-times/dotcom-ui-flags": "file:../dotcom-ui-flags",
"@financial-times/dotcom-ui-polyfill-service": "file:../dotcom-ui-polyfill-service",
"mime-types": "^2.1.26"
},
"peerDependencies": {
Expand Down
3 changes: 0 additions & 3 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@
{
"path": "packages/dotcom-ui-layout"
},
{
"path": "packages/dotcom-ui-polyfill-service"
},
{
"path": "packages/dotcom-ui-shell"
}
Expand Down

0 comments on commit 8220a7e

Please sign in to comment.