Skip to content

Commit

Permalink
chore: update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re authored Nov 27, 2023
1 parent 2d5c21b commit 95c6326
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .changeset/gentle-cobras-wash.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
'astro': minor
---

Adds the `astro config` command to manage user preferences. User preferences are specific to individual Astro users, unlike the `astro.config.mjs` file which changes behavior for everyone working on a project.
Adds the `astro preferences` command to manage user preferences. User preferences are specific to individual Astro users, unlike the `astro.config.mjs` file which changes behavior for everyone working on a project.

User preferences are scoped to the current project by default, stored in a local `.astro/settings.json` file. Using the `--global` flag, user preferences can also be applied to every Astro project on the current machine. Global user preferences are stored in an operating system-specific location.

```sh
# Disable the dev overlay for the current user in the current project
npm run astro config devOverlay.enabled false
npm run astro preferences disable devOverlay
# Disable the dev overlay for the current user in all Astro projects on this machine
npm run astro config --global devOverlay.enabled false
npm run astro preferences --global disable devOverlay

# Check if the dev overlay is enabled for the current user
npm run astro config devOverlay.enabled
npm run astro preferences list devOverlay
```

0 comments on commit 95c6326

Please sign in to comment.