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",
|
"name": "@uci/socket",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"description": "JSON packet intra(named)/inter(TCP) host communication over socket",
|
"description": "JSON packet intra(named)/inter(TCP) host communication over socket",
|
||||||
"main": "src",
|
"main": "src",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -2,7 +2,9 @@ import { Socket } from 'net'
|
||||||
import btc from 'better-try-catch'
|
import btc from 'better-try-catch'
|
||||||
import JsonStream from './json-stream'
|
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 = {}
|
let log = {}
|
||||||
const LOG_OPTS = {
|
const LOG_OPTS = {
|
||||||
repo:'uci-socket',
|
repo:'uci-socket',
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Socket from './socket'
|
import Socket from './socket'
|
||||||
import Consumer from './consumer'
|
import Consumer from './consumer'
|
||||||
|
|
||||||
export {Socket as Socket}
|
export { Socket as Socket }
|
||||||
export { Consumer as Consumer }
|
export { Consumer as Consumer }
|
||||||
export default { Socket, Consumer }
|
export default { Socket, Consumer }
|
||||||
|
|
|
@ -5,7 +5,8 @@ import _ON_DEATH from 'death' //this is intentionally ugly
|
||||||
import JSONStream from './json-stream'
|
import JSONStream from './json-stream'
|
||||||
import clone from 'clone'
|
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 = {}
|
let log = {}
|
||||||
const LOG_OPTS = {
|
const LOG_OPTS = {
|
||||||
repo:'uci-socket',
|
repo:'uci-socket',
|
||||||
|
|
Loading…
Reference in a new issue