change imports to npm from local paths
parent
5ada8cd43a
commit
8dd5f05582
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@uci/socket",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"description": "JSON packet intra(named)/inter(TCP) host communication over socket",
|
||||
"main": "src",
|
||||
"scripts": {
|
||||
|
|
|
@ -2,7 +2,9 @@ import { Socket } from 'net'
|
|||
import btc from 'better-try-catch'
|
||||
import JsonStream from './json-stream'
|
||||
|
||||
import logger from '../../uci-logger/src/logger'
|
||||
// import logger from '../../uci-logger/src/logger'
|
||||
import logger from '@uci/logger'
|
||||
|
||||
let log = {}
|
||||
const LOG_OPTS = {
|
||||
repo:'uci-socket',
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import Socket from './socket'
|
||||
import Consumer from './consumer'
|
||||
|
||||
export {Socket as Socket}
|
||||
export { Socket as Socket }
|
||||
export { Consumer as Consumer }
|
||||
export default { Socket, Consumer }
|
||||
|
|
|
@ -5,7 +5,8 @@ import _ON_DEATH from 'death' //this is intentionally ugly
|
|||
import JSONStream from './json-stream'
|
||||
import clone from 'clone'
|
||||
|
||||
import logger from '../../uci-logger/src/logger'
|
||||
// import logger from '../../uci-logger/src/logger'
|
||||
import logger from '@uci/logger'
|
||||
let log = {}
|
||||
const LOG_OPTS = {
|
||||
repo:'uci-socket',
|
||||
|
|
Loading…
Reference in New Issue