Shahed Nasser
cf387aafa2
chore: re-add oas tests for generated OAS ( #9036 )
...
* chore: re-add oas tests for generated OAS
* test fix
2024-09-07 08:01:22 +02:00
Harminder Virk
5f310c0a00
breaking: remove POSTGRES prefix env variables in favor of DATABASE prefix ( #8672 )
2024-08-20 17:05:19 +05:30
Christian
4eb2e8379f
feat: create return reason ( #8516 )
...
* feat: create and edit return reasons
* add prop to hide data table header
* make return reasons searchable
* hide table header
2024-08-12 07:47:07 +02:00
Shahed Nasser
eb09a063dc
chore: fix actions generating docs ( #8486 )
...
* chore: fix actions generating docs
* add to vale tests
2024-08-08 09:22:55 +03:00
Oli Juhl
afa740606f
chore: Update labeler to add type labels automatically ( #8410 )
2024-08-02 13:55:32 +02:00
Shahed Nasser
ebaf0eb53a
docs-util: rename docblock-generator to docs-generator ( #8331 )
...
* docs-util: rename docblock-generator to docs-generator
* change program name
* fix action
2024-07-29 16:04:33 +03:00
Shahed Nasser
d127abbcda
docs-util: add docblock generator for models built with DML ( #8296 )
...
* docs-util: add docblock generator for models built with DML
* add missing turbo task
2024-07-29 10:11:39 +02:00
Shahed Nasser
ac21f35b2c
fix(create-medusa-app): run links sync during setup ( #8215 )
...
Run `links sync` command along with running migrations
2024-07-22 10:09:33 +00:00
Shahed Nasser
a74c900ab1
docs: add documentation for migration generate cli tool ( #8128 )
...
* docs: add documentation for migration generate cli tool
* changed migrations details in marketplace recipe
* added generated oas files to action
* vale + lint fixes
* don't import from src in medusa-config.js
* fix generate command in recipe
* fix module name
2024-07-15 17:46:10 +02:00
Shahed Nasser
5f2952bbf2
chore: fix docs issue template ( #8068 )
...
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-07-14 18:04:11 +02:00
Shahed Nasser
eebae37287
chore: add generated OAS and Typedoc output to automated PRs ( #8054 )
...
* chore: add generated OAS output to automated PR
* add typedoc json output
2024-07-11 18:17:37 +02:00
Shahed Nasser
f1a860675c
chore: update docs issue template ( #8012 )
...
Update the documentation issues template to ask for the Medusa version.
2024-07-08 09:02:57 +00:00
Shahed Nasser
964927b597
docs: general fixes and improvements ( #7918 )
...
* docs improvements and changes
* updated module definition
* modules + dml changes
* fix build
* fix vale error
* fix lint errors
* fixes to stripe docs
* fix condition
* fix condition
* fix module defintion
* fix checkout
* disable UI action
* change oas preview action
* flatten provider module options
* fix lint errors
* add module link docs
* pr comments fixes
* fix vale error
* change node engine version
* links -> linkable
* add note about database name
* small fixes
* link fixes
* fix response code in api reference
* added migrations step
2024-07-04 17:26:03 +03:00
Shahed Nasser
5aa62e59e4
chore: fix generate preview references action ( #7901 )
2024-07-03 14:10:19 +03:00
Shahed Nasser
9b5f26adab
chore: action to generate documentation references ( #7888 )
...
Added an action that triggers documentation actions generating references
2024-07-01 13:54:17 +00:00
Adrien de Peretti
48963f55ef
Chore/rm main entity concept ( #7709 )
...
**What**
Update the `MedusaService` class, factory and types to remove the concept of main modules. The idea being that all method will be explicitly named and suffixes to represent the object you are trying to manipulate.
This pr also includes various fixes in different modules
Co-authored-by: Stevche Radevski <4820812+sradevski@users.noreply.github.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-06-19 13:02:16 +00:00
Shahed Nasser
7e7e6e3311
chore: fix OAS circular dependencies ( #7693 )
2024-06-12 19:42:03 +02:00
Shahed Nasser
e472aed00f
docs: new + improved auth documentation pages ( #7529 )
...
* added and improved auth docs
* add prep to generates resources action
* add module options to sidebar
* fix broken link
2024-06-09 15:18:29 +02:00
Shahed Nasser
1a1ef4f208
chore: fix generate docs pipelines ( #7595 )
2024-06-04 14:51:05 +03:00
Stevche Radevski
6698f3ab7b
feat: Add http integration tests and enable them in pipeline ( #7532 )
2024-05-30 10:51:31 +02:00
Shahed Nasser
c46c643fda
chore: fix generate resources reference action ( #7503 )
2024-05-29 17:30:12 +03:00
Harminder Virk
6fa364d728
ci: remove unsupported scripts-prepend-node-path command ( #7499 )
2024-05-28 13:36:49 +02:00
Harminder Virk
ef6d748784
feat: add Filesystem util and load env util ( #7487 )
2024-05-28 15:31:13 +05:30
Harminder Virk
ba66ab8d56
Update teams.yml ( #7451 )
2024-05-24 20:37:13 +05:30
Shahed Nasser
1f43290cec
feat(medusa-cli): added branch option ( #7384 )
2024-05-21 21:17:01 +02:00
Riqwan Thamir
442b0b2038
chore: rename route from api-v2 to api ( #7379 )
...
* chore: rename route from api-v2 to api
* chore: change oas references
* chore: remove v2 ref
2024-05-21 10:44:02 +02:00
Oli Juhl
2e42e053d4
chore: Publish preview release + deploy staging every 3 hours ( #7341 )
...
* wip
* Wrap up
* Update .github/workflows/trigger-staging-deployment.yml
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* enable schedule
---------
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2024-05-16 12:36:30 +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
Shahed Nasser
8958214350
chore: fix docs PR label removing team label ( #7308 )
...
* chore: fix docs PR labeler to only run with PR is opened
* add team labeler action
* move docs labeler to team labeler
2024-05-13 18:55:31 +03:00
Shahed Nasser
8b2429d24f
chore(medusa-oas-cli,oas-github-ci): remove v2 option + generate v2 by default ( #7304 )
...
* chore(medusa-oas-cli,oas-github-ci): remove v2 option + generate v2 by default
* fixes to changeset
* fix public url path
2024-05-13 17:01:38 +03:00
Shahed Nasser
3e3b8a483f
chore: add action to automatically label docs ( #7284 )
...
* chore: add action to automatically label docs
* removes the paths param
2024-05-13 09:36:47 +03:00
Oli Juhl
948458a43d
chore: Re-introduce CLI test ( #7268 )
2024-05-08 11:11:06 +02:00
Adrien de Peretti
71f4f46cb9
chore(medusa): cleanup medusa package ( #7206 )
2024-05-07 12:48:49 +02:00
Shahed Nasser
651b953db7
fix(medusa-oas-cli, oas-github-ci): updated paths to docs directories following monorepo reorganization ( #7245 )
...
* fix(medusa-oas-cli, oas-github-ci): updated paths to docs directories following monorepo reorganization
* revert change to workspaces
* change oas in workspaces
* revert change in test script
2024-05-06 16:15:38 +03:00
Oli Juhl
16528c57b0
chore: Introduce release notes formatting + preview release action ( #7247 )
...
### What
- Add changelog formatting file to automate pull request categorization in release notes*
- Add action to trigger preview releases
- Remove unused staging deployment action
**Add changelog formatting file to automate pull request categorization in release notes**
In order for this work, we need to be more strict about our labels usage. More specifically, we need to add one of the four different labels noted in the `release.yml` file. The labels should be self-explanatory. If your PR introduces both features and bugs, you should choose the label based on importance of the changes.
2024-05-06 12:59:37 +00:00
Shahed Nasser
b39de05535
chore: move docs-util to www ( #7232 )
...
* reorganize docs apps
* add README
* fix directory
* add condition for old docs
* move docs-util to www
* remove remaining docs-util
* fixes of paths
* fix scripts
* path fixes
* fix github actions
* add build packages script
2024-05-06 09:13:50 +03:00
Shahed Nasser
4fe28f5a95
chore: reorganize docs apps ( #7228 )
...
* reorganize docs apps
* add README
* fix directory
* add condition for old docs
2024-05-03 17:36:38 +03:00
Adrien de Peretti
bbccd6481d
chore(): start moving some packages to the core directory ( #7215 )
2024-05-03 13:37:41 +02:00
Oli Juhl
b8a0a459a8
chore: Update CI to trigger for v1.x ( #7207 )
2024-05-02 15:11:26 +02:00
Oli Juhl
ba71903e12
chore: Introduce bug report for 2.0 ( #7194 )
2024-05-01 14:14:37 +02:00
Shahed Nasser
14748755ee
chore: remove team from generate docblock actions ( #6953 )
2024-04-23 12:22:36 +02:00
Shahed Nasser
14a7378375
chore: add action to generate v2 oas ( #7040 )
2024-04-23 11:10:37 +03:00
Riqwan Thamir
8eb2a4156d
chore: disable turbo and jest cache ( #7024 )
...
* chore: disable turbo cache
* chore: remove cache for build
* chore: disable jest cache
2024-04-09 14:04:31 +02:00
Oli Juhl
94146e4bfe
chore: Trigger pipeline on merge to develop ( #6954 )
2024-04-06 11:02:47 +02:00
Shahed Nasser
412111e1ea
chore: fix doc announcement actions ( #6856 )
...
- Fix error in doc announcement actions due to missing build step.
- Update the announcement in the docs to the latest version
2024-03-28 17:23:25 +00:00
Riqwan Thamir
bacfa3e17b
feat(medusa-payment-paypal,medusa-payment-stripe): speed up unit tests in CI ( #6806 )
...
* chore: shard unit tests
* chore: move paypal and stripe to swc
* chore: update actions
* chore: refactor http paypal client
* chore: added changeset
* chore: remove medusa changes
2024-03-25 15:27:40 +01:00
Riqwan Thamir
4c98545ab3
feat: shard modules and API integration tests ( #6775 )
...
what:
- runs module and api integration tests in matrix strategy
- v28 of jest comes with sharding support, which we can utilize when we upgrade
- splits the tests by number of matrix jobs and run them in parallel
- This introduced some flakiness in some specs, but couldn't reproduce locally. Those have been skipped for now.
- uses swc/jest for added performance
- Locally, a chunk took 90 seconds with babel and 30 seconds with swc.
- This translated to 2 mins saved per shard in CI, but haven't tested this enough.
2024-03-22 11:15:01 +00:00
Oli Juhl
a5a2395622
chore: Revert #6548 ( #6598 )
...
Until a more elegant solution for allowing contributor forks to run workflows, we need to revert to using a plain text pg password
2024-03-06 13:41:53 +00:00
Oli Juhl
55275f0eba
chore(actions): Use PG pass secret ( #6548 )
2024-02-29 22:10:56 +01:00
Oli Juhl
296d7faad4
chore: V2 core loader + modules integration-tests ( #6544 )
2024-02-29 16:46:30 +01:00