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
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]
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
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
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
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
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
olivermrbl
990c79d2d5
chore(release): v1.8.0-rc.1
2023-03-28 19:32:36 +02:00
olivermrbl
b57ea22461
chore: Enter pre-release mode and version packages
2023-03-24 10:16:11 +01:00
Patrick
966aea65c2
feat(oas-cli): combine admin + store + custom OAS ( #3411 )
2023-03-10 10:37:59 +01:00
Oliver Windall Juhl
8ed67d2d7d
fix(admin,oas-github-cli): Make staging release pipeline pass ( #3410 )
...
* fix(admin,oas-github-cli): Make staging release pipeline pass
* Create .changeset/clean-cobras-listen.md
---------
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
2023-03-08 16:41:03 +01:00
Patrick
240d0ea7b8
fix(ci,oas) move oas ci script to a package under the oas workspace ( #3391 )
...
* feat(ci,oas) run oas ci on all PRs
* fix(ci,oas) move oas ci script to a package under the oas workspace
* chore(changeset): patch
2023-03-07 10:33:12 +01:00