mirror of
https://github.com/valitydev/swag-wallets.git
synced 2024-11-06 02:45:19 +00:00
Update dependency swagger-ui to v4 (#25)
* Update dependency swagger-ui to v4 * Update dependency swagger-ui to v4 * Disable sed step in build.js Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Pavel Popov <popoffpavel@yandex.ru>
This commit is contained in:
parent
8eabda3649
commit
b18abbde69
1849
package-lock.json
generated
1849
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -12,7 +12,7 @@
|
||||
"portfinder": "1.0.28",
|
||||
"shelljs": "0.8.5",
|
||||
"swagger-repo": "1.5.1",
|
||||
"swagger-ui": "2.2.10"
|
||||
"swagger-ui": "4.10.3"
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
@ -29,4 +29,4 @@ APIS.forEach(function (api) {
|
||||
var SWAGGER_UI_DIST = Path.dirname(require.resolve('swagger-ui'));
|
||||
rm('-rf', TARGET_DIR + '/swagger-ui/')
|
||||
cp('-R', SWAGGER_UI_DIST, TARGET_DIR + '/swagger-ui/')
|
||||
sed('-i', 'http://petstore.swagger.io/v2/swagger.json', '../swagger.json', TARGET_DIR + '/swagger-ui/index.html')
|
||||
// sed('-i', 'http://petstore.swagger.io/v2/swagger.json', '../swagger.json', TARGET_DIR + '/swagger-ui/index.html')
|
||||
|
Loading…
Reference in New Issue
Block a user