Shahed Nasser
c6dff873de
docs: update docusaurus to v3 ( #5625 )
...
* update dependencies
* update onboarding mdx
* fixes for mdx issues
* fixes for mdx compatibility
* resolve mdx errors
* fixes in reference
* fix check errors
* revert change in vale action
* fix node version in action
* fix summary in markdown
2023-11-13 20:11:50 +02:00
Riqwan Thamir
cedab58339
feat(workflows,medusa,utils): add medusa v2 feature flag ( #5603 )
...
* chore: add medusa v2 feature flag
* chore: cleanup more FF
* chore: cleanup workflows FF
* chore: add comments on broken specs
* chore: added check for package registration
* chore: reenable workflows FF for create order workflow
* chore: disable FF on test cli db
* chore: hide loader validation behind FF
* chore: use medusa v2 enabled
* chore: register feature flag router in use-db
* chore: change to minro
2023-11-13 16:18:05 +01:00
Shahed Nasser
4f91263588
chore: fix generate automated reference action ( #5589 )
...
* chore: fix generate automated reference action
* fix dependencies
* add depends in turbo
* add install step for www workspace
2023-11-09 17:14:28 +02:00
Adrien de Peretti
f88d75b0a7
feat(product, pricing, utils): Transaction issues and reference issues ( #5533 )
...
* feat(product, pricing, utils): Transaction issues and reference issues
* fixes decorators
* cleanup
* fix product module upsert
* fix missing active manager
* increase timeout
* revert package.json
* WIP
* try another node version based on findings with memory issues with jest introduced after 16.11 but fixed in 21
* re add bail
* fix variant options
* chore: bulk create pricing
* chore: workflow bulk
* Create big-chefs-dream.md
* fix missing update for upserty
* Add integration tests for product options upsert
* rm unnecessary return
* fix product prices workflow issue
* cleanup
* fix flag
* fix model
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com >
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2023-11-06 12:24:29 +01:00
Shahed Nasser
3bf9d8ddec
chore: ignore vercel deployments when automerging ( #5532 )
...
Add vercel actions to the list of ignored checks when the `automerge` label is added to an approved PR.
2023-11-02 12:25:11 +00:00
Shahed Nasser
2ac05066ac
chore(docs-util): Improve generate references script and action ( #5472 )
...
* chore(docs-util): Improve generate references script and action
* added if condition for API reference
* fix api reference condition
* fix description of action
* fix body value
* fix step name
2023-10-25 17:12:10 +03:00
Shahed Nasser
83f46b9b32
docs: general fixes and enhancements ( #5429 )
...
* fix #5427
* fixes #5424
* add new s3 option
* make learning path steps clickable
* remove admin demo link
* fix documentation job conditions
* update user guide images
* update commerce modules titles to match their respective pages
* change icon of discount card
* change ref to head_ref in action condition
* remove refs prefix
* fix vale action's condition
2023-10-20 13:34:40 +03:00
Shahed Nasser
1ebbf3dd33
chore: add condition for running documentation actions ( #5418 )
...
* chore: add condition for running documentation actions
* fix condition
2023-10-19 20:53:51 +03:00
Shahed Nasser
a27083cd4b
chore: fix actions of generating references ( #5411 )
2023-10-18 20:38:51 +03:00
Shahed Nasser
8d0a45ec14
chore: added TSDocs to product module service interface ( #5341 )
...
* added tsdocs for product module service
* general fixes
* added generate github action
* fix typedoc configurations
* update comments
* change configurations
* address PR feedback
2023-10-18 19:41:53 +03:00
Shahed Nasser
57bd38bb4b
chore: added and improved TSDoc of pricing module ( #5335 )
...
* adjusted tsdoc of methods and types in pricing module
* finished adding tsdocs
* small fixes
* remove reference files
* added github action
* fix typo in outPath
* Update packages/types/src/shared-context.ts
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
* fix sharedContext description
* changed branch name of action
* added ignore for is_dynamic
* added private remark
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2023-10-10 13:23:54 +03:00
Shahed Nasser
85c4cdf9af
chore: fix path prefix of reference generation scripts ( #5324 )
...
* chore: fix path prefix of reference generation scripts
* fix build step
2023-10-09 16:43:54 +03:00
Shahed Nasser
ce93d75cc5
chore: fix generate reference command name in action ( #5320 )
...
* chore: fix generate reference command name
* fix require path in typedoc config
* add missing dependencies
2023-10-09 13:45:19 +03:00
Shahed Nasser
1c3faee158
docs: fix documentation actions ( #5316 )
...
* docs: fix documentation utility scripts
* change branch names
2023-10-09 12:43:14 +03:00
Shahed Nasser
0350eeb0a1
docs: create typedoc theme and plugins for references ( #5297 )
...
* update typedoc and its plugins
* refactor existing typedoc configurations
* added new typedoc plugin and themes
* added more customization options
* added more customization options
* refactored doc-utils to a workspace
* fix tsconfig
* update README files
* remove comments
* revert type changes
* remove dependencies no longer needed
* removed modules action
2023-10-05 12:09:42 +03:00
Shahed Nasser
0c9d5ea6d4
docs: update contribution guideline ( #5188 )
...
* fix ignore command
* fixed ignore script
* docs: update contribution guideline
* fix ignore script
* fix eslint errors
* remove exit option
2023-09-22 16:08:11 +03: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
Oli Juhl
4897040c92
fix(ci): Increase memory allocation for plugin tests ( #4898 )
2023-08-29 11:58:17 +02:00
Carlos R. L. Rodrigues
d9c5e165cd
chore: pipeline node version ( #4896 )
2023-08-28 19:41:47 +00:00
Andreas Deininger
88e68af501
chore(ci): Bump GitHub workflows to run on node 16 ( #4876 )
...
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-08-28 16:58:05 +02:00
Shahed Nasser
9cc0bc6c9d
docs,api-ref: design + algolia fixes ( #4775 )
...
* fix algolia results on same page
* fix navigation bar for mobile
* fix eslint configurations
* fix github action
* fix search icon on mobile
* fix code block dark mode
2023-08-16 11:38:50 +03: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
86c314eb2a
chore: Update FUNDING.yml
2023-08-09 10:28:53 +02:00
Oli Juhl
df3b0c673a
chore: Update FUNDING.yml
2023-08-09 10:26:22 +02:00
Shahed Nasser
761c6c80d6
docs: enable querystring option for operating systems tabs ( #4542 )
...
* docs: enable querystring option for operating systems tabs
* fix node.js version
2023-07-17 15:09:24 +03:00
Adrien de Peretti
befc2f1c80
feat(product): Create (+ workflow), delete, restore ( #4459 )
...
* Feat: create product with product module
* feat: create product wip
* feat: create product wip
* feat: update product relation and generate image migration
* lint
* conitnue implementation
* continue implementation and add integration tests for produceService.create
* Add integration tests for product creation at the module level for the complete flow
* only use persist since write operations are always wrapped in a transaction which will be committed and flushed
* simplify the transaction wrapper to make future changes easier
* feat: move some utils to the utils package to simplify its usage
* tests: fix unit tests
* feat: create variants along side the product
* Add more integration tests an update migrations
* chore: Update actions workflow to include packages integration tests
* small types and utils cleanup
* chore: Add support for database debug option
* chore: Add missing types in package.json from types and util, validate that all the models are sync with medusa
* expose retrieve method
* fix types issues
* fix unit tests and move integration tests workflow with the plugins integration tests
* chore: remove migration function export from the definition to prevent them to be ran by the medusa cli just in case
* fix package.json script
* chore: workflows
* feat: start creating the create product workflow
* feat: add empty step for prices and sales channel
* tests: update scripts and action envs
* fix imports
* feat: Add proper soft deleted support + add product deletion service public api
* chore: update migrations
* chore: update migrations
* chore: update todo
* feat: Add product deletion to the create-product workflow as compensation
* chore: cleanup product utils
* feat: Add support for cascade soft-remove
* feat: refactor repository to take into account withDeleted
* fix integration tests
* Add support for force delete -> delete, cleanup repositories and improvements
* Add support for restoring a product and add integration tests
* cleaup + tests
* types
* fix integration tests
* remove unnecessary comments
* move specific mikro orm usage to the DAL
* Cleanup workflow functions
* Make deleted_at optional at the property level and add url index for the images
* address feedback + cleanup
* fix export
* merge migrations into one
* feat(product, types): added missing product variant methods (#4475 )
* chore: added missing product variant methods
* chore: address PR feedback
* chore: catch undefined case for retrieve + specs for variant service
* chore: align TEntity + add changeset
* chore: revert changeset, TEntity to ProductVariant
* chore: write tests for pagination, unskip the test
* Create chilled-mice-deliver.md
* update integration fixtuers
* update pipeline node version
* rename github action
* fix pipeline
* feat(medusa, types): added missing category tests and service methods (#4499 )
* chore: added missing category tests and service methods
* chore: added type changes to module service
* chore: address pr feedback
* update repositories manager usage and serialisation from the write public API
* move serializisation to the DAL
* rename template args
* chore: added collection methods for module and collection service (#4505 )
* chore: added collection methods for module and collection service
* Create fresh-islands-teach.md
* chore: move retrieve entity to utils package
* chore: make products optional in DTO type
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* feat(product): Apply transaction decorators to the services (#4512 )
---------
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
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 >
2023-07-16 20:19:23 +02:00
Oliver Windall Juhl
cfd3e396cf
chore(workflows): Force Node v16.10 version in CI ( #4523 )
2023-07-13 08:42:43 +02:00
Adrien de Peretti
a6c0825722
chore: Update node version in the pipeline to 16 ( #4485 )
...
* chore: Update node version in the pipeline to 16
* upgrade to node 16 (setup-server)
2023-07-10 12:17:30 +02:00
Oliver Windall Juhl
579fcb8cd6
chore: Update issue template
2023-06-26 10:41:36 +02:00
Nicklas Gellner
854022daa8
Create FUNDING.yml ( #4225 )
...
Following the guidelines on GitHub to include a "sponsor" button within our repo.
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository
2023-06-07 11:48:08 +02:00
Oliver Windall Juhl
260dc55b6f
chore(medusa,medusa-cli): Clean up new command + fix CI ( #4214 )
...
* chore(workflows): Use default starter template in action
* Use postgres by default in new
* Add skip DB flag
* Create thirty-tomatoes-hug.md
* address PR comments
2023-05-31 12:38:44 +02:00
Shahed Nasser
94907730d2
docs: refactor to use TypeScript, ESLint, and Tailwind CSS ( #4136 )
...
* docs(refactoring): configured eslint and typescript (#3511 )
* docs: configured eslint and typescript
* fixed yarn.lock
* docs(refactoring): migrate components directory to typescript (#3517 )
* docs: migrate components directory to typescript
* removed vscode settings
* fix following merge
* docs: refactored QueryNote component (#3576 )
* docs: refactored first batch of theme components (#3579 )
* docs: refactored second batch of theme components (#3580 )
* added missing badge styles
* fix after merge
* docs(refactoring): migrated remaining component to TypeScript (#3770 )
* docs(refactoring): configured eslint and typescript (#3511 )
* docs: configured eslint and typescript
* fixed yarn.lock
* docs(refactoring): migrate components directory to typescript (#3517 )
* docs: migrate components directory to typescript
* removed vscode settings
* fix following merge
* docs: refactored QueryNote component (#3576 )
* docs: refactored first batch of theme components (#3579 )
* docs: refactored second batch of theme components (#3580 )
* added missing badge styles
* docs: refactoring second batch of theme components
* fix after merge
* refactored icons and other components
* docs: refactored all components
* docs(refactoring): set up and configured Tailwind Css (#3841 )
* docs: added tailwind config
* docs: added more tailwind configurations
* add includes option
* added more tailwind configurations
* fix to configurations
* docs(refactoring): use tailwind css (#4134 )
* docs: added tailwind config
* docs: added more tailwind configurations
* add includes option
* added more tailwind configurations
* fix to configurations
* docs(refactoring): refactored all styles to use tailwind css (#4132 )
* refactored Badge component to use tailwind css
* refactored Bordered component to use tailwind css
* updated to latest docusaurus
* refactored BorderedIcon component to use tailwind css
* refactored Feedback component to use tailwind css
* refactored icons and footersociallinks to tailwind css
* start refactoring of large card
* refactored large card styling
* refactored until admonitions
* refactored until codeblock
* refactored until Tabs
* refactored Tabs (without testing
* finished refactoring styles to tailwind css
* upgraded to version 2.4.1
* general fixes
* adjusted eslint configurations
* fixed ignore files
* fixes to large card
* fix search styling
* fix npx command
* updated tabs to use isCodeTabs prop
* fixed os tabs
* removed os-tabs class in favor of general styling
* improvements to buttons
* fix for searchbar
* fixed redocly download button
* chore: added eslint code action (#4135 )
* small change in commerce modules page
2023-05-19 14:56:48 +03:00
Oliver Windall Juhl
a91987fab3
feat(medusa): Remove sqlite support ( #4026 )
2023-05-17 12:13:36 +02:00
Oliver Windall Juhl
ebfc8777f0
fix(workflows): Script name
2023-05-09 15:59:16 +02:00
Oliver Windall Juhl
1e404b43dc
chore(workflows): Automate Discord message ( #4047 )
2023-05-09 11:16:38 +02:00
Oliver Windall Juhl
440110493e
chore(workflows): Temporarily disable automated releases
2023-05-04 10:12:28 +02:00
Oliver Windall Juhl
d539c6feeb
chore: Bump Typeorm to Medusa fork ( #3981 )
...
* chore: Bump typeorm to medusa fork
* Update types + utils
* Bump integration test suites
* Create good-parents-prove.md
2023-05-02 14:37:19 +02:00
Shahed Nasser
6046323f42
chore: changed PR branch for docs workflows ( #3781 )
2023-04-10 11:31:39 +03:00
Oliver Windall Juhl
5280e1bdad
chore: Automate releases ( #3736 )
...
* chore: Automate releases
* Update release.yml
2023-04-10 09:51:14 +02:00
Oliver Windall Juhl
8277a74257
chore(ci): Don't ignore docs for required checks ( #3749 )
2023-04-06 15:22:21 +02:00
Oliver Windall Juhl
8761ec59c7
chore(workflows): Use our default starter in CI ( #3730 )
2023-04-05 14:47:53 +02:00
Oliver Windall Juhl
a1ed1b6a7f
chore(workflows): Add release notification ( #3629 )
2023-03-30 17:18:31 +02:00
Oliver Windall Juhl
e892816307
chore(workflows): Enable manual workflow in pre-release mode ( #3566 )
2023-03-24 09:55:06 +01:00
Carlos R. L. Rodrigues
4e9d257d3b
Chore(medusa,utils,types,inventory,stock-location): remove core dependency modules ( #3531 )
2023-03-23 08:07:32 -03:00
Patrick
e6e5291527
feat(codegen): commit generated client types to codebase ( #3492 )
...
## What
Commit generated client types to codebase.
## Why
As a developer, we will provides better visibility on the impact of OAS changes to the generated type. Also allow for browser the types on GitHub.
## How
* Remove `/lib` from .gitignore
* Add a non-blocking github action check validating if the latest generated build has been committed.
* Runs `yarn build --force --no-cache` on GitHub. Caching was creating false positives.
* Use `git status` and filter the output to target only `packages/generated` directory.
## Test
Proof of a failing check:
https://github.com/medusajs/medusa/actions/runs/4432323763/jobs/7776235128
UPDATE: Failing check after updating branch with latest develop
https://github.com/medusajs/medusa/actions/runs/4436707954/jobs/7785472045
2023-03-16 15:30:40 +00:00
olivermrbl
85640475e5
chore: Remove from ignores in test pipeline
2023-03-13 15:44:03 +01:00
Oliver Windall Juhl
aadc1e19e9
chore: Ignore admin-ui in core pipeline ( #3381 )
2023-03-07 11:27:55 +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
olivermrbl
e1b92e9b04
fix: Merge conflicts with master
2023-02-22 17:38:49 +01:00
Shahed Nasser
3084de0c02
chore: changed trigger for docs generation actions ( #3304 )
2023-02-21 18:11:32 +02:00