Skip to content

Commit

Permalink
fix: no longer supporting node v14
Browse files Browse the repository at this point in the history
BREAKING CHANGE: no longer supporting node v14
  • Loading branch information
Ahmad Nassri committed Dec 21, 2022
1 parent 1727445 commit 0c75c53
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/test-matrix.json
@@ -1,4 +1,4 @@
{
"os": ["ubuntu-latest"],
"node-version": [14, 16, 18]
"node-version": [16, 18]
}
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -11,15 +11,15 @@ Match files using the patterns the shell uses, like stars and stuff.
## Install

``` bash
$ npm install glob-promise glob
npm install glob-promise glob
```

###### NOTE:
###### NOTE

[`glob`][] is set as a `peerDependency` in [`package.json`][]

- `npm` \<= `2` will automatically install `peerDependencies` if they are not explicitly depended upon higher in the dependency tree.
- `npm` \>= 3 will no longer automatically install `peerDependencies`.
- `npm` \>= 7 will automatically install `peerDependencies`
- `npm` \<= 6 will **not** automatically install `peerDependencies`.

You will need to manually add `glob` as a dependency to your project for `glob-promise` to work.

Expand Down
9 changes: 4 additions & 5 deletions docs/README.md
Expand Up @@ -3,15 +3,15 @@
## Install

```bash
$ npm install glob-promise glob
npm install glob-promise glob
```

###### NOTE:
###### NOTE

[`glob`][glob] is set as a `peerDependency` in [`package.json`](package.json)

- `npm` <= `2` will automatically install `peerDependencies` if they are not explicitly depended upon higher in the dependency tree.
- `npm` >= 3 will no longer automatically install `peerDependencies`.
- `npm` >= 7 will automatically install `peerDependencies`
- `npm` <= 6 will **not** automatically install `peerDependencies`.

You will need to manually add `glob` as a dependency to your project for `glob-promise` to work.

Expand Down Expand Up @@ -59,7 +59,6 @@ glob('{foo,bar.baz}.txt', { nobrace: true })

> see [`Glob`](https://github.com/isaacs/node-glob#class-globglob)

#### options

The option object will be directly passed to [glob](https://github.com/isaacs/node-glob#options).
Expand Down
4 changes: 1 addition & 3 deletions package.json
Expand Up @@ -33,7 +33,6 @@
"test:watch": "tap test --watch",
"test:ci": "tap test --100",
"test:report": "opener coverage/lcov-report/index.html",
"postinstall": "npm-install-peers"
},
"devDependencies": {
"tap": "^16.3.0"
Expand All @@ -42,7 +41,6 @@
"glob": "^8.0.3"
},
"dependencies": {
"@types/glob": "^8.0.0",
"npm-install-peers": "^1.2.2"
"@types/glob": "^8.0.0"
}
}

0 comments on commit 0c75c53

Please sign in to comment.