Skip to content

Commit 0e31f51

Browse files
authored
Remove bump-peer-deps (#5161)
1 parent bc95051 commit 0e31f51

6 files changed

Lines changed: 3 additions & 82 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ it according to semantic versioning. For example, if your PR adds a breaking cha
1515
should change the heading of the (upcoming) version to include a major version bump.
1616
1717
-->
18+
1819
# 6.7.1
1920

2021
## @rjsf/core
@@ -32,6 +33,7 @@ should change the heading of the (upcoming) version to include a major version b
3233
## Dev / docs / playground
3334

3435
- Updated `utility-functions.md` to document `getDecimalSeparator()`
36+
- Removed bump-peer-deps script, pnpm workspaces now handles this for us.
3537

3638
# 6.7.1
3739

@@ -2494,7 +2496,7 @@ Move theme snapshot tests into separate package
24942496
- However, if users of @rjsf/antd want to use v5 styling, they need to wrap your application with the `StyleProvider` from `@ant-design/cssinjs`. They need not have to install this package, its a transitive package coming from antd.
24952497

24962498
```tsx
2497-
import { StyleProvider } from '@ant-design/cssinjs';
2499+
import { StyleProvider } from "@ant-design/cssinjs";
24982500

24992501
const Component = () => {
25002502
return (

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@
2020
"format": "oxfmt .",
2121
"format-check": "oxfmt --check .",
2222
"bump-all-packages": "echo 'NOTE: Make sure to sanity check the playground locally before commiting changes' && pnpm update --latest && pnpm install && pnpm run lint && pnpm run build && pnpm run test",
23-
"bump-peer-deps": "node scripts/bump-peer-deps.js",
2423
"refresh-node-modules": "rimraf packages/*/node_modules && rimraf node_modules && pnpm install",
25-
"commit-package-changes": "git add pnpm-lock.yaml packages/*/package*.json && cross-env CI=skipPrecommit git commit -m 'updated package*.json after versioning' && git push",
26-
"post-versioning": "echo 'This will take a while...' && pnpm run bump-peer-deps && pnpm run refresh-node-modules && pnpm run commit-package-changes && pnpm run update-version-tags",
2724
"update-version-tags": "git tag -f $(node scripts/get-version-tag.js) && git push -f origin $(node scripts/get-version-tag.js)",
2825
"nuke-build-env": "rimraf .nx && rimraf pnpm-lock.yaml",
2926
"sanity-check": "pnpm run lint && pnpm run build && pnpm run test"

packages/docs/docs/contributing.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -177,21 +177,6 @@ The package is published through an automation token belonging to the
177177
[rjsf-bot](https://www.npmjs.com/~rjsf-bot) user on npm. This token
178178
is stored as the `NPM_TOKEN` secret on GitHub Actions.
179179

180-
### Updating the peer dependencies for new features in a minor release
181-
182-
If a set of changes added new features or APIs that require updating downstream peer dependencies, then run the following
183-
command:
184-
185-
```bash
186-
pnpm run post-versioning
187-
```
188-
189-
The `pnpm run post-versioning` script will update the peer dependencies in all of the `packages/*/package.json` files if necessary.
190-
It will then clean up the `node_modules` directories and rerun `pnpm install` to update the `pnpm-lock.yaml` files.
191-
Finally, it creates and pushes a new commit with those `package.json` and `pnpm-lock.yaml` files up to GitHub.
192-
193-
> NOTE: this command will take a while, be patient
194-
195180
### Releasing docs
196181

197182
Docs are automatically published to GitHub Pages when the `main` branch is updated.

packages/utils/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
<!-- PROJECT LOGO -->
88
<br />
99
<p align="center">
10-
<a href="https://github.com/rjsf-team/react-jsonschema-form">
11-
<img src="https://raw.githubusercontent.com/rjsf-team/react-jsonschema-form/7ebc86621d8df8c21f0c39bcca6d476f6f7a2051/packages/utils/logo.png" alt="Logo" width="120" height="120">
12-
</a>
13-
1410
<h3 align="center">@rjsf/utils</h3>
1511

1612
<p align="center">

packages/validator-ajv8/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
<!-- PROJECT LOGO -->
88
<br />
99
<p align="center">
10-
<a href="https://github.com/rjsf-team/react-jsonschema-form">
11-
<img src="https://raw.githubusercontent.com/rjsf-team/react-jsonschema-form/7ebc86621d8df8c21f0c39bcca6d476f6f7a2051/packages/validator-ajv8/logo.png" alt="Logo" width="120" height="120">
12-
</a>
1310

1411
<h3 align="center">@rjsf/validator-ajv8</h3>
1512

scripts/bump-peer-deps.js

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)