File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 25
25
],
26
26
"scripts" : {
27
27
"dev" : " tsup --watch" ,
28
- "build" : " tsc && tsup" ,
28
+ "build" : " tsup" ,
29
29
"lint" : " eslint . --fix" ,
30
30
"release" : " pnpm lint && pnpm build && changeset version && changeset publish"
31
31
},
Original file line number Diff line number Diff line change 1
1
import type { MqttClient } from "mqtt" ;
2
2
import { createContext } from "react" ;
3
3
4
- // export type MqttClientType = {
5
- // client: MqttClient | null;
6
- // status: typeof MQTT_STATUS[keyof typeof MQTT_STATUS];
7
- // };
8
4
export type MqttClientType = MqttClient | null ;
5
+
9
6
export const MQTT_STATUS = {
10
7
CONNECTING : "connecting" ,
11
8
DISCONNECTED : "disconnected" ,
Original file line number Diff line number Diff line change 4
4
"module" : " ESNext" ,
5
5
"lib" : [" dom" , " es2017" ],
6
6
"declaration" : true ,
7
- "outDir" : " ./dist" ,
8
7
"strict" : true ,
9
8
"esModuleInterop" : true ,
10
9
"skipLibCheck" : true ,
You can’t perform that action at this time.
0 commit comments