chore: perform dependencies scan and fix all dependencies (#9296)

This commit is contained in:
Harminder Virk
2024-09-26 14:14:38 +05:30
committed by GitHub
parent fba78c0fb1
commit 48bea267dc
593 changed files with 2729 additions and 2314 deletions
@@ -1,4 +1,4 @@
const { defineConfig, Modules } = require("@medusajs/utils")
const { defineConfig, Modules } = require("@medusajs/framework/utils")
const { schema } = require("./schema")
export const dbName = "medusa-index-integration-2024"
+7 -2
View File
@@ -39,17 +39,22 @@
"devDependencies": {
"@medusajs/framework": "^0.0.1",
"@mikro-orm/cli": "5.9.7",
"cross-env": "^5.2.1",
"@mikro-orm/core": "5.9.7",
"@mikro-orm/knex": "5.9.7",
"@mikro-orm/migrations": "5.9.7",
"@mikro-orm/postgresql": "5.9.7",
"@swc/core": "^1.7.28",
"@swc/jest": "^0.2.36",
"jest": "^29.7.0",
"medusa-test-utils": "^1.1.44",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"tsc-alias": "^1.8.6",
"typescript": "^5.6.2"
},
"peerDependencies": {
"@medusajs/framework": "^0.0.1",
"@mikro-orm/core": "5.9.7",
"@mikro-orm/knex": "5.9.7",
"@mikro-orm/migrations": "5.9.7",
"@mikro-orm/postgresql": "5.9.7",
"awilix": "^8.0.1"
@@ -30,7 +30,7 @@ export async function gqlSchemaToTypes(schema: string) {
const entryPoints = buildEntryPointsTypeMap(content)
const indexEntryPoints = `
declare module '@medusajs/types' {
declare module '@medusajs/framework/types' {
interface IndexServiceEntryPoints {
${entryPoints
.map((entry) => ` ${entry.entryPoint}: ${entry.entityType}`)
@@ -1,7 +1,7 @@
import { isObject, isString, GraphQLUtils } from "@medusajs/utils"
import { Knex } from "@mikro-orm/knex"
import { IndexTypes } from "@medusajs/framework/types"
import { Knex } from "knex"
import { OrderBy, QueryFormat, QueryOptions, Select } from "@types"
import { isObject, isString, GraphQLUtils } from "@medusajs/framework/utils"
export const OPERATOR_MAP = {
$eq: "=",