Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .agent-os/instructions/mise-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ When implementing new backends, follow this pattern:
- Uses `confique` crate for configuration management
- Settings defined in `settings.toml` (generates code/docs)
- Tool registry mappings in `registry.toml`
- All config changes require running `mise run render:settings`
- All config changes require running `mise run render:schema`

## Key Files and Directories

Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ When implementing new tool backends, follow the pattern in `src/backend/mod.rs`.
- Plugin metadata is defined in `mise.plugin.toml` files

### Configuration Parsing
The configuration system supports multiple file formats and environment-specific configs. Changes to settings require updating `settings.toml` and running `mise run render:settings`.
The configuration system supports multiple file formats and environment-specific configs. Changes to settings require updating `settings.toml` and running `mise run render:schema`.

### Testing Strategy
- E2E tests are organized by feature area (cli/, config/, backend/, etc.)
Expand Down
11 changes: 3 additions & 8 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "mise",
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"directories": {
"doc": "docs",
"man": "man",
Expand All @@ -14,19 +13,15 @@
"lint-fig:fix": "eslint 'xtasks/fig/**/*.ts' --fix && npx prettier --write 'xtasks/fig/**/*.ts' --parser typescript"
},
"author": "@jdx",
"license": "ISC",
"devDependencies": {
"@fig/eslint-config-autocomplete": "^2.0.0",
"@tsconfig/node18": "^18.2.4",
"@types/node": "^22.7.5",
"@withfig/autocomplete-tools": "^2.10.0",
"@withfig/autocomplete-types": "^1.31.0",
"eslint": "^8.57.0",
"toml": "^3.0.0",
"ts-pattern": "^5.4.0",
"tsx": "^4.19.1",
"typescript": "^5.6.3"
},
"dependencies": {
"@types/node": "^22.7.5"
}
}
6 changes: 3 additions & 3 deletions tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,13 @@ Render help documentation

Generate man pages

## `render:settings`
## `render:schema`

- Depends: docs:setup

- **Usage**: `render:settings`
- **Usage**: `render:schema`

Render settings documentation
Render JSON schema

## `render:usage`

Expand Down
5 changes: 0 additions & 5 deletions tasks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,6 @@ mise completion zsh > completions/_mise
mise completion fish > completions/mise.fish
'''

["render:settings"]
description = 'Render settings documentation'
run = "tsx xtasks/render/settings.ts"
depends = ['docs:setup']

["render:mangen"]
description = 'Generate man pages'
depends = ["build"]
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"exclude": ["node_modules"],
"compilerOptions": {
"outDir": "./build",
"types": ["@withfig/autocomplete-types", "node"]
"types": ["@withfig/autocomplete-types", "bun"]
}
}
2 changes: 1 addition & 1 deletion xtasks/fig/addCustomGenerators.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import fsAsync = require("node:fs/promises");
import * as fsAsync from "node:fs/promises";
import * as ts from "typescript";
import * as path from "path";

Expand Down
Loading
Loading