Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nuxthub build #5

Open
atinux opened this issue Apr 12, 2024 — with Volta.net · 0 comments
Open

nuxthub build #5

atinux opened this issue Apr 12, 2024 — with Volta.net · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

Copy link
Collaborator

atinux commented Apr 12, 2024

NuxtHub API fetching to know a build is happening (replacing the modules:done and build:done hooks from the module for example).

This will give the possibility to remove the need of having the @nuxthub/core module to deploy Nuxt projects without the need for storage.

The nuxthub build command can detect the framework used and run the right build command.

It can also be overwritten with:

npx nuxthub build -c "your build command"

The module will then read from the output directory (default to dist/) the hub.config.json file to know the primitives used to check if the build has to be cancelled (https://github.com/nuxt-hub/core/blob/823a6e8839efdb022ff43889c89ab128c833ea3f/src/utils/build.ts#L41-L51), this won't be necessary once we support wrangler.toml

@atinux atinux added the enhancement New feature or request label Apr 12, 2024 — with Volta.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants