Skip to content

Commit

Permalink
9.0.0 Sync lenses typings (#715)
Browse files Browse the repository at this point in the history
* split for.each

* prepare x release

* chore@small

* chore@small

* chore@small

* chore@small

* chore@small

* fix@issue #710

* add gte

* chore@small

* chore@small

* add typings

* start reduce by

* chore@small

* fix@issue #714 sync types

* chore@small

* feat@inner.join

* feat@build

* fix test

* chore@small

* chore@small

* chore@small

* chore@small

* chore@small

* chore@small

* chore@small

* feat@fix

* chore@small

* chore@small

---------

Co-authored-by: Deyan Totev <deyan.totev.extern@seven.one>
  • Loading branch information
selfrefactor and Deyan Totev authored Jan 16, 2024
1 parent fbb3b3e commit fc0c0db
Show file tree
Hide file tree
Showing 50 changed files with 1,936 additions and 1,300 deletions.
661 changes: 305 additions & 356 deletions .github/README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"type": "node",
"request": "launch",
"name": "Current Test File",
"name": "Test File(current)",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"args": [
"--verbose",
Expand Down
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
9.0.0

Breaking change in TS definitions of `lenses` as now they are synced to `Ramda` types.

- Add `R.sortWith` - [Issue #707](https://github.com/selfrefactor/rambda/issues/707)

- Add `R.innerJoin`, `R.gt`, `R.gte`, `R.reduceBy`, `R.hasIn`

8.6.0

- Wrong typing for `R.dissocPath` - [Issue #709](https://github.com/selfrefactor/rambda/issues/709)

- Add `R.sortWith` - [Issue #7097](https://github.com/selfrefactor/rambda/issues/707)

- Update build dependencies

8.5.0
Expand Down
98 changes: 82 additions & 16 deletions NEXT_VERSION_CHECKLIST.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,69 @@


---
https://developer.mozilla.org/en-US/docs/Web/API/structuredClone
---
REFS:

- forEachObjIndexed should not contain source file nor test file
---

---
such types as `SortObjectPredicate` need to be exported
---
in js project like niketa theme, go to source lead to readable code, is ramda the same?

what about ts react
---
add motivation

optimize above the fold
---
include new methods to method to skip list
---
issue with gh release
---
throttle should accept 0 arguments, i.e. no need to force unary function
---
splitWith
R.pickWith
R.pickAllWith - maybe
---
wont do
include standut x methods to rambda

in js project like niketa theme, go to source lead to readable code, is ramda the same?
such as

fix https://github.com/selfrefactor/rambdax/issues/93
sortObject
---
R.findInObject
---
restore maptoobject x@2.1.0

why mapObject is not same
---
REFS:

- forEachObjIndexed should not contain source file nor test file
---

release X

no need to test curried methods such as replace

automate deno release

deno is advantage as Ramda last release is 3 years ago
---
no testing curry when method is exporting curried function
in js project like niketa theme, go to source lead to readable code, is ramda the same?

what about ts react
---

fix https://github.com/selfrefactor/rambdax/issues/93

---
group TS test for similar methods

eventual create additional topic in methods - related methods, so it is easy to find tests as the first one alpabetically is the one containing all TS tests
---
- construct - it is class helper and classes are not very functional oriented
- constructN

- gt
- gte
- hasIn

- innerJoin
- insert
- insertAll
- into
Expand Down Expand Up @@ -67,7 +97,6 @@ eventual create additional topic in methods - related methods, so it is easy to
- project
- promap

- reduceBy
- reduceRight
- reduceWhile
- reduced
Expand Down Expand Up @@ -119,4 +148,41 @@ replace missing ramda methods with text that argument is missing
===
publish after march 2024

export function anyPass<T, U extends T[]>(predicates: { [K in keyof U]: (x: T) => x is U[K]; }): (input: T) => input is U[number];
export function anyPass<T, U extends T[]>(predicates: { [K in keyof U]: (x: T) => x is U[K]; }): (input: T) => input is U[number];
===
from bookmarks:

https://arethetypeswrong.github.io/?p=ramda%400.29.1
https://github.com/selfrefactor/rambda/issues/638
https://github.com/ramda/ramda/pull/3430/files
https://github.com/thi-ng/umbrella/blob/develop/packages/arrays/src/ends-with.ts
https://docs.retool.com/workflows/guides/blocks/javascript
https://snyk.io/advisor/npm-package/ramda
https://github.com/rogerfar/curray/blob/master/src/index.ts
https://radash-docs.vercel.app/docs/typed/is-symbol
https://radash-docs.vercel.app/docs/async/defer
https://radash-docs.vercel.app/docs/array/counting
https://www.matthewtao.com/blog/post/ramda-curry-by-source-code

can wait:

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/59219/files
https://github.com/ramda/ramda/pull/3270
https://tutorial.docusaurus.io/docs/tutorial-basics/create-a-page
https://www.reddit.com/r/typescript/comments/10cw9ju/ramda_and_typescript_issues/
https://ramdajs.com/docs/#ascend
https://vitepress.dev/
https://vitepress.dev/guide/getting-started
https://github.com/unional/type-plus/blob/main/type-plus/ts/functional/compose.spec.ts
https://github.com/MathisBullinger/froebel/blob/main/pipe.test.ts
https://github.com/tinylibs/tinybench
https://github.com/gustavoguichard/string-ts/blob/main/src/primitives.ts
https://github.com/ramda/ramda/pull/3376/files

frozen:

https://devblogs.microsoft.com/typescript/announcing-typescript-4-7-rc/#package-json-exports-imports-and-self-referencing
https://github.com/flybondi/ramda-land/blob/master/src/rename-keys.js
https://ramdajs.com/docs/#collectBy
https://ramdajs.com/docs/#thunkify
https://github.com/ts-essentials/ts-essentials/blob/master/lib/any-array/index.ts
Loading

0 comments on commit fc0c0db

Please sign in to comment.