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

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [defu](https://togithub.com/unjs/defu) | [`^6.0.0` -> `^6.0.1`](https://renovatebot.com/diffs/npm/defu/6.0.0/6.0.1) | [![age](https://badges.renovateapi.com/packages/npm/defu/6.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)...

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/unjs/c12). ## Edited/Blocked These updates have been manually...

I am just curious, because it doesn't look like it from the looks of things, but wanted to be sure. It would be great to be able to do this...

enhancement

For more semantic usage, an `customExtendKey` option can be provided. This alt key is **single extend** allowing Array usage for config override (#https://github.com/unjs/c12/issues/9) `customExtendKey: 'theme'`: ```js theme: 'source', theme: ['source',...

Related to #16 Allow adding extends with `{NAME}_EXTENDS`. (It is differently handled from #16 since should happen before config resolution) Notes: - We might allow splitting with `,` for multiple...

We can use destr to allow overriding any configuration using `process.env.{NAME}_CONFIG_{PATH}`. Let's same NAME is `NUXT`: - `NUXT_CONFIG_SSR=false` overrides `ssr` to `false` - `NUXT_CONFIG_GENERATE:CRAWLER=true` overrides `generate.crawler` to `true` - `NUXT_CONFIG={"ssr":...

enhancement

```js { extends: [ ['source', { override: { } ], { from: 'source', override: { } } ] } ```

To be fully 12 factor compliant, we shall allow overriding config with env variables. ```js // foo.config.ts export default { bar: { baz: 123 } } ``` Using `FOO_CONFIG_BAR_BAZ=456`, should...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-c8](https://togithub.com/vitest-dev/vitest) | [`^0.23.4` -> `^0.24.3`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.23.4/0.24.3) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.24.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)...

In my opinion (maybe I am wrong) the `defaults` should act as a fallback for when a given property is not specified, rather than being merged with it. ## The...