diff --git a/README.md b/README.md index fb44793..e797760 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Http Request/Response with middleware and handler, [PSR-15][2] inspired. ## Requirements * node: 16 - * [chubbyts/chubbyts-http-types][3]: ^1.2.2 + * [chubbyts/chubbyts-http-types][3]: ^1.2.3 * [qs][4]: ^6.11.1 ## Installation @@ -32,7 +32,7 @@ Http Request/Response with middleware and handler, [PSR-15][2] inspired. Through [NPM](https://www.npmjs.com) as [@chubbyts/chubbyts-http][1]. ```ts -npm i @chubbyts/chubbyts-http@^1.2.0 +npm i @chubbyts/chubbyts-http@^1.2.1 ``` ## Copyright diff --git a/build.js b/build.js new file mode 120000 index 0000000..5ef468d --- /dev/null +++ b/build.js @@ -0,0 +1 @@ +node_modules/@chubbyts/chubbyts-packaging/build.js \ No newline at end of file diff --git a/package.json b/package.json index 70b1637..b1a88d0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@chubbyts/chubbyts-http", "type": "module", - "version": "1.2.0", + "version": "1.2.1", "description": "Http Request/Response with middleware and handler, PSR-15 inspired.", "keywords": [ "chubbyts", @@ -16,7 +16,7 @@ "license": "MIT", "repository": "chubbyts/chubbyts-http", "scripts": { - "build": "rm -rf ./dist && tsc -b ./tsconfig.types.json ./tsconfig.esm.json ./tsconfig.cjs.json && node ./rename-commonjs.js", + "build": "node ./build.js", "cs-fix": "prettier --write src tests", "cs": "prettier --check src tests", "infection": "stryker run", @@ -50,20 +50,20 @@ "./*": { "types": "./*.d.ts", "require": "./*.cjs", - "import": "./*.js", - "default": "./*.js" + "import": "./*.mjs", + "default": "./*.mjs" } }, "engines": { "node": ">=16" }, "dependencies": { - "@chubbyts/chubbyts-http-types": "^1.2.2", + "@chubbyts/chubbyts-http-types": "^1.2.3", "qs": "^6.11.2" }, "devDependencies": { - "@chubbyts/chubbyts-eslint": "^2.0.2", - "@chubbyts/chubbyts-packaging": "^1.0.3", + "@chubbyts/chubbyts-eslint": "^2.0.3", + "@chubbyts/chubbyts-packaging": "^2.0.4", "@stryker-mutator/core": "^7.1.1", "@stryker-mutator/jest-runner": "^7.1.1", "@types/jest": "^29.5.3", diff --git a/rename-commonjs.js b/rename-commonjs.js deleted file mode 120000 index 25ca74a..0000000 --- a/rename-commonjs.js +++ /dev/null @@ -1 +0,0 @@ -node_modules/@chubbyts/chubbyts-packaging/rename-commonjs.js \ No newline at end of file