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

feat: implement clack DO NOT MERGE #6293

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    202a1ae View commit details
    Browse the repository at this point in the history
  2. feat: add sisteransi

    khendrikse committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    c894a16 View commit details
    Browse the repository at this point in the history
  3. feat: add styles

    khendrikse committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    96cd7bf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f3892f7 View commit details
    Browse the repository at this point in the history
  5. feat: add styles

    khendrikse committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    4006972 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Configuration menu
    Copy the full SHA
    eb4e6fe View commit details
    Browse the repository at this point in the history
  2. chore: convert api command to use clack (#6294)

    * chore: convert api command to use clack
    
    * chore: add beginning of styleguide
    khendrikse committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    456caa2 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. Configuration menu
    Copy the full SHA
    5c28195 View commit details
    Browse the repository at this point in the history
  2. chore: updates for converting the api command (#6295)

    * chore: improve API command with spinner and better formatting
    
    * chore: add support for json only
    khendrikse committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    493a6a1 View commit details
    Browse the repository at this point in the history
  3. chore: convert unlink command (#6297)

    * chore: convert api command to use clack
    
    * chore: convert unlink to use NetlifyLog
    khendrikse committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    5f03f68 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2024

  1. chore: convert link command (#6313)

    * chore: improve API command with spinner and better formatting
    
    * chore: convert api command to use clack
    
    * chore: convert link to use NetlifyLog and clack
    
    * chore: updates for converting the api command (#6295)
    
    * chore: improve API command with spinner and better formatting
    
    * chore: add support for json only
    
    * chore: more converting of link and changed json only support
    
    * revert weird chalk helper
    
    * chore: implement some feedback
    khendrikse committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    5d98d73 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f20c4d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ec6718 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7b2bba2 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. feat: convert status command to clack (#6323)

    * chore: converts status command to clack
    
    * chore: fix json output
    
    * chore: manage logged out state
    
    ---------
    
    Co-authored-by: Lewis Thorley <lewis.thorley@netlify.com>
    lemusthelroy and Lewis Thorley committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    b8daf92 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45faf72 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. feat: convert switch command to clack (#6326)

    Co-authored-by: Lewis Thorley <lewis.thorley@netlify.com>
    lemusthelroy and Lewis Thorley committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    937c198 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. chore: convert log command (#6324)

    * chore: convert logs:functions
    
    * chore: convert logs:build
    
    * chore: convert open command (#6325)
    
    * chore: fix log tests and mocks
    
    ---------
    
    Co-authored-by: Lewis Thorley <lewis.thorley@netlify.com>
    khendrikse and Lewis Thorley committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    d8e422c View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. chore: converts watch and init commands to clack (#6346)

    * chore: following all paths from watch command and converting to clack
    
    * chore: ensuring subcommands collect messages and do not repeat intros
    
    * chore: add style guide for child commands
    
    * chore: add style guide for child commands
    
    * chore: add style guide for child commands with js
    
    * chore: remove negated condition
    
    * chore: finish child command explanations
    
    * chore: fix init tests by using return key instead of new line to confirm'
    
    * chore: remove console logs
    
    * chore: ensure create routes from init are covered and join up
    
    * chore: fix create from template tests
    
    * chore: remove reference to arrow keys for consistency with other select commands
    
    * Update STYLEGUIDE.md
    
    Co-authored-by: Erica Pisani <pisani.erica@gmail.com>
    
    * Update STYLEGUIDE.md
    
    Co-authored-by: Erica Pisani <pisani.erica@gmail.com>
    
    * Update STYLEGUIDE.md
    
    Co-authored-by: Erica Pisani <pisani.erica@gmail.com>
    
    * Update src/commands/init/init.ts
    
    Co-authored-by: Erica Pisani <pisani.erica@gmail.com>
    
    ---------
    
    Co-authored-by: Lewis Thorley <lewis.thorley@netlify.com>
    Co-authored-by: Erica Pisani <pisani.erica@gmail.com>
    3 people committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    28ae1ed View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. chore: convert sites:list and sites:delete to clack (#6350)

    * chore: convert sites:list and sites:delete to clack
    
    * chore: fix ternary style
    
    * Update src/commands/sites/sites-delete.ts
    
    Co-authored-by: Erica Pisani <pisani.erica@gmail.com>
    
    * Update src/commands/sites/sites-delete.ts
    
    Co-authored-by: Erica Pisani <pisani.erica@gmail.com>
    
    * chore: remove _ from error
    
    ---------
    
    Co-authored-by: Lewis Thorley <lewis.thorley@netlify.com>
    Co-authored-by: Erica Pisani <pisani.erica@gmail.com>
    3 people committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    c674a16 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. Fix no git path for init command (#6357)

    Co-authored-by: Lewis Thorley <lewis.thorley@netlify.com>
    lemusthelroy and Lewis Thorley committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    5a5d4ff View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. chore: in progress of converting command having updated types (#6358)

    * chore: in progress of  converting command having updated types
    
    * chore: convert create template command to clack complete
    
    * chore: convert create template command to clack complete
    
    ---------
    
    Co-authored-by: Lewis Thorley <lewis.thorley@netlify.com>
    lemusthelroy and Lewis Thorley committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    76f952b View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. chore: merge main

    Lewis Thorley committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    bf0560f View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. chore: convert dev command to clack (#6366)

    * chore: wip convert dev command and stream logs into NetlifyLog - need to not call outro if framework
    
    * chore: format live tunnel changes
    
    * chore: capture all logs from @netlify/build
    
    * chore: format styles
    
    * chore: fix log breaking tests
    
    * chore: log function detection with logger and remove outro
    
    * chore: convert function registration output to clack
    
    * chore: remove old comments from shell file
    
    * chore: add expect-errors back
    
    * chore: add expect-errors back
    
    * chore: remove comment
    
    * chore: handle formatters in console overrides
    
    * chore: remove log
    
    * chore: ensure tests pass where we assert what is printed for child command
    
    * chore: ensure tests pass where we assert what is printed for child command
    
    * chore: remove pnpm added by mistake
    
    * In progress of fixing framework detection tests
    
    * chore: fix snapshot tests from frameworks
    
    * chore: fix lint issues
    
    * chore: fix lint issues
    
    * chore: fix lint issues
    
    * chore: fix prettier errors
    
    * chore: fix error not defined in addons logic
    
    * chore: fix import order
    
    * chore: fix empty line
    
    * chore: fix unpublished
    
    * chore: fix express error
    
    ---------
    
    Co-authored-by: Lewis Thorley <lewis.thorley@netlify.com>
    lemusthelroy and Lewis Thorley committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    3f7e207 View commit details
    Browse the repository at this point in the history