0.0.10 swap to using uci-utils/class-merge instead of aggreagation which has the symbol property fix
parent
08ed72224c
commit
281b31ecb5
|
@ -1,4 +1,4 @@
|
||||||
import Sync from '@uci-utils/sync'
|
import Sync from '../src/sync'
|
||||||
import onDeath from 'ondeath'
|
import onDeath from 'ondeath'
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
|
@ -6,8 +6,8 @@ import onDeath from 'ondeath'
|
||||||
|
|
||||||
await sync.runJob('remote')
|
await sync.runJob('remote')
|
||||||
// await sync.loadJob('local')
|
// await sync.loadJob('local')
|
||||||
sync.watch('on')
|
// sync.watch('on')
|
||||||
console.log('ready and waiting')
|
// console.log('ready and waiting')
|
||||||
|
|
||||||
onDeath( () => {
|
onDeath( () => {
|
||||||
console.log('\nHe\'s dead Jim')
|
console.log('\nHe\'s dead Jim')
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
// this is a js file sent via the sync package
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@uci-utils/sync",
|
"name": "@uci-utils/sync",
|
||||||
"version": "0.0.9",
|
"version": "0.0.10",
|
||||||
"description": "module to copy, maintain, and launch hardware modules on other machines",
|
"description": "module to copy, maintain, and launch hardware modules on other machines",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
@ -31,10 +31,10 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/uCOMmandIt/uci-remote-code#readme",
|
"homepage": "https://github.com/uCOMmandIt/uci-remote-code#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@uci-utils/logger": "^0.0.15",
|
"@uci-utils/class-merge": "^1.0.3",
|
||||||
|
"@uci-utils/logger": "^0.0.16",
|
||||||
"@uci-utils/read-lines": "^0.2.2",
|
"@uci-utils/read-lines": "^0.2.2",
|
||||||
"@uci-utils/watcher": "^0.2.4",
|
"@uci-utils/watcher": "^0.2.4",
|
||||||
"aggregation": "^1.2.5",
|
|
||||||
"await-to-js": "^2.1.1",
|
"await-to-js": "^2.1.1",
|
||||||
"conf": "^5.0.0",
|
"conf": "^5.0.0",
|
||||||
"debounce-fn": "^3.0.1",
|
"debounce-fn": "^3.0.1",
|
||||||
|
|
|
@ -4,7 +4,7 @@ import Rsync from './rsync'
|
||||||
import { EventEmitter as Emitter } from 'events'
|
import { EventEmitter as Emitter } from 'events'
|
||||||
import { dirname, normalize } from 'path'
|
import { dirname, normalize } from 'path'
|
||||||
// third party elements
|
// third party elements
|
||||||
import merge from 'aggregation/es6'
|
import merge from '@uci-utils/class-merge'
|
||||||
import { readFile } from 'fs-read-data'
|
import { readFile } from 'fs-read-data'
|
||||||
import Conf from 'conf'
|
import Conf from 'conf'
|
||||||
import debounce from 'debounce-fn'
|
import debounce from 'debounce-fn'
|
||||||
|
|
Loading…
Reference in New Issue