diff --git a/packages/eslint-plugin-mobx/package.json b/packages/eslint-plugin-mobx/package.json index a146aac00..9f4b90fa4 100644 --- a/packages/eslint-plugin-mobx/package.json +++ b/packages/eslint-plugin-mobx/package.json @@ -47,6 +47,6 @@ "scripts": { "test": "jest", "build": "yarn rollup --config", - "prepublish": "yarn build" + "prepublishOnly": "yarn build" } } diff --git a/packages/mobx-react-lite/package.json b/packages/mobx-react-lite/package.json index 34aef04ff..a9212a577 100644 --- a/packages/mobx-react-lite/package.json +++ b/packages/mobx-react-lite/package.json @@ -76,6 +76,6 @@ "test:size": "yarn import-size --report . observer useLocalObservable", "test:types": "tsc --noEmit", "test:check": "yarn test:types", - "prepublish": "cd ../mobx && yarn build --target publish && cd ../mobx-react-lite && yarn build --target publish && yarn build:cjs && yarn build:es" + "prepublishOnly": "cd ../mobx && yarn build --target publish && cd ../mobx-react-lite && yarn build --target publish && yarn build:cjs && yarn build:es" } } diff --git a/packages/mobx-react/README.md b/packages/mobx-react/README.md index bcb2f8d3e..bb709c8b3 100644 --- a/packages/mobx-react/README.md +++ b/packages/mobx-react/README.md @@ -18,7 +18,7 @@ Only the latest version is actively maintained. If you're missing a fix or a fea | NPM Version | Support MobX version | Supported React versions | Added support for: | | ----------- | -------------------- | ------------------------ | -------------------------------------------------------------------------------- | | v9 | 6.\* | >16.8 | Hooks, React 18.2 in strict mode | -| v7,v8 | 6.\* | >16.8 < 18.2 | Hooks | +| v7 | 6.\* | >16.8 < 18.2 | Hooks | | v6 | 4.\* / 5.\* | >16.8 <18 | Hooks | | v5 | 4.\* / 5.\* | >0.13 <18 | No, but it is possible to use `` sections inside hook based components | diff --git a/packages/mobx-react/package.json b/packages/mobx-react/package.json index a3edb044d..baf313bf0 100644 --- a/packages/mobx-react/package.json +++ b/packages/mobx-react/package.json @@ -71,6 +71,6 @@ "test:size": "yarn import-size --report . observer", "test:types": "tsc --noEmit", "test:check": "yarn test:types", - "prepublish": "yarn build --target publish" + "prepublishOnly": "yarn build --target publish" } } diff --git a/packages/mobx/package.json b/packages/mobx/package.json index 1caa6dec4..2716a7c90 100644 --- a/packages/mobx/package.json +++ b/packages/mobx/package.json @@ -75,6 +75,6 @@ "test:coverage": "yarn test -i --coverage", "test:size": "yarn import-size --report . observable computed autorun action", "test:check": "yarn test:types", - "prepublish": "node ./scripts/prepublish.js && yarn build --target publish" + "prepublishOnly": "node ./scripts/prepublish.js && yarn build --target publish" } }