chore: Add missing deps (#4317)
This commit is contained in:
1 parent
81dfeb43ea
commit
9b42387fd3
24 files changed
+84
-101
No files matched your search
@@ -31,6 +31,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@medusajs/modules-sdk": "^1.8.7",
|
||||
"@medusajs/utils": "^1.9.0"
|
||||
"@medusajs/utils": "^1.9.0",
|
||||
"ulid": "^2.3.0"
|
||||
}
|
||||
}
|
||||
@@ -53,6 +53,7 @@
|
||||
"medusa-telemetry": "^0.0.16",
|
||||
"open": "^8.0.6",
|
||||
"ora": "^5.4.1",
|
||||
"pg": "^8.11.0",
|
||||
"pg-god": "^1.0.12",
|
||||
"prompts": "^2.4.2",
|
||||
"regenerator-runtime": "^0.13.11",
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"@babel/preset-env": "^7.7.5",
|
||||
"@babel/register": "^7.7.4",
|
||||
"@babel/runtime": "^7.9.6",
|
||||
"@medusajs/medusa": "^1.12.0",
|
||||
"client-sessions": "^0.8.0",
|
||||
"cross-env": "^5.2.1",
|
||||
"jest": "^25.5.4",
|
||||
@@ -33,6 +34,7 @@
|
||||
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@medusajs/medusa": "^1.12.0",
|
||||
"medusa-interfaces": "^1.3.7"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
// Import from dist to avoid circular deps which result in the base service to be undefined
|
||||
import { buildQuery, setMetadata, validateId } from "@medusajs/medusa/dist/utils"
|
||||
import {
|
||||
buildQuery,
|
||||
setMetadata,
|
||||
validateId,
|
||||
} from "@medusajs/medusa/dist/utils"
|
||||
|
||||
/**
|
||||
* Common functionality for Services
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.24.0",
|
||||
"cross-env": "^5.2.1",
|
||||
"qs": "^6.10.3",
|
||||
"retry-axios": "^2.6.0",
|
||||
"uuid": "^9.0.0"
|
||||
@@ -45,7 +46,6 @@
|
||||
"devDependencies": {
|
||||
"@medusajs/medusa": "^1.12.0",
|
||||
"@types/uuid": "^9.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"jest": "^27.4.7",
|
||||
"ts-jest": "^27.1.5",
|
||||
"tsup": "^6.5.0",
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
"body-parser": "^1.19.0",
|
||||
"cors": "^2.8.5",
|
||||
"express": "^4.17.1",
|
||||
"lodash": "^4.17.21",
|
||||
"medusa-core-utils": "^1.2.0"
|
||||
},
|
||||
"gitHead": "81a7ff73d012fda722f6e9ef0bd9ba0232d37808",
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
"axios": "^0.21.4",
|
||||
"body-parser": "^1.19.0",
|
||||
"express": "^4.17.1",
|
||||
"lodash": "^4.17.21",
|
||||
"medusa-core-utils": "^1.2.0"
|
||||
},
|
||||
"gitHead": "cd1f5afa5aa8c0b15ea957008ee19f1d695cbd2e",
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@medusajs/medusa": "^1.12.0",
|
||||
"@medusajs/types": "^1.8.7",
|
||||
"@types/stripe": "^8.0.417",
|
||||
"cross-env": "^5.2.1",
|
||||
"jest": "^25.5.4",
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
"devDependencies": {
|
||||
"@medusajs/medusa": "^1.12.0",
|
||||
"@types/stripe": "^8.0.417",
|
||||
"awilix": "^8.0.1",
|
||||
"cross-env": "^5.2.1",
|
||||
"jest": "^25.5.4",
|
||||
"typescript": "^4.9.5"
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"@babel/preset-env": "^7.7.5",
|
||||
"@babel/register": "^7.7.4",
|
||||
"@babel/runtime": "^7.9.6",
|
||||
"@medusajs/medusa": "^1.12.0",
|
||||
"axios-mock-adapter": "^1.18.2",
|
||||
"axios-mock-server": "^0.19.1",
|
||||
"client-sessions": "^0.8.0",
|
||||
@@ -36,6 +37,7 @@
|
||||
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@medusajs/medusa": "^1.12.0",
|
||||
"medusa-interfaces": "^1.3.7"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
"body-parser": "^1.19.0",
|
||||
"contentful-management": "^5.27.1",
|
||||
"express": "^4.17.1",
|
||||
"lodash": "^4.17.21",
|
||||
"medusa-core-utils": "^1.2.0",
|
||||
"redis": "^3.0.2"
|
||||
},
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"medusa-interfaces": "^1.3.7",
|
||||
"medusa-test-utils": "^1.1.40",
|
||||
"pg": "^8.5.1",
|
||||
"typeorm": "*",
|
||||
"ulid": "^2.3.0"
|
||||
},
|
||||
"scripts": {
|
||||
@@ -31,7 +32,8 @@
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@medusajs/medusa": "^1.12.0",
|
||||
"medusa-interfaces": "^1.3.7"
|
||||
"medusa-interfaces": "^1.3.7",
|
||||
"typeorm": "*"
|
||||
},
|
||||
"dependencies": {
|
||||
"body-parser": "^1.19.0",
|
||||
|
||||
@@ -24,7 +24,8 @@
|
||||
"cross-env": "^5.2.1",
|
||||
"jest": "^25.5.4",
|
||||
"medusa-interfaces": "^1.3.7",
|
||||
"medusa-test-utils": "^1.1.40"
|
||||
"medusa-test-utils": "^1.1.40",
|
||||
"typeorm": "*"
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "cross-env NODE_ENV=production yarn run build",
|
||||
@@ -33,7 +34,8 @@
|
||||
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"medusa-interfaces": "^1.3.7"
|
||||
"medusa-interfaces": "^1.3.7",
|
||||
"typeorm": "*"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-classes": "^7.9.5",
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
"@types/react-dom": "^17.0.18",
|
||||
"axios": "^0.24.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"cross-env": "^7.0.3",
|
||||
"cross-env": "^5.2.1",
|
||||
"jest": "^29.4.1",
|
||||
"jest-environment-jsdom": "^29.4.1",
|
||||
"msw": "^0.35.0",
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
"medusa-interfaces": "^1.3.7",
|
||||
"supertest": "^4.0.2",
|
||||
"ts-jest": "^25.5.1",
|
||||
"typeorm": "^0.3.16",
|
||||
"typescript": "^4.4.4"
|
||||
},
|
||||
"scripts": {
|
||||
@@ -43,7 +44,7 @@
|
||||
"peerDependencies": {
|
||||
"@medusajs/types": "^1.8.7",
|
||||
"medusa-interfaces": "^1.3.7",
|
||||
"typeorm": "*"
|
||||
"typeorm": "^0.3.16"
|
||||
},
|
||||
"dependencies": {
|
||||
"@medusajs/medusa-cli": "^1.3.15",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { isDefined, MedusaError } from "medusa-core-utils"
|
||||
import { isDefined, MedusaError } from "@medusajs/utils"
|
||||
import { EntityManager } from "typeorm"
|
||||
import {
|
||||
ITaxCalculationStrategy,
|
||||
|
||||
@@ -3,7 +3,7 @@ import {
|
||||
MODULE_SCOPE,
|
||||
ModuleResolution,
|
||||
} from "@medusajs/types"
|
||||
import { createMedusaContainer } from "medusa-core-utils"
|
||||
import { createMedusaContainer } from "@medusajs/utils"
|
||||
import { EOL } from "os"
|
||||
import { moduleLoader } from "../module-loader"
|
||||
|
||||
|
||||
@@ -37,11 +37,14 @@
|
||||
"dependencies": {
|
||||
"@medusajs/medusa": "^1.12.0",
|
||||
"@medusajs/openapi-typescript-codegen": "^0.2.1",
|
||||
"@medusajs/types": "workspace:^",
|
||||
"@medusajs/utils": "workspace:^",
|
||||
"@readme/json-schema-ref-parser": "^1.2.0",
|
||||
"@readme/openapi-parser": "^2.4.0",
|
||||
"@redocly/cli": "1.0.0-beta.123",
|
||||
"@types/lodash": "^4.14.191",
|
||||
"commander": "^10.0.0",
|
||||
"execa": "1.0.0",
|
||||
"lodash": "^4.17.21",
|
||||
"openapi3-ts": "^3.1.2",
|
||||
"swagger-inline": "^6.1.0"
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
import { previewDocs } from "@redocly/cli/lib/commands/preview-docs"
|
||||
import { Command, Option, OptionValues } from "commander"
|
||||
import fs, { mkdir } from "fs/promises"
|
||||
import * as path from "path"
|
||||
import execa from "execa"
|
||||
import { jsonFileToYamlFile, readYaml, writeYaml } from "./utils/yaml-utils"
|
||||
import fs, { mkdir } from "fs/promises"
|
||||
import { isArray, mergeWith } from "lodash"
|
||||
import { readJson } from "./utils/json-utils"
|
||||
import { getTmpDirectory, isFile } from "./utils/fs-utils"
|
||||
import * as path from "path"
|
||||
import {
|
||||
formatHintRecommendation,
|
||||
getCircularPatchRecommendation,
|
||||
getCircularReferences,
|
||||
} from "./utils/circular-patch-utils"
|
||||
import { previewDocs } from "@redocly/cli/lib/commands/preview-docs"
|
||||
import { getTmpDirectory, isFile } from "./utils/fs-utils"
|
||||
import { readJson } from "./utils/json-utils"
|
||||
import { jsonFileToYamlFile, readYaml, writeYaml } from "./utils/yaml-utils"
|
||||
|
||||
/**
|
||||
* Constants
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"devDependencies": {
|
||||
"awilix": "^8.0.0",
|
||||
"cross-env": "^5.2.1",
|
||||
"ioredis": "^5.2.5",
|
||||
"typeorm": "^0.3.16",
|
||||
"typescript": "^4.4.4",
|
||||
"winston": "^3.8.2"
|
||||
|
||||
@@ -20,12 +20,13 @@
|
||||
"@medusajs/types": "^1.8.7",
|
||||
"@types/express": "^4.17.17",
|
||||
"cross-env": "^5.2.1",
|
||||
"express": "^4.18.2",
|
||||
"jest": "^25.5.4",
|
||||
"ts-jest": "^25.5.1",
|
||||
"typescript": "^4.4.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"awilix": "^8.0.0",
|
||||
"awilix": "^8.0.1",
|
||||
"ulid": "^2.3.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
@@ -3,7 +3,7 @@ import { NextFunction, Request, RequestHandler, Response } from "express"
|
||||
type handler = (req: Request, res: Response) => Promise<void>
|
||||
|
||||
export const wrapHandler = (fn: handler): RequestHandler => {
|
||||
return (
|
||||
return (
|
||||
req: Request & { errors?: Error[] },
|
||||
res: Response,
|
||||
next: NextFunction
|
||||
|
||||
Reference in new issue
Block a user