Skip to content

Commit

Permalink
Fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
olivermrbl committed Jan 6, 2023
2 parents ebe7391 + 077e4d9 commit aecb57e
Show file tree
Hide file tree
Showing 2,396 changed files with 91,606 additions and 119,374 deletions.
5 changes: 0 additions & 5 deletions .changeset/afraid-mugs-kneel.md

This file was deleted.

2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"access": "public",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": [],
"ignore": ["integration-tests-api", "integration-tests-plugins"],
"snapshot": {
"useCalculatedVersion": true
}
Expand Down
5 changes: 5 additions & 0 deletions .changeset/honest-guests-wash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@medusajs/medusa": patch
---

feat(nested-categories): Introduces a model and migration to create category table that can be nested
5 changes: 0 additions & 5 deletions .changeset/lazy-swans-agree.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/light-cars-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@medusajs/medusa": patch
---

Make orders queryable by customer fields
5 changes: 5 additions & 0 deletions .changeset/mighty-cups-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@medusajs/medusa": patch
---

chore: refactor payment collection setPaymentSession
5 changes: 0 additions & 5 deletions .changeset/moody-ravens-wait.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nervous-insects-switch.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/pretty-flies-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@medusajs/medusa": patch
---

Include optional `external_id` property for CreateProductInput type
5 changes: 5 additions & 0 deletions .changeset/quiet-lobsters-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@medusajs/medusa": patch
---

fix(medusa): Add tax inclusive flag to return lines from line item
5 changes: 0 additions & 5 deletions .changeset/real-rockets-give.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/real-ways-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@medusajs/medusa": patch
---

OAS update
5 changes: 0 additions & 5 deletions .changeset/shiny-tips-teach.md

This file was deleted.

7 changes: 7 additions & 0 deletions .changeset/twelve-bears-try.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@medusajs/medusa": patch
"@medusajs/medusa-js": patch
"@medusajs/stock-location": major
---

Stock locations module added
8 changes: 8 additions & 0 deletions .changeset/wise-mangos-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@medusajs/medusa": patch
---

Add services:
- `sales-channel-inventory`
- `sales-channel-location`
- `product-variant-inventory`
3 changes: 0 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ packages/*
# List of packages to Lint
!packages/medusa

integration-tests/*
#!integration-tests/api


**/models/*
Expand All @@ -18,6 +16,5 @@ integration-tests/*
**/node_modules/*
**/migrations/*
**/__mocks__/*
**/__tests__/*

.eslintrc.js
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Feature Request
url: https://github.com/medusajs/medusa/discussions/categories/feature-requests
about: Use GitHub Discussions to open a feature request.
- name: Ask a question
url: https://discord.gg/medusajs
about: Join our community to ask questions and participate in discussions
- name: Want to work with us?
url: mailto:hello@medusajs.com?subject=[GitHub]%20Working%20with%20Medusa
about: Interested in working with Medusa? Get in touch!
about: Interested in working with Medusa? Get in touch!
29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

43 changes: 2 additions & 41 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,28 +123,8 @@ jobs:
- name: Build Packages
run: yarn build

- name: Install dev cli
run: sudo npm i -g medusa-dev-cli@latest

- name: Set path to medusa repo
run: medusa-dev --set-path-to-repo `pwd`

- name: Set npm registry
run: |
yarn config set npmRegistryServer http://localhost:4873
echo -e 'unsafeHttpWhitelist:\n - "localhost"' >> .yarnrc.yml
- name: Force install
run: medusa-dev --force-install --external-registry
working-directory: integration-tests/api

- name: Build integration tests
run: yarn build
working-directory: integration-tests/api

- name: Run integration tests
run: yarn test
working-directory: integration-tests/api
run: yarn test:integration:api
env:
DB_PASSWORD: postgres
SPLIT: ${{ steps['split-tests'].outputs['split'] }}
Expand Down Expand Up @@ -195,26 +175,7 @@ jobs:
- name: Build Packages
run: yarn build

- name: Install dev cli
run: sudo npm i -g medusa-dev-cli

- name: Set path to medusa repo
run: medusa-dev --set-path-to-repo `pwd`

- name: Set npm registry
run: |
yarn config set npmRegistryServer http://localhost:4873
echo -e 'unsafeHttpWhitelist:\n - "localhost"' >> .yarnrc.yml
- name: Force install
run: medusa-dev --force-install --external-registry
working-directory: integration-tests/plugins

- name: Build plugin integration tests
run: yarn build
working-directory: integration-tests/plugins

- name: Run plugin integration tests
run: yarn test:integration:plugins --silent=false
run: yarn test:integration:plugins
env:
DB_PASSWORD: postgres
23 changes: 22 additions & 1 deletion .github/workflows/docs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,25 @@ jobs:
fail_on_error: true
vale_flags: '--minAlertLevel=error'
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ github.token }}

eslint:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}

- name: Checkout
uses: actions/checkout@v2.3.5
with:
fetch-depth: 0

- name: Install dependencies
uses: ./.github/actions/cache-deps
with:
extension: eslint-docs

- name: Run Eslint
run: yarn lint:docs
7 changes: 7 additions & 0 deletions .github/workflows/generate-api-reference.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: Generate API Reference
on:
push:
branches:
- "master"
paths:
- packages/medusa/src/api/routes/**
- '!packages/medusa/src/api/routes/**/index.ts'
- '!packages/medusa/src/api/routes/**/index.js'
pull_request:
types:
- closed
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/staging-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:
- name: Build all packages
run: yarn build

- name: Version staging packages
run: yarn version:staging
- name: Version packages
run: yarn version:next
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install Dependencies
run: yarn install --no-immutable

- name: Publish staging packages
run: yarn release:staging
- name: Publish packages under next tag
run: yarn release:next
2 changes: 1 addition & 1 deletion .github/workflows/trigger-staging-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
-H "Authorization: Bearer ${{secrets.STAGING_ACCESS_TOKEN}}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/@medusajs/medusa-staging/actions/workflows/deploy.yml/dispatches \
-d '{"ref":"main"}'
-d '{"ref":"main"}'
19 changes: 1 addition & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,7 @@ You can learn about all of the ecommerce features that Medusa provides [in our d

## Roadmap

Write-ups for all features will be made available in [Github discussions](https://github.com/medusajs/medusa/discussions) before starting the implementation process.

### **2022**

- [x] Admin revamp
- [x] Tax API
- [x] Tax Calculation Strategy
- [x] Cart Calculation Strategy
- [x] Customer Groups API
- [x] Promotions API
- [x] Price Lists API
- [x] Price Selection Strategy
- [x] Import / Export API
- [x] Sales Channel API
- [ ] Extended Order API (managing placed orders)
- [ ] PaymentCollection API (collecting payments separate from carts and draft orders)
- [ ] Multi-warehouse API
- [ ] Extended Product API (custom fields, publishing control, and more)
You can view our roadmap with features that are planned, started, and completed on the [Roadmap discussion](https://github.com/medusajs/medusa/discussions/categories/roadmap) category.

## Plugins

Expand Down
13 changes: 0 additions & 13 deletions docs-util/fixture-gen/.babelrc.js

This file was deleted.

4 changes: 0 additions & 4 deletions docs-util/fixture-gen/.gitignore

This file was deleted.

62 changes: 0 additions & 62 deletions docs-util/fixture-gen/__tests__/admin/auth.js

This file was deleted.

Loading

0 comments on commit aecb57e

Please sign in to comment.