Skip to content

Commit dd7d3a9

Browse files
committed
docs(site): fix some layout issues
1 parent aa8912b commit dd7d3a9

File tree

15 files changed

+24
-70
lines changed

15 files changed

+24
-70
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
CHANGELOG.md
2+
site/src/_partials/option/

site/src/_partials/option/dependencies.mdx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,16 @@ To exclude, put a `!` at the start of your query.
66

77
<Code
88
code={`
9-
109
# Exact match for "react"
11-
1210
syncpack ${props.command} --dependencies 'react'
13-
1411
# Substring match for "react"
15-
1612
syncpack ${props.command} --dependencies '**react**'
17-
1813
# All dependencies under the AWS SDK scope
19-
2014
syncpack ${props.command} --dependencies '@aws-sdk/\*\*'
21-
2215
# Exact match for "react" or "webpack" (2 approaches)
23-
2416
syncpack ${props.command} --dependencies 'react' --dependencies 'webpack'
2517
syncpack ${props.command} --dependencies '{react,webpack}'
26-
2718
# Substring match for "react" or "webpack" (2 approaches)
28-
2919
syncpack ${props.command} --dependencies '**react**' --dependencies '**webpack**'
3020
syncpack ${props.command} --dependencies '**{react,webpack}**'
3121
`.trim()}

site/src/_partials/option/dependency-types.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,11 @@ To exclude, put a `!` at the start of your query.
66

77
<Code
88
code={`
9-
109
# devDependencies only
11-
1210
syncpack ${props.command} --dependency-types dev
13-
1411
# dependencies and devDependencies only
15-
1612
syncpack ${props.command} --dependency-types dev,prod
17-
1813
# everything except peerDependencies
19-
2014
syncpack ${props.command} --dependency-types '!peer'
2115
`.trim()}
2216
lang="bash"

site/src/_partials/option/help.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@ Display a list of CLI options and other help information.
44

55
<Code
66
code={`
7-
87
# Display a short summary of commands and options
9-
108
syncpack ${props.command} -h
11-
129
# Display full help with examples
13-
1410
syncpack ${props.command} --help
1511
`.trim()}
1612
lang="bash"

site/src/_partials/option/log-levels.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,11 @@ Control how detailed the log output should be
1111

1212
<Code
1313
code={`
14-
1514
# Turn off logging completely
16-
1715
syncpack ${props.command} --log-levels off
18-
1916
# Only show verbose debugging logs
20-
2117
syncpack ${props.command} --log-levels debug
22-
2318
# Show everything
24-
2519
syncpack ${props.command} --log-levels error,warn,info,debug
2620
`.trim()}
2721
lang="bash"

site/src/_partials/option/show-versions.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,13 @@ Control what information is displayed in terminal output
1212

1313
<Code
1414
code={`
15-
1615
# Only opt into showing status codes
17-
1816
syncpack ${props.command} --show statuses
19-
2017
# Show all instances, not just their names
21-
2218
syncpack ${props.command} --show instances
23-
2419
# Show highest level of detail
25-
2620
syncpack ${props.command} --show all
27-
2821
# Show lowest level of detail
29-
3022
syncpack ${props.command} --show none
3123
`.trim()}
3224
lang="bash"

site/src/_partials/option/sort.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@ Change the order in which dependencies are displayed
44

55
<Code
66
code={`
7-
87
# Sort by count, in descending order
9-
108
syncpack ${props.command} --sort count
11-
129
# Sort A-Z by name
13-
1410
syncpack ${props.command} --sort name
1511
`.trim()}
1612
lang="bash"

site/src/_partials/option/source.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,9 @@ Only run <code>{`syncpack ${props.command}`}</code> on package.json files matchi
88
<Code
99
code={`# only the root package
1010
syncpack ${props.command} --source 'package.json'
11-
1211
# only packages matching a glob
13-
1412
syncpack ${props.command} --source 'packages/beta-\*'
15-
1613
# multiple values can be provided
17-
1814
syncpack ${props.command} --source 'package.json' --source 'packages/beta-\*'`}
1915
lang="bash"
2016
/>

site/src/_partials/option/specifier-types.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,11 @@ To exclude, put a `!` at the start of your query.
66

77
<Code
88
code={`
9-
109
# Exact versions only
11-
1210
syncpack ${props.command} --show instances --specifier-types exact
13-
1411
# Missing or unsupported versions
15-
1612
syncpack ${props.command} --show instances --specifier-types missing,unsupported
17-
1813
# Latest or workspace protocol only
19-
2014
syncpack ${props.command} --show instances --specifier-types latest,workspace-protocol
2115
`.trim()}
2216
lang="bash"

site/src/_partials/option/target.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,11 @@ Limit updates to only those within the given semver portion.
44

55
<Code
66
code={`
7-
87
# Accept any update in latest (x.x.x)
9-
108
syncpack ${props.command} --target latest
11-
129
# Only update minor versions (1.x.x)
13-
1410
syncpack ${props.command} --target minor
15-
1611
# Only update patch versions (1.2.x)
17-
1812
syncpack ${props.command} --target patch
1913
`.trim()}
2014
lang="bash"

0 commit comments

Comments
 (0)