Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

apm confused from package with similar names #53

Closed
j3k0 opened this issue Sep 24, 2021 · 1 comment
Closed

apm confused from package with similar names #53

j3k0 opened this issue Sep 24, 2021 · 1 comment

Comments

@j3k0
Copy link
Contributor

j3k0 commented Sep 24, 2021

In our apm repo, I have 2 packages named feathersui-source and feathersui-starling-compat.

feathersui-starling-compat@1.0.0 has a dependency over feathersui-source@4.1.1

My project already has feathersui-source installed.

When I try to install feathersui-starling-compat it wouldn't do it, because feathersui-source version is larger that featherui-starling-compat version (which makes no sense, so I guess it's just confused).

$ apm install feathersui-starling-compat
feathersui-starling-compat@1.0.0
Already installed: feathersui-source@4.1.1 [fovea] >= 1.0.0

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": ["feathersui-source@4.1.1", "starling-source:2.7.0"],
  "parameters": [],
  "tags": ["components", "gui", "starling", "ui", "widgets"]
}
@marchbold
Copy link
Contributor

Please follow the guide on package identifiers. A hyphen indicates a variant.

https://github.com/airsdk/apm/wiki/Usage-CreatingPackages#identifier

@airsdk airsdk locked and limited conversation to collaborators Sep 24, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants