fix(medusa-oas-cli, oas-github-ci): updated paths to docs directories following monorepo reorganization (#7245)

* fix(medusa-oas-cli, oas-github-ci): updated paths to docs directories following monorepo reorganization

* revert change to workspaces

* change oas in workspaces

* revert change in test script
This commit is contained in:
Shahed Nasser
2024-05-06 16:15:38 +03:00
committed by GitHub
parent 4e12168dbd
commit 651b953db7
9 changed files with 2168 additions and 225 deletions

View File

@@ -9,7 +9,7 @@ const isDryRun = process.argv.indexOf("--dry-run") !== -1
const withFullFile = process.argv.indexOf("--with-full-file") !== -1
const v2 = process.argv.indexOf("--v2") !== -1
const basePath = path.resolve(__dirname, `../`)
const repoRootPath = path.resolve(basePath, `../../../`)
const repoRootPath = path.resolve(basePath, `../../../../`)
const docsApiPath = v2 ? path.resolve(repoRootPath, "www/apps/api-reference/specs-v2") :
path.resolve(repoRootPath, "www/apps/api-reference/specs")