change imports to npm from local paths
This commit is contained in:
parent
5ada8cd43a
commit
8dd5f05582
4 changed files with 7 additions and 4 deletions
|
@ -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',
|
||||
|
|
|
@ -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 a new issue