This is a test run of the entropic
federated package manager.
https://github.com/entropic-dev/entropic
-
Installed
ds
: https://github.com/entropic-dev/entropic/blob/master/docs/installing/README.md -
Ran
ds login
: this created an~/.entropicrc
. I had to modify mine by prepending the line:registry="https://registry.entropic.dev"
-
Created Package.toml: I then manually copied and pasted the provided
Package.toml
and prefixed the dependencies withregistry.
, e.g.:[dependencies] "[email protected]/figgy-pudding" = "^3.5.1"
-
Looked at dependencies via
ds packages
, https://registry.entropic.dev/v1/packages, https://registry.entropic.dev/v1/packages/package/[email protected]/chalk -
Added the
chalk
dependency. -
Ran
ds build
: this created ads
dir and anode_modules
subdir. -
Created
program.js
. -
Ran
node program.js
; it worked ๐ -
Ran
ds publish
; it told me I didn't have permissions forentropic.dev
, so I modifiedPackage.toml
to point toregistry.entropic.dev
instead. Thends publish
again, it redirected me to create another login token. I did that, thends publish
succeeded and my package now shows up atds packages
๐๐๐