Burgerbuds Swiff Versions Save

πŸ’ Command line tools for common local ↔ remote server tasks.

v1.5.10

1 year ago

v1.5.4

3 years ago
  • Adding ability to exclude pattern when using swiff push folder so that project config can be excluded.

In swiff.config.js, instead of

{ pushFolders: [
    'config'
]}

We can use

{ pushFolders: [
    // The exclude value should be relative to the path
    { path:'config', exclude: "/project/*" },
]}

v1.5.0

4 years ago
  • In swiff.config.js you can now disable specific tasks in the list by adding the name to the disabled array:

    module.exports = {
      ...
      disabled: ['folderPull', 'databasePush', 'composerPush'],
    }
    

    This should help you avoid an accidental run on tasks like Database and File pushing. You can still run any disabled tasks with their flag command. swiff --help to see the flag list.

  • I trimmed down the number of flags for each task as it was getting a little cray.

  • The Ink dependency was updated to latest with a major version jump

v1.4.0

5 years ago

This release added a two new push tasks. This means all main tasks now have push and pull options.

πŸ‘Œ Added push database task - backs up the remote database before replacing it with the local database πŸ‘Œ Added push composer task - pushes your composer.json and composer.lock files to the remote server. The remote composer.json is backed up beforehand πŸ‘ Updated task menu with new items πŸ‘ Excluded .git and .DS_Store from being pushed/pulled

Coming next: Confirmation prompts that’ll help avoid the oopsies.

Some of the flags needed to change to accomodate the new tasks - sorry! See swiff --help for the available flags.

v1.2.0

5 years ago

A small release to fix some issues. Thanks for the pull requests!

v1.1.6

5 years ago