Skip to content

Commit

Permalink
Remove react dependency (#204)
Browse files Browse the repository at this point in the history
* Remove React

We don’t need it for this repo

* Further package updates

* Bundle

* Update changelog
  • Loading branch information
johngodley committed Jan 9, 2023
1 parent ba97b06 commit bb0c391
Show file tree
Hide file tree
Showing 13 changed files with 100 additions and 90 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.23.1] - 2023-01-09

### Update
- Remove React as a direct dependency

## [2.23.0] - 2023-01-05

### Update
Expand Down
5 changes: 0 additions & 5 deletions build-module/components/block-editor/text-editor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build-module/components/block-editor/text-editor.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions build-module/components/block-editor/visual-editor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build-module/components/block-editor/visual-editor.js.map

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions build/components/block-editor/text-editor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/components/block-editor/text-editor.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion build/components/block-editor/visual-editor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/components/block-editor/visual-editor.js.map

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions package.json
Expand Up @@ -93,17 +93,14 @@
"lib0": "^0.2.58",
"lodash": "^4.17.21",
"memize": "^1.1.0",
"react": "18.2.0",
"react-autosize-textarea": "^7.1.0",
"react-dom": "18.2.0",
"reakit-utils": "^0.15.2",
"redux-undo": "^1.0.1",
"uuid": "^9.0.0",
"yjs": "^13.5.44"
},
"devDependencies": {
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.7",
"@babel/core": "^7.20.12",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
Expand All @@ -126,7 +123,7 @@
"@wordpress/jest-preset-default": "^10.5.0",
"@wordpress/prettier-config": "^2.7.0",
"@wordpress/scripts": "^25.1.0",
"babel-loader": "^9.1.0",
"babel-loader": "^9.1.2",
"babel-plugin-inline-json-import": "^0.3.2",
"css-loader": "^6.7.3",
"eslint": "^8.31.0",
Expand Down
5 changes: 0 additions & 5 deletions src/components/block-editor/text-editor.js
@@ -1,9 +1,4 @@
// @ts-nocheck
/**
* External dependencies
*/
import React from 'react';

/**
* Internal dependencies
*/
Expand Down
5 changes: 0 additions & 5 deletions src/components/block-editor/visual-editor.js
@@ -1,9 +1,4 @@
// @ts-nocheck
/**
* External dependencies
*/
import React from 'react';

/**
* WordPress dependencies
*/
Expand Down

0 comments on commit bb0c391

Please sign in to comment.