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.

Two package.json in project lack sufficient distinguishing documentation

See original GitHub issue

The 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:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
frangiocommented, Jul 19, 2021

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.

0reactions
fulldecentcommented, Jul 19, 2021
Read more comments on GitHub >

github_iconTop 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 >

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