-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd4c1db
commit 6bb69e2
Showing
9 changed files
with
161 additions
and
50 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
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
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "@medusajs/types", | ||
"version": "0.0.1", | ||
"description": "Medusa Types definition", | ||
"main": "dist/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https:/medusajs/medusa", | ||
"directory": "packages/types" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"author": "Medusa", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"cross-env": "^5.2.1", | ||
"typeorm": "^0.3.11", | ||
"typescript": "^4.4.4" | ||
}, | ||
"scripts": { | ||
"prepare": "cross-env NODE_ENV=production yarn run build", | ||
"build": "tsc --build", | ||
"test": "echo \"Tests disabled temporarily\"", | ||
"test:unit": "echo \"Tests disabled temporarily\"" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "./shared-context" |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { EntityManager } from "typeorm" | ||
|
||
export type SharedContext = { | ||
transactionManager?: EntityManager | ||
} |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"compilerOptions": { | ||
"lib": ["es2020"], | ||
"target": "es2020", | ||
"outDir": "./dist", | ||
"esModuleInterop": true, | ||
"declaration": true, | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"sourceMap": true, | ||
"noImplicitReturns": true, | ||
"strictNullChecks": true, | ||
"strictFunctionTypes": true, | ||
"noImplicitThis": true, | ||
"allowJs": true, | ||
"skipLibCheck": true | ||
}, | ||
"include": ["./src/**/*"], | ||
This comment has been minimized.
Sorry, something went wrong. |
||
"exclude": [ | ||
"./dist/**/*", | ||
This comment has been minimized.
Sorry, something went wrong. |
||
"./src/**/__tests__", | ||
"./src/**/__mocks__", | ||
"node_modules" | ||
] | ||
} |
Oops, something went wrong.
suggestion: "src"