You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,13 +11,13 @@ Simple Node.js CLI which allows you to create and extract zip/tar files with sup
11
11
Install it locally with
12
12
13
13
```bash
14
-
npm i https://github.com/matteosacchetto/node-zip-cli/releases/download/v0.10.1/node-zip-cli-0.10.1.tgz
14
+
npm i https://github.com/matteosacchetto/node-zip-cli/releases/download/v0.11.0/node-zip-cli-0.11.0.tgz
15
15
```
16
16
17
17
Or install it globally with
18
18
19
19
```bash
20
-
npm i --location=global https://github.com/matteosacchetto/node-zip-cli/releases/download/v0.10.1/node-zip-cli-0.10.1.tgz
20
+
npm i --location=global https://github.com/matteosacchetto/node-zip-cli/releases/download/v0.11.0/node-zip-cli-0.11.0.tgz
21
21
```
22
22
23
23
### Other versions
@@ -210,7 +210,7 @@ Allows you to specify paths that you want to exclude. This option follows the sa
210
210
> For example, providing `*.mjs` will result in the shell replacing it will all the file matching the wildcard, so as the input to the CLI, instead of `"*.mjs"` will be provided the whole list (e.g. "rollup.config.mjs", "test.runner.mjs", ...). Instead, providing `"*.mjs"` will behave as expected, providing as input to the CLI the pattern `"*.mjs"`
211
211
212
212
> [!NOTE]
213
-
> Up to the current version (0.10.1) the list of paths to ignore which are specified with this options are applied after default ignore paths (like `.git`) BUT before any .gitignore or .zipignore file. This means that paths you specify here could be overridden by the aforementioned files.
213
+
> Up to the current version (0.11.0) the list of paths to ignore which are specified with this options are applied after default ignore paths (like `.git`) BUT before any .gitignore or .zipignore file. This means that paths you specify here could be overridden by the aforementioned files.
214
214
215
215
###### `--allow-git`
216
216
@@ -348,7 +348,7 @@ Allows you to specify paths that you want to exclude. This option follows the sa
348
348
> For example, providing `*.mjs` will result in the shell replacing it will all the file matching the wildcard, so as the input to the CLI, instead of `"*.mjs"` will be provided the whole list (e.g. "rollup.config.mjs", "test.runner.mjs", ...). Instead, providing `"*.mjs"` will behave as expected, providing as input to the CLI the pattern `"*.mjs"`
349
349
350
350
> [!NOTE]
351
-
> Up to the current version (0.10.1) the list of paths to ignore which are specified with this options are applied after default ignore paths (like `.git`) BUT before any .gitignore or .zipignore file. This means that paths you specify here could be overridden by the aforementioned files.
351
+
> Up to the current version (0.11.0) the list of paths to ignore which are specified with this options are applied after default ignore paths (like `.git`) BUT before any .gitignore or .zipignore file. This means that paths you specify here could be overridden by the aforementioned files.
352
352
353
353
###### `--allow-git`
354
354
@@ -449,7 +449,7 @@ Filter the types of entries this command will list
449
449
By default, the three types are included, but you can decide to only list a subset.
450
450
451
451
> [!NOTE]
452
-
> Up to the current version (0.10.1) symlinks are not listed by default. To list them you need to specify the `-s keep` option.
452
+
> Up to the current version (0.11.0) symlinks are not listed by default. To list them you need to specify the `-s keep` option.
453
453
>
454
454
> Since version (0.10.0) to list them you can just specify the `-s` option
455
455
@@ -489,7 +489,7 @@ Allows you to specify paths that you want to exclude. This option follows the sa
489
489
> For example, providing `*.mjs` will result in the shell replacing it will all the file matching the wildcard, so as the input to the CLI, instead of `"*.mjs"` will be provided the whole list (e.g. "rollup.config.mjs", "test.runner.mjs", ...). Instead, providing `"*.mjs"` will behave as expected, providing as input to the CLI the pattern `"*.mjs"`
490
490
491
491
> [!NOTE]
492
-
> Up to the current version (0.10.1) the list of paths to ignore which are specified with this options are applied after default ignore paths (like `.git`) BUT before any .gitignore or .zipignore file. This means that paths you specify here could be overridden by the aforementioned files.
492
+
> Up to the current version (0.11.0) the list of paths to ignore which are specified with this options are applied after default ignore paths (like `.git`) BUT before any .gitignore or .zipignore file. This means that paths you specify here could be overridden by the aforementioned files.
493
493
494
494
###### `--allow-git`
495
495
@@ -510,7 +510,7 @@ Simply run this CLI providing to each command all the necessary options.
510
510
This file is meant to be placed in a folder that you plan to zip/tar. It is meant to be used instead of the .gitignore, if the content of the folder is not related to git, or as an extension of the .gitignore, where you can specify additional rules related only to the zip file creation. The .zipignore file follows the same syntax and rules as the traditional .gitignore
511
511
512
512
> [!NOTE]
513
-
> Up to the current version (0.10.1) the .zipignore builds on top of already existing .gitignore rules, so if you only want to ignore some additional files you **do not need** to copy paste the content of the .gitignore.
513
+
> Up to the current version (0.11.0) the .zipignore builds on top of already existing .gitignore rules, so if you only want to ignore some additional files you **do not need** to copy paste the content of the .gitignore.
514
514
515
515
> [!NOTE]
516
516
> Since version (0.7.0) the strategy of ignoring everythin (`*`) and then un-ignoring (!) some paths (e.g. `!test`, `!src`, ...) is supported and behaves like in the gitignore specs. Quoting from [gitignore specs](https://git-scm.com/docs/gitignore): *"It is not possible to re-include a file if a parent directory of that file is excluded. Git doesn’t list excluded directories for performance reasons, so any patterns on contained files have no effect, no matter where they are defined. "*.
@@ -524,6 +524,6 @@ This file is meant to be placed in a folder that you plan to zip/tar. It is mean
524
524
525
525
> [!WARNING]
526
526
> *Current limitations*
527
-
> Up to the current version (0.10.1) zip/tar and unzip/untar handle files, directories and symlinks.
527
+
> Up to the current version (0.11.0) zip/tar and unzip/untar handle files, directories and symlinks.
528
528
>
529
529
> Since version (0.10.0) symlink support is marked as stable, but requires the user to explicitly enable it for `zip`,`tar` and `find` through the `-s, --symlink` option.
0 commit comments