- Make MockRequests.d.ts use
[url: string]
for objects instead of[p: string]
- Add support for using
fetch("/rest/user/:userId")
- Add support for mocking NodeJS
http
andhttps
modules. - Convert to TypeScript.
- Add a new npm CLI config so if third arg (
activateMocks
) is null, then it reads from e.g.npm start --mock
- Some helpful starting places:
- package.json 'publishConfig' field
- Add both MJS and CJS entry points to support .mjs/ESM node (
import
) as well as .cjs (require
) in node.- package.json
main
for CJS,module
for MJS. - See ref.
- package.json