chore(): Update dependencies usage (#13910)
* chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * fix for wxios 1.6 * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * push scripts * update build concurrency * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * chore(): Update dependencies usage * fixes * update yarn * fixes * fix script * Create heavy-suns-tickle.md * update changeset --------- Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4e5b318583
commit
224ab39a81
@@ -15,18 +15,18 @@
|
||||
"dependencies": {
|
||||
"@medusajs/deps": "2.11.2",
|
||||
"@medusajs/telemetry": "2.11.2",
|
||||
"boxen": "^5",
|
||||
"chalk": "^5.2.0",
|
||||
"commander": "^10.0.1",
|
||||
"inquirer": "^9.2.2",
|
||||
"boxen": "^5.0.1",
|
||||
"chalk": "^4.1.2",
|
||||
"commander": "^11.0.0",
|
||||
"inquirer": "^8.0.0",
|
||||
"nanoid": "^4.0.2",
|
||||
"node-emoji": "^2.0.2",
|
||||
"node-fetch": "^3.3.1",
|
||||
"open": "^9.1.0",
|
||||
"ora": "^6.3.0",
|
||||
"ora": "^5.4.1",
|
||||
"slugify": "^1.6.6",
|
||||
"uuid": "^9.0.0",
|
||||
"validator": "^13.9.0",
|
||||
"validator": "^13.15.20",
|
||||
"wait-on": "^7.0.1",
|
||||
"winston": "^3.9.0"
|
||||
},
|
||||
@@ -42,13 +42,13 @@
|
||||
"@types/wait-on": "^5.3.1",
|
||||
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
||||
"@typescript-eslint/parser": "^6.19.0",
|
||||
"configstore": "^6.0.0",
|
||||
"configstore": "^5.0.1",
|
||||
"eslint": "^8.40.0",
|
||||
"eslint-config-google": "^0.14.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"prettier": "^2.8.8",
|
||||
"ts-node": "^10.9.1",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@@ -43,15 +43,15 @@
|
||||
"@medusajs/deps": "2.11.2",
|
||||
"@medusajs/telemetry": "2.11.2",
|
||||
"@medusajs/utils": "2.11.2",
|
||||
"@types/express": "^4.17.17",
|
||||
"chalk": "^4.0.0",
|
||||
"configstore": "5.0.1",
|
||||
"@types/express": "^4.17.21",
|
||||
"chalk": "^4.1.2",
|
||||
"configstore": "^5.0.1",
|
||||
"dotenv": "^16.4.5",
|
||||
"execa": "^5.1.1",
|
||||
"express": "^4.21.0",
|
||||
"fs-exists-cached": "^1.0.0",
|
||||
"fs-extra": "^10.0.0",
|
||||
"glob": "^10.3.10",
|
||||
"fs-extra": "^11.1.1",
|
||||
"glob": "^10.4.5",
|
||||
"hosted-git-info": "^4.0.2",
|
||||
"inquirer": "^8.0.0",
|
||||
"is-valid-path": "^0.1.1",
|
||||
@@ -62,8 +62,8 @@
|
||||
"resolve-cwd": "^3.0.0",
|
||||
"stack-trace": "^0.0.10",
|
||||
"ulid": "^2.3.0",
|
||||
"winston": "^3.8.2",
|
||||
"yargs": "^15.3.1"
|
||||
"winston": "^3.9.0",
|
||||
"yargs": "^17.7.2"
|
||||
},
|
||||
"gitHead": "81a7ff73d012fda722f6e9ef0bd9ba0232d37808"
|
||||
}
|
||||
|
||||
@@ -14,21 +14,21 @@
|
||||
"configstore": "^5.0.1",
|
||||
"del": "^6.0.0",
|
||||
"dotenv": "^16.4.5",
|
||||
"execa": "^4.1.0",
|
||||
"execa": "^5.1.1",
|
||||
"find-yarn-workspace-root": "^2.0.0",
|
||||
"fs-extra": "^9.0.1",
|
||||
"glob": "^8.1.0",
|
||||
"fs-extra": "^11.1.1",
|
||||
"glob": "^10.4.5",
|
||||
"got": "^11.8.6",
|
||||
"lodash": "^4.17.21",
|
||||
"signal-exit": "^3.0.7",
|
||||
"verdaccio": "^4.10.0",
|
||||
"yargs": "^15.4.1"
|
||||
"verdaccio": "^5.0.0",
|
||||
"yargs": "^17.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@swc/core": "^1.7.28",
|
||||
"@swc/jest": "^0.2.36",
|
||||
"jest": "^29.7.0",
|
||||
"typescript": "^5.3.3"
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"ts-node": "^10.9.2",
|
||||
|
||||
@@ -23,11 +23,13 @@
|
||||
"devDependencies": {
|
||||
"@medusajs/types": "2.11.2",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"jest": "^29.1.0",
|
||||
"@types/lodash.mergewith": "^4.6.9",
|
||||
"@types/node": "^20.12.11",
|
||||
"jest": "^29.7.0",
|
||||
"js-yaml": "^4.1.0",
|
||||
"ts-jest": "^29.1.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "4.9.5",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.6.2",
|
||||
"uuid": "^9.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
@@ -39,11 +41,10 @@
|
||||
"@medusajs/utils": "2.11.2",
|
||||
"@readme/json-schema-ref-parser": "^1.2.0",
|
||||
"@readme/openapi-parser": "^2.4.0",
|
||||
"@redocly/cli": "^1.7.0",
|
||||
"@types/lodash": "^4.14.191",
|
||||
"commander": "^10.0.0",
|
||||
"execa": "1.0.0",
|
||||
"lodash": "^4.17.21",
|
||||
"@redocly/cli": "1.25.3",
|
||||
"commander": "^11.0.0",
|
||||
"execa": "^5.1.1",
|
||||
"lodash.mergewith": "^4.6.2",
|
||||
"openapi3-ts": "^3.1.2",
|
||||
"swagger-inline": "^6.1.0",
|
||||
"yargs": "^17.7.2"
|
||||
|
||||
@@ -6,8 +6,10 @@ import { commandWrapper } from "@redocly/cli/lib/wrapper"
|
||||
import { Command, Option, OptionValues } from "commander"
|
||||
import execa from "execa"
|
||||
import fs, { mkdir } from "fs/promises"
|
||||
import { isArray, mergeWith } from "lodash"
|
||||
import mergeWith from "lodash.mergewith"
|
||||
|
||||
import * as path from "path"
|
||||
import yargs from "yargs"
|
||||
import {
|
||||
formatHintRecommendation,
|
||||
getCircularPatchRecommendation,
|
||||
@@ -21,7 +23,6 @@ import {
|
||||
writeYaml,
|
||||
writeYamlFromJson,
|
||||
} from "./utils/yaml-utils"
|
||||
import yargs from "yargs"
|
||||
|
||||
/**
|
||||
* Constants
|
||||
@@ -201,7 +202,7 @@ const mergeConfig = async (
|
||||
: await readJson(configFileCustom)
|
||||
|
||||
const config = mergeWith(configDefault, configCustom, (objValue, srcValue) =>
|
||||
isArray(objValue) ? objValue.concat(srcValue) : undefined
|
||||
Array.isArray(objValue) ? objValue.concat(srcValue) : undefined
|
||||
) as RedoclyConfig
|
||||
|
||||
await writeYamlFromJson(configFileOut, config)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { upperCaseFirst } from "@medusajs/utils"
|
||||
import { OpenAPIObject } from "openapi3-ts"
|
||||
import { upperFirst } from "lodash"
|
||||
|
||||
export async function combineOAS(
|
||||
adminOAS: OpenAPIObject,
|
||||
@@ -71,7 +71,9 @@ function prepareOASForCombine(
|
||||
apiType: ApiType
|
||||
): OpenAPIObject {
|
||||
console.log(
|
||||
`🔵 Prefixing ${apiType} tags and operationId with ${upperFirst(apiType)}`
|
||||
`🔵 Prefixing ${apiType} tags and operationId with ${upperCaseFirst(
|
||||
apiType
|
||||
)}`
|
||||
)
|
||||
for (const pathKey in oas.paths) {
|
||||
for (const operationKey in oas.paths[pathKey]) {
|
||||
@@ -110,9 +112,9 @@ function prepareOASForCombine(
|
||||
}
|
||||
|
||||
function getPrefixedTagName(tagName: string, apiType: ApiType): string {
|
||||
return `${upperFirst(apiType)} ${tagName}`
|
||||
return `${upperCaseFirst(apiType)} ${tagName}`
|
||||
}
|
||||
|
||||
function getPrefixedOperationId(operationId: string, apiType: ApiType): string {
|
||||
return `${upperFirst(apiType)}${operationId}`
|
||||
return `${upperCaseFirst(apiType)}${operationId}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user