chore(): Move peer deps into a single package and re export from framework (#13439)
* chore(): Move peer deps into a single package and re export from framework * WIP * update core packages * update cli and deps * update medusa * update exports path * remove analyze * update modules deps * finalise changes * fix yarn * fix import * Refactor peer dependencies into a single package Consolidate peer dependencies into one package and re-export from the framework. * update changeset * Update .changeset/brown-cows-sleep.md Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> * rm deps * fix deps * increase timeout * upgrade version * update versions * update versions * fixes * update lock * fix missing import * fix missing import --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
Oli Juhl
parent
55f89b2151
commit
12a96a7c70
@@ -1,5 +1,5 @@
|
||||
import { EOL } from "os"
|
||||
import pg from "pg"
|
||||
import type pg from "@medusajs/deps/pg"
|
||||
import postgresClient, {
|
||||
DEFAULT_HOST,
|
||||
DEFAULT_PORT,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import pg from "pg"
|
||||
import pg from "@medusajs/deps/pg"
|
||||
|
||||
const { Client } = pg
|
||||
const { Client } = pg as any
|
||||
|
||||
export const DEFAULT_HOST = "localhost"
|
||||
export const DEFAULT_PORT = 5432
|
||||
|
||||
@@ -5,7 +5,7 @@ import execute from "./execute.js"
|
||||
import { EOL } from "os"
|
||||
import { displayFactBox, FactBoxOptions } from "./facts.js"
|
||||
import ProcessManager from "./process-manager.js"
|
||||
import type { Client } from "pg"
|
||||
import type { Client } from "@medusajs/deps/pg"
|
||||
import PackageManager from "./package-manager.js"
|
||||
import { updatePackageVersions } from "./update-package-versions.js"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user