Skip to content

Commit

Permalink
Update TypeScript paths
Browse files Browse the repository at this point in the history
  • Loading branch information
domoscargin committed Aug 3, 2023
1 parent 9a0d965 commit b72420a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
9 changes: 9 additions & 0 deletions package-lock.json

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

3 changes: 3 additions & 0 deletions shared/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@
"js-yaml": "^4.1.0",
"minimatch": "^9.0.3",
"slash": "^3.0.0"
},
"devDependencies": {
"@types/js-yaml": "^4.0.5"
}
}
8 changes: 7 additions & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@
"target": "ESNext",
"types": ["jest", "jest-axe", "jest-puppeteer", "node"],
"paths": {
"govuk-frontend": ["./packages/govuk-frontend/src/govuk/all.mjs"]
"govuk-frontend": ["./packages/govuk-frontend/src/govuk/all.mjs"],
"govuk-frontend-stats": ["./shared/stats/src/index.mjs"],
"govuk-frontend-config": ["./shared/config/index.js"],
"govuk-frontend-helpers": ["./shared/helpers/index.js"],
"govuk-frontend-lib": ["./shared/lib/index.js"],
"govuk-frontend-lib/names": ["./shared/lib/names.js"],
"govuk-frontend-lib/files": ["./shared/lib/files.js"]
}
}
}

0 comments on commit b72420a

Please sign in to comment.