Adrien de Peretti
a8e19faf8d
chore: use framework sub paths everywhere ( #9253 )
2024-09-26 16:38:38 +05:30
Harminder Virk
48bea267dc
chore: perform dependencies scan and fix all dependencies ( #9296 )
2024-09-26 14:14:38 +05:30
Adrien de Peretti
ae320ac73f
fix: base tsconfig ( #9309 )
...
* fix: base tsconfig
* WIP
* wi[]
* update integration typescript version
* update lock file
* fix deps
* fix medusa tests runner
2024-09-25 16:31:57 +02:00
Adrien de Peretti
90d530565b
chore(): Remove default limit from the build query ( #9257 )
...
* chore(): Remove default limit from the build query
* rm take: null
* fix tests
* fix tests
* fix db usage
* fix typo
* rm unsused template arg
* fixes
* fixes
* fixes
* fixes
* fixes
* fixes
* fixes
2024-09-24 16:06:45 +02:00
Harminder Virk
9e711720dd
chore: upgrade moduleResolution to Node16 ( #9269 )
2024-09-24 17:19:20 +05:30
Adrien de Peretti
e1fdc54a3f
chore(medusa-test-utils): Add custom link loading before syncing ( #9249 )
...
**What**
Include custom links to be loaded from the medusa integration test runner
2024-09-23 19:54:04 +00:00
Adrien de Peretti
270a9a1770
fix(medusa-test-utils): get port should a deps for now ( #9198 )
2024-09-19 14:44:16 +02:00
Adrien de Peretti
58167b5dfa
feat(index): Index module foundation ( #9095 )
...
**What**
Index module foundation
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-09-18 19:04:04 +00:00
Carlos R. L. Rodrigues
950cf9af79
chore: remove container registration name ( #9137 )
2024-09-16 06:22:24 -03:00
Stevche Radevski
c94f89610f
fix: Remove test listeners after the event has happened ( #9115 )
2024-09-12 10:45:58 +02:00
Adrien de Peretti
e56607c97c
fix(medusa-test-utils): Run with modules without models ( #9062 )
...
* fix(medusa-test-utils): Run with modules without models
* cleanup
* rm dummy model
* rm dummy model
* improve models loading
* find models
* find models
* find models
* finalize
* cleanup
* fix deps
* fix deps
* fix deps
* fix deps
* fix deps
2024-09-10 14:22:21 +02:00
Stevche Radevski
4031da35b0
fix: Allow specifying PORT for tests through environment ( #9055 )
2024-09-09 11:56:15 +02:00
Harminder Virk
3bb6ef3735
fix: move get-port to main dependencies list ( #8938 )
2024-09-02 18:37:54 +05:30
Oli Juhl
2bacf86d3c
chore: Remove prepublishOnly script ( #8699 )
...
* wip
* wip
* verbose logging
* remove prepublish scripts
* chore: add back prepublish scripts
* wip
* remove prepublishOnly script
* chore: Clean up rest of build scripts
* add back build script
* feedback
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-08-27 10:31:38 +02:00
Carlos R. L. Rodrigues
3b4eea08ef
chore: peer dependency version ( #8771 )
...
* fix peer dependency version
* dotenv
* commands
* dotenv cli
2024-08-26 21:55:57 +02:00
Carlos R. L. Rodrigues
afd25846f0
chore: dependencies reorg ( #8744 )
2024-08-26 09:37:05 +00:00
Carlos R. L. Rodrigues
058378970a
chore: dependecies reorg ( #8535 )
2024-08-23 07:16:04 -03:00
Harminder Virk
69830ca89c
fix: maintain connections pool ( #8670 )
2024-08-20 14:54:52 +05:30
Harminder Virk
19d30df624
refactor: Run migrations and links sync after loading the app ( #8582 )
2024-08-14 14:09:24 +05:30
Carlos R. L. Rodrigues
96bdf3e2c6
chore(core-flows): order transactions ( #8568 )
...
What:
- Add order transaction when Cart is completed and payment is refunded
2024-08-12 19:06:58 +00:00
Adrien de Peretti
9950a7efe2
chore(framework): medusa app loaders ( #8393 )
...
RESOLVE FRMW-2636
**What**
cleanup and move medusa app loader for now
2024-08-02 10:38:36 +00:00
Adrien de Peretti
9b6de8c02d
chore(framework): Move feature flags related resources and cleanup ( #8297 )
...
**What**
cleanup and move the feature flag related resources to manage them.
It also include some refactoring around loading and registering the flag as well as not relying on the `glob` package anymore plus some reorganization of the code itself
FIXES FRMW-2625
2024-07-30 12:20:03 +00:00
Adrien de Peretti
bcd9d9c2b1
chore(framework): Continue to move loaders to framework ( #8258 )
...
**What**
More move and cleanup
FIXES FRMW-2603
FIXES FRMW-2608
FIXES FRMW-2610
FIXES FRMW-2611
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-07-30 08:52:12 +00:00
Adrien de Peretti
47dde05517
chore(framework): Initial commit ( #8221 )
...
**What**
- Initiate the framework package (which is just a place to move things around for now)
- move the config loader and related resources as well as the `ConfigModule` type
- Create a ConfigManager singleton which prepare and store the config (later can be stored entirely in the container) and allow for easier test override
- re export the logger from the framework
- replace medusa config loader with the framework one
- `build` run type check on tests as well but `prepublishOnly` will not fail on build if tests are typed broken
FIXES FRMW-2607
FIXES FRMW-2609
FIXES FRMW-2614
FIXES FRMW-2618
2024-07-23 15:46:28 +00:00
Stevche Radevski
0d2e7befbd
feat: Add support for exporting products in backend ( #8214 )
...
CLOSES CC-221
CLOSES CC-223
CLOSES CC-224
2024-07-22 13:40:04 +00:00
Adrien de Peretti
f74fdcb644
breaking: rework how links database migrations are managed ( #8162 )
2024-07-22 13:12:23 +05:30
Stevche Radevski
26d600b6db
feat: Ensure async workflow executions have access to shared container ( #8157 )
...
* feat: Ensure async workflow executions have access to shared container
* fix: Register workflow worker on application start
2024-07-17 12:17:48 +02:00
Adrien de Peretti
104b00d4e9
feat(migrations): CLI generate command ( #8103 )
2024-07-12 13:12:49 +02:00
Carlos R. L. Rodrigues
de36e2b36e
chore: rename return flow ( #8050 )
2024-07-10 08:09:10 -03:00
Adrien de Peretti
41c4307fc7
feat: define link util ( #7931 )
...
* feat: define link util
* handle pluralized fieldAlias for isList
* serviceName ar reference
* finalize
* todo
* WIP
* finalize
* fix tests
* update typings
* fix Module
* linkable
* update errors
2024-07-04 10:37:30 +02:00
Carlos R. L. Rodrigues
61758f374b
chore(medusa): return endpoints ( #7823 )
2024-06-25 13:53:18 +00:00
Adrien de Peretti
ae6dbc06be
chore: Update module test runner to support DmlEntities when needed ( #7799 )
...
* chore: Update module test runner to support DmlEntities when needed
* update es version for core test utils
* fix test
* update swc config
2024-06-24 09:44:01 +02:00
Adrien de Peretti
89bb16cea1
chore: Add back the db utils to the test runner for specific cases ( #7764 )
...
* chore: Add back the db utils to the test runner for specific casees
* chore: Add back the db utils to the test runner for specific casees
2024-06-18 17:19:37 +02:00
Riqwan Thamir
3d33f06e77
chore: upgrade jest everywhere ( #7703 )
2024-06-14 07:35:30 +02:00
Adrien de Peretti
dd0b9f0805
feat: workflows release events ( #7664 )
...
* feat: Release grouped events once a worfklow finish
* update common step
* update types
* tests
* optionality
* fies
* cancel flow on release failure
* clear events on fail
* more tests
* log errors
* log more errors
* update missing interface method declaration
* fix missing return
* update mock
* fix tests
2024-06-11 15:48:15 +02:00
Riqwan Thamir
39ddba2491
chore: ability to group events on redis event bus ( #7655 )
...
* chore: ability to group events on redis event bus
* chore: fix tests
* Update packages/modules/event-bus-redis/src/services/event-bus-redis.ts
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
* chore: change shape of input and body data
* chore: fix builds
* chore: address comments
* chore: fix unit test
---------
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
2024-06-10 22:15:43 +02:00
Stevche Radevski
e44fe78b96
fix: Several fixes to store product endpoints, moved several test suites to HTTP ( #7601 )
...
* chore: Move publishable api key tests to HTTP
* chore: Move store tests to HTTP folder
* fix: Add tests for store products, fix several bugs around publishable keys
2024-06-04 21:00:07 +02:00
Adrien de Peretti
337b8ce0bb
chore: Resolve flaky integration tests ( #7587 )
2024-06-03 16:29:08 +02:00
Adrien de Peretti
9608bf06ef
feat: Event emitting part 1/N (Fulfillment) ( #7391 )
...
**What**
Add support for event emitting in the fulfillment module
**NOTE**
It does not include the review of the events for the abstract module factory if the method is not implemented in the module itself and rely on the default implementation
2024-06-03 08:29:35 +00:00
Harminder Virk
82be054a1a
chore: Rename config properties to camelCase ( #7498 )
...
* refactor: rename config types to camelCase
* refactor: update config references to use renamed options
* refactor: update more references
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-05-28 14:49:29 +02:00
Harminder Virk
ef6d748784
feat: add Filesystem util and load env util ( #7487 )
2024-05-28 15:31:13 +05:30
Adrien de Peretti
45bcdfec17
fix: Listening events ( #7474 )
...
* fix: Listening events
* cleanup
2024-05-27 15:31:57 +02:00
Adrien de Peretti
e275e01d85
chore: Cleanup medusa test utils ( #7464 )
...
* chore: Cleanup medusa test utils
* update yarn
* cleanup
* fix key
* cleanup
* fixes
* fixes
* fixes
* fixes
* fix runners
* fix bootstrap
* naming
* Improve runners options
* Improve runners options
* Improve runners options
* cleanup
* fix tests
2024-05-27 14:14:32 +02:00
Adrien de Peretti
b8bc3ed16f
chore: Start cleaning up medusa-core-utils ( #7450 )
...
**What**
- remove medusa-core-utils
- dispatch the utils where they belongs
- update usage
**NOTE**
I have been wondering if the graceful class should go into the utils package or medusa package, I ve put it in the medusa package as it seems to be the best place I can see for now and is tight to the server as well. Also, I wanted to avoid the utils package to depends on http and net dependencies, happy to change that if you feel like it
2024-05-27 08:00:15 +00:00
Stevche Radevski
ee924b1b28
feat: Add a simple configurable notifications subscriber ( #7331 )
...
* feat: Add a simple configurable notifications subscriber that is configurable
* Proposal on awaiting all subscribers to run
* fix: Clean up wait subscribers util and notifications test
---------
Co-authored-by: adrien2p <adrien.deperetti@gmail.com >
2024-05-16 13:36:09 +02:00
Stevche Radevski
d680c7ee4c
Remove v1-related code from medusa app ( #7326 )
...
* chore: Remove unused validations and utilities
* chore: Remove all resources that are not being loaded
* chore: Remove unused dependencies, typeorm related code and fix tests
* chore: Use createAdminUser in all module tests
2024-05-14 13:21:30 +02:00
Adrien de Peretti
71f4f46cb9
chore(medusa): cleanup medusa package ( #7206 )
2024-05-07 12:48:49 +02:00
Adrien de Peretti
bbccd6481d
chore(): start moving some packages to the core directory ( #7215 )
2024-05-03 13:37:41 +02:00