File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 31
31
"dev" : " nuxi dev playground" ,
32
32
"dev:build" : " nuxi build playground" ,
33
33
"dev:prepare" : " nuxi prepare playground" ,
34
- "prerelease" : " npm run lint && npm run test && npm run prepack" ,
34
+ "prerelease" : " npm run test:types && npm run lint && npm run test && npm run prepack" ,
35
35
"release" : " dotenv release-it" ,
36
36
"lint" : " eslint ." ,
37
37
"lint:fix" : " eslint . --fix" ,
38
38
"test" : " vitest run" ,
39
39
"test:watch" : " vitest watch" ,
40
- "test:types" : " vue-tsc --noEmit && cd playground && vue-tsc --noEmit" ,
40
+ "test:types" : " vue-tsc --noEmit" ,
41
+ "cleanup" : " nuxi cleanup && nuxi cleanup playground" ,
41
42
"prepare" : " nuxi prepare && nitro prepare && nuxi prepare playground"
42
43
},
43
44
"dependencies" : {
Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
2
import { onBeforeUnmount , onMounted , ref } from ' vue'
3
3
4
- let ws: WebSocket
4
+ let ws: WebSocket
5
5
const message = ref (' ' )
6
6
7
7
function initWebSocket() {
Original file line number Diff line number Diff line change 1
1
{
2
- "extends" : " ./.nuxt/tsconfig.json" ,
3
- "exclude" : [
4
- " dist" ,
5
- " node_modules" ,
6
- " playground"
7
- ]
2
+ "extends" : " ./.nuxt/tsconfig.json"
8
3
}
You can’t perform that action at this time.
0 commit comments