Alex Potsides

Results 532 comments of Alex Potsides

Just tried this out locally. Given this function: ```ts function foo (n: number): string | undefined { if (n > 10) { return 'ok' } } ``` I get a...

The ts config change in this PR doesn't seem to actually require return types either, only when there's a branch in the function in question that affects the return type....

See: https://github.com/ipfs/eslint-config-ipfs/pull/114

The template is coming together here: https://github.com/protocol/.github/issues/273

There are quite a few things to unpack here.. > (Missing parts) A tool for generating an index file (packument) locally for one or more versions of package This should...

Some thoughts: > $ ipfs-npm publish This will conflict with `npm publish`, since at the moment everything following `ipfs-npm` is passed to `npm`/`yarn`. Maybe we could have different commands aliased...

Interesting that npm are signing packages using their own PGP key rather than that of the package author.

I'm lacking a bit of context here but some observations... --- > Looking into js-datastore-fs and they use fast-write-atomic for writing (we do fs.writeFile) and fs.readFile for reading (like we...

> you have to remember to provide the central registry as an arg if you want to publish to the world. You can add a `registry` field to the [`publishConfig`](https://docs.npmjs.com/files/package.json#publishconfig)...

> gotta clear your local cache to get npm to hit the network I think this is a feature. 😉