aegir
aegir copied to clipboard
feat: support aegir.ts config file
also tested against ipfs-shipyard/pinning-service-compliance by running
npm run build
npm pack
mv aegir-37.0.18.tgz ~/Downloads
cd /Users/sgtpooki/code/work/protocol.ai/ipfs/pinning-service-compliance/pinning-service-compliance
npm install -S ~/Downloads/aegir-37.0.18.tgz
# converted .aegir.js to .aegir.ts, then...
> npm run test
> @ipfs-shipyard/[email protected] test
> aegir lint
[17:16:29] eslint [started]
=============
WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
You may find that it works just fine, or you may not.
SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.5.0
YOUR TYPESCRIPT VERSION: 4.6.4
Please only submit bug reports when using the officially supported version.
=============
[17:16:31] eslint [completed]
[17:16:31] tsc [started]
[17:16:32] tsc [completed]
> npm run build
> @ipfs-shipyard/[email protected] build
> aegir build
[17:17:50] tsc [started]
[17:17:51] tsc [completed]
[17:17:51] esbuild [started]
[17:17:52] esbuild [completed]
Added support for no-extension files, e.g. .aegir
that attempt to load as ESM and then TS.
pushed the new tests, but it's currently failing with the error specified above.
closing this for now because I don't have the bandwidth to take this on