Skip to content

Commit

Permalink
make build work, remove unused plugins, fix stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Aug 11, 2024
1 parent 7332682 commit dc4d3ca
Show file tree
Hide file tree
Showing 48 changed files with 501 additions and 1,118 deletions.
9 changes: 2 additions & 7 deletions components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"license": "MIT",
"scripts": {
"build": "vite build",
"postbuild": "tsc --emitDeclarationOnly",
"postbuild": "tsc -p tsconfig.build.json",
"lint": "eslint . -c eslint.config.mjs",
"lint:fix": "eslint . -c eslint.config.mjs --fix",
"clean": "rm -rf dist src/components/icons/generated/",
Expand All @@ -46,17 +46,14 @@
"ts-pattern": "^4.3.0"
},
"devDependencies": {
"@honkhonk/vite-plugin-svgr": "^1.1.0",
"@stylelint/postcss-css-in-js": "^0.38.0",
"@svgr/babel-plugin-remove-jsx-attribute": "^6.0.0",
"@svgr/rollup": "^6.2.1",
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/glob": "^7.2.0",
"@types/lodash": "^4.14.176",
"@types/node": "^16.11.6",
"@types/node": "^22.2.0",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"@types/testing-library__jest-dom": "^6.0.0",
Expand All @@ -75,8 +72,6 @@
"react-dom": "^18.0.0",
"typescript": "4.9.4",
"vite": "^5.4.0",
"vite-plugin-babel-macros": "^1.0.6",
"vite-plugin-svgr": "^1.1.0",
"vite-tsconfig-paths": "^4.0.1",
"vitest": "^2.0.5"
},
Expand Down
2 changes: 1 addition & 1 deletion components/src/components/atoms/Banner/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as React from 'react'
import { WithAlert, getValueForAlert } from './utils/getValueForAlert'
import { Typography } from '../Typography'

import { AlertSVG, CrossSVG, EthSVG, UpRightArrowSVG } from '../..'
import { AlertSVG, CrossSVG, EthSVG, UpRightArrowSVG } from '../../../icons/index'
import { Box, BoxProps } from '../Box/Box'

type NativeDivProps = React.HTMLAttributes<HTMLDivElement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ import { act } from 'react-dom/test-utils'

import { cleanup, render, screen, userEvent, waitFor } from '@/test'

import { FieldSet, RadioButton } from '@/src'

import { Props, RadioButtonGroup } from './RadioButtonGroup'
import { FieldSet, RadioButton } from '@/src/components'

const RadioButtonGroupWithState = (
props: Omit<Props, 'onChange' | 'value'>,
Expand Down
4 changes: 0 additions & 4 deletions components/src/icons/FastForward.svg

This file was deleted.

10 changes: 0 additions & 10 deletions components/src/icons/Filter.svg

This file was deleted.

3 changes: 0 additions & 3 deletions components/src/icons/Flame.svg

This file was deleted.

11 changes: 0 additions & 11 deletions components/src/icons/GasPump.svg

This file was deleted.

10 changes: 0 additions & 10 deletions components/src/icons/Grid.svg

This file was deleted.

3 changes: 0 additions & 3 deletions components/src/icons/Heart.svg

This file was deleted.

4 changes: 0 additions & 4 deletions components/src/icons/HeartActive.svg

This file was deleted.

3 changes: 0 additions & 3 deletions components/src/icons/HorizontalOutwardArrows.svg

This file was deleted.

11 changes: 0 additions & 11 deletions components/src/icons/House.svg

This file was deleted.

11 changes: 0 additions & 11 deletions components/src/icons/InfoCircle.svg

This file was deleted.

3 changes: 0 additions & 3 deletions components/src/icons/Key.svg

This file was deleted.

10 changes: 0 additions & 10 deletions components/src/icons/Language.svg

This file was deleted.

3 changes: 0 additions & 3 deletions components/src/icons/LeftArrow.svg

This file was deleted.

3 changes: 0 additions & 3 deletions components/src/icons/LeftChevron.svg

This file was deleted.

10 changes: 0 additions & 10 deletions components/src/icons/Lifebuoy.svg

This file was deleted.

4 changes: 0 additions & 4 deletions components/src/icons/Link.svg

This file was deleted.

3 changes: 0 additions & 3 deletions components/src/icons/List.svg

This file was deleted.

3 changes: 0 additions & 3 deletions components/src/icons/ListDown.svg

This file was deleted.

3 changes: 0 additions & 3 deletions components/src/icons/ListUp.svg

This file was deleted.

4 changes: 0 additions & 4 deletions components/src/icons/Lock.svg

This file was deleted.

4 changes: 0 additions & 4 deletions components/src/icons/MagnifyingGlass.svg

This file was deleted.

5 changes: 0 additions & 5 deletions components/src/icons/MagnifyingGlassActive.svg

This file was deleted.

3 changes: 0 additions & 3 deletions components/src/icons/MagnifyingGlassSimple.svg

This file was deleted.

4 changes: 0 additions & 4 deletions components/src/icons/Marker.svg

This file was deleted.

3 changes: 0 additions & 3 deletions components/src/icons/Menu.svg

This file was deleted.

3 changes: 0 additions & 3 deletions components/src/icons/Minus.svg
Diff not rendered.
Loading

0 comments on commit dc4d3ca

Please sign in to comment.