mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 04:08:11 +00:00
fix: pnpm module issue fixed
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -2,16 +2,29 @@
|
||||
"name": "@edr/types",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "./src/index.ts",
|
||||
"types": "./src/index.ts",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./common": "./src/common/index.ts",
|
||||
"./freight": "./src/freight/index.ts",
|
||||
"./passenger": "./src/passenger/index.ts"
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./common": {
|
||||
"types": "./dist/common/index.d.ts",
|
||||
"default": "./dist/common/index.js"
|
||||
},
|
||||
"./freight": {
|
||||
"types": "./dist/freight/index.d.ts",
|
||||
"default": "./dist/freight/index.js"
|
||||
},
|
||||
"./passenger": {
|
||||
"types": "./dist/passenger/index.d.ts",
|
||||
"default": "./dist/passenger/index.js"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.json",
|
||||
"dev": "tsc -w -p tsconfig.json",
|
||||
"type-check": "tsc --noEmit",
|
||||
"lint": "eslint src"
|
||||
},
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export * from "./common";
|
||||
export * as Freight from "./freight";
|
||||
export * as Passenger from "./passenger";
|
||||
export * from "./common/index";
|
||||
export * as Freight from "./freight/index";
|
||||
export * as Passenger from "./passenger/index";
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
{
|
||||
"extends": "@edr/tsconfig/base.json",
|
||||
"extends": "@edr/tsconfig/nestjs.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"noEmit": true
|
||||
"module": "CommonJS",
|
||||
"moduleResolution": "Node",
|
||||
"noEmit": false,
|
||||
"declaration": true,
|
||||
"declarationMap": true
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user