Skip to content

Commit 067e607

Browse files
committed
Fix types test
1 parent eb69c0e commit 067e607

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"test:watch": "yarn build && vitest",
2828
"instant-meilisearch:test:watch": "vitest --project \"@meilisearch/instant-meilisearch\"",
2929
"autocomplete:test:watch": "vitest --project \"@meilisearch/autocomplete-client\"",
30-
"test:types": "turbo test:types",
30+
"test:types": "tsc --noEmit",
3131
"version-packages": "changeset version && turbo version",
3232
"release": "yarn build && changeset publish"
3333
},
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { defineConfig } from 'vite';
1+
const { defineConfig } = require('vite');
22

33
// https://vite.dev/config/
4-
export default defineConfig({
4+
module.exports = defineConfig({
55
server: { strictPort: true },
66
});
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { defineConfig } from 'vite';
2-
import react from '@vitejs/plugin-react';
1+
const { defineConfig } = require('vite');
2+
const react = require('@vitejs/plugin-react');
33

44
// https://vite.dev/config/
5-
export default defineConfig({
5+
module.exports = defineConfig({
66
server: { port: 5174, strictPort: true },
77
plugins: [react()],
88
});

turbo.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
"cache": false,
2929
"dependsOn": ["build"]
3030
},
31-
"test:types": {
32-
"dependsOn": ["build"]
33-
},
3431
"version": {}
3532
}
3633
}

0 commit comments

Comments
 (0)