Skip to content

Commit

Permalink
🐛 switch console-feed to offical version (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangWeixian authored Jul 14, 2023
1 parent 7378ae3 commit 99f03bd
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 25 deletions.
5 changes: 5 additions & 0 deletions .changeset/young-suits-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vsit": patch
---

replace @nicksrandall/console-feed to console-feed
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist-client
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"@codemirror/state": "^6.2.1",
"@codemirror/view": "^6.13.0",
"@lezer/highlight": "^1.1.6",
"@nicksrandall/console-feed": "3.5.0",
"@tailwindcss/typography": "0.5.7",
"@uiw/codemirror-theme-atomone": "^4.21.2",
"clsx": "1.2.1",
"console-feed": "3.5.0",
"daisyui": "^2.24.0",
"solid-codemirror": "^2.3.0",
"solid-js": "^1.7.6"
Expand Down
4 changes: 2 additions & 2 deletions packages/client/src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable react/jsx-key */
import Hook from '@nicksrandall/console-feed/lib/Hook'
import { Decode } from '@nicksrandall/console-feed/lib/Transform'
import clsx from 'clsx'
import Hook from 'console-feed/lib/Hook'
import { Decode } from 'console-feed/lib/Transform'
import { createSignal } from 'solid-js'
import { consolehook, MESSAGE_EVENT_TYPE } from 'vsit'

Expand Down
2 changes: 1 addition & 1 deletion packages/vsit/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Encode, Hook } from '@nicksrandall/@nicksrandall/console-feed'
import type { Encode, Hook } from 'console-feed'
import type { ViteDevServer } from 'vite'

declare global {
Expand Down
2 changes: 1 addition & 1 deletion packages/vsit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
},
"devDependencies": {
"@changesets/cli": "^2.26.0",
"@nicksrandall/console-feed": "3.5.0",
"@rollup/plugin-alias": "4.0.3",
"@rollup/plugin-commonjs": "24.0.1",
"@rollup/plugin-json": "^6.0.0",
Expand All @@ -82,6 +81,7 @@
"body-parser": "1.20.2",
"cac": "6.7.12",
"consola": "^2.15.3",
"console-feed": "3.5.0",
"cz-emoji": "^1.3.1",
"debug": "^4.3.4",
"esbuild": "^0.18.6",
Expand Down
4 changes: 2 additions & 2 deletions packages/vsit/src/plugins/vsit/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { performance } from 'node:perf_hooks'

import Hook from '@nicksrandall/console-feed/lib/Hook'
import { Encode } from '@nicksrandall/console-feed/lib/Transform'
import bodyparser from 'body-parser'
import Hook from 'console-feed/lib/Hook'
import { Encode } from 'console-feed/lib/Transform'
import { parseURL } from 'ufo'

import { debug } from '@/common/log'
Expand Down
36 changes: 18 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 99f03bd

Please sign in to comment.