github-actions[bot]
bc58bc8f47
chore(docs): Updated API Reference ( #6041 )
...
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request ) GitHub action
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com >
2024-01-10 08:14:30 +00:00
Shahed Nasser
18de90e603
docs: fix tsdocs following typedoc update + 1.20 release ( #6033 )
...
* docs: fix tsdocs following typedoc update + 1.20 release
* Fix OAS validation errors
* fixes to react-docs-generator
* fix content linting
2024-01-09 17:15:29 +02:00
olivermrbl
ebf63dffc4
chore(medusa-oas-cli,medusa-source-shopify): Remove workspace versions
2023-11-20 18:24:30 +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
Shahed Nasser
c1b97050ab
feat(medusa-oas-cli,oas-github-ci): new options + added download of OAS in api reference ( #5453 )
2023-10-31 08:05:48 +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
Shahed Nasser
fa7c94b4cc
docs: create docs workspace ( #5174 )
...
* docs: migrate ui docs to docs universe
* created yarn workspace
* added eslint and tsconfig configurations
* fix eslint configurations
* fixed eslint configurations
* shared tailwind configurations
* added shared ui package
* added more shared components
* migrating more components
* made details components shared
* move InlineCode component
* moved InputText
* moved Loading component
* Moved Modal component
* moved Select components
* Moved Tooltip component
* moved Search components
* moved ColorMode provider
* Moved Notification components and providers
* used icons package
* use UI colors in api-reference
* moved Navbar component
* used Navbar and Search in UI docs
* added Feedback to UI docs
* general enhancements
* fix color mode
* added copy colors file from ui-preset
* added features and enhancements to UI docs
* move Sidebar component and provider
* general fixes and preparations for deployment
* update docusaurus version
* adjusted versions
* fix output directory
* remove rootDirectory property
* fix yarn.lock
* moved code component
* added vale for all docs MD and MDX
* fix tests
* fix vale error
* fix deployment errors
* change ignore commands
* add output directory
* fix docs test
* general fixes
* content fixes
* fix announcement script
* added changeset
* fix vale checks
* added nofilter option
* fix vale error
2023-09-21 20:57:15 +03: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
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
olivermrbl
8a43a6bc1d
chore: Bump @medusajs/utils + @medusajs/product
2023-08-22 15:46:59 +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
Shahed Nasser
914d773d3a
api-ref: custom API reference ( #4770 )
...
* initialized next.js project
* finished markdown sections
* added operation schema component
* change page metadata
* eslint fixes
* fixes related to deployment
* added response schema
* resolve max stack issue
* support for different property types
* added support for property types
* added loading for components
* added more loading
* type fixes
* added oneOf type
* removed console
* fix replace with push
* refactored everything
* use static content for description
* fixes and improvements
* added code examples section
* fix path name
* optimizations
* fixed tag navigation
* add support for admin and store references
* general enhancements
* optimizations and fixes
* fixes and enhancements
* added search bar
* loading enhancements
* added loading
* added code blocks
* added margin top
* add empty response text
* fixed oneOf parameters
* added path and query parameters
* general fixes
* added base path env variable
* small fix for arrays
* enhancements
* design enhancements
* general enhancements
* fix isRequired
* added enum values
* enhancements
* general fixes
* general fixes
* changed oas generation script
* additions to the introduction section
* added copy button for code + other enhancements
* fix response code block
* fix metadata
* formatted store introduction
* move sidebar logic to Tags component
* added test env variables
* fix code block bug
* added loading animation
* added expand param + loading
* enhance operation loading
* made responsive + improvements
* added loading provider
* fixed loading
* adjustments for small devices
* added sidebar label for endpoints
* added feedback component
* fixed analytics
* general fixes
* listen to scroll for other headings
* added sample env file
* update api ref files + support new fields
* fix for external docs link
* added new sections
* fix last item in sidebar not showing
* move docs content to www/docs
* change redirect url
* revert change
* resolve build errors
* configure rewrites
* changed to environment variable url
* revert changing environment variable name
* add environment variable for API path
* fix links
* fix tailwind settings
* remove vercel file
* reconfigured api route
* move api page under api
* fix page metadata
* fix external link in navigation bar
* update api spec
* updated api specs
* fixed google lint error
* add max-height on request samples
* add padding before loading
* fix for one of name
* fix undefined types
* general fixes
* remove response schema example
* redesigned navigation bar
* redesigned sidebar
* fixed up paddings
* added feedback component + report issue
* fixed up typography, padding, and general styling
* redesigned code blocks
* optimization
* added error timeout
* fixes
* added indexing with algolia + fixes
* fix errors with algolia script
* redesign operation sections
* fix heading scroll
* design fixes
* fix padding
* fix padding + scroll issues
* fix scroll issues
* improve scroll performance
* fixes for safari
* optimization and fixes
* fixes to docs + details animation
* padding fixes for code block
* added tab animation
* fixed incorrect link
* added selection styling
* fix lint errors
* redesigned details component
* added detailed feedback form
* api reference fixes
* fix tabs
* upgrade + fixes
* updated documentation links
* optimizations to sidebar items
* fix spacing in sidebar item
* optimizations and fixes
* fix endpoint path styling
* remove margin
* final fixes
* change margin on small devices
* generated OAS
* fixes for mobile
* added feedback modal
* optimize dark mode button
* fixed color mode useeffect
* minimize dom size
* use new style system
* radius and spacing design system
* design fixes
* fix eslint errors
* added meta files
* change cron schedule
* fix docusaurus configurations
* added operating system to feedback data
* change content directory name
* fixes to contribution guidelines
* revert renaming content
* added api-reference to documentation workflow
* fixes for search
* added dark mode + fixes
* oas fixes
* handle bugs
* added code examples for clients
* changed tooltip text
* change authentication to card
* change page title based on selected section
* redesigned mobile navbar
* fix icon colors
* fix key colors
* fix medusa-js installation command
* change external regex in algolia
* change changeset
* fix padding on mobile
* fix hydration error
* update depedencies
2023-08-15 18:07:54 +03: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
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
github-actions[bot]
0885e13aa6
chore: Version Packages ( #4624 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-27 17:13:39 +02:00
github-actions[bot]
5a569c4a20
chore: Version Packages ( #4591 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-27 13:19:14 +02:00
github-actions[bot]
db68a94e57
chore: Version Packages ( #4557 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-07-19 18:04:12 +02:00
github-actions[bot]
2a181bc564
chore: Version Packages ( #4527 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-19 18:00:56 +02:00
github-actions[bot]
04917d0721
chore: Version Packages ( #4502 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-11 20:38:52 +02:00
github-actions[bot]
e2bb65d160
chore: Version Packages ( #4354 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-19 16:31:15 +02:00
github-actions[bot]
5d7877ded6
chore: Version Packages ( #4223 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-18 13:14:20 +02:00
Oliver Windall Juhl
9b42387fd3
chore: Add missing deps ( #4317 )
2023-06-15 18:27:31 +02:00
Oliver Windall Juhl
afd1b67f1c
chore: Clean up deps, devDeps, and peerDeps across all packages ( #4276 )
...
* chore: Use caret for all Medusa deps
* Create wild-balloons-push.md
* Address PR feedback
* force build order
* add missing dep
* add missing dev deps
* addresses last comments
2023-06-14 15:18:11 +02:00
github-actions[bot]
8f8f6332b7
chore: Version Packages ( #4114 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-30 12:11:45 +02:00
github-actions[bot]
0be70113f9
chore: Version Packages ( #4074 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-16 11:03:47 +02:00
Lacey Pevey
cfcd2d54fd
fix(medusa-oas-cli): Add separator after tmpdir base ( #3924 )
...
* add separator after tmpdir base
* Create late-badgers-do.md
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-05-11 12:32:55 +02:00
github-actions[bot]
a8f43055db
chore: Version Packages ( #4020 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-09 15:49:04 +02:00
github-actions[bot]
6b2bcc1a36
chore: Version Packages ( #3942 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-04 10:51:13 +02:00
github-actions[bot]
b41b6303cc
chore: Release ( #3856 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-26 19:09:01 +02:00
github-actions[bot]
0f51e3a400
chore: Release ( #3818 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-04-14 11:18:39 +02:00
Patrick
1456056e8f
feat(oas): new medusa-oas docs for Redocly and circular references ( #3745 )
...
## What
New `medusa-oas docs` to improve OAS compatibility with for Redocly API documentation viewer and handle deep circular references.
## Why
We wish to share the tooling we have been using to generate our public API documentation.
## How
* Move `/docs-utils/redocly` under `medusa-oas-cli` package.
* Move some of the operations from `oas-github-ci/scripts/build-openapi.js` under the `medusa-oas docs` command.
* Improve DevX when dealing with circular references by outputting precise troubleshooting recommendations in the error message.
* Extract some common operations in utility methods.
## Tests
### Step 1
* Run `yarn install`
* Run `yarn build`
* Run `yarn openapi:generate --dry-run`
* Expect same behaviour as before where OAS is validated and circular references are checked.
### Step 2
* Run `yarn openapi:generate`
* Expect same behaviour as before where API documentation is generated in `/docs`
### Step 3
* Move to the `packages/oas/medusa-oas-cli`
* Run `yarn medusa-oas oas --type store --out-dir ~/tmp/oas` to generate the raw OAS file.
* Run `yarn medusa-oas docs --src-file ~/tmp/oas/store.oas.json --preview`
* Open url from the console output in a browser
* Expect a preview of the API documentation using Redocly.
### Step 4
* Run `yarn medusa-oas docs --src-file ~/tmp/oas/store.oas.json --out-dir ~/tmp/docs/store --clean --split`
* Expect a similiar output as `yarn openapi:generate`
### Step 5
* Run `yarn medusa-oas docs --src-file ~/tmp/oas/store.oas.json --out-dir ~/tmp/docs/store --clean --html`
* Expect `index.html` to have been created.
* Run `npx http-server ~/tmp/docs/store -p 8000`
* Open http://127.0.0.1:8000 in a browser.
* Expect a zero-dependency static rendering of the API documentation using Redocly.
### Step 6
* To emulate an unhandled circular reference, edit [packages/oas/medusa-oas-cli/redocly/redocly-config.yaml](d180f47e16/packages/oas/medusa-oas-cli/redocly/redocly-config.yaml (L9-L10) ) and comment out "Address: - Customer"
* Run `yarn medusa-oas docs --src-file ~/tmp/oas/store.oas.json --dry-run`
* Expect an error message with a hint on how to resolve the issue.
* Create a file `~/tmp/redocly-config.yaml` and paste in the recommendation from the error message.
* Run `yarn medusa-oas docs --src-file ~/tmp/oas/store.oas.json --dry-run --config ~/tmp/redocly-config.yaml`
* Expect Dry run to succeed.
2023-04-12 17:16:15 +00:00
github-actions[bot]
3efe13eefd
chore: Release ( #3782 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-04-12 11:32:05 +02:00
Patrick
0b3c6fde30
feat(codegen:test): coverage x-expanded-relation + x-codegen.queryParams ( #3675 )
...
## What
Adding tests to cover `x-expanded-relation` and `x-codegen.queryParams` handling
## Why
The logic that processes these OAS extension can be complex to reason with. Therefore, we should have automated tests to prevent unintentional regression.
## How
* Focus on `getModels` method and its sub-routines.
* Add coverage to getOperation codegen parsing.
* Add coverage to model and operation spec property.
2023-04-05 14:01:29 +00:00
olivermrbl
4c268238a4
Merge branch 'master' into develop
2023-04-05 09:18:48 +02:00
olivermrbl
66c59d54ff
chore(release): v1.8.0
2023-04-04 18:35:27 +02:00
olivermrbl
f0d37b4d2d
chore(release): v1.8.0-rc.8
2023-04-04 17:37:13 +02:00
olivermrbl
7a3194c313
chore(release): v1.8.0-rc.7
2023-04-04 16:07:48 +02:00
Patrick
089f1eb19e
feat(tests): harmonize and clean-up yarn test commands convention ( #3695 )
...
## What
Harmonize and clean-up yarn test commands convention.
## Why
Current strategy to filter integration tests from unit tests was cumbersome to maintain. Also, some packages declared `test:unit` which ended up being an alias to `test`.
## How
* Remove all occurrences of `test:unit`
* Rename all `test` commands under `/integration-tests/**/package.json` to `test:integration`
* In the root `package.json`, rewrite `test:integration` command to run `turbo run test:integration`
* In the root `package.json`, remove filtering on the `test` command
* Introduce a new `test:integration` task in the Turborepo config.
2023-04-04 13:47:54 +00:00
olivermrbl
bb9df09e37
chore(release): v1.8.0-rc.6
2023-04-03 18:05:12 +02:00
olivermrbl
6f85a3d366
chore(release): v1.8.0-rc.5
2023-03-31 13:27:14 +02:00
olivermrbl
89d4d84666
chore(release): v1.8.0-rc.4
2023-03-30 17:12:37 +02:00
Patrick
377b9ce8c2
fix(oas:test): Augment jest timeout from 30 to 60 sec ( #3631 )
...
* fix(oas:test): fix beforeAll timeout silent failure
* fix(test): fix ts-jest scaffolding in medusa-oas-cli
* chore(changeset): patch
2023-03-30 09:17:09 +02:00
olivermrbl
15a43c1cc0
chore(release): v1.8.0-rc.3
2023-03-29 13:42:11 +02:00
olivermrbl
8ddb3952c0
chore(release): v1.8.0-rc.2
2023-03-28 21:04:57 +02:00