Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(fulfillment): implementation part 2 #6408

Merged
merged 42 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
270591b
Afeat(fulfillment): implementation part 2
adrien2p Feb 15, 2024
f7b4b61
Add a name on the shipping profile
adrien2p Feb 15, 2024
1a6e872
Improve filters and add default profiles loader
adrien2p Feb 15, 2024
e093097
create shipping profiles and integration tests
adrien2p Feb 15, 2024
d8bbc09
relation work and migration
adrien2p Feb 15, 2024
826ce14
Shipping options creation
adrien2p Feb 15, 2024
1ef968a
Shipping options creation
adrien2p Feb 15, 2024
cbe3455
fix tests
adrien2p Feb 15, 2024
5114e5b
Merge branch 'develop' into feat/fulfillment-implementation-2
adrien2p Feb 15, 2024
937c474
Migrate indexes
adrien2p Feb 15, 2024
4f2b1c2
fix unit tests
adrien2p Feb 15, 2024
ca60b16
Add read tests
adrien2p Feb 15, 2024
e27576d
fix tests
adrien2p Feb 16, 2024
23ce69b
fixes
adrien2p Feb 16, 2024
f8786a8
Merge branch 'develop' into feat/fulfillment-implementation-2
adrien2p Feb 16, 2024
ea4535c
cleanup
adrien2p Feb 16, 2024
4845aed
Create real-teachers-yawn.md
adrien2p Feb 16, 2024
1d9d2d8
cleanup
adrien2p Feb 16, 2024
7577ddd
Merge branch 'feat/fulfillment-implementation-2' of github.com:medusa…
adrien2p Feb 16, 2024
b86b3a4
Module integration test runner research
adrien2p Feb 16, 2024
c2a1013
Module integration test runner research
adrien2p Feb 16, 2024
5f80f53
rm comment
adrien2p Feb 16, 2024
5393f0b
Merge branch 'develop' into feat/fulfillment-implementation-2
adrien2p Feb 16, 2024
a0b56cd
revert unnecessary changes
adrien2p Feb 16, 2024
3a835d9
first runner simplification
adrien2p Feb 16, 2024
b809065
fix cwd
adrien2p Feb 16, 2024
b5b878a
improve
adrien2p Feb 16, 2024
77fa49b
remove unnecessary return
adrien2p Feb 16, 2024
3241743
move things
adrien2p Feb 16, 2024
b90c518
improve
adrien2p Feb 16, 2024
e28e428
proxyfied
adrien2p Feb 16, 2024
0eac58e
Merge branch 'develop' into feat/fulfillment-implementation-2
adrien2p Feb 16, 2024
62b4eca
use unique connection
adrien2p Feb 16, 2024
042ffcd
improve readability
adrien2p Feb 16, 2024
3af5726
rm createProxy
adrien2p Feb 16, 2024
c793734
Merge branch 'develop' into feat/fulfillment-implementation-2
adrien2p Feb 17, 2024
ee6f0eb
cleanup test util
adrien2p Feb 19, 2024
da0bf90
address feedback
adrien2p Feb 19, 2024
0a2b592
Merge branch 'feat/fulfillment-implementation-2' of github.com:medusa…
adrien2p Feb 19, 2024
7d7901c
Merge branch 'develop' into feat/fulfillment-implementation-2
adrien2p Feb 19, 2024
54db034
fix tests
adrien2p Feb 19, 2024
cd6ef57
fixes
adrien2p Feb 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/real-teachers-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@medusajs/medusa": patch
"medusa-test-utils": patch
"@medusajs/product": patch
"@medusajs/types": patch
---

feat(fulfillment): implementation part 2
12 changes: 6 additions & 6 deletions packages/auth/integration-tests/utils/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import { TestDatabaseUtils } from "medusa-test-utils"
const pathToMigrations = "../../src/migrations"
const mikroOrmEntities = AuthModels as unknown as any[]

export const MikroOrmWrapper = TestDatabaseUtils.getMikroOrmWrapper(
export const MikroOrmWrapper = TestDatabaseUtils.getMikroOrmWrapper({
mikroOrmEntities,
pathToMigrations
)
pathToMigrations,
})

export const MikroOrmConfig = TestDatabaseUtils.getMikroOrmConfig(
export const MikroOrmConfig = TestDatabaseUtils.getMikroOrmConfig({
mikroOrmEntities,
pathToMigrations
)
pathToMigrations,
})

export const DB_URL = TestDatabaseUtils.getDatabaseURL()
12 changes: 6 additions & 6 deletions packages/cart/integration-tests/utils/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import * as CartModels from "@models"
const pathToMigrations = "../../src/migrations"
const mikroOrmEntities = CartModels as unknown as any[]

export const MikroOrmWrapper = TestDatabaseUtils.getMikroOrmWrapper(
export const MikroOrmWrapper = TestDatabaseUtils.getMikroOrmWrapper({
mikroOrmEntities,
pathToMigrations
)
pathToMigrations,
})

export const MikroOrmConfig = TestDatabaseUtils.getMikroOrmConfig(
export const MikroOrmConfig = TestDatabaseUtils.getMikroOrmConfig({
mikroOrmEntities,
pathToMigrations
)
pathToMigrations,
})

export const DB_URL = TestDatabaseUtils.getDatabaseURL()
12 changes: 6 additions & 6 deletions packages/customer/integration-tests/utils/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import * as Models from "@models"
const pathToMigrations = "../../src/migrations"
const mikroOrmEntities = Models as unknown as any[]

export const MikroOrmWrapper = TestDatabaseUtils.getMikroOrmWrapper(
export const MikroOrmWrapper = TestDatabaseUtils.getMikroOrmWrapper({
mikroOrmEntities,
pathToMigrations
)
pathToMigrations,
})

export const MikroOrmConfig = TestDatabaseUtils.getMikroOrmConfig(
export const MikroOrmConfig = TestDatabaseUtils.getMikroOrmConfig({
mikroOrmEntities,
pathToMigrations
)
pathToMigrations,
})

export const DB_URL = TestDatabaseUtils.getDatabaseURL()

This file was deleted.

Loading
Loading