question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proposal: publish service and library seperately

See original GitHub issue

I am currently working on adding the library part of polyfill-service on a project and running into some difficulties with deploying my work due to compilation issues around node-zopfli - although my code and the polyfill-service code I want to use do not actually need it.

project@1.0.0 ~/project
└─┬ polyfill-service@3.20.2
  └─┬ shrink-ray@0.1.3 # imported at service/index.js#7
    └── node-zopfli@1.4.0 

Diving into the source I noticed dependencies for both the polyfill.io service and the underlying are managed in one manifest file. Also, both parts are published via the same npm package.

I propose splitting service and library into distinct packages like this to avoid installing the sum of all dependencies of all sub projects at every dependent.

packages
├── polyfill-service # publishes to polyfill-service
└── polyfill-library # publishes to polyfill-library

polyfill-service would depend on polyfill-library and expose it to maintain backward compat for the time being. Interested consumers could install polyfill-library and avoid the dependencies of polyfill-service this way. Also this would lend itself to new interfaces to the logic of polyfill-library - think polyfill-cli.

The entire thing could be managed via lerna. I’be happy to lend a hand. Thoughts?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
JakeChampioncommented, Jan 22, 2019
0reactions
marioneblcommented, Sep 4, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Publish Your Book with ACRL - American Library Association
You're invited to share your research, ideas, and scholarly thinking with the academic library community through an ACRL book publication. The Proposal Process....
Read more >
The Content Repository: An Essential Tool to Develop ...
Keeping your boilerplate and past proposal submissions libraries separate from one another helps keep content clean and organized. As ...
Read more >
Start Here: How to Write a Book Proposal + ... - Jane Friedman
Book proposals are used to sell nonfiction books to publishers. A book proposal argues why your book (idea) is salable and marketable in ......
Read more >
5 tips to make proposal content library management easy
A proposal content library is a centralized location where RFP response ... Take care to review several old proposals together, the language ...
Read more >
Submitting a Book Proposal - MIT Press
The guidelines below offer general suggestions for the preparation of publication proposals, but you should check with the editor by sending an inquiry ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found