-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: prepare for the release (#36)
* chore: update to [email protected] * chore: update description in package.json * chore: upgrade to node v20.11 * chore: update email in package.json * test: fix "headersAfterMsw" utility * chore: split ts configs
- Loading branch information
1 parent
d995669
commit 11a9ad6
Showing
34 changed files
with
2,243 additions
and
1,791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v18.14.2 | ||
v20.11.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@mswjs/source", | ||
"version": "0.0.0", | ||
"description": "Generate request handlers for Mock Service Worker from various sources.", | ||
"description": "Generate MSW request handlers from OpenAPI specs, HAR archives, and other sources.", | ||
"main": "./lib/index.js", | ||
"module": "./lib/index.mjs", | ||
"types": "./lib/index.d.ts", | ||
|
@@ -11,22 +11,21 @@ | |
"import": "./lib/index.mjs" | ||
} | ||
}, | ||
"files": [ | ||
"lib" | ||
], | ||
"repository": "[email protected]:mswjs/source.git", | ||
"author": "Artem Zakharchenko <kettanaito@gmail.com>", | ||
"author": "Artem Zakharchenko <me@kettanaito.com>", | ||
"scripts": { | ||
"start": "pnpm build --watch", | ||
"lint": "eslint ./{src,test}/**/*.ts", | ||
"har:fixture": "ts-node ./test/traffic/fixtures/requests/command.ts", | ||
"prepare": "pnpm simple-git-hooks init", | ||
"prebuild": "pnpm lint", | ||
"build": "tsup src/index.ts --format cjs,esm --out-dir lib --dts --clean", | ||
"test": "vitest run", | ||
"build": "tsup", | ||
"test": "vitest", | ||
"prepublishOnly": "pnpm test && pnpm build" | ||
}, | ||
"files": [ | ||
"lib", | ||
"README.md" | ||
], | ||
"lint-staged": { | ||
"*.ts": [ | ||
"prettier --write", | ||
|
@@ -38,8 +37,9 @@ | |
"commit-msg": "pnpm commitlint --edit $1" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
"node": ">=20.11" | ||
}, | ||
"packageManager": "[email protected]", | ||
"peerDependencies": { | ||
"msw": "^1.2.1" | ||
}, | ||
|
@@ -49,32 +49,31 @@ | |
"@open-draft/test-server": "^0.5.1", | ||
"@types/compression": "^1.7.1", | ||
"@types/node": "18", | ||
"@typescript-eslint/eslint-plugin": "^4.29.1", | ||
"@typescript-eslint/parser": "^4.29.1", | ||
"@typescript-eslint/eslint-plugin": "^7.8.0", | ||
"@typescript-eslint/parser": "^7.8.0", | ||
"compression": "^1.7.4", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^3.4.0", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"jsdom": "^22.1.0", | ||
"lint-staged": "^10.5.3", | ||
"msw": "^1.2.1", | ||
"playwright": "^1.34.3", | ||
"prettier": "^2.8.8", | ||
"rimraf": "^3.0.2", | ||
"prettier": "^3.2.5", | ||
"rimraf": "^5.0.5", | ||
"simple-git-hooks": "^2.8.1", | ||
"ts-node": "^10.9.1", | ||
"tslib": "^2.3.1", | ||
"tsup": "^5.11.13", | ||
"typescript": "^5.1.3", | ||
"vitest": "^0.32.0" | ||
"tsup": "^8.0.2", | ||
"typescript": "^5.4.5", | ||
"vitest": "^1.6.0" | ||
}, | ||
"dependencies": { | ||
"@apidevtools/swagger-parser": "^10.0.2", | ||
"@types/faker": "^5.5.9", | ||
"@types/har-format": "^1.2.7", | ||
"@types/set-cookie-parser": "^2.4.2", | ||
"faker": "5.x", | ||
"headers-utils": "^3.0.2", | ||
"openapi-types": "^7.2.3", | ||
"outvariant": "^1.2.1", | ||
"randexp": "^0.5.3", | ||
|
Oops, something went wrong.