Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(*): main field in package.json to reference index.js correctly #36

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

polymath-eric
Copy link
Collaborator

@polymath-eric polymath-eric commented Mar 16, 2023

Description

By adding main in the projects package.json, nx will use the proper reference in final package, while looking at src when developing.

I noticed the warning come up when I was trying various build things, so I figured I should fix this.

I also added a repository reference as seen here. I looked at a polkadot package for the format. I saw lib grading tool dock marks for not having it. Probably something we should add in other repos as well.

Breaking Changes

None

JIRA Link

DA-547

Checklist

  • Updated the Readme.md (if required) ?

@sonarcloud
Copy link

sonarcloud bot commented Mar 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@polymath-eric polymath-eric merged commit 66e8c44 into main Mar 17, 2023
@polymath-eric polymath-eric deleted the fix-package-main branch March 17, 2023 13:00
@prashantasdeveloper
Copy link
Collaborator

🎉 This PR is included in version @polymeshassociation/signing-manager-types@1.2.2 🎉

The release is available on:

prashantasdeveloper pushed a commit that referenced this pull request Mar 17, 2023
## [1.1.4](https://github.com/PolymeshAssociation/signing-managers/compare/@polymeshassociation/browser-extension-signing-manager@1.1.3...@polymeshassociation/browser-extension-signing-manager@1.1.4) (2023-03-17)

### Bug Fixes

* **browser-extension-signing-manager:** ⬆️ update @polymeshassociation/signing-manager-types to 1.2.2 [skip ci] ([f7f6445](f7f6445))
* main field in package.json to reference index.js correctly ([#36](#36)) ([66e8c44](66e8c44))
@prashantasdeveloper
Copy link
Collaborator

🎉 This PR is included in version @polymeshassociation/browser-extension-signing-manager@1.1.4 🎉

The release is available on:

prashantasdeveloper pushed a commit that referenced this pull request Mar 17, 2023
## [1.1.7](https://github.com/PolymeshAssociation/signing-managers/compare/@polymeshassociation/hashicorp-vault-signing-manager@1.1.6...@polymeshassociation/hashicorp-vault-signing-manager@1.1.7) (2023-03-17)

### Bug Fixes

* **hashicorp-vault-signing-manager:** ⬆️ update @polymeshassociation/signing-manager-types to 1.2.2 [skip ci] ([4f90c6f](4f90c6f))
* main field in package.json to reference index.js correctly ([#36](#36)) ([66e8c44](66e8c44))
@prashantasdeveloper
Copy link
Collaborator

🎉 This PR is included in version @polymeshassociation/hashicorp-vault-signing-manager@1.1.7 🎉

The release is available on:

prashantasdeveloper pushed a commit that referenced this pull request Mar 17, 2023
## [1.0.4](https://github.com/PolymeshAssociation/signing-managers/compare/@polymeshassociation/fireblocks-signing-manager@1.0.3...@polymeshassociation/fireblocks-signing-manager@1.0.4) (2023-03-17)

### Bug Fixes

* **fireblocks-signing-manager:** ⬆️ update @polymeshassociation/signing-manager-types to 1.2.2 [skip ci] ([df156e1](df156e1))
* main field in package.json to reference index.js correctly ([#36](#36)) ([66e8c44](66e8c44))
@prashantasdeveloper
Copy link
Collaborator

🎉 This PR is included in version @polymeshassociation/fireblocks-signing-manager@1.0.4 🎉

The release is available on:

prashantasdeveloper pushed a commit that referenced this pull request Mar 17, 2023
## [1.0.6](https://github.com/PolymeshAssociation/signing-managers/compare/@polymeshassociation/approval-signing-manager@1.0.5...@polymeshassociation/approval-signing-manager@1.0.6) (2023-03-17)

### Bug Fixes

* **approval-signing-manager:** ⬆️ update @polymeshassociation/signing-manager-types to 1.2.2 [skip ci] ([aff71f2](aff71f2))
* main field in package.json to reference index.js correctly ([#36](#36)) ([66e8c44](66e8c44))
@prashantasdeveloper
Copy link
Collaborator

🎉 This PR is included in version @polymeshassociation/approval-signing-manager@1.0.6 🎉

The release is available on:

prashantasdeveloper pushed a commit that referenced this pull request Mar 17, 2023
## [1.4.2](https://github.com/PolymeshAssociation/signing-managers/compare/@polymeshassociation/local-signing-manager@1.4.1...@polymeshassociation/local-signing-manager@1.4.2) (2023-03-17)

### Bug Fixes

* **local-signing-manager:** ⬆️ update @polymeshassociation/signing-manager-types to 1.2.2 [skip ci] ([123f154](123f154))
* main field in package.json to reference index.js correctly ([#36](#36)) ([66e8c44](66e8c44))
@prashantasdeveloper
Copy link
Collaborator

🎉 This PR is included in version @polymeshassociation/local-signing-manager@1.4.2 🎉

The release is available on:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants