c12 icon indicating copy to clipboard operation
c12 copied to clipboard

⚙️ Smart Configuration Loader

Results 52 c12 issues
Sort by recently updated
recently updated
newest added
trafficstars

### Describe the feature Hello! This issue is related to the [`updateConfig`](https://github.com/unjs/c12/blob/26c97080c5ab06e32686d7f3f93f59c5ee3471c5/src/update.ts#L12) util I think it'd be nice to support updating existing files in the `.config/` folder using the `.config/[name].[ext]`...

enhancement

### Environment Operating System: MacOs Node Version: v20.3.1 Nuxt Version: 3.12.2 Nitro Version: v2.9.6 Package Manager: [email protected] ### Reproduction https://stackblitz.com/edit/github-cfzuw7?file=nuxt.config.ts ### Describe the bug https://github.com/unjs/giget?tab=readme-ov-file#custom-providers ``` const rainbow: TemplateProvider =...

bug

https://github.com/cosmiconfig/cosmiconfig?tab=readme-ov-file#searchplaces for example, I want to search for these two words `components.json` - `components-vue.json` ```ts const configResult = await c12LoadConfig({ name: ['components', 'components-vue'], configFile: ['components', 'components-vue'], cwd, }) ``` _Originally...

enhancement

This is an issue related to a draft PR I raised in https://github.com/nuxt/cli/pull/466 ### Issue Description - `setupDotEnv` function is called with a `.env` file. Assume that the only env...

### Describe the feature for now watch only works for local files, can we add support for remote sources like GitHub files? ### Additional information - [X] Would you be...

enhancement

### Describe the feature Just an idea while was making [this](https://twitter.com/_pi0_/status/1828442076662411542) c12 could support configs with any format to be written in `foo.config` files. Supporting implicit extensions has downsides, first...

discussion

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [dotenv](https://redirect.github.com/motdotla/dotenv) | [`^16.5.0` -> `^17.0.0`](https://renovatebot.com/diffs/npm/dotenv/16.5.0/17.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/dotenv/17.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/dotenv/17.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | autofix-ci/action | action | digest | `551dded` -> `635ffb0` | --- ### Configuration...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`^22.15.18` -> `^22.15.31`](https://renovatebot.com/diffs/npm/@types%2fnode/22.15.18/22.15.31) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/22.15.31?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

resolves #236 This PR brings back support for `configFile: false`.