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): show on-events scripts in nango deploy confirmation message #3069

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

TBonnin
Copy link
Collaborator

@TBonnin TBonnin commented Nov 26, 2024

Depends on #3067

The CLI should show the added/deleted on-event scripts in the nango deploy confirmation message.

Screenshot 2024-11-26 at 15 52 20

How to test:

  1. Install local CLI: nango install -g PATH/TO/REPO/packages/cli
  2. Add/Remove on-events scripts in your nango.yaml
  3. run nango deploy dev and check the confirmation message show the added/removed scripts

@TBonnin TBonnin requested a review from a team November 26, 2024 22:12
Copy link

linear bot commented Nov 26, 2024

packages/shared/lib/services/on-event-scripts.service.ts Outdated Show resolved Hide resolved
res.added.push({
configId: config.id,
name: script.name,
version: '0.0.1',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity:
Did you talk with Bastien about adding on-events-scripts in the templates, managing their versioning, and being able to enable/disable them via the UI?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No but that's why I pinged him in a previous PR to mention that there would still be a fair amount of work to support the features you mentioned (pre-built, dasbhoard, etc...) for on-events scripts

@TBonnin TBonnin force-pushed the tbonnin/nan-2219/on-events-cli-output branch from 153ca6a to 3d86040 Compare November 27, 2024 13:23
Base automatically changed from tbonnin/nan-2219/on-events-cli-output to master November 27, 2024 13:31
@TBonnin TBonnin force-pushed the tbonnin/nan-2219/cli-on-events-confirmation branch from fcb9633 to 6d5b2e5 Compare November 27, 2024 15:45
@TBonnin TBonnin enabled auto-merge (squash) November 27, 2024 15:45
@TBonnin TBonnin merged commit b69fdb1 into master Nov 27, 2024
20 checks passed
@TBonnin TBonnin deleted the tbonnin/nan-2219/cli-on-events-confirmation branch November 27, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants