Before opening PR, you need:
-
to have the code of
selfrefactor/rambda-scriptsrepo on the same level asselfrefactor/rambdaas that repo contains all of the build logic.git clone https://github.com/selfrefactor/rambda-scripts.git -
to know that the source files are:
-- located in source folder
-- TypeScript source file is located at files/index.d.ts
- Final step for any code change is
yarn outas it generates the output files.
-
If the error is in
R.foothen you need to write a test insource/foo.spec.js, that reproduces the bug. -
Change
source/foo.jsso the tests are passing. -
Run
yarn out
-
You may add a new test to
source/foo-spec.tsto reproduce the bug. -
Apply your fix to
files/index.d.ts. -
Run
yarn test:typingsto confirm your fix.
It is known that definitions of R.compose/R.pipe are far from perfect. The issue has been previously discussed but there is no obvious solution to it.
npx jsr publish
deno.json
Edit files/index.d.ts and make the fix.
use // @ts-expect-error when you write a test that is expected to fail.
It runs prebuild process that includes building documentation and dist folder.