What if the files in package to be patched are minified?

Open
#592 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Quiet
Tech stack
javascript, nodejs
Domain
tooling

Research direction

Start by reading the patch-package README and reviewing the reported swagger-ui package contents, especially its minimized dist/ files. Confirm what guidance is currently missing for packages distributed this way; done means the README clearly explains whether and how such packages can be patched.

Written by the indexing model from the issue text.

Description

I was hoping to use patch-package to apply a small patch to swagger-ui since there is a fix that we need that nobody is getting around to merging. When I look at contents of node_modules/swagger-ui/, however, there are only minimized files in dist/ , so I'm not sure how I would patch that or whether it's even reasonable to try.

Is this a typical situation, or is swagger-ui breaking a norm by including only dist files?

Am I just missing some bit of common knowledge around this that could be added to the README for patch-package to help me and others who are missing that bit of knowledge?

Thanks for any help.

Dominant language
TypeScript
Stars
11.2k
Forks
325
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ds300/patch-package

All issues in ds300/patch-package

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.