Skip to content

Commit

Permalink
back to react 18
Browse files Browse the repository at this point in the history
  • Loading branch information
couetilc committed Jan 29, 2025
1 parent 053917a commit 64a2150
Show file tree
Hide file tree
Showing 4 changed files with 3,298 additions and 3,899 deletions.
6 changes: 6 additions & 0 deletions cli
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,19 @@ test:codesplitting() {
}

test:visual() {
pnpm vite --port 5173 -c vite.config.js test/visual/ &
srv=$!

scale=2
network=tiktok
out=./tmp/visual-test/shot.png

pnpx playwright screenshot \
--viewport-size="$((1250 * scale)), $((400 * scale))" \
"http://localhost:5173/?network=$network&knobs=false&scale=$scale" \
"$out"

kill $srv
}

test:dep() {
Expand Down
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,45 +113,45 @@
"url": "git+https://github.com/couetilc/react-social-icons.git"
},
"peerDependencies": {
"react": "15.x.x || 16.x.x || 17.x.x || 18.x.x || 19.x.x",
"react-dom": "15.x.x || 16.x.x || 17.x.x || 18.x.x || 19.x.x"
"react": "15.x.x || 16.x.x || 17.x.x || 18.x.x",
"react-dom": "15.x.x || 16.x.x || 17.x.x || 18.x.x"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/core": "^7.24.9",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.24.8",
"@babel/preset-react": "^7.24.7",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^16.0.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@types/react": "^19.0.7",
"@typescript-eslint/parser": "^8.20.0",
"@vitejs/plugin-react": "^4.3.4",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@types/react": "^19.0.8",
"@typescript-eslint/parser": "^8.22.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-react": "^7.37.4",
"global-jsdom": "^26.0.0",
"globals": "^15.14.0",
"globals": "^15.8.0",
"jsdom": "^26.0.0",
"playwright": "^1.49.1",
"prettier": "^3.4.2",
"playwright": "^1.45.3",
"prettier": "^3.3.3",
"publint": "^0.3.2",
"rollup": "^4.30.1",
"rollup": "^4.19.0",
"rollup-plugin-copy": "^3.5.0",
"svgo": "^3.3.2",
"typescript": "^5.7.3",
"vite": "^6.0.7",
"vitest": "^3.0.2",
"wrangler": "^3.103.2"
"typescript": "^5.5.3",
"vite": "^6.0.11",
"vitest": "^3.0.4",
"wrangler": "^3.65.1"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
"@babel/runtime": "^7.24.8",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"packageManager": "pnpm@10.0.0+sha512.b8fef5494bd3fe4cbd4edabd0745df2ee5be3e4b0b8b08fa643aa3e4c6702ccc0f00d68fa8a8c9858a735a0032485a44990ed2810526c875e416f001b17df12b"
}
"packageManager": "pnpm@8.15.3"
}
Loading

0 comments on commit 64a2150

Please sign in to comment.