diff --git a/.changeset/gorgeous-adults-lick.md b/.changeset/gorgeous-adults-lick.md deleted file mode 100644 index 3d7c200a..00000000 --- a/.changeset/gorgeous-adults-lick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"mobx-react": patch ---- - -Initial setup of [changesets](https://github.com/atlassian/changesets). No code changes present. diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e0671b7..4a7bd3c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # MobX-React Changelog +## 6.3.1 + +### Patch Changes + +- [`aa780c0`](https://github.com/mobxjs/mobx-react/commit/aa780c07162be99e198e7bbdbd6465c1f451f1d6) [#908](https://github.com/mobxjs/mobx-react/pull/908) Thanks [@FredyC](https://github.com/FredyC)! - Initial setup of [changesets](https://github.com/atlassian/changesets). No code changes present. + ## 6.3.0 - Updated mobx-react-lite to 2.2.0 which removes the need to manually configure batching. Fixes [#859](https://github.com/mobxjs/mobx-react/issues/859) diff --git a/package.json b/package.json index 07d1471d..f45112d1 100644 --- a/package.json +++ b/package.json @@ -1,145 +1,145 @@ { - "name": "mobx-react", - "version": "6.3.0", - "description": "React bindings for MobX. Create fully reactive components.", - "source": "src/index.ts", - "main": "dist/index.js", - "umd:main": "dist/mobxreact.umd.production.min.js", - "unpkg": "dist/mobxreact.umd.production.min.js", - "jsnext:main": "dist/mobxreact.esm.js", - "module": "dist/mobxreact.esm.js", - "react-native": "dist/mobxreact.esm.js", - "types": "dist/index.d.ts", - "sideEffects": [ - "batching*" - ], - "repository": { - "type": "git", - "url": "https://github.com/mobxjs/mobx-react.git" - }, - "scripts": { - "test": "jest", - "watch": "jest --watch", - "lint": "eslint .", - "test:types": "yarn tsc --noEmit", - "test:check": "yarn test:types && yarn lint", - "test:ts": "tsc -p test", - "test:coverage": "jest -i --coverage", - "test:size": "size-limit", - "prettier": "prettier --write \"**/*.js\" \"**/*.ts\" \"**/*.tsx\"", - "release": "yarn build && yarn changeset publish", - "build": "tsdx build --name mobxReact --format cjs,esm,umd", - "postbuild": "yarn v6compat", - "v6compat": "shx cp dist/mobxreact.umd.production.min.js dist/mobx-react.umd.js" - }, - "author": "Michel Weststrate", - "license": "MIT", - "bugs": { - "url": "https://github.com/mobxjs/mobx/issues" - }, - "homepage": "https://mobxjs.github.io/mobx", - "resolutions": { - "@types/yargs": "12.0.1" - }, - "peerDependencies": { - "mobx": "^6.0.0", - "react": "^16.8.0 || 16.9.0-alpha.0" - }, - "devDependencies": { - "@babel/core": "^7.1.0", - "@babel/plugin-proposal-class-properties": "^7.1.0", - "@babel/plugin-proposal-decorators": "^7.1.0", - "@babel/plugin-transform-react-jsx": "^7.0.0", - "@babel/preset-env": "^7.1.0", - "@changesets/changelog-github": "^0.2.7", - "@changesets/cli": "^2.11.0", - "@testing-library/jest-dom": "^5.1.1", - "@testing-library/react": "^9.4.0", - "@types/create-react-class": "^15.6.0", - "@types/jest": "^25.1.1", - "@types/node": "^10.0.0", - "@types/prop-types": "^15.5.2", - "@types/react": "^16.0.13", - "@types/react-dom": "^16.0.1", - "@typescript-eslint/eslint-plugin": "^2.12.0", - "@typescript-eslint/parser": "^2.12.0", - "babel-eslint": "^10.0.2", - "babel-jest": "^25.1.0", - "coveralls": "^3.0.3", - "eslint": "^6.1.0", - "eslint-config-prettier": "^6.0.0", - "eslint-plugin-prettier": "^3.1.0", - "eslint-plugin-react": "^7.14.3", - "husky": "^1.0.0", - "jest": "^25.1.0", - "jest-environment-jsdom": "^25.1.0", - "jest-mock-console": "^1.0.0", - "lint-staged": "^7.0.5", - "lodash": "^4.17.4", - "mobx": "^6.0.0", - "prettier": "^1.7.2", - "prop-types": "^15.7.2", - "react": "^16.9.0", - "react-dom": "^16.9.0", - "replace": "^1.1.0", - "request": "^2.83.0", - "shelljs": "^0.8.3", - "shx": "^0.3.2", - "size-limit": "^1.3.2", - "ts-jest": "^25.2.0", - "tsdx": "0.12.3", - "tslib": "1.10.0", - "typescript": "^3.7.0" - }, - "dependencies": { - "mobx-react-lite": "^3.0.0" - }, - "files": [ - "dist", - "batching*" - ], - "keywords": [ - "mobx", - "mobservable", - "react-component", - "react", - "reactjs", - "reactive" - ], - "lint-staged": { - "*.{ts,tsx,js}": [ - "prettier --write", - "eslint --fix", - "git add" - ] - }, - "jest": { - "globals": { - "ts-jest": { - "tsConfig": "tsconfig.test.json" - } + "name": "mobx-react", + "version": "6.3.1", + "description": "React bindings for MobX. Create fully reactive components.", + "source": "src/index.ts", + "main": "dist/index.js", + "umd:main": "dist/mobxreact.umd.production.min.js", + "unpkg": "dist/mobxreact.umd.production.min.js", + "jsnext:main": "dist/mobxreact.esm.js", + "module": "dist/mobxreact.esm.js", + "react-native": "dist/mobxreact.esm.js", + "types": "dist/index.d.ts", + "sideEffects": [ + "batching*" + ], + "repository": { + "type": "git", + "url": "https://github.com/mobxjs/mobx-react.git" }, - "transform": { - "^.+\\.tsx?$": "ts-jest", - "^.+\\.jsx?$": "babel-jest" + "scripts": { + "test": "jest", + "watch": "jest --watch", + "lint": "eslint .", + "test:types": "yarn tsc --noEmit", + "test:check": "yarn test:types && yarn lint", + "test:ts": "tsc -p test", + "test:coverage": "jest -i --coverage", + "test:size": "size-limit", + "prettier": "prettier --write \"**/*.js\" \"**/*.ts\" \"**/*.tsx\"", + "release": "yarn build && yarn changeset publish", + "build": "tsdx build --name mobxReact --format cjs,esm,umd", + "postbuild": "yarn v6compat", + "v6compat": "shx cp dist/mobxreact.umd.production.min.js dist/mobx-react.umd.js" }, - "moduleFileExtensions": [ - "ts", - "tsx", - "js", - "jsx", - "json" - ], - "testPathIgnorePatterns": [ - "/node_modules/", - "/\\./" - ], - "watchPathIgnorePatterns": [ - "/node_modules/" + "author": "Michel Weststrate", + "license": "MIT", + "bugs": { + "url": "https://github.com/mobxjs/mobx/issues" + }, + "homepage": "https://mobxjs.github.io/mobx", + "resolutions": { + "@types/yargs": "12.0.1" + }, + "peerDependencies": { + "mobx": "^6.0.0", + "react": "^16.8.0 || 16.9.0-alpha.0" + }, + "devDependencies": { + "@babel/core": "^7.1.0", + "@babel/plugin-proposal-class-properties": "^7.1.0", + "@babel/plugin-proposal-decorators": "^7.1.0", + "@babel/plugin-transform-react-jsx": "^7.0.0", + "@babel/preset-env": "^7.1.0", + "@changesets/changelog-github": "^0.2.7", + "@changesets/cli": "^2.11.0", + "@testing-library/jest-dom": "^5.1.1", + "@testing-library/react": "^9.4.0", + "@types/create-react-class": "^15.6.0", + "@types/jest": "^25.1.1", + "@types/node": "^10.0.0", + "@types/prop-types": "^15.5.2", + "@types/react": "^16.0.13", + "@types/react-dom": "^16.0.1", + "@typescript-eslint/eslint-plugin": "^2.12.0", + "@typescript-eslint/parser": "^2.12.0", + "babel-eslint": "^10.0.2", + "babel-jest": "^25.1.0", + "coveralls": "^3.0.3", + "eslint": "^6.1.0", + "eslint-config-prettier": "^6.0.0", + "eslint-plugin-prettier": "^3.1.0", + "eslint-plugin-react": "^7.14.3", + "husky": "^1.0.0", + "jest": "^25.1.0", + "jest-environment-jsdom": "^25.1.0", + "jest-mock-console": "^1.0.0", + "lint-staged": "^7.0.5", + "lodash": "^4.17.4", + "mobx": "^6.0.0", + "prettier": "^1.7.2", + "prop-types": "^15.7.2", + "react": "^16.9.0", + "react-dom": "^16.9.0", + "replace": "^1.1.0", + "request": "^2.83.0", + "shelljs": "^0.8.3", + "shx": "^0.3.2", + "size-limit": "^1.3.2", + "ts-jest": "^25.2.0", + "tsdx": "0.12.3", + "tslib": "1.10.0", + "typescript": "^3.7.0" + }, + "dependencies": { + "mobx-react-lite": "^3.0.0" + }, + "files": [ + "dist", + "batching*" ], - "setupFilesAfterEnv": [ - "/jest.setup.ts" + "keywords": [ + "mobx", + "mobservable", + "react-component", + "react", + "reactjs", + "reactive" ], - "testURL": "http://127.0.0.1/" - } + "lint-staged": { + "*.{ts,tsx,js}": [ + "prettier --write", + "eslint --fix", + "git add" + ] + }, + "jest": { + "globals": { + "ts-jest": { + "tsConfig": "tsconfig.test.json" + } + }, + "transform": { + "^.+\\.tsx?$": "ts-jest", + "^.+\\.jsx?$": "babel-jest" + }, + "moduleFileExtensions": [ + "ts", + "tsx", + "js", + "jsx", + "json" + ], + "testPathIgnorePatterns": [ + "/node_modules/", + "/\\./" + ], + "watchPathIgnorePatterns": [ + "/node_modules/" + ], + "setupFilesAfterEnv": [ + "/jest.setup.ts" + ], + "testURL": "http://127.0.0.1/" + } }