diff --git a/.changeset/rude-bobcats-chew.md b/.changeset/rude-bobcats-chew.md new file mode 100644 index 000000000..1ab9986a9 --- /dev/null +++ b/.changeset/rude-bobcats-chew.md @@ -0,0 +1,6 @@ +--- +"mobx-react": patch +"mobx-react-lite": patch +--- + +Fixed release with missing dist files diff --git a/lerna.json b/lerna.json index 415d7beac..49ca831eb 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,6 @@ { "packages": ["packages/*"], - "version": "independent" + "version": "independent", + "npmClient": "yarn", + "useWorkspaces": true } diff --git a/package.json b/package.json index 869e9df29..2f339466d 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "coverage": "jest --coverage", "lint": "eslint packages/*/src/**/* --ext .js,.ts,.tsx", "prettier": "prettier --write **/*.{js,ts,md}", - "release": "yarn changeset publish", + "release": "yarn lerna run prepublish && yarn changeset publish", "mobx": "yarn workspace mobx", "mobx-react": "yarn workspace mobx-react", "mobx-react-lite": "yarn workspace mobx-react-lite",