chore: perform dependencies scan and fix all dependencies (#9296)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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: "=",
|
||||
|
||||
Reference in New Issue
Block a user