Skip to content

Commit

Permalink
remove jest and styled-components related deps
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Aug 7, 2024
1 parent 5222a0e commit 5c8a2a1
Show file tree
Hide file tree
Showing 10 changed files with 61 additions and 744 deletions.
1 change: 0 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": [
"stylelint-config-recommended",
"stylelint-config-styled-components",
"stylelint-config-prettier"
],
"overrides": [
Expand Down
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"recommendations": [
"dbaeumer.vscode-eslint",
"jounqin.vscode-mdx",
"styled-components.vscode-styled-components",
"stylelint.vscode-stylelint"
]
}
3 changes: 1 addition & 2 deletions components/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
},
allowImportExportEverywhere: true,
},
plugins: ['@typescript-eslint', 'import', 'react', 'jest'],
plugins: ['@typescript-eslint', 'import', 'react'],
extends: [
'eslint:recommended',
'plugin:eslint-comments/recommended',
Expand Down Expand Up @@ -120,6 +120,5 @@ module.exports = {
es6: true,
browser: true,
node: true,
jest: true,
},
}
40 changes: 0 additions & 40 deletions components/jest.config.ts

This file was deleted.

9 changes: 1 addition & 8 deletions components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"build": "vite build",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"clean": "rimraf dist src/components/icons/generated/",
"clean": "rm -rf dist src/components/icons/generated/",
"lint:types": "tsc --noEmit",
"prepack": "pnpm build",
"test": "jest",
Expand All @@ -47,7 +47,6 @@
"devDependencies": {
"@babel/core": "^7.20.5",
"@honkhonk/vite-plugin-svgr": "^1.1.0",
"@jest/types": "^27.2.5",
"@stylelint/postcss-css-in-js": "^0.38.0",
"@svgr/babel-plugin-remove-jsx-attribute": "^6.0.0",
"@svgr/rollup": "^6.2.1",
Expand All @@ -56,12 +55,10 @@
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/glob": "^7.2.0",
"@types/jest": "^29.5.5",
"@types/lodash": "^4.14.176",
"@types/node": "^16.11.6",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"@types/rimraf": "^3.0.2",
"@types/testing-library__jest-dom": "^6.0.0",
"@vanilla-extract/css": "^1.13.0",
"@vanilla-extract/css-utils": "^0.1.3",
Expand All @@ -71,16 +68,12 @@
"@vanilla-extract/recipes": "^0.5.0",
"@vanilla-extract/sprinkles": "^1.6.1",
"@vanilla-extract/vite-plugin": "^3.9.0",
"deepmerge": "^4.2.2",
"esbuild-darwin-arm64": "^0.14.27",
"glob": "^7.2.0",
"jest": "^27.3.1",
"jest-watch-typeahead": "^1.0.0",
"rainbow-sprinkles": "0.17.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.7",
"ts-node": "^10.4.0",
"typescript": "4.9.4",
"vite": "^3.2.5",
Expand Down
22 changes: 0 additions & 22 deletions docs/jest.config.js

This file was deleted.

6 changes: 1 addition & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build:playroom": "playroom build",
"build:next": "next build",
"export": "next export",
"clean": "rimraf .next public/playroom",
"clean": "rm -rf .next public/playroom",
"dev": "NODE_OPTIONS='--inspect' next dev & playroom start",
"lint": "next lint",
"lint:fix": "next lint --fix",
Expand All @@ -32,7 +32,6 @@
"react-element-to-jsx-string": "^14.3.4",
"react-live": "3.1.1",
"react-transition-state": "^1.1.4",
"styled-components": "5.3.3",
"ts-pattern": "^4.3.0"
},
"devDependencies": {
Expand All @@ -47,16 +46,13 @@
"@types/node": "^16.11.6",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"@types/rimraf": "^3.0.2",
"@types/styled-components": "^5",
"@vanilla-extract/css": "^1.13.0",
"babel-loader": "^8.2.4",
"css-loader": "^6.8.1",
"fs-extra": "^10.0.0",
"glob": "^7.2.0",
"mini-css-extract-plugin": "^2.7.6",
"react-docgen-typescript": "^2.1.1",
"rimraf": "^3.0.2",
"style-loader": "^3.3.3",
"stylelint-webpack-plugin": "^3.3.0",
"typescript": "^4.6.2",
Expand Down
2 changes: 1 addition & 1 deletion docs/public/playroom/preview/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">

<head>
<meta name="description" content="Design systems for ENS built with React and styled-components" />
<meta name="description" content="Design systems for ENS built with React and Vanilla Extract" />
<meta charset="utf-8">
<title>ENS Design</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand Down
8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,21 @@
"@types/dedent": "^0.7.0",
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/styled-components": "^5",
"@types/webpack-env": "^1.16.3",
"@typescript-eslint/eslint-plugin": "^5.45.1",
"@typescript-eslint/parser": "^5.45.1",
"babel-jest": "^27.5.1",
"change-case": "^4.1.2",
"dedent": "^0.7.0",
"eslint": "^7.32.0",
"eslint-config-next": "12.0.1",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-jest": "^24.5.2",
"eslint-plugin-mdx": "^1.15.1",
"eslint-plugin-prettier": "^4.0.0",
"fs-extra": "^10.0.0",
"glob": "^7.2.0",
"husky": "^7.0.4",
"jest-styled-components": "^7.0.8",
"lint-staged": "^11.2.6",
"postcss-syntax": "^0.36.2",
"prettier": "^2.8.0",
Expand All @@ -74,16 +70,14 @@
"stylelint": "^14.8.5",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended": "^7.0.0",
"stylelint-config-styled-components": "^0.1.1",
"typescript": "4.9.4",
"typescript-styled-plugin": "^0.18.2",
"utility-types": "^3.10.0"
},
"dependencies": {
"react": "^18",
"react-dom": "^18",
"react-transition-state": "^1.1.4",
"styled-components": "^5.3.3"
"react-transition-state": "^1.1.4"
},
"peerDependencies": {
"eslint-plugin-import": "^2.24.2",
Expand Down
Loading

0 comments on commit 5c8a2a1

Please sign in to comment.