Switch from frptools to reactimal (same library, different name)
This commit is contained in:
parent
d15814dba4
commit
1732d0f602
@ -18,7 +18,6 @@
|
|||||||
"domvm": "~3.4.5",
|
"domvm": "~3.4.5",
|
||||||
"exif-parser": "~0.1.9",
|
"exif-parser": "~0.1.9",
|
||||||
"express": "~4.16.3",
|
"express": "~4.16.3",
|
||||||
"frptools": "~3.2.0",
|
|
||||||
"linear-partitioning": "0.3.2",
|
"linear-partitioning": "0.3.2",
|
||||||
"pica": "~2.0.8",
|
"pica": "~2.0.8",
|
||||||
"pouchdb-adapter-idb": "~7.0.0",
|
"pouchdb-adapter-idb": "~7.0.0",
|
||||||
@ -42,5 +41,6 @@
|
|||||||
"webpack": "~4.10.2",
|
"webpack": "~4.10.2",
|
||||||
"webpack-cli": "~2.1.5",
|
"webpack-cli": "~2.1.5",
|
||||||
"webpack-dev-server": "~3.1.4"
|
"webpack-dev-server": "~3.1.4"
|
||||||
|
"reactimal": "git+https://gitea.thecookiejar.me/explorigin/reactimal.git",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { format } from 'date-fns';
|
import { format } from 'date-fns';
|
||||||
import { prop, computed, container } from 'frptools';
|
import { prop, computed, container } from 'reactimal';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
subscribeToRender,
|
subscribeToRender,
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { prop, computed, container, pick } from 'frptools';
|
import { prop, computed, container, pick } from 'reactimal';
|
||||||
|
|
||||||
import { Icon } from './icon.js';
|
import { Icon } from './icon.js';
|
||||||
import { defineElement as el } from '../../utils/domvm.js';
|
import { defineElement as el } from '../../utils/domvm.js';
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { prop, computed, bundle } from 'frptools';
|
import { prop, computed, bundle } from 'reactimal';
|
||||||
|
|
||||||
import { defineElement as el } from '../../utils/domvm.js';
|
import { defineElement as el } from '../../utils/domvm.js';
|
||||||
import { ImageType } from '../../data/image.js';
|
import { ImageType } from '../../data/image.js';
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { prop, computed } from 'frptools';
|
import { prop, computed } from 'reactimal';
|
||||||
|
|
||||||
import { injectStyle } from '../../utils/style.js';
|
import { injectStyle } from '../../utils/style.js';
|
||||||
import { defineElement as el } from '../../utils/domvm.js';
|
import { defineElement as el } from '../../utils/domvm.js';
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { prop, computed, container } from 'frptools';
|
import { prop, computed, container } from 'reactimal';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
subscribeToRender,
|
subscribeToRender,
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { prop } from 'frptools';
|
import { prop } from 'reactimal';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
subscribeToRender,
|
subscribeToRender,
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { prop } from 'frptools';
|
import { prop } from 'reactimal';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
defineView as vw,
|
defineView as vw,
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import partition from 'linear-partitioning';
|
import partition from 'linear-partitioning';
|
||||||
import { prop, computed, container } from 'frptools';
|
import { prop, computed, container } from 'reactimal';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
defineView as vw,
|
defineView as vw,
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import core from 'pouchdb-core';
|
import core from 'pouchdb-core';
|
||||||
import { PouchDBAttachmentProxy, blobToString, stringToBlob } from 'pouchdb-attachmentproxy';
|
import { PouchDBAttachmentProxy, blobToString, stringToBlob } from 'pouchdb-attachmentproxy';
|
||||||
import { deepAssign, blobToArrayBuffer } from '../utils/conversion.js';
|
import { deepAssign, blobToArrayBuffer } from '../utils/conversion.js';
|
||||||
import { prop, computed, stream } from 'frptools';
|
import { prop, computed, stream } from 'reactimal';
|
||||||
import { sha1 } from '../utils/crypto.js';
|
import { sha1 } from '../utils/crypto.js';
|
||||||
|
|
||||||
export const B2Adapter = function(b2apikey, b2secret, b2bucket) {
|
export const B2Adapter = function(b2apikey, b2secret, b2bucket) {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { Router } from 'router';
|
import { Router } from 'router';
|
||||||
import { prop } from 'frptools';
|
import { prop } from 'reactimal';
|
||||||
|
|
||||||
export const currentRoute = prop([], r => r[1] && r[1].path);
|
export const currentRoute = prop([], r => r[1] && r[1].path);
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { pick } from 'frptools';
|
import { pick } from 'reactimal';
|
||||||
|
|
||||||
import { isObject } from './comparators';
|
import { isObject } from './comparators';
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
// export * from 'domvm/dist/dev/domvm.dev.js';
|
// export * from 'domvm/dist/dev/domvm.dev.js';
|
||||||
export * from 'domvm/dist/mini/domvm.mini.js';
|
export * from 'domvm/dist/mini/domvm.mini.js';
|
||||||
import { defineView } from 'domvm/dist/mini/domvm.mini.js';
|
import { defineView } from 'domvm/dist/mini/domvm.mini.js';
|
||||||
import { prop, computed, call } from 'frptools';
|
import { prop, computed, call } from 'reactimal';
|
||||||
|
|
||||||
import { deepAssign } from './conversion.js';
|
import { deepAssign } from './conversion.js';
|
||||||
import { error } from '../utils/console.js';
|
import { error } from '../utils/console.js';
|
||||||
import { streamConfig } from './event.js';
|
import { streamConfig } from './event.js';
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { call } from 'frptools';
|
import { call } from 'reactimal';
|
||||||
|
|
||||||
export const streamConfig = {
|
export const streamConfig = {
|
||||||
is: s => s && typeof s.subscribe === 'function',
|
is: s => s && typeof s.subscribe === 'function',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user