From 698742e8ef734e422e217f0e3cbc139a6070cfa2 Mon Sep 17 00:00:00 2001 From: Jamie Mason Date: Sat, 30 Dec 2023 11:03:33 +0000 Subject: [PATCH] docs(site): tidy layout of required/optional pills --- site/src/components/pill/optional.astro | 42 +++++++++------- site/src/components/pill/required.astro | 36 +++++++------ .../docs/command/lint-semver-ranges.mdx | 5 -- .../docs/config/version-groups/banned.mdx | 50 +++++++++++-------- .../docs/config/version-groups/ignored.mdx | 50 +++++++++++-------- .../config/version-groups/lowest-version.mdx | 50 +++++++++++-------- .../docs/config/version-groups/pinned.mdx | 50 +++++++++++-------- .../docs/config/version-groups/same-range.mdx | 50 +++++++++++-------- .../docs/config/version-groups/snapped-to.mdx | 50 +++++++++++-------- .../docs/config/version-groups/standard.mdx | 50 +++++++++++-------- .../partials/group-config/_dependencies.mdx | 2 +- .../group-config/_dependency-types.mdx | 2 +- site/src/partials/group-config/_label.mdx | 2 +- site/src/partials/group-config/_packages.mdx | 2 +- .../group-config/_specifier-types.mdx | 2 +- 15 files changed, 248 insertions(+), 195 deletions(-) diff --git a/site/src/components/pill/optional.astro b/site/src/components/pill/optional.astro index d63f4aef..57a9fdb6 100644 --- a/site/src/components/pill/optional.astro +++ b/site/src/components/pill/optional.astro @@ -1,20 +1,28 @@ -Optional +
+ + Optional +
diff --git a/site/src/components/pill/required.astro b/site/src/components/pill/required.astro index b5a0a17a..273011df 100644 --- a/site/src/components/pill/required.astro +++ b/site/src/components/pill/required.astro @@ -1,20 +1,28 @@ -Required +
+ + Required +
diff --git a/site/src/content/docs/command/lint-semver-ranges.mdx b/site/src/content/docs/command/lint-semver-ranges.mdx index 9735ae6b..16deee62 100644 --- a/site/src/content/docs/command/lint-semver-ranges.mdx +++ b/site/src/content/docs/command/lint-semver-ranges.mdx @@ -5,7 +5,6 @@ title: lint-semver-ranges import ConfigOption from '@site/partials/option/_config.mdx'; import FilterOption from '@site/partials/option/_filter.mdx'; import HelpOption from '@site/partials/option/_help.mdx'; -import IndentOption from '@site/partials/option/_indent.mdx'; import SourceOption from '@site/partials/option/_source.mdx'; import SpecsOption from '@site/partials/option/_specs.mdx'; import TypesOption from '@site/partials/option/_types.mdx'; @@ -35,10 +34,6 @@ Check whether dependency versions used within "dependencies", "devDependencies" -### indent - - - ### help diff --git a/site/src/content/docs/config/version-groups/banned.mdx b/site/src/content/docs/config/version-groups/banned.mdx index 5ee1c5c0..f02056c2 100644 --- a/site/src/content/docs/config/version-groups/banned.mdx +++ b/site/src/content/docs/config/version-groups/banned.mdx @@ -28,9 +28,10 @@ Find and remove dependencies which you've decided should never be used. ## Configuration -### isBanned - - + + {/**/} + ### isBanned + This property activates this behaviour for a given Version Group. @@ -45,22 +46,27 @@ This property activates this behaviour for a given Version Group. } ``` -### dependencies - - - -### dependencyTypes - - - -### specifierTypes - - - -### label - -