Control: tags -1 pending
thanks

Hmmm...

I see ...
* https://github.com/npm/npm/issues/5901
* https://github.com/npm/npm/issues/3336

So package.yaml is not native part of npm packaging

* https://www.npmjs.com/package/package-yml
* https://github.com/rlidwka/yapm

These seems to enable yaml but requires new fetch and build tools.

So if you need support for package.yaml, please file a new bug report with
concrete build procedures and example.  So I can update build script etc.

Since patch is applied for the original bug, I am marking this bug as pending.

Osamu 


On Sat, 2023-10-28 at 15:34 +0900, Osamu Aoki wrote:
> Hi,
> 
> On Fri, 2023-10-27 at 20:59 +0530, Pirate Praveen wrote:
> > 
> > 
> > On 27/10/23 8:12 PM, Osamu Aoki wrote:
> > > Hi,
> ...
> > > Can you elaborate what do you mean by
> > > > Though after this it'd take some effort to edit source package name.
> > > 
> > > Maybe, we can work together to fix it.  Please understand I have no idea
> > > on
> > > the nodejs package name conventions.
> > 
> > May be looking for a package.json or package.yaml file in the source 
> > directory would be a better thing to detect a nodejs package.
> 
> 
> Currently, I have 'src/debmake/analyze.py' containing:
> 
> >     # Javascript nodejs
> >     elif os.path.isfile("package.json"):
> >         para["build_type"] = "nodejs"
> >         para["dh_with"].update({"nodejs"})
> >         para["build_depends"].update({"pkg-js-tools"})
> > 
> 
> Should I do:
>     # Javascript nodejs
>     elif os.path.isfile("package.json") or os.path.isfile("package.yaml"):
>         para["build_type"] = "nodejs"
>         para["dh_with"].update({"nodejs"})
>         para["build_depends"].update({"pkg-js-tools"})
> 
> Regards,
> 
> Osamu

Reply via email to