Skip to content

Commit

Permalink
fea(typescript): get rid of babel
Browse files Browse the repository at this point in the history
  • Loading branch information
maximedasilva committed Feb 29, 2024
1 parent b0e08c8 commit 680d5a0
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 375 deletions.
13 changes: 0 additions & 13 deletions babel.config.js

This file was deleted.

6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,8 @@
"generate-types": "./node_modules/.bin/lerna exec -- npm run generate-types"
},
"devDependencies": {
"@babel/cli": "7.23.0",
"@babel/core": "7.23.2",
"@babel/eslint-parser": "7.22.15",
"@babel/eslint-plugin": "7.22.10",
"@babel/plugin-transform-runtime": "7.23.2",
"@babel/preset-env": "7.23.2",
"@babel/preset-react": "7.22.15",
"@babel/preset-typescript": "^7.23.3",
"@poool/eslint-config": "3.0.1",
"@poool/eslint-config-react": "3.0.1",
"@poool/eslint-plugin": "3.0.0",
Expand Down
13 changes: 0 additions & 13 deletions packages/core/babel.config.js

This file was deleted.

16 changes: 0 additions & 16 deletions packages/react-d3-plugin/babel.config.js

This file was deleted.

16 changes: 0 additions & 16 deletions packages/react/babel.config.js

This file was deleted.

3 changes: 2 additions & 1 deletion packages/react/lib/icons.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentPropsWithoutRef } from 'react';
import { classNames } from '@junipero/core';
import { ComponentPropsWithRef, ComponentPropsWithoutRef } from 'react';

export declare interface IconProps extends ComponentPropsWithoutRef<'svg'> {
className?: string
Expand All @@ -19,6 +19,7 @@ export const Arrows = ({ className, ...rest }: IconProps): JSX.Element => (
);

export const Remove = ({ className, ...rest }: IconProps): JSX.Element => {

return (
<svg
{ ...rest }
Expand Down
16 changes: 0 additions & 16 deletions packages/transitions/babel.config.js

This file was deleted.

Loading

0 comments on commit 680d5a0

Please sign in to comment.