chore(): start moving some packages to the core directory (#7215)
This commit is contained in:
1 parent
fdee748eed
commit
bbccd6481d
1436 files changed
+275
-756
No files matched your search
+12
-6
@@ -87,14 +87,20 @@ module.exports = {
|
|||||||
"./packages/inventory/tsconfig.spec.json",
|
"./packages/inventory/tsconfig.spec.json",
|
||||||
"./packages/stock-location/tsconfig.spec.json",
|
"./packages/stock-location/tsconfig.spec.json",
|
||||||
|
|
||||||
"./packages/create-medusa-app/tsconfig.json",
|
|
||||||
|
|
||||||
"./packages/orchestration/tsconfig.json",
|
|
||||||
"./packages/workflows-sdk/tsconfig.spec.json",
|
|
||||||
"./packages/core-flows/tsconfig.spec.json",
|
"./packages/core-flows/tsconfig.spec.json",
|
||||||
|
|
||||||
"./packages/types/tsconfig.json",
|
"./packages/cli/create-medusa-app/tsconfig.spec.json",
|
||||||
"./packages/utils/tsconfig.json",
|
"./packages/cli/medusa-cli/tsconfig.spec/json",
|
||||||
|
"./packages/cli/medusa-dev-cli/tsconfig.spec.json",
|
||||||
|
"./packages/cli/oas/medusa-oas-cli/tsconfig.spec.json",
|
||||||
|
"./packages/cli/oas/openapi-typescript-codegen/tsconfig.spec.json",
|
||||||
|
|
||||||
|
"./packages/core/orchestration/tsconfig.json",
|
||||||
|
"./packages/core/workflows-sdk/tsconfig.spec.json",
|
||||||
|
"./packages/core/modules-sdk/tsconfig.spec.json",
|
||||||
|
"./packages/core/types/tsconfig.spec.json",
|
||||||
|
"./packages/core/utils/tsconfig.spec.json",
|
||||||
|
"./packages/core/medusa-test-utils/tsconfig.spec.json",
|
||||||
|
|
||||||
"./packages/fulfillment-manual/tsconfig.spec.json",
|
"./packages/fulfillment-manual/tsconfig.spec.json",
|
||||||
|
|
||||||
|
|||||||
@@ -1,40 +1,40 @@
|
|||||||
name: OAS Codegen Build Check - BETA
|
#name: OAS Codegen Build Check - BETA
|
||||||
on:
|
#on:
|
||||||
pull_request:
|
# pull_request:
|
||||||
paths-ignore:
|
# paths-ignore:
|
||||||
- "docs/**"
|
# - "docs/**"
|
||||||
- "www/**"
|
# - "www/**"
|
||||||
|
#
|
||||||
jobs:
|
#jobs:
|
||||||
codegen-test:
|
# codegen-test:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
env:
|
# env:
|
||||||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
||||||
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
# TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
||||||
steps:
|
# steps:
|
||||||
- name: Cancel Previous Runs
|
# - name: Cancel Previous Runs
|
||||||
uses: styfle/cancel-workflow-action@0.11.0
|
# uses: styfle/cancel-workflow-action@0.11.0
|
||||||
with:
|
# with:
|
||||||
access_token: ${{ github.token }}
|
# access_token: ${{ github.token }}
|
||||||
|
#
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
with:
|
# with:
|
||||||
fetch-depth: 0
|
# fetch-depth: 0
|
||||||
|
#
|
||||||
- name: Setup Node.js environment
|
# - name: Setup Node.js environment
|
||||||
uses: actions/setup-node@v3
|
# uses: actions/setup-node@v3
|
||||||
with:
|
# with:
|
||||||
node-version: "16.10.0"
|
# node-version: "16.10.0"
|
||||||
cache: "yarn"
|
# cache: "yarn"
|
||||||
|
#
|
||||||
- name: Install dependencies
|
# - name: Install dependencies
|
||||||
uses: ./.github/actions/cache-deps
|
# uses: ./.github/actions/cache-deps
|
||||||
with:
|
# with:
|
||||||
extension: codegen
|
# extension: codegen
|
||||||
|
#
|
||||||
- name: Build Packages - Force
|
# - name: Build Packages - Force
|
||||||
run: yarn build --force
|
# run: yarn build --force
|
||||||
|
#
|
||||||
- name: Assert latest codegen build committed
|
# - name: Assert latest codegen build committed
|
||||||
run: ./scripts/assert-codegen-build-committed-actions.sh
|
# run: ./scripts/assert-codegen-build-committed-actions.sh
|
||||||
@@ -1,38 +1,39 @@
|
|||||||
name: OAS Comments Format Validation
|
#name: OAS Comments Format Validation
|
||||||
on:
|
#on:
|
||||||
pull_request:
|
# pull_request:
|
||||||
|
#
|
||||||
jobs:
|
#jobs:
|
||||||
docs-test:
|
# docs-test:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
env:
|
# env:
|
||||||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
||||||
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
# TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
||||||
steps:
|
# steps:
|
||||||
- name: Cancel Previous Runs
|
# - name: Cancel Previous Runs
|
||||||
uses: styfle/cancel-workflow-action@0.11.0
|
# uses: styfle/cancel-workflow-action@0.11.0
|
||||||
with:
|
# with:
|
||||||
access_token: ${{ github.token }}
|
# access_token: ${{ github.token }}
|
||||||
|
#
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
with:
|
# with:
|
||||||
fetch-depth: 0
|
# fetch-depth: 0
|
||||||
|
#
|
||||||
- name: Setup Node.js environment
|
# - name: Setup Node.js environment
|
||||||
uses: actions/setup-node@v3
|
# uses: actions/setup-node@v3
|
||||||
with:
|
# with:
|
||||||
node-version: "16.10.0"
|
# node-version: "16.10.0"
|
||||||
cache: "yarn"
|
# cache: "yarn"
|
||||||
|
#
|
||||||
- name: Install dependencies
|
# - name: Install dependencies
|
||||||
uses: ./.github/actions/cache-deps
|
# uses: ./.github/actions/cache-deps
|
||||||
with:
|
# with:
|
||||||
extension: oas
|
# extension: oas
|
||||||
|
#
|
||||||
- name: Build Packages
|
# - name: Build Packages
|
||||||
run: yarn build
|
# run: yarn build
|
||||||
|
#
|
||||||
- name: Build OAS
|
# - name: Build OAS
|
||||||
run: |
|
# run: |
|
||||||
yarn openapi:generate --dry-run
|
# yarn openapi:generate --dry-run
|
||||||
|
#
|
||||||
+5
-3
@@ -5,13 +5,15 @@
|
|||||||
"packages": [
|
"packages": [
|
||||||
"packages/medusa",
|
"packages/medusa",
|
||||||
"packages/modules/*",
|
"packages/modules/*",
|
||||||
|
"packages/core/*",
|
||||||
|
"packages/cli/*",
|
||||||
|
"packages/testing/*",
|
||||||
"packages/medusa-js",
|
"packages/medusa-js",
|
||||||
"packages/medusa-react",
|
"packages/medusa-react",
|
||||||
"packages/*",
|
"packages/*",
|
||||||
"packages/admin-next/*",
|
"packages/admin-next/*",
|
||||||
"packages/design-system/*",
|
"packages/design-system/*",
|
||||||
"packages/generated/*",
|
"packages/generated/*",
|
||||||
"packages/oas/*",
|
|
||||||
"integration-tests/**/*"
|
"integration-tests/**/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -78,8 +80,8 @@
|
|||||||
"test:integration:plugins": "turbo run test:integration --concurrency=50% --no-daemon --no-cache --filter=integration-tests-plugins",
|
"test:integration:plugins": "turbo run test:integration --concurrency=50% --no-daemon --no-cache --filter=integration-tests-plugins",
|
||||||
"test:integration:modules": "turbo run test:integration:chunk --concurrency=50% --no-daemon --no-cache --filter=integration-tests-modules",
|
"test:integration:modules": "turbo run test:integration:chunk --concurrency=50% --no-daemon --no-cache --filter=integration-tests-modules",
|
||||||
"test:integration:repositories": "turbo run test:integration --concurrency=50% --no-daemon --no-cache --filter=integration-tests-repositories",
|
"test:integration:repositories": "turbo run test:integration --concurrency=50% --no-daemon --no-cache --filter=integration-tests-repositories",
|
||||||
"openapi:generate": "yarn ./packages/oas/oas-github-ci run ci --with-full-file",
|
"openapi:generate": "yarn ./packages/cli/oas/oas-github-ci run ci --with-full-file",
|
||||||
"medusa-oas": "yarn ./packages/oas/medusa-oas-cli run medusa-oas",
|
"medusa-oas": "yarn ./packages/cli/oas/medusa-oas-cli run medusa-oas",
|
||||||
"release:snapshot": "changeset publish --no-git-tags --snapshot --tag snapshot",
|
"release:snapshot": "changeset publish --no-git-tags --snapshot --tag snapshot",
|
||||||
"develop": "ts-node --transpile-only ./integration-tests/development/server.js",
|
"develop": "ts-node --transpile-only ./integration-tests/development/server.js",
|
||||||
"develop:create:db": "ts-node --transpile-only ./integration-tests/development/create-database.js",
|
"develop:create:db": "ts-node --transpile-only ./integration-tests/development/create-database.js",
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loaded 100 of 1436 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user