Two package.json in project lack sufficient distinguishing documentation
See original GitHub issueThe project includes /package.json and /contracts/package.json and publishes @openzeppelin/contracts
and openzeppelin-solidity
respectively. I’m sure there is some good, well-thought-out reason for this.
The two files contribute the same description
of Secure Smart Contract library for Solidity
and look mostly the same inside.
To improve maintainability of these two files, some note should be added inside (e.g. "note":
) each describing the difference between the two files or where responsibility of one ends and the other starts.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
What to do with two package.json files in a react project
json newly created, I recommend deleting them and installing the package again in the frontend project directory.
Read more >Guide to managing npm packages in your package.json
Learning the npm commands of how to install or upgrade packages isn't hard. ... Make sure the documentation is clear enough to you....
Read more >Modules: Packages | Node.js v19.3.0 Documentation
json file, two fields can define entry points for a package: "main" and "exports" . Both fields apply to both ES module and...
Read more >package.json - npm Docs
json are the name and version fields as they will be required. The name and version together form an identifier that is assumed...
Read more >package.json vs package-lock.json: Major Differences
The package for your project. json is the primary format for configuring and describing how to communicate with and execute your application.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I did not mean identical in every way… The files cannot be identical. The contracts on npm are the same in both packages. There are differences that are not of substance.
Please don’t make any changes to the package.json files.
The two files are not currently identical
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/package.json https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/package.json
Shall I update one to equal the other? Which one shall keep?