2.0.2 • Published 7 years ago

install-here v2.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

install-here

Build Status

Your packages as updatable templates

Install

$ npm install install-here -g

Use

Install npm package in folder you want: launch this command in the project folder

$ install-here <package> [<options>]

the package will be cloned directly in folder. Once the original package has been updated and you want to update yours, simply use the command (without specifying the package name):

$ install-here

changing options defined in the file:

install-here.json

(created by the tool at the first launch) you can skip or manage overwriting modes for existing files or folders.

See USE CASE for more details.

Similar to a basic yeoman but considering an npm package as template!

Options

Options can be defined using file

install-here.json

saved on working directory

  • ignore

    string value (es: "*.yml;package.json;favicon.ico;*.jpg").

    Every file match with this filter will be skipped.

  • ignoreOverwrite

    string value (es: "*.json").

    Every existing file match with this filter will be skipped.

  • ignorePath

    string value (es: "my/folder/**").

    Every file match with this filter will be skipped if path exists.

  • checkVersion

    boolean value.

    Cancel upgrade the package if the version is the same as the remote one.

  • xpre

    string value (es: "gulp deploy").

    pre-execution script.

  • xpost

    string value (es: "gulp deploy").

    post-execution script.

Flags

  • -v, --version

    retrieve the version

  • -f, --force

    force updates all files bypassing version check

  • --verbose

    shows the verbose log

  • -h, --help

    shows the help

  • -p, --patch

    install in patch mode: save all files but package.json and dependencies. Not provide for pre/post actions. Like a merge to other package, different from current.

  • -xpre, -xpost

    pre/post execution script

    $ install-here <package> --xpost "gulp deploy"

Filename Filters

File names filters can be write gulp-like syntax:

filtermatch
your-file.extspecific filename
your/path/*.*all files in your path (not in sub folders)
your/path/**/*.jsonall .json files in your path and sub folders
your/path/**all files in your path and sub folders
your/path/your-file*.*all files in your path starts with "your-file"
2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

8 years ago

1.1.7

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.28

8 years ago

1.0.27

8 years ago

1.0.26

8 years ago

1.0.25

8 years ago

1.0.24

8 years ago

1.0.23

8 years ago

1.0.22

8 years ago

1.0.21

8 years ago

1.0.20

8 years ago

1.0.19

8 years ago

1.0.18

8 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago