Filippo Valsorda :go: on Nostr: I'm this 🤏 close to announcing age-encryption :age: for the npm ecosystem, but I ...
I'm this 🤏 close to announcing age-encryption
for the npm ecosystem, but I can't for the life of me make ts-mocha work now.
tsc wants "foo.js" imports, while ts-mocha wants "foo" imports. AFAICT it broke when I added the required target option to tsconfig.json, so I can compile to js and publish to npm.
I'm mailing age stickers to anyone that can make it work, ideally without adding or changing 15 config options.
https://github.com/FiloSottile/age.tsPublished at
2023-08-07 13:22:05Event JSON
{
"id": "8eaf9b48882ec8215b2a73c74b69f991dfd35ae689ba3d2f6cf06045411e6de2",
"pubkey": "75c4441558d260c0ca589ce8fa89fd5052eccf0b09fca823796810a986ad1c8e",
"created_at": 1691414525,
"kind": 1,
"tags": [
[
"emoji",
"age",
"https://cdn.masto.host/abyssdomainexpert/custom_emojis/images/000/005/890/original/ad91205f22c0f1d5.png"
],
[
"proxy",
"https://abyssdomain.expert/users/filippo/statuses/110848542359630108",
"activitypub"
]
],
"content": "I'm this 🤏 close to announcing age-encryption :age: for the npm ecosystem, but I can't for the life of me make ts-mocha work now.\n\ntsc wants \"foo.js\" imports, while ts-mocha wants \"foo\" imports. AFAICT it broke when I added the required target option to tsconfig.json, so I can compile to js and publish to npm.\n\nI'm mailing age stickers to anyone that can make it work, ideally without adding or changing 15 config options.\n\nhttps://github.com/FiloSottile/age.ts",
"sig": "fb24e397a209ae44d993fb2c9507b76a1b7b9a34e3f035dc83e775ec95d5042e0a8ba6d89176b036144bf5a8588d79c851072d21a6f9eaf2ae9805284d0af63e"
}