Skip to content
This repository was archived by the owner on Sep 17, 2023. It is now read-only.

Commit e48b5a6

Browse files
authored
Swith to @proc7ts/supply (#27)
* Switch to `@proc7ts/supply` * Upgrade deps * `@proc7ts/primitives` v2
1 parent 49c46ef commit e48b5a6

16 files changed

+35
-27
lines changed

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,20 @@
3030
}
3131
},
3232
"peerDependencies": {
33-
"@proc7ts/fun-events": "^10.3.1"
33+
"@proc7ts/fun-events": "^10.4.0"
3434
},
3535
"peerDependenciesMeta": {
3636
"@proc7ts/fun-events": {
3737
"optional": true
3838
}
3939
},
4040
"dependencies": {
41-
"@proc7ts/primitives": "^1.8.1",
42-
"@proc7ts/push-iterator": "^2.5.0"
41+
"@proc7ts/primitives": "^2.0.0",
42+
"@proc7ts/push-iterator": "^2.5.0",
43+
"@proc7ts/supply": "^1.0.0"
4344
},
4445
"devDependencies": {
45-
"@proc7ts/fun-events": "^10.3.1",
46+
"@proc7ts/fun-events": "^10.4.0",
4647
"@rollup/plugin-commonjs": "^17.1.0",
4748
"@rollup/plugin-node-resolve": "^11.2.0",
4849
"@run-z/eslint-config": "^1.2.1",
@@ -51,11 +52,11 @@
5152
"@typescript-eslint/eslint-plugin": "^4.17.0",
5253
"@typescript-eslint/parser": "^4.17.0",
5354
"eslint": "^7.21.0",
54-
"eslint-plugin-jest": "^24.1.9",
55+
"eslint-plugin-jest": "^24.2.1",
5556
"gh-pages": "^3.1.0",
5657
"jest": "^26.6.3",
5758
"jest-junit": "^12.0.0",
58-
"rollup": "^2.40.0",
59+
"rollup": "^2.41.1",
5960
"rollup-plugin-flat-dts": "^1.0.3",
6061
"rollup-plugin-sourcemaps": "^0.6.3",
6162
"rollup-plugin-typescript2": "^0.30.0",

src/conventional/context-supply.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { isAlwaysSupply, Supply, SupplyPeer } from '@proc7ts/primitives';
1+
import { isAlwaysSupply, Supply, SupplyPeer } from '@proc7ts/supply';
22
import type { ContextValues } from '../context-values';
33
import { ContextRegistry } from '../registry';
44
import { ContextSupply } from './context-supply';

src/conventional/context-supply.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import type { Supply } from '@proc7ts/primitives';
2-
import { alwaysSupply } from '@proc7ts/primitives';
1+
import { alwaysSupply, Supply } from '@proc7ts/supply';
32
import type { ContextRef } from '../context-ref';
43
import type { ContextValueSlot } from '../key';
54
import { SimpleContextKey } from '../singleton';

src/key/context-seeder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Supply } from '@proc7ts/primitives';
1+
import type { Supply } from '@proc7ts/supply';
22
import type { ContextValues } from '../context-values';
33
import type { ContextValueProvider } from '../registry';
44

src/registry/context-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Supply } from '@proc7ts/primitives';
1+
import type { Supply } from '@proc7ts/supply';
22
import type { ContextValues } from '../context-values';
33
import type { ContextRegistry } from './context-registry';
44

src/registry/context-registry.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { noop, Supply } from '@proc7ts/primitives';
1+
import { noop } from '@proc7ts/primitives';
2+
import type { Supply } from '@proc7ts/supply';
23
import type { ContextValues } from '../context-values';
34
import type { ContextSeedKey } from '../key';
45
import { ContextKey__symbol } from '../key';

src/singleton/iterative-context-key.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { lazyValue, Supply } from '@proc7ts/primitives';
1+
import { lazyValue } from '@proc7ts/primitives';
22
import {
33
itsElements,
44
itsEmpty,
@@ -8,6 +8,7 @@ import {
88
PushIterable,
99
valueIt,
1010
} from '@proc7ts/push-iterator';
11+
import { Supply } from '@proc7ts/supply';
1112
import type { ContextValues } from '../context-values';
1213
import type { ContextSeeder } from '../key';
1314
import { ContextKey, ContextSeedKey } from '../key';

src/singleton/simple-context-key.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { lazyValue, noop, Supply } from '@proc7ts/primitives';
1+
import { lazyValue, noop } from '@proc7ts/primitives';
2+
import { Supply } from '@proc7ts/supply';
23
import type { ContextValues } from '../context-values';
34
import type { ContextSeeder } from '../key';
45
import { ContextKey, ContextSeedKey } from '../key';

src/updatable/context-up-key.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import {
1010
translateAfter,
1111
ValueTracker,
1212
} from '@proc7ts/fun-events';
13-
import { Supply } from '@proc7ts/primitives';
1413
import { itsElements, mapIt, overElementsOf, overIterator } from '@proc7ts/push-iterator';
14+
import { Supply } from '@proc7ts/supply';
1515
import type { ContextRef } from '../context-ref';
1616
import type { ContextValues } from '../context-values';
1717
import { ContextSupply } from '../conventional';

src/updatable/fn-context-key.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Supply } from '@proc7ts/primitives';
1+
import { Supply } from '@proc7ts/supply';
22
import { ContextKeyError } from '../context-key-error';
33
import type { ContextValues } from '../context-values';
44
import { ContextSupply } from '../conventional';

0 commit comments

Comments
 (0)