Skip to content

Commit

Permalink
fix: revert to React 17
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard committed Nov 24, 2022
1 parent 056e1bb commit 68d513b
Show file tree
Hide file tree
Showing 8 changed files with 151 additions and 2,939 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,4 +1,3 @@
.DS_Store
.workshop
dist
node_modules
2 changes: 2 additions & 0 deletions .prettierignore
@@ -0,0 +1,2 @@
dist
pnpm-lock.yaml
14 changes: 0 additions & 14 deletions babel.config.js

This file was deleted.

16 changes: 0 additions & 16 deletions jest.config.js

This file was deleted.

30 changes: 5 additions & 25 deletions package.json
Expand Up @@ -29,38 +29,27 @@
"check:types": "tsc",
"clean": "rimraf .workshop dist",
"commit": "cz",
"dev": "workshop dev",
"format": "prettier --write --cache --ignore-unknown .",
"generate": "rimraf src/icons && node -r esbuild-register scripts/generate.ts",
"lint": "eslint . --ext .cjs,.js,.jsx,.mjs,.ts,.tsx --quiet",
"prepare": "husky install",
"prepublishOnly": "pnpm build",
"release": "semantic-release",
"test": "jest",
"test": "echo 'TODO'",
"watch": "pkg watch --strict"
},
"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@sanity/icons": "^1.3.6",
"@sanity/pkg-utils": "^1.18.0",
"@sanity/semantic-release-preset": "^2.0.2",
"@sanity/ui": "1.0.0-beta.32",
"@sanity/ui-workshop": "1.0.0-beta.5",
"@svgr/core": "^6.4.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.2.3",
"@types/mkdirp": "^1.0.2",
"@types/node": "^18.11.9",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"@types/react": "^17.0.49",
"@types/react-dom": "^17.0.17",
"@types/styled-components": "^5.1.26",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"camelcase": "^6.3.0",
Expand All @@ -77,25 +66,16 @@
"eslint-plugin-react-hooks": "^4.6.0",
"globby": "^11.1.0",
"husky": "^8.0.2",
"jest": "^29.3.1",
"jest-axe": "^7.0.0",
"jest-environment-jsdom": "^29.3.1",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"react": "^17.0.2",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.5",
"styled-components": "^5.3.6",
"typescript": "^4.9.3"
},
"peerDependencies": {
"react": "^18"
},
"engines": {
"node": ">=14.0.0"
"react": "^16.9 || ^17 || ^18"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 68d513b

Please sign in to comment.