IronCoreLabs / IronCoreLabs/recrypt-node-binding

Introduce Typescript build process, generate types

Open
#76 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
24
Forks
6
Avg merge
2d 50m
Merged PRs (30d)
2

Description

Now that there is a manually written `index.js` as the entrypoint, we're duplicating a lot of work between `index.js` and `index.d.ts` that is error prone. Write an `index.ts` that replaces both in the repo, and a build process that produces both of the original files for NPM packaging.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the existing index.js and index.d.ts entrypoint files, then determine how an index.ts can replace them while preserving the package interface. Define the build process around generating both original files for NPM packaging; done means the generated outputs match the package's required entrypoints.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.