chore: fix OAS circular dependencies (#7693)
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
"scripts": {
|
||||
"build": "turbo run build",
|
||||
"watch": "turbo run watch",
|
||||
"lint": "turbo run lint"
|
||||
"lint": "turbo run lint",
|
||||
"generate:references": "turbo run generate:references",
|
||||
"generate:oas": "turbo run generate:oas"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.23.0",
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
"start": "node dist/index.js",
|
||||
"build": "tsc",
|
||||
"watch": "tsc --watch",
|
||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build"
|
||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
||||
"generate:oas": "yarn start run ../../../../packages/medusa/src/api --type oas && yarn start clean:oas"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
"start": "node dist/index.js",
|
||||
"build": "tsc",
|
||||
"watch": "tsc --watch",
|
||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build"
|
||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
||||
"generate:references": "yarn start generate all --merge"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
||||
+11
-1
@@ -10,6 +10,16 @@
|
||||
]
|
||||
},
|
||||
"lint": { },
|
||||
"watch": { }
|
||||
"watch": { },
|
||||
"generate:references": {
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
]
|
||||
},
|
||||
"generate:oas": {
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user