diff --git a/.changeset/good-parents-prove.md b/.changeset/good-parents-prove.md new file mode 100644 index 0000000000..b5316d61bc --- /dev/null +++ b/.changeset/good-parents-prove.md @@ -0,0 +1,9 @@ +--- +"@medusajs/inventory": patch +"@medusajs/medusa": patch +"@medusajs/stock-location": patch +"@medusajs/types": patch +"@medusajs/utils": patch +--- + +chore: Bump Typeorm to Medusa fork diff --git a/.github/workflows/test-cli-with-database.yml b/.github/workflows/test-cli-with-database.yml index d806fc4aa8..47b57004e9 100644 --- a/.github/workflows/test-cli-with-database.yml +++ b/.github/workflows/test-cli-with-database.yml @@ -56,7 +56,7 @@ jobs: - name: Create Medusa project run: | - medusa new cli-test + medusa new cli-test 'https://github.com/medusajs/medusa-starter-default/tree/ci-test' working-directory: .. - name: run medusa dev diff --git a/integration-tests/api/package.json b/integration-tests/api/package.json index 32662d6735..7b2bdde3d8 100644 --- a/integration-tests/api/package.json +++ b/integration-tests/api/package.json @@ -14,7 +14,7 @@ "@medusajs/medusa": "1.9.0", "faker": "^5.5.3", "medusa-interfaces": "1.3.7", - "typeorm": "^0.3.14" + "typeorm": "npm:@medusajs/typeorm@0.3.16-next.0" }, "devDependencies": { "@babel/cli": "^7.12.10", diff --git a/integration-tests/plugins/package.json b/integration-tests/plugins/package.json index be0574067b..306d216146 100644 --- a/integration-tests/plugins/package.json +++ b/integration-tests/plugins/package.json @@ -16,7 +16,7 @@ "medusa-fulfillment-webshipper": "1.3.9", "medusa-interfaces": "1.3.7", "medusa-plugin-sendgrid": "1.3.9", - "typeorm": "^0.3.14" + "typeorm": "npm:@medusajs/typeorm@0.3.16-next.0" }, "devDependencies": { "@babel/cli": "^7.12.10", diff --git a/integration-tests/repositories/package.json b/integration-tests/repositories/package.json index cda93e969b..b5b13459a0 100644 --- a/integration-tests/repositories/package.json +++ b/integration-tests/repositories/package.json @@ -10,7 +10,7 @@ "dependencies": { "@medusajs/medusa": "1.9.0", "medusa-interfaces": "1.3.7", - "typeorm": "^0.3.14" + "typeorm": "npm:@medusajs/typeorm@0.3.16-next.0" }, "devDependencies": { "@babel/cli": "^7.12.10", diff --git a/package.json b/package.json index 461b161e2d..0c863348ed 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "typedoc-plugin-markdown": "^3.13.4", "typedoc-plugin-merge-modules": "^4.0.1", "typedoc-plugin-reference-excluder": "^1.0.0", - "typeorm": "^0.3.14" + "typeorm": "npm:@medusajs/typeorm@0.3.16-next.0" }, "lint-staged": { "*.{js,jsx,ts,tsx}": "yarn run lint", diff --git a/packages/inventory/package.json b/packages/inventory/package.json index f97a7c8588..f8b1c86ab7 100644 --- a/packages/inventory/package.json +++ b/packages/inventory/package.json @@ -27,7 +27,7 @@ "@medusajs/modules-sdk": "1.8.3", "@medusajs/utils": "1.8.2", "awilix": "^8.0.0", - "typeorm": "^0.3.14" + "typeorm": "npm:@medusajs/typeorm@0.3.16-next.0" }, "scripts": { "watch": "tsc --build --watch", diff --git a/packages/medusa/package.json b/packages/medusa/package.json index 9ea02b9d3f..44b94ad397 100644 --- a/packages/medusa/package.json +++ b/packages/medusa/package.json @@ -40,7 +40,7 @@ "peerDependencies": { "@medusajs/types": "1.8.3", "medusa-interfaces": "1.3.7", - "typeorm": "^0.3.11" + "typeorm": "*" }, "dependencies": { "@medusajs/medusa-cli": "1.3.11", diff --git a/packages/stock-location/package.json b/packages/stock-location/package.json index 2ab50403d2..f23fe5b95e 100644 --- a/packages/stock-location/package.json +++ b/packages/stock-location/package.json @@ -27,7 +27,7 @@ "@medusajs/modules-sdk": "1.8.3", "@medusajs/utils": "1.8.2", "awilix": "^8.0.0", - "typeorm": "^0.3.14" + "typeorm": "npm:@medusajs/typeorm@0.3.16-next.0" }, "scripts": { "watch": "tsc --build --watch", diff --git a/packages/types/package.json b/packages/types/package.json index 8ec3963db6..98ef6f4cee 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -19,7 +19,7 @@ "devDependencies": { "awilix": "^8.0.0", "cross-env": "^5.2.1", - "typeorm": "^0.3.14", + "typeorm": "npm:@medusajs/typeorm@0.3.16-next.0", "typescript": "^4.4.4", "winston": "^3.8.2" }, diff --git a/packages/utils/package.json b/packages/utils/package.json index 0579400f40..1950b470cb 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -28,7 +28,7 @@ "awilix": "^8.0.0", "class-transformer": "^0.5.1", "class-validator": "^0.13.2", - "typeorm": "^0.3.14", + "typeorm": "npm:@medusajs/typeorm@0.3.16-next.0", "ulid": "^2.3.0" }, "scripts": { diff --git a/yarn.lock b/yarn.lock index 917f601f85..54eb0fc777 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6010,7 +6010,7 @@ __metadata: cross-env: ^5.2.1 jest: ^25.5.4 ts-jest: ^25.5.1 - typeorm: ^0.3.14 + typeorm: "npm:@medusajs/typeorm@0.3.16-next.0" typescript: ^4.4.4 languageName: unknown linkType: soft @@ -6169,7 +6169,7 @@ __metadata: peerDependencies: "@medusajs/types": 1.8.3 medusa-interfaces: 1.3.7 - typeorm: ^0.3.11 + typeorm: "*" bin: medusa: ./cli.js languageName: unknown @@ -6249,7 +6249,7 @@ __metadata: cross-env: ^5.2.1 jest: ^25.5.4 ts-jest: ^25.5.1 - typeorm: ^0.3.14 + typeorm: "npm:@medusajs/typeorm@0.3.16-next.0" typescript: ^4.4.4 languageName: unknown linkType: soft @@ -6260,7 +6260,7 @@ __metadata: dependencies: awilix: ^8.0.0 cross-env: ^5.2.1 - typeorm: ^0.3.14 + typeorm: "npm:@medusajs/typeorm@0.3.16-next.0" typescript: ^4.4.4 winston: ^3.8.2 languageName: unknown @@ -6278,7 +6278,7 @@ __metadata: cross-env: ^5.2.1 jest: ^25.5.4 ts-jest: ^25.5.1 - typeorm: ^0.3.14 + typeorm: "npm:@medusajs/typeorm@0.3.16-next.0" typescript: ^4.4.4 ulid: ^2.3.0 languageName: unknown @@ -23727,7 +23727,7 @@ __metadata: jest: ^26.6.3 jest-environment-node: 26.6.2 medusa-interfaces: 1.3.7 - typeorm: ^0.3.14 + typeorm: "npm:@medusajs/typeorm@0.3.16-next.0" languageName: unknown linkType: soft @@ -23748,7 +23748,7 @@ __metadata: medusa-fulfillment-webshipper: 1.3.9 medusa-interfaces: 1.3.7 medusa-plugin-sendgrid: 1.3.9 - typeorm: ^0.3.14 + typeorm: "npm:@medusajs/typeorm@0.3.16-next.0" languageName: unknown linkType: soft @@ -23764,7 +23764,7 @@ __metadata: jest: ^26.6.3 jest-environment-node: 26.6.2 medusa-interfaces: 1.3.7 - typeorm: ^0.3.14 + typeorm: "npm:@medusajs/typeorm@0.3.16-next.0" languageName: unknown linkType: soft @@ -36246,7 +36246,7 @@ __metadata: typedoc-plugin-markdown: ^3.13.4 typedoc-plugin-merge-modules: ^4.0.1 typedoc-plugin-reference-excluder: ^1.0.0 - typeorm: ^0.3.14 + typeorm: "npm:@medusajs/typeorm@0.3.16-next.0" languageName: unknown linkType: soft @@ -39814,9 +39814,9 @@ __metadata: languageName: node linkType: hard -"typeorm@npm:^0.3.14": - version: 0.3.14 - resolution: "typeorm@npm:0.3.14" +"typeorm@npm:@medusajs/typeorm@0.3.16-next.0": + version: 0.3.16-next.0 + resolution: "@medusajs/typeorm@npm:0.3.16-next.0" dependencies: "@sqltools/formatter": ^1.2.5 app-root-path: ^3.1.0 @@ -39838,7 +39838,7 @@ __metadata: better-sqlite3: ^7.1.2 || ^8.0.0 hdb-pool: ^0.1.6 ioredis: ^5.0.4 - mongodb: ^3.6.0 + mongodb: ^5.2.0 mssql: ^9.1.1 mysql2: ^2.2.5 || ^3.0.1 oracledb: ^5.1.0 @@ -39889,7 +39889,7 @@ __metadata: typeorm: cli.js typeorm-ts-node-commonjs: cli-ts-node-commonjs.js typeorm-ts-node-esm: cli-ts-node-esm.js - checksum: 26190e9c8f0cd1f030df76f94d8fd8ae40f6ddab5cd037b424c1bbedf0353a441000d10d0ecebc663cc853afab33a2fc538f0a6287330e4338aa59d1258888ce + checksum: b81794a0bc5ca3195f6a57ad313bd85b2b8f6a0a8dcb00ac42c3594f908b89fcd51f9b10ea62c836504d7196e6330a4b67602b90ea6485bc956ed4dace665737 languageName: node linkType: hard