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!