diff --git a/package.json b/package.json index dbc4f3b140..ca963bab1b 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ ], "scripts": { "lint": "yarn prettier --write .", - "generate": "PACKAGE_VERSION='4.11.0' yarn openapi-generator-cli generate --generator-key client && cp -R ./complement ./output/ && yarn lint && yarn install", + "generate": "PACKAGE_VERSION='4.11.0' yarn openapi-generator-cli generate --generator-key client && ln -fs \"$(pwd)/complement\" \"$(pwd)/output/\" && yarn lint && yarn install", "build:spec": "yarn swagger-cli bundle openapi_spec/spec.yml --outfile dist/openapi.yml --type yaml", "client:build": "cd output/ && yarn install && yarn build && cd ..", "client:test": "yarn install && tsc && node dist/app.js",