Skip to content

package naming and file placing #1

@nadako

Description

@nadako

Now when hxnodejs is finally released, we can discuss a bit about this extern collection.

I don't like how it's currently done here using js.node as a prefix package since it may introduce conflicts with core node modules added at some time, also I don't like the fact that one can't easily say which is node API and which is a npm module.

@clemos uses js.npm prefix which I think is better, but I don't quite like that different externs (of different quaility and by different authors) are placed in one root - it gets messy when there are lots of them, IMO.

I wonder if we can/should use separate source paths for different npm externs and somehow still be able to just do -lib hxnodelibs and then simply import js.npm.Whatever. Maybe with macro that adds class paths and is executed in extraParams.hxml?

That way extern authors can also provide README's, tests, examples, etc.

Thoughts? @clemos @ncannasse @andyli @dionjwa @fponticelli @eduardo-costa @tong @back2dos (please cc anyone i forgot)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions