-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat(config): support .config/ directory and YAML/TOML formats via unjs/c12
#1364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
okikio
wants to merge
23
commits into
yamadashy:main
Choose a base branch
from
okikio:feat/support-project-level-config-directory
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
18b7f85
feat: Add c12 dependency and remove json5 from package.json
okikio bad0368
feat: refactor config loading to utilize c12 to support loading confi…
okikio d0116cc
feat: enhance config file creation process to allow user-defined loca…
okikio 14112a6
feat: enhance config option descriptions for clarity and interactivity
okikio be588f2
tests: enhance config file creation tests to include user selection p…
okikio 8318c5c
tests: update config loading tests to utilize c12 for dynamic value h…
okikio 5f97d14
docs: update README to clarify configuration file initialization and …
okikio e946cd6
docs(english): enhance command-line options and configuration documen…
okikio b80770b
test: improve dynamic value handling in TypeScript config tests
okikio 34c02c1
fix(config): prevent c12 from executing untrusted code when skipLocal…
okikio 134e3cf
feat(cli): add format selection to --init wizard
okikio 7e98390
build(deps): add confbox and jiti as explicit dependencies
okikio 498737a
test(config): verify c12 is not called for local cwd when skipLocalCo…
okikio 4f9b42c
style(config): replace non-null assertions with nullish coalescing in…
okikio 882a076
test(cli): update init tests for format selection and add format-spec…
okikio 05e1b6b
fix(config): use c12's _configFile to detect when no config file was …
okikio 9a6b834
fix(config): enforce exact-path provenance for explicit --config and …
okikio 211167a
fix(init): harden init writes against symlinks and fix cancel handling
okikio b9205c9
test(config): cover exact-path enforcement, .config/full-filename dis…
okikio a6fa882
test(config): add real c12-backed integration tests for discovery and…
okikio da73440
test(init): cover symlink rejection, cancel-overwrite handling, and p…
okikio 01cf2bf
docs(readme): update --init and global config sections for multi-form…
okikio 66d626b
docs(website): update configuration guide for interactive multi-forma…
okikio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.