Skip to content

v1.5.1

Compare
Choose a tag to compare
@pi0 pi0 released this 19 Oct 11:57
· 48 commits to main since this release

compare changes

⭐ 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

  • Improve extending github layers (#109)
  • Allow setting giget clone options (#112)