Skip to content

Commit

Permalink
chore: altered core manifests to be called fetch-mock
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Oct 20, 2024
1 parent 18ae8b6 commit 516d0eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"webdriverio": "^8.27.0"
},
"volta": {
"node": "20.0.0"
"node": "18.20.4"
},
"lint-staged": {
"**/*.js": [
Expand Down
10 changes: 4 additions & 6 deletions packages/core/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# @fetch-mock/core

Work in progress reimplememntation of fetch-mock.
# fetch-mock

Features include:

Expand All @@ -14,17 +12,17 @@ Features include:

## Requirements

@fetch-mock/core requires either of the following to run:
@fetch-mock requires either of the following to run:

- [Node.js](https://nodejs.org/) 18+ for full feature operation
- Any modern browser that supports the `fetch` API
- [node-fetch](https://www.npmjs.com/package/node-fetch) when testing in earlier versions of Node.js (this is untested, but should mostly work)

## Documentation and Usage

See the [project website](https://www.wheresrhys.co.uk/fetch-mock/docs/@fetch-mock/core/)
See the [project website](https://www.wheresrhys.co.uk/fetch-mock/)

## License

@fetch-mock/core is licensed under the [MIT](https://github.com/wheresrhys/fetch-mock/blob/master/LICENSE) license.
fetch-mock is licensed under the [MIT](https://github.com/wheresrhys/fetch-mock/blob/master/LICENSE) license.
Copyright © 2024, Rhys Evans
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@fetch-mock/core",
"name": "@fetch-mock",
"description": "Mock http requests made using fetch",
"version": "0.7.1",
"version": "11.1.5",
"exports": {
"browser": "./dist/esm/index.js",
"import": {
Expand Down

0 comments on commit 516d0eb

Please sign in to comment.