Skip to content

Commit

Permalink
gitignore fix and combine packages
Browse files Browse the repository at this point in the history
added .idea to the gitignore

combined the packages into ui
setup the tests and src folders to run with all the scripts
  • Loading branch information
EthanD1998 committed Aug 30, 2024
1 parent 0e9c081 commit ff6d3b1
Show file tree
Hide file tree
Showing 19 changed files with 9 additions and 100 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,7 @@ yarn-error.log*
.vercel

# tsup
dist
dist

# idea
.idea
2 changes: 1 addition & 1 deletion packages/discvr-ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"test": "jest",
"lint": "eslint .",
"build": "tsup field-type-info.tsx --format cjs,esm --dts",
"build": "tsup src/*.tsx --format cjs,esm --dts",
"dev": "npm run build -- --watch"
},
"jest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function OperatorLabel(props: OperatorLabelProps): React.ReactElement | null {
<Select
label="Operator"
labelId="operator-label"

onChange={(event) =>
handleFilterChange(index, "operator", event.target.value)
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import {create} from 'react-test-renderer';
import { FieldLabel } from './field-label';
import { FieldLabel } from '../src/field-label';


export declare interface FieldModel {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import {create} from 'react-test-renderer';
import { ValueComponent } from './field-type-info';
import { ValueComponent } from '../src/field-type-info';

export declare interface FieldModel {
name: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import {create} from 'react-test-renderer';
import { OperatorLabel } from './operator-label';
import { OperatorLabel } from '../src/operator-label';


export declare interface FieldModel {
Expand Down
7 changes: 0 additions & 7 deletions packages/field-label-component/.babelrc

This file was deleted.

3 changes: 0 additions & 3 deletions packages/field-label-component/.eslintrc.js

This file was deleted.

32 changes: 0 additions & 32 deletions packages/field-label-component/package.json

This file was deleted.

5 changes: 0 additions & 5 deletions packages/field-label-component/tsconfig.json

This file was deleted.

7 changes: 0 additions & 7 deletions packages/operator-label-component/.babelrc

This file was deleted.

3 changes: 0 additions & 3 deletions packages/operator-label-component/.eslintrc.js

This file was deleted.

32 changes: 0 additions & 32 deletions packages/operator-label-component/package.json

This file was deleted.

5 changes: 0 additions & 5 deletions packages/operator-label-component/tsconfig.json

This file was deleted.

0 comments on commit ff6d3b1

Please sign in to comment.