From 688db35f581ac345a09a15420efdb0e4c98a56ab Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Thu, 11 Feb 2021 13:43:24 +0100 Subject: [PATCH] v5.0.0-alpha.25 #24859 --- CHANGELOG.md | 175 +++++++++++++++++- benchmark/package.json | 8 +- docs/package.json | 22 +-- framer/package.json | 4 +- package.json | 2 +- packages/material-ui-docs/package.json | 4 +- packages/material-ui-lab/package.json | 8 +- .../material-ui-styled-engine-sc/package.json | 2 +- .../material-ui-styled-engine/package.json | 2 +- packages/material-ui-styles/package.json | 6 +- packages/material-ui-system/package.json | 4 +- packages/material-ui-types/package.json | 2 +- packages/material-ui-unstyled/package.json | 6 +- packages/material-ui-utils/package.json | 2 +- packages/material-ui/package.json | 14 +- packages/typescript-to-proptypes/package.json | 2 +- scripts/README.md | 8 +- scripts/releaseChangelog.js | 2 +- 18 files changed, 222 insertions(+), 51 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8915e60ac0a0ae..c383bc727ba05d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,176 @@ ### [Versions](https://material-ui.com/versions/) +## 5.0.0-alpha.25 + + + +_Feb 11, 2021_ + +Big thanks to the 30 contributors who made this release possible. Here are some highlights ✨: + +- 👩‍🎤 Convert 32 components to emotion. Around 64% of the components have been migrated so far, thanks to the help of the community. We aim to migrate them all before the end of Q1 2021. + The podium of the most active community members in the migration 🏆: + + 1. @natac13 x17 + 2. @vicasas x5 + 3. @kodai3 x4 + +- 📐 Add a subset of the system as flattened props on `Typography` (#24496) @mnajdova. + Now, you can do: + + ```jsx + + ``` + +- 📅 Focus on the date pickers, 5 fixes and 3 docs improvements. +- 💅 Provide a new [`darkScrollbar()`](https://next.material-ui.com/components/css-baseline/#scrollbars) CSS utility to improve the native scrollbar in dark mode. The documentation uses it. + +### `@material-ui/core@5.0.0-alpha.25` + +#### Breaking changes + +- Increase the minimum version of TypeScript supported from v3.2 to v3.5. (#24795) @petyosi + + We try to align with types released from [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) (i.e. packages published on npm under the `@types` namespace). + We will not change the minimum supported version in a major version of Material-UI. + However, we generally recommend to not use a TypeScript version older than the [lowest supported version of DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped#older-versions-of-typescript-33-and-earlier). + +#### Changes + +- [ImageList] Migrate to emotion (#24615) @kodai3 +- [Dialog] Migrate DialogTitle to emotion (#24623) @vicasas +- [TextField] Prepare removal of labelWidth prop (#24595) @oliviertassinari +- [ImageList] Migrate ImageListItem to emotion (#24619) @kodai3 +- [Card] Migrate CardMedia to emotion (#24625) @natac13 +- [Card] Migrate CardHeader to emotion (#24626) @natac13 +- [TextField] Migrate FilledInput to emotion (#24634) @mnajdova +- [Fab] Migrate to emotion (#24618) @natac13 +- [ClickAwayListener] Fix `children` and `onClickAway` types (#24565) @eps1lon +- [List] Migrate ListItemIcon to emotion (#24630) @vicasas +- [Card] Migrate CardActionArea to emotion (#24636) @natac13 +- [DataTable] Add example in docs for data table (#24428) @DanailH +- [CircularProgress] Migrate to emotion (#24622) @natac13 +- [ImageList] Migrate ImageListItemBar to emotion (#24632) @kodai3 +- [TextField] Migrate Input component to emotion (#24638) @duganbrett +- [Tab] Migrate to emotion (#24651) @natac13 +- [Table] Migrate to emotion (#24657) @natac13 +- [List] Migrate ListItemAvatar to emotion (#24656) @vicasas +- [TextField] Migrate FormControl to emotion (#24659) @duganbrett +- [Table] Migrate TableContainer to emotion (#24666) @natac13 +- [Tab] Migrate TabScrollButton to emotion (#24654) @natac13 +- [Card] Warn on raised + outlined (#24648) @sumarlidason +- [TextField] Migrate FormHelperText to emotion (#24661) @duganbrett +- [Dialog] Migrate DialogContent to emotion (#24670) @vicasas +- [Typography] Add system props (#24496) @mnajdova +- [Paper] Improve warning on invalid combinations of variant and elevation (#24667) @eps1lon +- [Chip] Migrate to emotion (#24649) @natac13 +- [ToggleButton] Migrate to emotion (#24674) @natac13 +- [Step] Migrate to emotion (#24678) @natac13 +- [Link] Fix CSS prefix property casing with emotion (#24701) @idanrozin +- [Card] Use the default elevation (#24733) @oliviertassinari +- [Typography] Remove align inherit noise (#24717) @oliviertassinari +- [Dialog] Convert role `none presentation` to `presentation` (#24500) @hallzac2 +- [TextField] Improve baseline alignment with start adornment (#24742) @praveenkumar-kalidass +- [Popper] Fix usage of ownerDocument with anchorEl (#24753) @ruppysuppy +- [Table] Migrate TableBody to emotion (#24703) @natac13 +- [Table] Migrate TableRow to emotion (#24687) @natac13 +- [TextField] Migrate FormGroup to emotion (#24685) @vicasas +- [CssBaseline] Make dark mode scrollbar overrides an optional function (#24780) @dborstelmann +- [ButtonGroup] Migrate ButtonGroup to emotion (#24775) @mirefly +- [Checkbox] Migrate to emotion (#24702) @natac13 +- [Table] Migrate TableHead to emotion (#24686) @natac13 +- [Table] Migrate TableFooter to emotion (#24684) @natac13 +- [Skeleton] Migrate to emotion (#24652) @kodai3 + +### `@material-ui/system@5.0.0-alpha.25` + +#### Breaking changes + +- [system] Use spacing unit in `gap`, `rowGap`, and `columnGap` (#24794) @ruppysuppy + + If you were using a number previously, you need to provide the value in `px` to bypass the new transformation with `theme.spacing`. The change was done for consistency with the Grid spacing prop and the other system spacing properties, e.g. ``. + + ```diff + + ``` + +### `@material-ui/styled-engine@5.0.0-alpha.25` + +- [styled-engine] Fix GlobalStyles not to throw when no theme is available (#24671) @mnajdova + +### `@material-ui/types@5.0.0-alpha.25` + +#### Breaking changes + +- [types] Rename the exported `Omit` type in `@material-ui/types`. (#24795) @petyosi + The module is now called `DistributiveOmit`. The change removes the confusion with the built-in `Omit` helper introduced in TypeScript v3.5. The built-in `Omit`, while similar, is non-distributive. This leads to differences when applied to union types. [See this StackOverflow answer for further details](https://stackoverflow.com/a/57103940/1009797). + +```diff +-import { Omit } from '@material-ui/types'; ++import { DistributiveOmit } from '@material-ui/types'; +``` + +#### Changes + +- [types] Remove implicit children from PropInjector (#24746) @eps1lon + +### `@material-ui/lab@5.0.0-alpha.25` + +- [Pickers] Fix role attribute (#24621) @EkaterinaMozheiko +- [Pickers] Fix `showTodayButton` not returning the current time (#24650) @anthonyraymond +- [Pickers] Ensure components have a display name in DEV (#24676) @eps1lon +- [Pickers] Fix more name inconsistencies (#24734) @oliviertassinari +- [Pickers] Dismiss on clickaway when using the desktop variant (#24653) @eps1lon +- [Pickers] Add missing periods at end of some descriptions (#24791) @fulin426 +- [Pickers] Enable YearPicker documentation (#24830) @oliviertassinari +- [Pickers] Fix useState related console warnings in examples (#24848) @ydubinskyi + +### Docs + +- [docs] Add sorting section (#24637) @dtassone +- [docs] Include in docs directive to silence `eslint` erroneous warning (#24644) @silviot +- [docs] Clarifying the documentation about Chip behavior (#24645) @KarimOurrai +- [docs] Update Typography in migration guide (#24662) @mbrookes +- [examples] Update examples to use StyledEngineProvider (#24489) @mnajdova +- [docs] Add API documentation for *DatePicker components (#24655) @eps1lon +- [docs] Add HoodieBees to sponsors (#24735) @mbrookes +- [docs] Fix indent @oliviertassinari +- [docs] Make
responsive to font size (#24531) @eps1lon +- [docs] Follow similar demo pattern for date and time pickers (#24739) @eps1lon +- [docs] Add information about local dev environment (#24771) @plug-n-play +- [docs] Add tcespal to Showcase (#24793) @ArnaultNouvel +- [docs] Fix CssBaseline typography description (#24802) @xiaoyu-tamu +- [docs] Add 'playlist' synonym to 'menu' (#24754) @Lagicrus +- [docs] Add more similar icons (#24799) @oliviertassinari +- [docs] Fix typo in the error message generated by createMuiTheme (#24827) @mbrookes +- [examples] Align more with the v5 recommended approach (#24798) @Tejaswiangotu123 +- [docs] Update ButtonGroup demos to match v5 (#24797) @SCollinA +- [docs] Fix formatting of `mask` prop description (#24842) @eps1lon +- [docs] Add read synonym to drafts (#24854) @Lagicrus + +### Core + +- [core] Fix release:tag pushing to material-ui-docs (#24633) @eps1lon +- [core] Fix `next` using stale pages (#24635) @eps1lon +- [test] Skip JSDOM in style related conformance tests (#24668) @mnajdova +- [test] Conformance to handle wrapped elements (#24679) @natac13 +- [core] Batch small changes (#24705) @oliviertassinari +- [test] Run more tests in Strict Mode (#24646) @oliviertassinari +- [test] Avoid visual flakiness (#24737) @oliviertassinari +- [core] Remove deprecated SimplifiedPropsOf/Simplify types (#24750) @petyosi +- [core] Disable type-checking of .propTypes (#24747) @eps1lon +- [test] Allow setting react-dist-tag via pipeline parameter (#24755) @eps1lon +- [test] Don't run dev CI for dependabot pushes (#24833) @eps1lon +- [test] Isolate Tooltip tests more (#24834) @eps1lon +- [test] Clear emotion cache between tests (#24837) @eps1lon +- [core] Save/restore actual yarn cache folder (#24844) @eps1lon +- [test] Increase timeout to 4000ms for screenshots (#24850) @oliviertassinari + +All contributors of this release in alphabetical order: @anthonyraymond, @ArnaultNouvel, @DanailH, @dborstelmann, @dtassone, @duganbrett, @EkaterinaMozheiko, @eps1lon, @fulin426, @hallzac2, @idanrozin, @KarimOurrai, @kodai3, @Lagicrus, @mbrookes, @mirefly, @mnajdova, @natac13, @oliviertassinari, @petyosi, @plug-n-play, @praveenkumar-kalidass, @ruppysuppy, @SCollinA, @silviot, @sumarlidason, @Tejaswiangotu123, @vicasas, @xiaoyu-tamu, @ydubinskyi + ## 5.0.0-alpha.24 @@ -87,7 +258,7 @@ Big thanks to the 23 contributors who made this release possible. Here are some - [utils] `useEventCallback` `args` defaults to `unknown[]` (#24564) @eps1lon - [utils] Fix requirePropFactory to merge validators (#24423) @mnajdova -### docs +### Docs - [examples] Patch preact example not working (#24616) - [docs] Add missing newline in component JSDOC (#24610) @eps1lon @@ -108,7 +279,7 @@ Big thanks to the 23 contributors who made this release possible. Here are some - [docs] Document default values of external props (#24417) @eps1lon - [docs] Update in-house ads (#24410) @mbrookes @ewldev -### core +### Core - [core] Skip downloading browser binaries in codesandbox/ci (#24628) @eps1lon - [core] Batch small changes (#24599) @oliviertassinari diff --git a/benchmark/package.json b/benchmark/package.json index bf270c22df3b98..0e7054a646e8f8 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -1,6 +1,6 @@ { "name": "benchmark", - "version": "5.0.0-alpha.24", + "version": "5.0.0-alpha.25", "private": "true", "scripts": { "browser": "yarn webpack --config browser/webpack.config.js && node browser/scripts/benchmark.js", @@ -14,9 +14,9 @@ "@chakra-ui/system": "^1.0.0", "@emotion/react": "^11.0.0", "@emotion/styled": "^11.0.0", - "@material-ui/core": "5.0.0-alpha.24", - "@material-ui/styles": "5.0.0-alpha.24", - "@material-ui/system": "5.0.0-alpha.24", + "@material-ui/core": "5.0.0-alpha.25", + "@material-ui/styles": "5.0.0-alpha.25", + "@material-ui/system": "5.0.0-alpha.25", "@styled-system/css": "^5.1.5", "benchmark": "^2.1.4", "playwright": "^1.6.1", diff --git a/docs/package.json b/docs/package.json index 3b42a4c9496d53..d00976be928599 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "5.0.0-alpha.24", + "version": "5.0.0-alpha.25", "private": true, "author": "Material-UI Team", "license": "MIT", @@ -29,17 +29,17 @@ "@fortawesome/fontawesome-svg-core": "^1.2.30", "@fortawesome/free-solid-svg-icons": "^5.14.0", "@fortawesome/react-fontawesome": "^0.1.11", - "@material-ui/core": "5.0.0-alpha.24", - "@material-ui/docs": "5.0.0-alpha.24", - "@material-ui/icons": "5.0.0-alpha.24", - "@material-ui/lab": "5.0.0-alpha.24", - "@material-ui/styled-engine": "5.0.0-alpha.24", - "@material-ui/styled-engine-sc": "5.0.0-alpha.24", - "@material-ui/styles": "5.0.0-alpha.24", - "@material-ui/system": "5.0.0-alpha.24", - "@material-ui/types": "5.1.6", - "@material-ui/unstyled": "5.0.0-alpha.24", + "@material-ui/core": "5.0.0-alpha.25", "@material-ui/data-grid": "^4.0.0-alpha.18", + "@material-ui/docs": "5.0.0-alpha.25", + "@material-ui/icons": "5.0.0-alpha.24", + "@material-ui/lab": "5.0.0-alpha.25", + "@material-ui/styled-engine": "5.0.0-alpha.25", + "@material-ui/styled-engine-sc": "5.0.0-alpha.25", + "@material-ui/styles": "5.0.0-alpha.25", + "@material-ui/system": "5.0.0-alpha.25", + "@material-ui/types": "5.1.7", + "@material-ui/unstyled": "5.0.0-alpha.25", "@trendmicro/react-interpolate": "^0.5.5", "@types/autosuggest-highlight": "^3.1.0", "@types/css-mediaquery": "^0.1.0", diff --git a/framer/package.json b/framer/package.json index 2b66db13f9cd80..6abd1b448cafba 100644 --- a/framer/package.json +++ b/framer/package.json @@ -1,6 +1,6 @@ { "name": "framer", - "version": "1.0.6", + "version": "1.0.7", "description": "Builds Material-UI for Framer X", "repository": "https://github.com/mui-org/material-ui", "author": "Material-UI Team", @@ -11,7 +11,7 @@ "@types/react": "^17.0.0", "case": "1.6.3", "deepmerge": "^4.0.0", - "docs": "5.0.0-alpha.24", + "docs": "5.0.0-alpha.25", "framer": "^1.2.5", "framer-motion": "^3.1.1", "mustache": "^4.0.0", diff --git a/package.json b/package.json index 7b29982a350699..33b1c04b2a1df3 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "5.0.0-alpha.24", + "version": "5.0.0-alpha.25", "private": true, "scripts": { "proptypes": "cross-env BABEL_ENV=test babel-node --extensions \".tsx,.ts,.js\" ./scripts/generateProptypes.ts", diff --git a/packages/material-ui-docs/package.json b/packages/material-ui-docs/package.json index 98ce918884b376..73809c80ca6d04 100644 --- a/packages/material-ui-docs/package.json +++ b/packages/material-ui-docs/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/docs", - "version": "5.0.0-alpha.24", + "version": "5.0.0-alpha.25", "private": false, "author": "Material-UI Team", "description": "Material-UI Docs - Documentation building blocks.", @@ -46,7 +46,7 @@ }, "dependencies": { "@babel/runtime": "^7.4.4", - "@material-ui/utils": "5.0.0-alpha.24", + "@material-ui/utils": "5.0.0-alpha.25", "nprogress": "^0.2.0" }, "publishConfig": { diff --git a/packages/material-ui-lab/package.json b/packages/material-ui-lab/package.json index 504581171db286..34684c21b65921 100644 --- a/packages/material-ui-lab/package.json +++ b/packages/material-ui-lab/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/lab", - "version": "5.0.0-alpha.24", + "version": "5.0.0-alpha.25", "private": false, "author": "Material-UI Team", "description": "Laboratory for new Material-UI modules.", @@ -67,8 +67,8 @@ "@date-io/dayjs": "^2.10.6", "@date-io/luxon": "^2.10.6", "@date-io/moment": "^2.10.6", - "@material-ui/system": "5.0.0-alpha.24", - "@material-ui/utils": "5.0.0-alpha.24", + "@material-ui/system": "5.0.0-alpha.25", + "@material-ui/utils": "5.0.0-alpha.25", "clsx": "^1.0.4", "prop-types": "^15.7.2", "react-is": "^16.8.0 || ^17.0.0", @@ -76,7 +76,7 @@ "rifm": "^0.12.0" }, "devDependencies": { - "@material-ui/types": "5.1.6", + "@material-ui/types": "5.1.7", "@types/luxon": "^1.25.0", "date-fns": "^2.0.0", "dayjs": "^1.8.17", diff --git a/packages/material-ui-styled-engine-sc/package.json b/packages/material-ui-styled-engine-sc/package.json index 6bebb38d69e46e..ef82b36d732d59 100644 --- a/packages/material-ui-styled-engine-sc/package.json +++ b/packages/material-ui-styled-engine-sc/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/styled-engine-sc", - "version": "5.0.0-alpha.24", + "version": "5.0.0-alpha.25", "private": false, "author": "Material-UI Team", "description": "styled() API wrapper package for styled-components.", diff --git a/packages/material-ui-styled-engine/package.json b/packages/material-ui-styled-engine/package.json index 534a43faa799cb..207ad7c6206915 100644 --- a/packages/material-ui-styled-engine/package.json +++ b/packages/material-ui-styled-engine/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/styled-engine", - "version": "5.0.0-alpha.24", + "version": "5.0.0-alpha.25", "private": false, "author": "Material-UI Team", "description": "styled() API wrapper package for emotion.", diff --git a/packages/material-ui-styles/package.json b/packages/material-ui-styles/package.json index 79800492431996..a0d0d42f0f4d42 100644 --- a/packages/material-ui-styles/package.json +++ b/packages/material-ui-styles/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/styles", - "version": "5.0.0-alpha.24", + "version": "5.0.0-alpha.25", "private": false, "author": "Material-UI Team", "description": "Material-UI Styles - The styling solution of Material-UI.", @@ -49,8 +49,8 @@ "dependencies": { "@babel/runtime": "^7.4.4", "@emotion/hash": "^0.8.0", - "@material-ui/types": "5.1.6", - "@material-ui/utils": "5.0.0-alpha.24", + "@material-ui/types": "5.1.7", + "@material-ui/utils": "5.0.0-alpha.25", "clsx": "^1.0.4", "csstype": "^3.0.2", "hoist-non-react-statics": "^3.3.2", diff --git a/packages/material-ui-system/package.json b/packages/material-ui-system/package.json index 28714c7e86a24b..25c1667dad6d02 100644 --- a/packages/material-ui-system/package.json +++ b/packages/material-ui-system/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/system", - "version": "5.0.0-alpha.24", + "version": "5.0.0-alpha.25", "private": false, "author": "Material-UI Team", "description": "CSS utilities for rapidly laying out custom designs.", @@ -49,7 +49,7 @@ }, "dependencies": { "@babel/runtime": "^7.4.4", - "@material-ui/utils": "5.0.0-alpha.24", + "@material-ui/utils": "5.0.0-alpha.25", "csstype": "^3.0.2", "prop-types": "^15.7.2" }, diff --git a/packages/material-ui-types/package.json b/packages/material-ui-types/package.json index 100e91818801df..5fd695983c1d41 100644 --- a/packages/material-ui-types/package.json +++ b/packages/material-ui-types/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/types", - "version": "5.1.6", + "version": "5.1.7", "private": false, "author": "Material-UI Team", "description": "Utility types for Material-UI.", diff --git a/packages/material-ui-unstyled/package.json b/packages/material-ui-unstyled/package.json index ff3dbabc4149db..ee13f0c3cb0c75 100644 --- a/packages/material-ui-unstyled/package.json +++ b/packages/material-ui-unstyled/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/unstyled", - "version": "5.0.0-alpha.24", + "version": "5.0.0-alpha.25", "private": false, "author": "Material-UI Team", "description": "Unstyled React components with which to implement custom design systems.", @@ -47,13 +47,13 @@ }, "dependencies": { "@babel/runtime": "^7.4.4", - "@material-ui/utils": "5.0.0-alpha.24", + "@material-ui/utils": "5.0.0-alpha.25", "clsx": "^1.0.4", "prop-types": "^15.7.2", "react-is": "^16.8.0 || ^17.0.0" }, "devDependencies": { - "@material-ui/types": "5.1.6" + "@material-ui/types": "5.1.7" }, "sideEffects": false, "publishConfig": { diff --git a/packages/material-ui-utils/package.json b/packages/material-ui-utils/package.json index e16379558539eb..cebb74b16cc18c 100644 --- a/packages/material-ui-utils/package.json +++ b/packages/material-ui-utils/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/utils", - "version": "5.0.0-alpha.24", + "version": "5.0.0-alpha.25", "private": false, "author": "Material-UI Team", "description": "Utility functions for React components.", diff --git a/packages/material-ui/package.json b/packages/material-ui/package.json index 0d00c3366124ba..fad598de191712 100644 --- a/packages/material-ui/package.json +++ b/packages/material-ui/package.json @@ -1,6 +1,6 @@ { "name": "@material-ui/core", - "version": "5.0.0-alpha.24", + "version": "5.0.0-alpha.25", "private": false, "author": "Material-UI Team", "description": "Quickly build beautiful React apps. Material-UI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.", @@ -61,12 +61,12 @@ }, "dependencies": { "@babel/runtime": "^7.4.4", - "@material-ui/styled-engine": "5.0.0-alpha.24", - "@material-ui/styles": "5.0.0-alpha.24", - "@material-ui/system": "5.0.0-alpha.24", - "@material-ui/types": "5.1.6", - "@material-ui/unstyled": "5.0.0-alpha.24", - "@material-ui/utils": "5.0.0-alpha.24", + "@material-ui/styled-engine": "5.0.0-alpha.25", + "@material-ui/styles": "5.0.0-alpha.25", + "@material-ui/system": "5.0.0-alpha.25", + "@material-ui/types": "5.1.7", + "@material-ui/unstyled": "5.0.0-alpha.25", + "@material-ui/utils": "5.0.0-alpha.25", "@popperjs/core": "^2.4.4", "@types/react-transition-group": "^4.2.0", "clsx": "^1.0.4", diff --git a/packages/typescript-to-proptypes/package.json b/packages/typescript-to-proptypes/package.json index 3b0e1e5d3f63b6..330d98d5703951 100644 --- a/packages/typescript-to-proptypes/package.json +++ b/packages/typescript-to-proptypes/package.json @@ -1,6 +1,6 @@ { "name": "typescript-to-proptypes", - "version": "5.0.0-alpha.24", + "version": "5.0.0-alpha.25", "private": true, "description": "Generate proptypes from TypeScript declarations", "engines": { diff --git a/scripts/README.md b/scripts/README.md index e3d5c3c0b01f7b..b43c35b34c70f6 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -8,7 +8,7 @@ A typical release goes like this: The following steps must be proposed as a pull request. -1. Generate the changelog with `yarn relase:changelog` +1. Generate the changelog with `yarn release:changelog` The output must be prepended to the top level `CHANGELOG.md` `yarn release:changelog --help` for more information. @@ -17,7 +17,7 @@ The following steps must be proposed as a pull request. 1. Update the root `/package.json`'s version -1. `yarn relase:version` +1. `yarn release:version` 1. Open PR with changes and wait for review and green CI @@ -26,8 +26,8 @@ The following steps must be proposed as a pull request. ### Release 1. checkout merge commit of the merged PR -1. `yarn relase:build` -1. `yarn relase:publish` +1. `yarn release:build` +1. `yarn release:publish` You need your 2FA device. 1. `yarn release:tag` diff --git a/scripts/releaseChangelog.js b/scripts/releaseChangelog.js index d39a43cf59a0ed..87b7179b12c7f6 100644 --- a/scripts/releaseChangelog.js +++ b/scripts/releaseChangelog.js @@ -134,7 +134,7 @@ async function main(argv) { const shortMessage = commitsItem.commit.message.split('\n')[0]; return `- ${dateSortMarker} ${shortMessage} @${commitsItem.author.login}`; }); - const nowFormated = new Date().toLocaleDateString('en-GB', { + const nowFormated = new Date().toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric',