Skip to content

Commit b6d6c3d

Browse files
committed
Configure turbo, other
1 parent 19f8472 commit b6d6c3d

File tree

11 files changed

+25
-169
lines changed

11 files changed

+25
-169
lines changed

package.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"name": "root",
32
"private": true,
43
"license": "MIT",
54
"repository": {
@@ -12,23 +11,23 @@
1211
],
1312
"type": "module",
1413
"scripts": {
15-
"playground:geosearch": "turbo run dev --filter=@meilisearch/geo-playground --parallel",
16-
"playground:vanilla": "turbo run dev --filter=@meilisearch/vanilla-playground --parallel",
17-
"playground:vue3": "turbo run dev --filter=@meilisearch/vue3-ts-playground --parallel",
18-
"playground:react": "turbo run dev --filter=@meilisearch/react-playground --parallel",
19-
"playground:local-react": "turbo run dev --filter=@meilisearch/local-react-playground --parallel",
20-
"playground:node": "turbo run dev --filter=@meilisearch/node-playground --parallel",
21-
"playground:autocomplete": "turbo run dev --filter=@meilisearch/autocomplete-playground --parallel",
22-
"test:e2e": "turbo run test:e2e",
23-
"test:e2e:watch": "turbo run test:e2e:watch",
14+
"playground:geosearch": "turbo dev --filter=@meilisearch/geo-playground --parallel",
15+
"playground:vanilla": "turbo dev --filter=@meilisearch/vanilla-playground --parallel",
16+
"playground:vue3": "turbo dev --filter=@meilisearch/vue3-ts-playground --parallel",
17+
"playground:react": "turbo dev --filter=@meilisearch/react-playground --parallel",
18+
"playground:local-react": "turbo dev --filter=@meilisearch/local-react-playground --parallel",
19+
"playground:node": "turbo dev --filter=@meilisearch/node-playground --parallel",
20+
"playground:autocomplete": "turbo dev --filter=@meilisearch/autocomplete-playground --parallel",
21+
"test:e2e": "turbo test:e2e",
22+
"test:e2e:watch": "turbo test:e2e:watch",
2423
"lint": "turbo lint",
2524
"lint:fix": "turbo lint:fix",
26-
"build": "turbo run build",
25+
"build": "turbo build",
2726
"test": "yarn build && vitest run",
2827
"test:watch": "yarn build && vitest",
2928
"instant-meilisearch:test:watch": "vitest --project \"@meilisearch/instant-meilisearch\"",
3029
"autocomplete:test:watch": "vitest --project \"@meilisearch/autocomplete-client\"",
31-
"test:types": "turbo run test:types",
30+
"test:types": "turbo test:types",
3231
"version-packages": "changeset version && turbo version",
3332
"release": "yarn build && changeset publish"
3433
},

packages/autocomplete-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build": "vite build && tsc -p tsconfig.json",
1111
"lint": "eslint --ext .js,.ts,.tsx .",
1212
"lint:fix": "eslint --ext .js,.ts,.tsx . --fix",
13-
"version": "node scripts/update_version.js"
13+
"version": "node scripts/update_version.cjs"
1414
},
1515
"type": "module",
1616
"types": "./dist/types/index.d.ts",

packages/autocomplete-client/scripts/build.js

Lines changed: 0 additions & 65 deletions
This file was deleted.

packages/autocomplete-client/tsconfig.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
4-
"composite": true,
5-
"rootDir": "./src",
64
"outDir": "./dist/esm",
75
"declarationDir": "dist/types"
86
},

packages/instant-meilisearch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"build": "vite build && tsc -p tsconfig.json",
2828
"lint": "eslint --ext .js,.ts,.tsx .",
2929
"lint:fix": "eslint --ext .js,.ts,.tsx . --fix",
30-
"version": "node scripts/update_version.js"
30+
"version": "node scripts/update_version.cjs"
3131
},
3232
"type": "module",
3333
"types": "./dist/types/index.d.ts",

packages/instant-meilisearch/scripts/build.js

Lines changed: 0 additions & 65 deletions
This file was deleted.

packages/instant-meilisearch/tsconfig.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
4-
"composite": true,
5-
"rootDir": "./src",
64
"outDir": "./dist/esm",
75
"declarationDir": "dist/types"
86
},

tsconfig.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,5 @@
1212
"resolveJsonModule": true,
1313
"strict": true,
1414
"verbatimModuleSyntax": true
15-
},
16-
// TODO: Will have to build before running tests, so make sure there's a build that doesn't build playgroudns too
17-
// will also have to build before type checking? This won't work smoothly. autocomplete depends on the other, so will have to build the other first always
18-
"references": [
19-
{ "path": "./packages/autocomplete-client/tsconfig.json" },
20-
{ "path": "./packages/instant-meilisearch/tsconfig.json" }
21-
],
22-
"files": []
15+
}
2316
}

0 commit comments

Comments
 (0)