-
In our apm repo, I have 2 packages named
My project already has When I try to install
feathersui-starling-compat/package.json {
"id": "feathersui-starling-compat",
"name": "Feathers Starling Compat",
"url": "https://github.com/BowlerHatLLC/feathersui-starling-compat",
"docUrl": "https://github.com/BowlerHatLLC/feathersui-starling-compat",
"description": "Backwards compatibility library to assist migration from Feathers 2.x to Feathers 3.x",
"type": "src",
"version": "1.0.0",
"sourceUrl": "https://github.com/j3k0/feathersui-starling-compat/releases/download/v1.0.0/feathersui-starling-compat_1.0.0.airpackage",
"dependencies": ["[email protected]", "starling-source:2.7.0"],
"parameters": [],
"tags": ["components", "gui", "starling", "ui", "widgets"]
} |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Please follow the guide on package identifiers. A hyphen indicates a variant. https://github.com/airsdk/apm/wiki/Usage-CreatingPackages#identifier |
Beta Was this translation helpful? Give feedback.
-
OK. Maybe the variant thing could be more explicit? See how Joshua is maintaining 2 mostly identical package.json files: https://github.com/feathersui/feathersui-starling There could be a single {
"id": "feathersui",
"name": "feathersui",
"url": "https://feathersui.com/as3-starling/",
"docUrl": "https://feathersui/api-reference/",
"description": "Cross-platform user interface components for creative frontend projects built with Starling",
"variants": [{
"type": "swc",
"sourceUrl": "https://github.com/feathersui/feathersui-starling/releases/download/v4.2.0/feathersui_4.2.0.airpackage",
}, {
"name": "source",
"type": "src",
"sourceUrl": "https://github.com/feathersui/feathersui-starling/releases/download/v4.2.0/feathersui-source_4.2.0.airpackage",
}],
"version": "4.2.0",
"dependencies": ["starling:2.7.0"],
"parameters": [],
"tags": ["components", "gui", "starling", "ui", "widgets"]
} |
Beta Was this translation helpful? Give feedback.
-
Another question regarding variants and dependencies. I see that |
Beta Was this translation helpful? Give feedback.
Please follow the guide on package identifiers. A hyphen indicates a variant.
https://github.com/airsdk/apm/wiki/Usage-CreatingPackages#identifier