Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all traces of Preact from the repository #2773

Merged
merged 4 commits into from Jun 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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