Skip to content

Commit bc6f813

Browse files
committed
chore(site): manually control frames on code blocks
1 parent efad1b5 commit bc6f813

16 files changed

Lines changed: 40 additions & 40 deletions

site/src/content/docs/command/fix.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Fix version mismatches in your monorepo. When the same dependency has different
2323

2424
## Examples
2525

26-
```bash
26+
```bash frame="none"
2727
# Preview changes without modifying files
2828
syncpack fix --dry-run
2929
# Fix only dependencies and devDependencies (exclude peer, optional)

site/src/content/docs/command/format.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Format package.json files in your monorepo. Sorts fields into consistent order a
1818

1919
## Examples
2020

21-
```bash
21+
```bash frame="none"
2222
# Fix every formatting issue in the monorepo
2323
syncpack format
2424
# List all formatting issues in the monorepo

site/src/content/docs/command/json.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The [fix](COMMAND_FIX) and [format](COMMAND_FORMAT) commands also support `--rep
2424

2525
## Examples
2626

27-
```bash
27+
```bash frame="none"
2828
# Output all dependencies as JSON
2929
syncpack json
3030
# Output only AWS SDK dependencies

site/src/content/docs/command/lint.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Check for version mismatches in your monorepo. Reports dependencies that don't m
2020

2121
## Examples
2222

23-
```bash
23+
```bash frame="none"
2424
# Find all issues in "dependencies" or "devDependencies"
2525
syncpack lint --dependency-types prod,dev
2626
# Only lint issues in "react" specifically

site/src/content/docs/command/list.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ List all dependencies in your monorepo with their versions and locations. Shows
2020

2121
## Examples
2222

23-
```bash
23+
```bash frame="none"
2424
# Sort dependencies by how many times they are used
2525
syncpack list --sort count
2626
# Show every instance of each dependency, not just their names

site/src/content/docs/command/update.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Update dependencies in your monorepo to newer versions from the npm registry. Ch
2525

2626
## Examples
2727

28-
```bash
28+
```bash frame="none"
2929
# Accept any update in latest (x.x.x)
3030
syncpack update --target latest
3131
# Only update minor versions (1.x.x)

site/src/content/docs/config/syncpackrc.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Syncpack searches the current directory for a:
1414

1515
A custom name and location can be provided instead, but it must have a file extension:
1616

17-
```bash
17+
```bash frame="none"
1818
syncpack list --config ./config/syncpack.json
1919
```
2020

site/src/content/docs/guide/migrate-v14.mdx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Migrate to 14
33
description: Migration guide for upgrading from syncpack v13 to v14 with breaking changes and new features
44
---
55

6-
```bash
6+
```bash frame="none"
77
npm install --save-dev syncpack
88
```
99

@@ -13,7 +13,7 @@ npm install --save-dev syncpack
1313

1414
`list-mismatches` and `lint-semver-ranges` have been merged into a single `lint` command which checks whether every specifier matches the semver group and version group they belong to. The `lint` command no longer checks formatting, which is now handled by `syncpack format ––check`.
1515

16-
```bash
16+
```bash frame="none"
1717
# v13
1818
syncpack list-mismatches --types prod,dev
1919
# v14
@@ -24,7 +24,7 @@ syncpack lint --dependency-types prod,dev
2424

2525
`list-mismatches` and `lint-semver-ranges` have been merged into a single `lint` command which checks whether every specifier matches the semver group and version group they belong to. The `lint` command no longer checks formatting, which is now handled by `syncpack format ––check`. It's no longer possible to manage semver ranges without also checking version mismatches, because the two things are so closely linked. Changes to semver ranges affect which versions are considered valid and can indirectly cause version mismatches, so they are now always checked and changed together via the `lint` and `fix` commands.
2626

27-
```bash
27+
```bash frame="none"
2828
# v13
2929
syncpack lint-semver-ranges
3030
# v14
@@ -35,7 +35,7 @@ syncpack lint
3535

3636
`fix-mismatches` and `set-semver-ranges` have been merged into a single `fix` command which autofixes issue found by `syncpack lint`. The `fix` command no longer fixes formatting, which is now handled by `syncpack format`.
3737

38-
```bash
38+
```bash frame="none"
3939
# v13
4040
syncpack fix-mismatches
4141
# v14
@@ -46,7 +46,7 @@ syncpack fix
4646

4747
`fix-mismatches` and `set-semver-ranges` have been merged into a single `fix` command which autofixes issue found by `syncpack lint`. The `fix` command no longer fixes formatting, which is now handled by `syncpack format`. It's no longer possible to manage semver ranges without also checking version mismatches, because the two things are so closely linked. Changes to semver ranges affect which versions are considered valid and can indirectly cause version mismatches, so they are now always checked and changed together via the `lint` and `fix` commands.
4848

49-
```bash
49+
```bash frame="none"
5050
# v13
5151
syncpack set-semver-ranges
5252
# v14
@@ -57,7 +57,7 @@ syncpack fix
5757

5858
The `prompt` command is an interactive prompt which lists all current issues which syncpack can't fix automatically. It is not yet available in v14 and will be added at a later date. Syncpack can't automatically fix mismatches between specifiers it does not support, which are usually specifiers which are not semver, such as pnpm overrides, or complex semver specifiers like `^1.2.3 || ^2.0.0`.
5959

60-
```bash
60+
```bash frame="none"
6161
# v13
6262
syncpack prompt
6363
# v14
@@ -70,7 +70,7 @@ syncpack prompt
7070

7171
Renamed for consistency and also to differentiate it from other types such as specifier types.
7272

73-
```bash
73+
```bash frame="none"
7474
# v13
7575
syncpack list-mismatches --types prod,dev
7676
# v14
@@ -81,7 +81,7 @@ syncpack lint --dependency-types prod,dev
8181

8282
Renamed for consistency.
8383

84-
```bash
84+
```bash frame="none"
8585
# v13
8686
syncpack format --specs exact,range
8787
# v14
@@ -92,7 +92,7 @@ syncpack format --specifier-types exact,range
9292

9393
This has been renamed to `dependencies` to match the equivalent property of version groups and semver groups. Regular expressions are no longer supported and instead a glob pattern should be provided in the same way as they are for version groups and semver groups.
9494

95-
```bash
95+
```bash frame="none"
9696
# v13
9797
syncpack list-mismatches --filter "^@types\/.+"
9898
# v14
@@ -122,7 +122,7 @@ The `dependencyTypes` config has been removed in favour of using `versionGroups`
122122

123123
Or use the `--dependency-types` CLI option to filter on an ad hoc basis:
124124

125-
```bash
125+
```bash frame="none"
126126
syncpack lint --dependency-types prod,dev,peer
127127
```
128128

@@ -147,7 +147,7 @@ The `specifierTypes` config has been removed in favour of using `versionGroups`
147147

148148
Or use the `--specifier-types` CLI option to filter on an ad hoc basis:
149149

150-
```bash
150+
```bash frame="none"
151151
syncpack format --specifier-types exact,range
152152
```
153153

@@ -164,7 +164,7 @@ The `lint` command no longer checks formatting, only version mismatches, so the
164164
}
165165
```
166166

167-
```bash
167+
```bash frame="none"
168168
# Check if formatting needed (exit 1 if needed)
169169
syncpack format --check
170170
# Safely see what formatting fixes would look like
@@ -207,7 +207,7 @@ This option is redundant in V14.
207207

208208
The `workspace` dependency type has been renamed to `local` for clarity.
209209

210-
```bash
210+
```bash frame="none"
211211
# v11.2.0 and earlier
212212
syncpack list --types prod,workspace
213213
# v14
@@ -220,7 +220,7 @@ syncpack lint --dependency-types prod,local
220220

221221
Individual boolean flags replaced with `--dependency-types` option:
222222

223-
```bash
223+
```bash frame="none"
224224
# v8
225225
syncpack list --prod --dev --peer
226226
# v14
@@ -270,7 +270,7 @@ Individual boolean properties replaced with `versionGroups` configuration:
270270

271271
The `--overrides` option now refers to npm overrides. pnpm users must use `--pnpmOverrides` instead.
272272

273-
```bash
273+
```bash frame="none"
274274
# v7 (pnpm users)
275275
syncpack list --overrides
276276
# v14 (pnpm users)
@@ -303,7 +303,7 @@ In v14, disable this behavior using `versionGroups`:
303303

304304
Or exclude `local` when using CLI flags:
305305

306-
```bash
306+
```bash frame="none"
307307
# v14
308308
syncpack lint --dependency-types '!local'
309309
```
@@ -330,7 +330,7 @@ In v14, exclude them using `versionGroups`:
330330

331331
Or via CLI:
332332

333-
```bash
333+
```bash frame="none"
334334
# v14
335335
syncpack lint --dependency-types dev,peer,prod
336336
```
@@ -341,7 +341,7 @@ syncpack lint --dependency-types dev,peer,prod
341341

342342
Package locations now specified with repeatable `--source` option instead of positional arguments:
343343

344-
```bash
344+
```bash frame="none"
345345
# v2
346346
syncpack list './package.json' './packages/*/package.json'
347347
# v14

site/src/content/docs/guide/migrate-v15.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
badge: New
66
---
77

8-
```bash
8+
```bash frame="none"
99
npm install --save-dev syncpack
1010
```
1111

site/src/content/docs/reference/dependency-types.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Catalog dependency types are added automatically when syncpack detects [pnpm cat
2727

2828
Bun also recognises `workspaces.catalog` and `workspaces.catalogs.<name>`. These names work everywhere a dependency type is accepted.
2929

30-
```bash
30+
```bash frame="none"
3131
syncpack lint --dependency-types pnpmCatalog
3232
syncpack list --dependency-types 'pnpmCatalog:react18'
3333
```
@@ -49,7 +49,7 @@ Dependency types can be specified in these contexts:
4949

5050
Use the `--dependency-types` option to target specific types in commands:
5151

52-
```bash
52+
```bash frame="none"
5353
# Only check production dependencies
5454
syncpack lint --dependency-types prod
5555

0 commit comments

Comments
 (0)