Skip to content

Commit

Permalink
chore: prepublish -> prepublishOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Jul 12, 2023
1 parent e8ec0e1 commit 278323e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-plugin-mobx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
"scripts": {
"test": "jest",
"build": "yarn rollup --config",
"prepublish": "yarn build"
"prepublishOnly": "yarn build"
}
}
2 changes: 1 addition & 1 deletion packages/mobx-react-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion packages/mobx-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<Observer>` sections inside hook based components |

Expand Down
2 changes: 1 addition & 1 deletion packages/mobx-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion packages/mobx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 278323e

Please sign in to comment.