Most of the Atlaskit is licensed with Apache 2.0 License. I'm trying to figure out how Atlaskit is supposed to be used without accepting Atlassian Design Guidelines License which is used for packages @atlaskit/icon, @atlaskit/icon-file-type and @atlaskit/icon-object.
I'm fully aware that I need to re-create alternative icons and themes and I'm fine with that. However, when I create package.json and run npm install I get those packages when I include following dependencies:
...
"dependencies": {
"@atlaskit/editor-core": "^120",
"@atlaskit/media-core": "^31",
"@atlaskit/smart-card": "^13",
...
How can I pass my own implementation to be used instead of ADG licensed default @atlaskit/icon from npmjs.com?
Forking the whole Atlaskit package tree just to modify dependencies to override these 3 packages is obviously possible but is there a better way? It seems that npm-force-resolutions can do something like this but as far as I know, it only allows replacing the dependency version number so I could simply select which official implementation of e.g. @atlaskit/icon I would like to use but that doesn't allow changing to totally different implementation.
I would prefer something that I can save in main level package.json (or in a file next to it) where I require other atlaskit dependencies. I'm using node v12 in case it makes a difference. I don't need to support any lesser version but I'd like to be compatible with v14, too.
from How to use alternative implementation for npm packages to use Atlaskit with Apache license only
No comments:
Post a Comment