Skip to content

Commit c88b505

Browse files
authored
chore: migrate lerna config (#5772)
1 parent 42b1a8d commit c88b505

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"packages": ["packages/*"],
4-
"version": "independent"
3+
"packages": [
4+
"packages/*"
5+
],
6+
"version": "independent",
7+
"command": {
8+
"run": {
9+
"npmClient": "yarn"
10+
}
11+
}
512
}
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
{
2-
"tasksRunnerOptions": {
3-
"default": {
4-
"runner": "nx/tasks-runners/default",
5-
"options": {
6-
"cacheableOperations": ["build:many", "build:all", "build"]
7-
}
8-
}
9-
}
2+
"targetDefaults": {}
103
}

clients/algoliasearch-client-javascript/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"scripts": {
1010
"build": "lerna run build --scope '@algolia/requester-testing' --scope '@algolia/logger-console' --scope 'algoliasearch' --scope '@algolia/composition' --scope '@algolia/advanced-personalization' --include-dependencies",
1111
"clean": "lerna run clean",
12-
"release:publish": "tsc --project scripts/tsconfig.json && node scripts/dist/publish.js",
12+
"release:publish": "lerna publish from-package --yes",
13+
"release:publish:old": "tsc --project scripts/tsconfig.json && node scripts/dist/publish.js",
1314
"test": "lerna run test $*",
1415
"test:size": "bundlewatch",
1516
"test:bundle": "lerna run test:bundle --verbose --include-dependencies"

0 commit comments

Comments
 (0)