Skip to content

Commit 9c02001

Browse files
committed
fix: scripts
1 parent fa17320 commit 9c02001

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,14 @@
3131
"dev": "nuxi dev playground",
3232
"dev:build": "nuxi build playground",
3333
"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",
3535
"release": "dotenv release-it",
3636
"lint": "eslint .",
3737
"lint:fix": "eslint . --fix",
3838
"test": "vitest run",
3939
"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",
4142
"prepare": "nuxi prepare && nitro prepare && nuxi prepare playground"
4243
},
4344
"dependencies": {

playground/pages/ws.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import { onBeforeUnmount, onMounted, ref } from 'vue'
33
4-
let ws: WebSocket
4+
let ws: WebSocket
55
const message = ref('')
66
77
function initWebSocket() {

tsconfig.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
{
2-
"extends": "./.nuxt/tsconfig.json",
3-
"exclude": [
4-
"dist",
5-
"node_modules",
6-
"playground"
7-
]
2+
"extends": "./.nuxt/tsconfig.json"
83
}

0 commit comments

Comments
 (0)