Skip to content

Commit

Permalink
chore: add 0.15.x in allowBranch for lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
vanya2h committed Aug 18, 2023
1 parent 59b58b1 commit c482543
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
26 changes: 12 additions & 14 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"packages": [
"packages/*"
],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.14.2",
"command": {
"publish": {
"allowBranch": "master",
"registry": "https://registry.npmjs.org/",
"message": "chore: bump versions after release",
"yes": true
}
}
"packages": ["packages/*"],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.14.2",
"command": {
"publish": {
"allowBranch": ["master", "0.15.x"],
"registry": "https://registry.npmjs.org/",
"message": "chore: bump versions after release",
"yes": true
}
}
}
4 changes: 2 additions & 2 deletions packages/cache/src/key-memo/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Map as IM } from "immutable"
import type { Atom } from "@rixio/atom"
import { SimpleCache } from "@rixio/lens"
import { byKeyImmutable } from "@rixio/lens/build/lenses/by-key-immutable"
import type { Observable } from "rxjs"
import { Subject } from "rxjs"
import { first } from "rxjs/operators"
import { byKeyImmutableFactory } from "@rixio/atom"
import type { CacheState, KeyEvent, ListDataLoader } from "../domain"
import { CacheIdle, createErrorKeyEvent, createAddKeyEvent } from "../domain"
import { Batcher } from "../utils/batcher"
Expand All @@ -22,7 +22,7 @@ export interface KeyMemo<K, V> {
export class KeyMemoImpl<K, V> implements KeyMemo<K, V> {
private readonly _batch: Batcher<K>
private readonly _results = new Subject<[K, V | Error]>()
private readonly _lensFactory = byKeyImmutable<K, CacheState<V>>(() => CacheIdle.create())
private readonly _lensFactory = byKeyImmutableFactory<K, CacheState<V>>(() => CacheIdle.create())
private readonly _events = new Subject<KeyEvent<K>>()
readonly events: Observable<KeyEvent<K>> = this._events

Expand Down

0 comments on commit c482543

Please sign in to comment.