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

fix(cli): allow lagon deploy & lagon build to specify files #688

Merged
merged 1 commit into from
Mar 25, 2023

Conversation

QuiiBz
Copy link
Member

@QuiiBz QuiiBz commented Mar 24, 2023

About

Closes #683

Previously, only lagon dev allowed either files or directories containing a configuration as the first argument.

Now, lagon deploy and lagon build also work the same way, meaning you can type:

  • lagon dev/deploy/build to use the local configuration (.lagon/config.json), or create a new one in the current directory
  • lagon dev/deploy/build path/to/directory to use the configuration specified in the given path
  • lagon dev/deploy/build yourFile.ts to not use any configuration file, making it easier to test

@changeset-bot
Copy link

changeset-bot bot commented Mar 24, 2023

🦋 Changeset detected

Latest commit: 557bb7b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@lagon/cli Patch
@lagon/docs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Mar 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
dashboard ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 24, 2023 at 5:10PM (UTC)
docs ✅ Ready (Inspect) Visit Preview Mar 24, 2023 at 5:10PM (UTC)
storybook ✅ Ready (Inspect) Visit Preview Mar 24, 2023 at 5:10PM (UTC)
www ✅ Ready (Inspect) Visit Preview Mar 24, 2023 at 5:10PM (UTC)

@QuiiBz QuiiBz merged commit 0dffdb2 into main Mar 25, 2023
@QuiiBz QuiiBz deleted the feat/cli-deploy-build-files branch March 25, 2023 08:19
@QuiiBz QuiiBz mentioned this pull request Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

improve deploying a function without a config
1 participant