Skip to content

Commit

Permalink
remove alpha info
Browse files Browse the repository at this point in the history
  • Loading branch information
mltejera committed May 22, 2024
1 parent c1b9a00 commit cc6c6b8
Showing 1 changed file with 0 additions and 87 deletions.
87 changes: 0 additions & 87 deletions docs/react-v9/contributing/release-cycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
- [FAQ](#faq)
- [Is there still a need for `_unstable` suffixes for hooks/utilities?](#is-there-still-a-need-for-_unstable-suffixes-for-hooksutilities)
- [What's the process for updating already existing unstable package](#whats-the-process-for-updating-already-existing-unstable-package)
- [package not released to npm yet (`9.0.0-alpha.x`):](#package-not-released-to-npm-yet-900-alphax)
- [package already released to npm as `9.0.0-(alpha|beta|rc).x`:](#package-already-released-to-npm-as-900-alphabetarcx)
- [Dev Guide](#dev-guide)
- [1. Kick-off phase](#1-kick-off-phase)
Expand Down Expand Up @@ -40,92 +39,6 @@ Any utilities that are in a stable package **cannot be broken**. Therefore, the

Any hooks/utilities with the `_unstable` suffix **cannot be removed and cannot be broken until the next major version**.

### What's the process for updating already existing unstable package

#### package not released to npm yet (`9.0.0-alpha.x`):

> All packages migration PR https://github.com/microsoft/fluentui/pull/28474
<details>
Let's say you have already created `packages/react-components/react-control` package which is in unstable phase.

Follow these steps:

1. rename package directory and api.md

```sh
mv packages/react-components/react-control packages/react-components/react-control-preview
mv packages/react-components/react-control/etc/react-control.api.md packages/react-components/react-control/etc/react-control-preview.api.md
```

2. Update `README.md`

```diff
-# @fluentui/react-control-preview
+# @fluentui/react-control
```

3. Update `package.json`

```diff
{
- "name": "@fluentui/react-control",
+ "name": "@fluentui/react-control-preview",
- "version": "9.0.0-alpha.0",
+ "version": "0.0.0",
"beachball": {
"disallowedChangeTypes": [
"major",
- "minor",
- "patch",
+ "prerelease"
]
},
}
```

4. Update `project.json`

```diff
{
- "name": "@fluentui/react-control",
+ "name": "@fluentui/react-control-preview",
}
```

5. Update `jest.config.js`

```diff
module.exports = {
- displayName: 'react-control',
+ displayName: 'react-control-preview',
}
```

6. Update `tsconfig.base.json` and `tsconfig.base.all.json`

```diff
"paths": {
- "@fluentui/react-control": ["packages/react-components/react-control/src/index.ts"]
+ "@fluentui/react-control-preview": ["packages/react-components/react-control-preview/src/index.ts"]
}
```

7. Update `/github/CODEOWNERS`

```diff
-packages/react-components/react-control @microsoft/<team-name>
+packages/react-components/react-control-preview @microsoft/<team-name>
```

8. now when ready to release follow [Unstable phase (first release)](#unstable-phase-first-release)

</details>

#### package already released to npm as `9.0.0-(alpha|beta|rc).x`:

> automation PR in progress https://github.com/microsoft/fluentui/pull/28481
# Dev Guide

Following chapters describe required steps for each phase. All of them are generated so it's only a matter of invoking proper generator.
Expand Down

0 comments on commit cc6c6b8

Please sign in to comment.