flamebird icon indicating copy to clipboard operation
flamebird copied to clipboard

✨ next release

Open js2me opened this issue 5 years ago • 0 comments

Improvenments:

  • command fb web will have only one instance of NodeJS application.
    First call fb web -p SOME_PORT create a server hosted on port SOME_PORT.
    But call fb web inside another project will not create a new server
    But instead of this you can see all your running projects looking at localhost:SOME_PORT

Added

  • web [internal] changed webpack configuration for web client
  • web new options:
    • -i, --ignore-trs (in previous version it used by default)
      Allows to launch tasks without yarn or npm ( use absolute paths: webpack -> node_modules/.bin/webpack )
      default: false
    • -r, --task-runner <NAME>
      Allows to use another task runner for launch tasks. By default will use npm ( For example: -r yarn )
      default: 'npm'
    • -w, --without-browser
      This option disable opening the new tab in Google Chrome browser
      default: false
    • -s, --sort-by-name
      This option using to sort all commands by name (asc)
      default: false
  • cmd new options:
    • -i, --ignore-trs (in previous version it used by default)
      Allows to launch tasks without yarn or npm ( use absolute paths: webpack -> node_modules/.bin/webpack )
      default: false
    • -r, --task-runner <NAME>
      Allows to use another task runner for launch tasks. By default will use npm ( For example: -r yarn )
      default: 'npm'

Changed

  • [internal] fully refactored code on nodeJS and web view
  • Option prefix from -j, --procfile <FILE> to -f, --procfile <FILE>
  • [web] changed API endpoints:
    • POST:/run/${taskId} -> POST:/${configId}/${taskId}/run
    • POST:/stop/${taskId} -> POST:/${configId}/${taskId}/stop
    • POST:/clear-logs/${taskId} -> DELETE/${configId}/${taskId}/logs
    • GET:/logs/${taskId} -> GET:/${configId}/${taskId}/logs
    • POST:/update-envs({ id: string, envs: object}) -> PUT:/${configId}/${taskId}/envs(envs:object)

Fixed

  • Problems linked with running flamebird without node_modules folder

Removed

  • Removed default usage experimental converting npm/yarn run scripts to the absolute paths
  • [web]
    • /run-all API endpoint
    • /stop-all API endpoint

js2me avatar Feb 19 '19 00:02 js2me