[Request]: Official Library & Wrapper

Propose new features and changes
User avatar
Chunjee
Posts: 63
Joined: 18 Apr 2014, 19:05
GitHub: Chunjee

Re: [Request]: Official Library & Wrapper

06 Nov 2018, 06:25

iseahound wrote:
06 Nov 2018, 00:14
I really don't want a node_modules folder...
good news, yarn allows for a custom folder name:

Code: Select all

"scripts": {
        "newinstall": "yarn install --modules-folder ./lib"
    }
Image

Next?
User avatar
joedf
Posts: 6689
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [Request]: Official Library & Wrapper

07 Nov 2018, 00:18

Yarn :O
Never used it, is it easy and fast?
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 3.00 GHz, 16GB DDR4 3200 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
User avatar
nnnik
Posts: 3527
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: [Request]: Official Library & Wrapper

07 Nov 2018, 04:01

That only seems like a short term solution.
For long term solutions we need our own package manager.
Recommends AHK Studio
User avatar
joedf
Posts: 6689
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [Request]: Official Library & Wrapper

07 Nov 2018, 07:49

So nnnik, I can manually make an account for you on aspdm.ahkscript.org if you want to test it out :+1:
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 3.00 GHz, 16GB DDR4 3200 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
User avatar
Chunjee
Posts: 63
Joined: 18 Apr 2014, 19:05
GitHub: Chunjee

Re: [Request]: Official Library & Wrapper

07 Nov 2018, 07:54

nnnik wrote:
07 Nov 2018, 04:01
That only seems like a short term solution.
For long term solutions we need our own package manager.
I don't see the point in re-inventing the package manager wheel. I also highly doubt the likelihood of matching the quality and feature set of npm. That being said whatever works, I'm in favor of.

joedf wrote:
07 Nov 2018, 00:18
Yarn :O
Never used it, is it easy and fast?
Ultra Fast. It is faster than plain npm.
"Yarn caches every package it downloads so it never needs to download it again. It also parallelizes operations to maximize resource utilization"
User avatar
nnnik
Posts: 3527
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: [Request]: Official Library & Wrapper

07 Nov 2018, 11:30

@joedf
yeah that would be good

@Chunjee
I never said that we cannot base our package manager on anything that currently exists.
Here is a list of things yarn won't be able to do:
  • install a package globally
  • dealing with forks and several AHK versions
  • find packages that are relevant for automating specific programs/websites and watching if these automation codes are still relevant
  • installing AHK specific development tools
  • managing preprocessors
Recommends AHK Studio
User avatar
Chunjee
Posts: 63
Joined: 18 Apr 2014, 19:05
GitHub: Chunjee

Re: [Request]: Official Library & Wrapper

07 Nov 2018, 11:56

nnnik wrote:
07 Nov 2018, 11:30
  • find packages that are relevant for automating specific programs/websites and watching if these automation codes are still relevant
Hmm that sounds cool. Would love to see this with a web interface.
ahk7
Posts: 124
Joined: 06 Nov 2013, 16:35

Re: [Request]: Official Library & Wrapper

07 Nov 2018, 13:51

If it isn't a AHK authored solution I'm not using it :-) not going install a node app (yuck) or chocolatey (double yuck) for what is essentially a simple "download and copy to folder" script. It is not the managing script but how to organise/setup the library portal what matters - the rest is fairly trivial.
iseahound
Posts: 355
Joined: 13 Aug 2016, 21:04
GitHub: iseahound

Re: [Request]: Official Library & Wrapper

11 Nov 2018, 22:35

yes I also find that node and chocolatey lack the elegance of apt-get which I am perfectly fine with. pip is okay but I think the command is py-3 -m pip install <version 3 compatible python package> is annoying with version management between v2 and v3. (Since pip can refer to a v2 or v3 python module). Thank god v2.7 will be obsolete soon.
User avatar
nnnik
Posts: 3527
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: [Request]: Official Library & Wrapper

12 Nov 2018, 01:42

If you only have one python version installed you can run the pip command directly though. Pip also seems to be the closest relative when it comes to the include structure.
Recommends AHK Studio

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 5 guests