Bugzilla – Attachment 174789 Details for
Bug 38424
Upgrade redocly/cli to the latest release
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38424: Upgrade redoclyly/cli version to latest stable
Bug-38424-Upgrade-redoclylycli-version-to-latest-s.patch (text/plain), 2.68 KB, created by
Jonathan Druart
on 2024-11-19 13:05:27 UTC
(
hide
)
Description:
Bug 38424: Upgrade redoclyly/cli version to latest stable
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-11-19 13:05:27 UTC
Size:
2.68 KB
patch
obsolete
>From 12cd5953bd22fcc62f69fdd0cf36a9b68cb677a6 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 12 Nov 2024 13:44:55 +0000 >Subject: [PATCH] Bug 38424: Upgrade redoclyly/cli version to latest stable >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch updates the used version of redocly/cli to the latest stable. > >To test: >1. Apply this patch >2. Run: > $ ktd --shell > k$ yarn api:bundle >=> FAIL: You get > >``` >yarn run v1.22.22 >$ redocly bundle --ext json api/v1/swagger/swagger.yaml --output api/v1/swagger/swagger_bundle.json > > ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > â â > â A new version of Redocly CLI (1.25.11) is available. â > â Update now: `npm i -g @redocly/cli@latest`. â > â Changelog: https://redocly.com/docs/cli/changelog/ â > â â > ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ > >bundling api/v1/swagger/swagger.yaml... >ð¦ Created a bundle for api/v1/swagger/swagger.yaml at api/v1/swagger/swagger_bundle.json 207ms. >Done in 1.34s. >``` > >3. Apply this patch >4. Run: > k$ sudo yarn install --modules-folder /kohadevbox/node_modules >5. Repeat 2: >=> SUCCESS: You get > >``` >yarn run v1.22.22 >$ redocly bundle --ext json api/v1/swagger/swagger.yaml --output api/v1/swagger/swagger_bundle.json >bundling api/v1/swagger/swagger.yaml... >ð¦ Created a bundle for api/v1/swagger/swagger.yaml at api/v1/swagger/swagger_bundle.json 200ms. >Done in 1.29s. >``` > >6. Restart plack and check the API loads without issues: > k$ koha-plack --restart kohadev; tail -f /var/log/koha/kohadev/*.log >7. Run the tests: > k$ prove -r t/db_dependent/api/ >=> SUCCESS: No failures >8. Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > package.json | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/package.json b/package.json >index 29fccad4686..1040420d1c5 100644 >--- a/package.json >+++ b/package.json >@@ -13,7 +13,7 @@ > "@fortawesome/free-solid-svg-icons": "^6.0.0", > "@fortawesome/vue-fontawesome": "^3.0.0-5", > "@popperjs/core": "^2.11.6", >- "@redocly/cli": "^1.11.0", >+ "@redocly/cli": "^1.25.11", > "@vue/cli-service": "^5.0.1", > "babel-core": "^7.0.0-beta.3", > "bootstrap": "^5.3.3", >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38424
:
174414
| 174789