Skip to content

Commit

Permalink
Remove all traces of Preact from the repository (#2773)
Browse files Browse the repository at this point in the history
* Remove all traces of Preact from the repository

* Revert is-prop-valid changes and add comment

* Update snapshot

* Remove changeset for changes that got reverted
  • Loading branch information
srmagura committed Jun 7, 2022
1 parent 6f1f408 commit 62dd16b
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 80 deletions.
1 change: 0 additions & 1 deletion .flowconfig
Expand Up @@ -6,7 +6,6 @@
.*/node_modules/styled-components/.*
.*/node_modules/graphql/.*
.*/node_modules/metro.*
.*/node_modules/preact/.*
.*/node_modules/@parcel/.*

[untyped]
Expand Down
1 change: 0 additions & 1 deletion .flowconfig-ci
Expand Up @@ -6,7 +6,6 @@
.*/node_modules/styled-components/.*
.*/node_modules/graphql/.*
.*/node_modules/metro.*
.*/node_modules/preact/.*
.*/node_modules/@parcel/.*


Expand Down
5 changes: 4 additions & 1 deletion packages/is-prop-valid/src/props.js
Expand Up @@ -481,7 +481,10 @@ const props = {
yChannelSelector: true,
z: true,
zoomAndPan: true,
// preact

// For preact. We have this code here even though Emotion doesn't support
// Preact, since @emotion/is-prop-valid is used by some libraries outside of
// the context of Emotion.
for: true,
class: true,
autofocus: true
Expand Down
2 changes: 0 additions & 2 deletions packages/jest/package.json
Expand Up @@ -41,8 +41,6 @@
"@emotion/react": "11.9.0",
"@types/jest": "^27.0.3",
"enzyme-to-json": "^3.6.1",
"preact": "^8.2.9",
"preact-render-to-json": "^3.6.6",
"pretty-format": "^22.4.3",
"react": "16.14.0",
"react-dom": "16.14.0",
Expand Down
21 changes: 0 additions & 21 deletions packages/jest/test/__snapshots__/preact.test.js.snap

This file was deleted.

44 changes: 0 additions & 44 deletions packages/jest/test/preact.test.js

This file was deleted.

10 changes: 0 additions & 10 deletions yarn.lock
Expand Up @@ -24724,16 +24724,6 @@ potrace@^2.1.8:
dependencies:
jimp "^0.14.0"

preact-render-to-json@^3.6.6:
version "3.6.6"
resolved "https://registry.npmjs.org/preact-render-to-json/-/preact-render-to-json-3.6.6.tgz#f67f48581912ac53fc9f4873bc6d7ce342f71c20"
integrity sha1-9n9IWBkSrFP8n0hzvG1840L3HCA=

preact@^8.2.9:
version "8.5.0"
resolved "https://registry.npmjs.org/preact/-/preact-8.5.0.tgz#05690de3af035cd8ad393e8b4057b8ab29aedee1"
integrity sha512-S2OOz+lRjfbqDbV5LOIcJ6yfYvshDtKvvsMwaFW84wuw4HtFUYH67T+hnWhdCDYtW8BfmyIg9utz16s6U80HbA==

prebuild-install@^6.0.1:
version "6.1.4"
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-6.1.4.tgz#ae3c0142ad611d58570b89af4986088a4937e00f"
Expand Down

0 comments on commit 62dd16b

Please sign in to comment.