Comments (4)
If still keep in dependencies, I have a package need "commander" with version "1.0.0", and in po2json is version 2.18.0, when I run npm install --production, it will install 2.18.0 and 1.0.0 form my project. And will get risk for my project.
If you are using both versions in your project, both will be installed. The risk would be install one only. You need to go ahead with one of both if you want to remove the redundancy: upgrade your commander-dependent code in your project in order to use 2.18.0 only or stop using po2json because does not meet your dependencies versions.
I felt a little weird removing the dependencies entirely, but I added some to peer dependencies in the latest beta.
Sorry @mikeedwards, but I'm getting always the next warning message installing po2json:
warning " > [email protected]" has unmet peer dependency "commander@^6.0.0".
warning " > [email protected]" has unmet peer dependency "[email protected]".
warning " > [email protected]" has unmet peer dependency "[email protected]".
This redundancy in the dependencies of the project doesn't have any sense. Are peer or normal dependencies? Please, consider remove peerDependencies
in package.json
. I think that this change has been a misconception of what peer dependencies are.
from po2json.
I felt a little weird removing the dependencies entirely, but I added some to peer dependencies in the latest beta. Let me know if that helps you @ryouaki
from po2json.
I felt a little weird removing the dependencies entirely, but I added some to peer dependencies in the latest beta. Let me know if that helps you
Thank you for your replay , yes it will help me and fix my problem.
from po2json.
I saw your change, But I think move to peer dependencies is better。
If still keep in dependencies, I have a package need "commander" with version "1.0.0", and in po2json is version 2.18.0, when I run npm install --production, it will install 2.18.0 and 1.0.0 form my project. And will get risk for my project.
from po2json.
Related Issues (20)
- A new stable version needed! HOT 3
- Invalid 'main' key HOT 4
- Invalid 'main' field in Node 16 HOT 1
- Fuzzy entries are ignored HOT 1
- Headers are output in inconsistent order HOT 1
- Error converting some files
- Using msgctxt HOT 8
- PO AJAX response 2 JSON? HOT 1
- Jed converting error HOT 4
- fuzzy and comments in po disappear on json. HOT 3
- Why is null added as the first entry in the translations? HOT 10
- Licensing issues HOT 4
- Version 1 alpha taged as latest in NPM breaks stuff HOT 2
- [1-alpha] Over escaping braces HOT 5
- .po -> Module parse failed HOT 1
- Invalid executable file `bin/po2json` which bundled npm package HOT 2
- npm WARN deprecated [email protected] HOT 2
- Different output in some languages when there is semicolon in header HOT 1
- `mf` format can't handle plurals HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from po2json.