Commit Graph

2043 Commits

Author SHA1 Message Date
Sebastian Rindom
fee0f88a62 fix: add shipping taxes (#1759)
**What**
Adds taxes to the shipping prices when listing in admin. Allows store operators to see correct prices when processing returns.
2022-07-02 10:35:16 +00:00
Sebastian Rindom
f7e300e8ce fix(meilisearch): remove medusa-interfaces dependency (#1751)
Remove `medusa-interfaces` from dependencies. `medusa-interfaces` should only be a peer dependency
2022-07-02 09:09:48 +00:00
Sebastian Rindom
c0e18d473c fix(webshipper): only add invoices if invoice generator produces a file (#1749) 2022-07-02 09:05:20 +00:00
Philip Korsholm
198681f7d8 Feat(medusa): Convert fulfillment service to typescript (#1659)
**What**
- convert fulfillment service to typescript


I have removed the `transform` parameter from the getFulfillmentItems_ function since it was not being used with different methods, only `validateFulfillmentLineItem_`. Instead I have just reference the validateFulfillmentLineItem_ function directly. 

We have the same pattern across some different methods, is there a specific reason or just for future proofing?
2022-07-02 07:28:38 +00:00
Adrien de Peretti
fc1cbe72c7 feat(medusa-js): Create utils to stringify null values and respect object types (#1748)
### What

At the moment it is not possible to pass explicitly null on a property since the qs.stringify will transform it as `url?property=` which is then interpreted on the backend side as `""` value which is not what we expect.
The actual way to pass null value is to set the property as `{ prop: "null" }` in order to get the stringify method to send it correctly.

### How

I just created a small util that loop through the input object and transform all null values to "null" before being passed to the qs.stringify method.

The new util is only applied on the list batch job since this is for now the only place that require that behaviour.
2022-06-30 09:17:57 +00:00
Zakaria El Asri
55978e9e81 add: changesets + snapshot-this action (#1746)
* add: changesets + snapshot-this action

* add: changeset folder

* add: action credits
2022-06-30 11:07:18 +02:00
Adrien de Peretti
9e0f65dee3 fix(medusa-react): Allow to not invalidate any cache (#1756)
### What
At the moment, it is not possible to not invalidate any queries>
Example, when we want to Create a new signed url, it does not require to invalidate any of the queries.
But the way it is done in the buildOptions, require to give either a key or an array of keys. 

### How
The behaviour for empty array is to invalidate all the queries and here we would like to be able to just pass undefined in order to not trigger the invalidation. The update allow the arg to be optional and check for undefined explicitly before choosing the invalidation
2022-06-30 09:01:31 +00:00
Zakaria El Asri
5077cdf0da chore: add kodiak (#1745)
* add: kodiak

* add: notify_on_conflict and move to .github
2022-06-30 10:59:50 +02:00
Philip Korsholm
9018d270be Feat(medusa-js, medusa-react): Upload endpoints in medusa js and react (#1716)
* export types from admin uploads

* add delete and download to medusa-js

* add upload endpoints to hooks

* remove upload from js and react

* pr feedback

* Apply suggestions from code review

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* rename types for admin uploads

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2022-06-29 11:36:19 +02:00
Philip Korsholm
bf47d1aecd feat(medusa): Add batch strategy for order exports (#1603) 2022-06-29 09:54:37 +02:00
Adrien de Peretti
c0f624ad3b feat(medusa): Allow to filter the batch jobs with nullable date (#1747) 2022-06-29 09:44:56 +02:00
Adrien de Peretti
fb7abbf407 feat(medusa): Add file size calculation for product export (#1726) 2022-06-28 15:27:36 +02:00
Sebastian Rindom
c6dc9086cf feat(medusa): Add line item totals to cart totals decoration (#1740) 2022-06-28 12:11:47 +02:00
Sebastian Rindom
2a32609b74 fix(medusa): Normalizes email before saving customer (#1719) 2022-06-27 10:56:12 +02:00
Adrien de Peretti
89cb717461 fix(medusa): Product export strategy (#1713) 2022-06-27 10:48:56 +02:00
Philip Korsholm
cc29b641c9 feat(medusa): Delete and download url endpoints (#1705) 2022-06-24 10:37:32 +02:00
Oliver Windall Juhl
a5f717be5a fix(medusa-file-spaces,medusa-file-s3,medusa-file-minio): Add options to super call in file plugins (#1714) 2022-06-24 09:15:57 +02:00
Philip Korsholm
fa7163941d Feat(medusa): convert customer service to typescript (#1653)
* centralize common knowledge and checks for list-customers in repository

* convert customer service to typescript

* fix typing error in update-address

* add await

* add atomic phases

* update types for customerservice

* update api and model types

* pr feedback

* remove Promise.resolve

* typing of buildQuery

* remove atomic phase from private method
2022-06-24 09:10:16 +02:00
Philip Korsholm
1585b7ae2b feat(medusa): Convert GiftCardService to Typescript (#1664) 2022-06-23 16:33:18 +02:00
Adrien de Peretti
7b09b8c36c feat(medusa/product-export-strategy): Implement the Product export strategy (#1688) 2022-06-22 23:42:31 +02:00
Adrien de Peretti
0e34800573 refactor(medusa): cleanup, fix, migrate baseService and therefore fix errors (#1701)
* refactor(medusa): cleanup, fix, migrate baseService and therefore fix errors for ts version > 4.5

* test(medusa): Fix discount tests

* fix(medusa): build

* feat(medusa): Remove unnecessary await
2022-06-22 12:23:56 +02:00
Oliver Windall Juhl
7302d76e12 feat(medusa,medusa-js,medusa-react): Add BatchJob API support in medusa-js + medusa-react (#1704)
* Add BatchJob API to medusa-js

* Adds BatchJob API hooks

* Fix tests in medusa-react
2022-06-21 11:08:44 +02:00
Philip Korsholm
5f2744eb9f Feat (medusa): convert custom shipping option service to typescript (#1652)
* convert custom shipping option service to typescript

* polishing

* remove unnecessary imports

* Update packages/medusa/src/services/custom-shipping-option.ts

Co-authored-by: Zakaria El Asri <33696020+zakariaelas@users.noreply.github.com>

* pr feedback

* fix typing after removing optional metadataparameter

* add injected dependencies

* add await

Co-authored-by: Zakaria El Asri <33696020+zakariaelas@users.noreply.github.com>
2022-06-21 09:25:54 +02:00
Zakaria El Asri
765c794b97 fix(medusa): Add images relation (#1693) 2022-06-20 12:07:17 +02:00
Zakaria El Asri
f0be31120f refactor(medusa): Migrate ProductService to TS (#1625)
* refactor: product service

* fix: type errors in consumers

* fix: use Status enum instead of ProductStatus

* fix: remove ProductStatus

* fix: rename ProductStatus

* fix: product model nullable fields

* fix: explicit typecasting in listVariants

* fix: use atomicPhase in public methods

* fix: use transactionManager in protected methods

* fix: remove disable eslint rule comment

* fix: retrieveVariants relations

* fix: retrieveVariants

* fix: FilterableProductProps validation

* fix: nullable thumbnail

* fix: tests by making model column types more explicit

* move upsert method to repo layer

* fix: unit tests

* fix: integration tests

* fix: product tags query + integration test

* fix: rename FindWithRelationsOptions to FindWithoutRelationsOptions

* fix (productRepository): use string[] for relations

* refactor: extract price relation filtering logic into util

* fix: failing unit test

* rename DTO suffix to Input suffix

* fix: missing awaits

* fix: check for images and tags length

* fix: remove unneeded function

* extract types used in product service to types folder

* fix: use text instead of varchar

* remove: reorderOptions from ProductService

* fix: product model

* fix: add private retrieve method

* fix: conflicts

* fix: failing unit test

* fix: integration test

* fix: remove ProductSelector type

* fix: remove validateId

* fix: use spread operator

* fix: repo method typings

* fix: remove comment
2022-06-20 10:50:46 +01:00
Zakaria El Asri
9e686a8e47 feat(medusa): Parsing CSV files (#1572)
* add: csv parser

* fix: tests

* fix: linting + comment

* add: missing dependency

* fix: generic transformers

* fix: address comments

* fix: make parser options generic

* add: support regex columns + fix missing columns bug

* improve test case

* add: support for reducer + tests

* fix: add comments to csv parser
2022-06-19 16:10:15 +01:00
Zakaria El Asri
46a6e1a4d3 fix(medusa): Remove duplicate DiscountRuleType import (#1699) 2022-06-19 16:17:48 +02:00
olivermrbl
1ee7691c2b Merge branch 'master' into develop 2022-06-19 13:12:21 +02:00
olivermrbl
8e43ef2b3a chore(release): Publish
- medusa-file-minio@1.0.6
 - medusa-file-s3@1.1.2
 - medusa-file-spaces@1.2.2
 - medusa-fulfillment-webshipper@1.3.2
 - @medusajs/medusa-js@1.2.2
 - medusa-payment-paypal@1.2.2
 - medusa-payment-stripe@1.1.40
 - medusa-plugin-algolia@0.2.2
 - medusa-plugin-contentful@1.2.2
 - medusa-plugin-mailchimp@1.1.41
 - medusa-plugin-meilisearch@0.2.2
 - medusa-plugin-sendgrid@1.3.2
 - medusa-plugin-slack-notification@1.3.2
 - medusa-plugin-twilio-sms@1.2.2
 - medusa-react@0.3.2
 - @medusajs/medusa@1.3.2
2022-06-19 13:11:05 +02:00
olivermrbl
c85ef984cc Merge branch 'master' into develop 2022-06-19 12:59:08 +02:00
Oliver Windall Juhl
6b23208d63 fix(medusa): Include adjustments when authorizing payment (#1697) 2022-06-19 12:58:47 +02:00
Shahed Nasser
4be7d40771 added configurations documentation (#1696) 2022-06-17 17:03:12 +03:00
Shahed Nasser
88e83801f9 docs: fix broken link (#1694) 2022-06-17 14:51:27 +03:00
Shahed Nasser
a4e0c074f0 docs: improved plugin documentation (#1686)
* added plugin documentation

* replace incorrect plugin links

* small fixes
2022-06-17 14:13:05 +03:00
Shahed Nasser
8a4a7125b8 docs: updated homepage (#1687) 2022-06-17 13:53:49 +03:00
Shahed Nasser
86601e8130 docs: added usage documentation (#1639)
* added integration

* add segment for API reference

* updated frontend checkout flow

* added paypal documentation

* Improve storefront quickstart documents

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* added usage documentation

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* added usage documentation

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2022-06-17 13:53:19 +03:00
Shahed Nasser
da1c655897 docs: add upgrade guides index page (#1670)
* added integration

* add segment for API reference

* updated frontend checkout flow

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* add upgrade guides index page

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* docs: fixes in shipping, payment, and other documentations

* added integration

* add segment for API reference

* updated frontend checkout flow

* added paypal documentation

* Improve storefront quickstart documents

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* fixes

* fixes for payment provider

* fixes

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* fixes

* fixes for payment provider

* fixes

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* chore: Added issue template for docs (#1665)

* added integration

* add segment for API reference

* updated frontend checkout flow

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* added issue template for docs

* added emoji

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* docs: fixes in shipping, payment, and other documentations

* added integration

* add segment for API reference

* updated frontend checkout flow

* added paypal documentation

* Improve storefront quickstart documents

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* fixes

* fixes for payment provider

* fixes

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* fixes

* fixes for payment provider

* fixes

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* added issue template for docs

* added emoji

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* docs: add details regarding the file path of migrations (#1666)

* added integration

* add segment for API reference

* updated frontend checkout flow

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* docs: add details regarding the file path of migrations

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* docs: fixes in shipping, payment, and other documentations

* added integration

* add segment for API reference

* updated frontend checkout flow

* added paypal documentation

* Improve storefront quickstart documents

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* fixes

* fixes for payment provider

* fixes

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* fixes

* fixes for payment provider

* fixes

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* chore: Added issue template for docs (#1665)

* added integration

* add segment for API reference

* updated frontend checkout flow

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* added issue template for docs

* added emoji

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* docs: fixes in shipping, payment, and other documentations

* added integration

* add segment for API reference

* updated frontend checkout flow

* added paypal documentation

* Improve storefront quickstart documents

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* fixes

* fixes for payment provider

* fixes

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* fixes

* fixes for payment provider

* fixes

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* added issue template for docs

* added emoji

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* docs: add details regarding the file path of migrations

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* add upgrade guides index page

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-17 13:52:57 +03:00
Shahed Nasser
53163169d0 docs: add details regarding the file path of migrations (#1666)
* added integration

* add segment for API reference

* updated frontend checkout flow

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* docs: add details regarding the file path of migrations

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* docs: fixes in shipping, payment, and other documentations

* added integration

* add segment for API reference

* updated frontend checkout flow

* added paypal documentation

* Improve storefront quickstart documents

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* fixes

* fixes for payment provider

* fixes

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* fixes

* fixes for payment provider

* fixes

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* chore: Added issue template for docs (#1665)

* added integration

* add segment for API reference

* updated frontend checkout flow

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* added issue template for docs

* added emoji

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* docs: fixes in shipping, payment, and other documentations

* added integration

* add segment for API reference

* updated frontend checkout flow

* added paypal documentation

* Improve storefront quickstart documents

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* fixes

* fixes for payment provider

* fixes

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* fixes

* fixes for payment provider

* fixes

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* added issue template for docs

* added emoji

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* docs: add details regarding the file path of migrations

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2022-06-17 13:36:43 +03:00
Shahed Nasser
6e96c7fccb chore: Added issue template for docs (#1665)
* added integration

* add segment for API reference

* updated frontend checkout flow

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* added issue template for docs

* added emoji

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* docs: fixes in shipping, payment, and other documentations

* added integration

* add segment for API reference

* updated frontend checkout flow

* added paypal documentation

* Improve storefront quickstart documents

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* fixes

* fixes for payment provider

* fixes

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* fixes

* fixes for payment provider

* fixes

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* added issue template for docs

* added emoji

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2022-06-17 13:13:01 +03:00
Philip Korsholm
aca90a47ac Feat(medusa): Integration testing of cli (#1689)
* add initial testing files

* prepare for github

* remove empty files

* remove ids

* set user and password for postgres service

* remove node setup

* remove unused flag from yarn install

* correct medusajs package

* arguments for create-medusa project

* make create command into one line

* working directory update

* update workflow

* add build

* run scripts from medusa-cli

* move scripts to medusa-cli

* add install

* get server output

* rename build to install

* update login script to get feedback

* add arguments to login script

* add argument for directory to get-product

* pass cli-test to get-products script

* add wait command

* fix waiting

* update wait-for-server

* echo status

* update start testing

* refactor code into test-action

* add list config for testing

* include shell

* update get-products script

* test to see if action fails when given wrong input

* use custom action for testing devleopment server and extend waiting for server to spin up

* update actions

* remove cache version

* yarn and build in cli-test directory

* update core

* update working directories

* test working dir after cd up

* update

* fix directories

* update directories

* use setup server action

* invoke correct action

* test

* update cli action

* remove action

* test with medusa-dev

* remove medusa dev for now

* test

* include medusa-dev

* remove invalid medusa new command

* try moving project one dir up

* add silent to curl output from live server wait

* update seed data directory

* test

* remove sub workflow

* add matrix and postgres override for medusa-config

* fix matrix syntax

* add database url to job

* update yaml

* cli should fail on logging in

* create setup server action

* update test-server

* update scripts

* run scripts directory instead of cli scripts

* make directories current

* remove tests from cli

* run only on pr

* update name

* remove batch job model (for testing purposes)

* remove ls from test server action

* get content from develop

* undo changes to generate reference

* remove comments from scripts

* test failing command

* redo migrate command failing

* move scripts into interation tests

* Apply suggestions from code review

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2022-06-17 11:53:41 +02:00
Shahed Nasser
0bfdaab34e docs: fixes in shipping, payment, and other documentations
* added integration

* add segment for API reference

* updated frontend checkout flow

* added paypal documentation

* Improve storefront quickstart documents

* added documentation for entities

* docs: disable running tests for docs

* added docs contribution guidelines

* Use npm2yarn where missing

* added additional steps section

* added notification overview

* Added guidelines for sidebar labels

* added how to create notification provider

* fixes

* fixes for payment provider

* fixes

* chore(deps): bump sqlite3 from 5.0.2 to 5.0.3 (#1453)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Changelog](https://github.com/TryGhost/node-sqlite3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

* fix: Issue with cache in CI pipeline

* Use npm2yarn where missing

* added integration

* add segment for API reference

* fix double segment

* updated frontend checkout flow

* added documentation for entities

* added docs contribution guidelines

* Added guidelines for sidebar labels

* added additional steps section

* added notification overview

* added how to create notification provider

* chore: Add issue template for bug reports (#1676)

* chore: Add issue template for feature requests (#1679)

* fixes

* fixes for payment provider

* fixes

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2022-06-17 11:31:05 +03:00
Adrien de Peretti
93aaaa71bd feat(medusa): Update BuildQuery typings (#1672) 2022-06-17 10:03:51 +02:00
Oliver Windall Juhl
2c266302c8 chore: Add issue template for feature requests (#1679) 2022-06-17 09:50:40 +02:00
Oliver Windall Juhl
35a1733073 chore: Add issue template for bug reports (#1676) 2022-06-17 09:50:23 +02:00
Shahed Nasser
120cc73497 docs: improved the notification documentation
docs: improved the notification documentation
2022-06-16 19:44:05 +03:00
Shahed Nasser
61447863e0 merged 2022-06-16 19:08:25 +03:00
Shahed Nasser
1af7a9d1eb added how to create notification provider 2022-06-16 19:05:51 +03:00
Shahed Nasser
444ef1ea3f added notification overview 2022-06-16 19:05:51 +03:00
Shahed Nasser
c723f12fa7 docs: added additional steps section
docs: added additional steps section
2022-06-16 18:58:16 +03:00
Shahed Nasser
688d06e13a Merge branch 'docs/improve-quickstart' of https://github.com/medusajs/medusa into docs/improve-quickstart 2022-06-16 18:28:41 +03:00