Riqwan Thamir
03924a4ff6
chore: move to swc/jest ( #7739 )
...
* chore: move to swc
* chore: fix tax rate tests
* chore: undo failed test
* chore: fix unit tests script
* chore: use node 20
* Update scripts/run-workspace-unit-tests-in-chunks.sh
2024-06-20 12:59:33 +02:00
Riqwan Thamir
33c4cd34cc
chore: export DML builders + fix default undefined values in SQL ( #7776 )
...
* chore: export dml builders through utils
* chore: fix undefined sql error
* chore: upgrade to ts 5
* chore: use isDefined
2024-06-20 10:45:49 +02:00
Riqwan Thamir
3d33f06e77
chore: upgrade jest everywhere ( #7703 )
2024-06-14 07:35:30 +02:00
Stevche Radevski
aeda24265d
feat: Remove returning token from customer and user endpoints ( #7523 )
...
* chore: Move generateJwtToken to utils
* feat: Stop returning token on user and customer endpoints
2024-05-29 17:13:01 +02:00
Shahed Nasser
f8252b3d27
chore(medusa): pin @swc/core version to 1.5.7 ( #7490 )
2024-05-28 09:35: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
Carlos R. L. Rodrigues
e632b273b7
chore(medusa): upgrade medusa build ( #7425 )
2024-05-23 11:19:44 -03:00
Harminder Virk
66279f1691
Remove redundant bin option in the medusa package ( #7418 )
2024-05-23 16:56:54 +05:30
Stevche Radevski
07e5c17f86
chore: Remove medusa interfaces package ( #7347 )
2024-05-16 15:06:21 +02:00
Kasper Fabricius Kristensen
490586f566
feat(medusa,dashboard,admin-sdk): Run admin dashboard from Medusa instance ( #7330 )
2024-05-15 19:52: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
Riqwan Thamir
7e43aabda0
chore(medusa): strict zod versions in workspace ( #7296 )
2024-05-10 17:16:16 +02:00
github-actions[bot]
2c807df99d
chore: Version Packages ( #6839 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-01 09:48:24 +02:00
Oli Juhl
5ba74ec5fc
feat: Add zod middleware ( #6961 )
2024-04-05 16:24:31 +02:00
Sebastian Rindom
6bf4d40856
chore(medusa-test-utils): create declaration file ( #6858 )
...
**What**
- Fixes tsconfig to ensure a declaration file is included in the build.
**Why**
- Ensure tsserver can understand things from medusa-test-utils
- Get rid of "Could not find a declaration file for module" warning in editors.
2024-03-28 10:43:25 +00:00
github-actions[bot]
74e17ee6f9
chore: Version Packages ( #6757 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-26 18:04:04 +01:00
Riqwan Thamir
509ddf9a56
feat(medusa): migrate medusa unit tests / plugins integration tests to swc jest ( #6820 )
...
what:
- migrates medusa package to swc/jest
- migrates plugins integration tests to swc/jest
- parallelises a few of the heavy test packages
- fixes typeorm circular dependencies
**Unit Tests**
Before: 1 job => ~30 mins
After: 2 jobs => ~5 mins
<img width="260" alt="Screenshot 2024-03-25 at 15 11 49" src="https://github.com/medusajs/medusa/assets/5105988/e1df6985-5bd6-48d0-b87b-336d3c77d0cf ">
**Plugins**
Before: 1 job => ~10 mins
After: 1 job => ~5 mins
<img width="254" alt="Screenshot 2024-03-25 at 15 26 03" src="https://github.com/medusajs/medusa/assets/5105988/c1cec0e2-a1c3-41d1-9372-46d114d804c6 ">
Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com >
2024-03-25 17:55:34 +00:00
github-actions[bot]
26c9bada0a
chore: Version Packages ( #6360 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-20 10:21:30 +01:00
Sebastian Rindom
873c21355c
feat: make it possible to use subscribers in v2 ( #6731 )
2024-03-19 18:31:58 +00:00
Sebastian Rindom
a838ebae1b
fix: make v2 with modules run ( #6636 )
2024-03-09 15:09:06 +00:00
github-actions[bot]
16851c557d
chore: Version Packages ( #6241 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-08 16:23:19 +01:00
github-actions[bot]
3d0ae72887
chore: Version Packages ( #6039 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-25 16:23:53 +01:00
olivermrbl
9fda1e63c1
chore: Version @medusajs/medusa
2024-01-09 18:48:34 +01:00
github-actions[bot]
47272bf2b9
chore: Version Packages ( #5880 )
2024-01-09 18:41:35 +01:00
github-actions[bot]
7f5e638f61
chore: Version Packages ( #5754 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-14 15:27:39 +01:00
Adrien de Peretti
946db51a9b
chore(): Add engines to all package.json if needed ( #5812 )
2023-12-07 17:03:50 +01:00
pepijn-vanvlaanderen
a53ae1e29b
feat(medusa): Replace Node Redis with ioredis ( #5656 )
...
* Replaced Node Redis with ioredis
* Update express.ts
2023-12-06 09:10:56 +01:00
github-actions[bot]
935e9f0561
chore: Version Packages ( #5673 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-27 16:43:51 +00:00
olivermrbl
a982e60a0e
chore: Bump lock-file
2023-11-27 08:28:09 +00:00
Adrien de Peretti
ddbeed4ea6
chore(workflows, core-flows): Split workflows tooling and definitions ( #5705 )
2023-11-24 13:55:48 +00:00
github-actions[bot]
f4085dbede
chore: Version Packages ( #5622 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-21 08:46:09 +00:00
github-actions[bot]
71d59d2c81
chore: Version Packages ( #5527 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-10 10:28:21 +01:00
github-actions[bot]
309c82e175
chore: Version Packages ( #5454 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-01 08:19:58 +01:00
github-actions[bot]
c0d74bc682
chore: Version Packages ( #5340 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-19 15:58:48 +02:00
github-actions[bot]
35d5fbe8cc
chore: Version Packages ( #5272 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-06 08:41:24 -07:00
github-actions[bot]
dab8a82cc1
chore: Version Packages ( #5171 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-29 14:17:21 -04:00
Carlos R. L. Rodrigues
b3f1135fba
chore(medusa): link modules as medusa dependency ( #5208 )
2023-09-26 08:20:29 -04:00
David Preininger
2caff2efc7
feat(medusa): Authentication overhaul ( #4064 )
...
* implemented bearer auth
* changed naming strat
* changed session auth to not use jwt
* typo
* changed auth header prefix for admin api token auth
* fixed supporting functions to work with new session type
* removed database calls for bearer auth improving performance
* removed unused deps
* changed auth in tests
* added integration tests
* Accepted suggested change
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
* Typo
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* more typos
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* proper formatting
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* removed endregion
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* removed startregion
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* fixed admin JWT integration test
* added more fixes to integration tests
* Update OAS
* Create fluffy-donkeys-hope.md
* created API reference for new auth
* implemented getToken in medusa-js
* Apply suggestions from code review
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
* Apply suggestions from code review
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
* deleted files which should be autogenerated
* Update fluffy-donkeys-hope.md
* JSDoc update
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
* added missing route exports
* implemented runtime domain safety in jwt token manager
* fixed jwt manager
* lint get-token files
* Update fluffy-donkeys-hope.md
* Revert "deleted files which should be autogenerated"
This reverts commit cd5e86623b822e6a6ac37322b952143ccc493df9.
* Revert "Apply suggestions from code review"
This reverts commit f02f07ce58fd9fcc2dfc80cadbb9df2665108d65.
* Revert "created API reference for new auth"
This reverts commit c9eafbb36453f5cf8047c79e94f470cb2d023c7d.
* renamed header for sending api access tokens
* medusa-js - changed apiKey header
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
Co-authored-by: olivermrbl <oliver@mrbltech.com >
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2023-09-25 13:57:44 -04:00
github-actions[bot]
ed2c31d8e2
chore: Version Packages ( #5157 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-21 08:57:25 +02:00
github-actions[bot]
223a4a4cd9
chore: Version Packages ( #5002 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-15 17:09:34 +02:00
Adrien de Peretti
6273b4b160
feat(utils, module-sdk, medusa): Extract pg connection utils to utils package ( #4961 )
2023-09-11 12:10:40 +02:00
github-actions[bot]
98b91d1137
chore: Version Packages ( #4891 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-08 14:09:39 +02:00
github-actions[bot]
362abdfad7
chore: Version Packages ( #4826 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 16:15:33 +02:00
github-actions[bot]
db36258885
chore: Version Packages ( #4711 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-17 17:17:41 +02:00
Oli Juhl
16249ec280
fix(actions): Disable OAS unit tests + add flags to test commands ( #4767 )
...
* wip
* skip models test
* ignore plugins loader test
2023-08-15 14:32:58 +02:00
Oli Juhl
1d2637572b
chore: Remove rimraf from prepare ( #4741 )
2023-08-11 22:55:59 +02:00
Adrien de Peretti
ac866ebb51
test(): Test the create product workflow compensation ( #4716 )
...
**What**
Integration tests to validate the workflow compensation.
Also, fix the transaction state when the workflow is compensating and some steps does not have any compensation
2023-08-09 14:33:04 +00:00
Adrien de Peretti
3f3a84262c
feat(types, product, utils, medusa): Include shared connection for modules ( #4626 )
2023-08-08 15:10:34 +00:00
github-actions[bot]
0deecf353f
chore: Version Packages ( #4643 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-07 13:43:54 +02:00
olivermrbl
f2c854fc0d
chore(medusa): Replace workspace version
2023-08-07 13:02:53 +02:00