Skip to content

Commit

Permalink
fixing dependencies to support yarn2 strict mode
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Zelenetskiy <[email protected]>
  • Loading branch information
zemd committed Dec 21, 2020
1 parent 883e9b3 commit 6a9d2e1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ benchmark/dist
# Docs preview
docs/_loopback.io/
docs/_preview/

# IDE files
/.idea
2 changes: 1 addition & 1 deletion packages/cli/generators/openapi/spec-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

'use strict';
const chalk = require('chalk');
const SwaggerParser = require('swagger-parser');
const SwaggerParser = require('@apidevtools/swagger-parser');
const swagger2openapi = require('swagger2openapi');
const {debugJson, cloneSpecObject} = require('./utils');
const {generateControllerSpecs} = require('./spec-helper');
Expand Down
4 changes: 3 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"access": "public"
},
"dependencies": {
"@apidevtools/swagger-parser": "^10.0.2",
"@lerna/project": "^3.21.0",
"@openapi-contrib/openapi-schema-to-json-schema": "^3.0.4",
"@phenomnomnominal/tsquery": "^4.1.1",
Expand All @@ -19,6 +20,7 @@
"debug": "^4.3.1",
"fs-extra": "^9.0.1",
"glob": "^7.1.6",
"inquirer": "^7.3.3",
"inquirer-autocomplete-prompt": "^1.3.0",
"json5": "^2.1.3",
"latest-version": "^5.1.0",
Expand All @@ -27,6 +29,7 @@
"minimist": "^1.2.5",
"mkdirp": "^1.0.4",
"natural-compare": "^1.4.0",
"openapi-types": "^7.0.1",
"pacote": "^11.1.13",
"pluralize": "^8.0.0",
"regenerate": "^1.4.2",
Expand All @@ -35,7 +38,6 @@
"spdx-license-list": "^6.3.0",
"stringify-object": "^3.3.0",
"strong-globalize": "^6.0.5",
"swagger-parser": "^10.0.2",
"swagger2openapi": "^7.0.4",
"tabtab": "^3.0.2",
"terminal-link": "^2.1.1",
Expand Down
1 change: 1 addition & 0 deletions packages/openapi-v3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"@loopback/core": "^2.13.1"
},
"dependencies": {
"@loopback/repository": "^3.3.0",
"@loopback/repository-json-schema": "^3.2.0",
"debug": "^4.3.1",
"http-status": "^1.5.0",
Expand Down

0 comments on commit 6a9d2e1

Please sign in to comment.