Skip to content

Commit

Permalink
fix(EMS-3401): no pdf - remove MOJ dependency (#2551)
Browse files Browse the repository at this point in the history
* fix(EMS-3401): no pdf - remove moj dependency

* fix(EMS-3401): no pdf - remove moj dependency
  • Loading branch information
ttbarnes authored Jun 11, 2024
1 parent 05e8120 commit 2a902fb
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 31 deletions.
1 change: 0 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
"lintstagedrc",
"localise",
"mdm",
"ministryofjustice",
"MRUI",
"Mulesoft",
"nbsp",
Expand Down
24 changes: 0 additions & 24 deletions src/ui/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 src/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"@babel/core": "^7.24.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@ministryofjustice/frontend": "^2.1.3",
"@types/compression": "^1.7.5",
"@types/connect-flash": "^0.0.38",
"@types/cookie-parser": "^1.4.7",
Expand Down
3 changes: 0 additions & 3 deletions src/ui/public/js/mojFrontend.js

This file was deleted.

1 change: 0 additions & 1 deletion src/ui/public/js/mojFrontend.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion src/ui/server/nunjucks-configuration/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface Opts {
}

const configureNunjucks = (opts: Opts) => {
const appViews = ['node_modules/govuk-frontend/dist', 'node_modules/@ministryofjustice/frontend', 'templates'];
const appViews = ['node_modules/govuk-frontend/dist', 'templates'];

nunjucks.configure(appViews, opts);

Expand Down

0 comments on commit 2a902fb

Please sign in to comment.