Description
This issue tracks updating the licensing across the metamask-design-system monorepo and improving the create-package script to reflect the updated licensing requirements for open-source projects.
Context
- Legal has recommended using the following dual licensing model for open-source projects:
- An example of this licensing setup can be found in the
auto-changelog project, including:
- The dual-license entry in
package.json.
- The inclusion of two license files in the repository root:
LICENSE-MIT and LICENSE-APACHE.
Requirements
- Update the
create-package script's module template to use this new licensing model.
- Update all existing license information in the monorepo to conform to the new licensing model.
Technical Details
Acceptance Criteria
- The
create-package script generates packages with:
"license": "MIT OR Apache-2.0" in package.json.
- Both
LICENSE-MIT and LICENSE-APACHE files included.
- All existing packages in the
metamask-design-system monorepo are updated with the new dual-license model.
- Licensing files in the monorepo root are consistent with the
auto-changelog example.
- Documentation is updated to reflect the licensing changes.
References
Description
This issue tracks updating the licensing across the
metamask-design-systemmonorepo and improving thecreate-packagescript to reflect the updated licensing requirements for open-source projects.Context
auto-changelogproject, including:package.json.LICENSE-MITandLICENSE-APACHE.Requirements
create-packagescript's module template to use this new licensing model.Technical Details
Step 1: Update
create-packageScriptcreate-packagescript to:"license": "MIT OR Apache-2.0"to the generatedpackage.jsonfiles.LICENSE-MITLICENSE-APACHEStep 2: Update Existing Packages
package.jsonfiles across the monorepo to include"license": "MIT OR Apache-2.0".LICENSE-MITandLICENSE-APACHEfiles to the root of the monorepo.Step 3: Documentation
auto-changelogproject.create-packagedocumentation to highlight the new licensing model for future maintainers.Acceptance Criteria
create-packagescript generates packages with:"license": "MIT OR Apache-2.0"inpackage.json.LICENSE-MITandLICENSE-APACHEfiles included.metamask-design-systemmonorepo are updated with the new dual-license model.auto-changelogexample.References
auto-changelog