Skip to content

Commit

Permalink
chore: add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Nov 17, 2023
1 parent c622ff0 commit b3b861d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .changeset/gentle-cobras-wash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
'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.

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
# Disable the dev overlay for the current user in all Astro projects on this machine
npm run astro config --global devOverlay.enabled false

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

0 comments on commit b3b861d

Please sign in to comment.