Releases: unjs/c12
v1.8.0
🚀 Enhancements
- Support
.config
dir (#136)
🩹 Fixes
- Use default export of
json5
for parsing (#135)
🏡 Chore
✅ Tests
❤️ Contributors
- Sadegh Barati (@sadeghbarati)
- Pooya Parsa (@pi0)
v1.7.0
v1.6.1
v1.6.0
🚀 Enhancements
- Option to omit
$
prefixed keys from resolved config (#100) - Support
install
for source options (#126)
🩹 Fixes
- Normalize Windows backslash for
configFile
andsource
(#48) - Clone sub layers into
node_modules/.c12
(#125) - Handle
http://
prefixes with giget (6c09735)
📖 Documentation
- Add package pronunciation (#118)
❤️ Contributors
v1.5.1
⭐ What is new?
This release improves extending config from remote (git) sources by improving unjs/giget integration. This improves experience for frameworks that rely on extends feature for multi layer applications (such as Nuxt Layers).
Now when you clone a config layer from a git remote source, it will be cloned into <your_project_dir>/node_modules/.giget/{name}
this way any dependencies from the main project will be also available for extending the config layer.
Also, you can provide additional cloning options for each config layer. This allows setting custom registry, auth token, and to enable dependency auto install for GitHub remote layers (tracker #51):
export default defineConfig({
extends: [
["gh:user/repo", { giget: { auth: process.env.GITHUB_AUTH } }],
]
})
You can refer to the remote config docs for more examples.
We will be improving this feature with improved types and easier-to-use top-level shortcuts. Stay tuned!
🚀 Enhancements
v1.4.2
🩹 Fixes
- Allow extends dir to start with dot (#71)
📖 Documentation
- Fix typo for
configFile
(#83)
❤️ Contributors
- Pooya Parsa (@pi0)
- Rijk Van Zanten (@rijkvanzanten)
v1.4.1
v1.4.0
v1.3.0
🚀 Enhancements
- Generic types support (#64)
🩹 Fixes
- Use
rm
instead ofrmdir
for recursive remove (#69)
❤️ Contributors
- Pooya Parsa (@pi0)
- Daniel Roe daniel@roe.dev
- Sébastien Chopin (@Atinux)
v1.2.0
🚀 Enhancements
- Load config from
package.json
(#52) - Environment specific configuration (#61)
- Layer meta and source options (#62)
envName
config (4a0227d)
🩹 Fixes
- Allow extending from npm packages with subpath (#54)
📖 Documentation
🏡 Chore
✅ Tests
❤️ Contributors
- Pooya Parsa (@pi0)
- Christian Preston (@cpreston321)
- Guillaume Chau (@Akryum)