build(all): fixed "types" path in package.json files
MODIFY
packages/middleware-body/package.json
packages/middleware-body/package.json
"version": "1.0.0-rc.1",
"description": "Body parser middleware for Marble.js",
"main": "./dist/index.js",
- "types": "./dist/index.d.ts",
+ "types": "./dist/middleware-body/src/index.d.ts",
"scripts": {
"start": "yarn watch",
"watch": "webpack -w",

RENAME
packages/middleware-body/src/indes.spec.ts
packages/middleware-body/src/index.spec.ts
import { HttpRequest, HttpResponse } from '@marblejs/core';
import { of } from 'rxjs';
import { Marbles } from '@shared';
-import { bodyParser$ } from './index';
+import { bodyParser$ } from '.';
const MockReq = require('mock-req');

MODIFY
packages/middleware-joi/tsconfig.json
packages/middleware-joi/tsconfig.json
"compilerOptions": {
"outDir": "./dist/",
"declaration": true,
- "strictNullChecks": false,
"typeRoots": [
"./node_modules/@types",
"../../node_modules/@types"
"node_modules/@types",
"src/**/*.ts"
],
-
- "exclude": [
- "test/"
- ]
}

MODIFY
packages/middleware-logger/package.json
packages/middleware-logger/package.json
"version": "1.0.0-rc.1",
"description": "Logger middleware for Marble.js",
"main": "./dist/index.js",
- "types": "./dist/index.d.ts",
+ "types": "./dist/middleware-logger/src/index.d.ts",
"scripts": {
"start": "yarn watch",
"watch": "webpack -w",

build(all): fixed "types" path in package.json files