Skip to content

Commit

Permalink
Ensure local packages are marked optional in published package
Browse files Browse the repository at this point in the history
Our local packages don’t exist on https://registry.npmjs.org and can be skipped when outside npm workspaces
  • Loading branch information
colinrotherham committed May 18, 2023
1 parent 07786fe commit 683c272
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions package-lock.json

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

10 changes: 6 additions & 4 deletions packages/govuk-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@
"autoprefixer": "^10.4.14",
"cssnano": "^6.0.1",
"cssnano-preset-default": "^6.0.1",
"govuk-frontend-config": "*",
"govuk-frontend-helpers": "*",
"govuk-frontend-lib": "*",
"govuk-frontend-tasks": "*",
"gulp": "^4.0.2",
"gulp-cli": "^2.3.0",
"html-validate": "7.17.0",
Expand All @@ -69,5 +65,11 @@
"sass-embedded": "^1.62.0",
"sassdoc": "^2.7.4",
"slash": "^5.1.0"
},
"optionalDependencies": {
"govuk-frontend-config": "*",
"govuk-frontend-helpers": "*",
"govuk-frontend-lib": "*",
"govuk-frontend-tasks": "*"
}
}

0 comments on commit 683c272

Please sign in to comment.