Skip to content

Commit

Permalink
build: fix tests with exports field
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Sep 3, 2021
1 parent 81fa56e commit 5714c13
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion examples/animation/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import LineUpLite, {
LineUpLiteComponentLike,
} from '@lineup-lite/table';
import { defaultDarkColorScale, defaultColorScale } from '@lineup-lite/components';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import FlipMove from 'react-flip-move';
import { data, Row } from './data';

Expand Down
2 changes: 1 addition & 1 deletion examples/basic/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import LineUpLite, {
actionIconsRemixicon,
} from '@lineup-lite/table';
import { defaultDarkColorScale, defaultColorScale } from '@lineup-lite/components';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { data, Row } from './data';

function Table({ isDarkTheme }: { isDarkTheme: boolean }) {
Expand Down
2 changes: 1 addition & 1 deletion examples/column-resizing/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import LineUpLite, {
actionIconsRemixicon,
} from '@lineup-lite/table';
import { defaultDarkColorScale, defaultColorScale } from '@lineup-lite/components';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { data, Row } from './data';

function Table({ isDarkTheme }: { isDarkTheme: boolean }) {
Expand Down
2 changes: 1 addition & 1 deletion examples/components/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import React from 'react';
import './styles.css';
import { UpSetLine, HeatMap1D } from '@lineup-lite/components';
import '@lineup-lite/components/dist/components.css';
import '@lineup-lite/components/components.css';

export default function App(): JSX.Element {
const isDarkTheme = window.matchMedia != null && window.matchMedia('(prefers-color-scheme: dark)').matches;
Expand Down
2 changes: 1 addition & 1 deletion examples/controlled-state/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import LineUpLite, {
LineUpLiteState,
} from '@lineup-lite/table';
import { defaultDarkColorScale, defaultColorScale } from '@lineup-lite/components';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { data, Row } from './data';

function Table({ isDarkTheme }: { isDarkTheme: boolean }) {
Expand Down
2 changes: 1 addition & 1 deletion examples/filter-action/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import LineUpLite, {
ActionLineUpProps,
} from '@lineup-lite/table';
import { defaultDarkColorScale, defaultColorScale } from '@lineup-lite/components';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { data, Row } from './data';

function useVisibleHelper() {
Expand Down
2 changes: 1 addition & 1 deletion examples/flex-layout/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import LineUpLite, {
actionIconsRemixicon,
} from '@lineup-lite/table';
import { defaultDarkColorScale, defaultColorScale } from '@lineup-lite/components';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { data, Row } from './data';

function Table({ isDarkTheme }: { isDarkTheme: boolean }) {
Expand Down
2 changes: 1 addition & 1 deletion examples/fontawesome/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import LineUpLite, {
ActionIcons,
} from '@lineup-lite/table';
import { defaultDarkColorScale, defaultColorScale } from '@lineup-lite/components';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import {
faSortAmountUp,
Expand Down
2 changes: 1 addition & 1 deletion examples/group-options/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import LineUpLite, {
} from '@lineup-lite/table';
import { defaultDarkColorScale, defaultColorScale } from '@lineup-lite/components';
import type { TextGroupByOptions } from '@lineup-lite/hooks';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { data, Row } from './data';

function useVisibleHelper() {
Expand Down
2 changes: 1 addition & 1 deletion examples/i18n/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import LineUpLite, {
LineUpLiteI18N,
} from '@lineup-lite/table';
import { defaultDarkColorScale, defaultColorScale, formatCategories } from '@lineup-lite/components';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { data, Row } from './data';

function Table({ isDarkTheme }: { isDarkTheme: boolean }) {
Expand Down
2 changes: 1 addition & 1 deletion examples/multi-sorting/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import LineUpLite, {
actionIconsRemixicon,
} from '@lineup-lite/table';
import { defaultDarkColorScale, defaultColorScale } from '@lineup-lite/components';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { data, Row } from './data';

function Table({ isDarkTheme }: { isDarkTheme: boolean }) {
Expand Down
2 changes: 1 addition & 1 deletion examples/numbers/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import LineUpLite, {
featureDefault,
actionIconsRemixicon,
} from '@lineup-lite/table';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { data, Row } from './data';

function Table({ isDarkTheme }: { isDarkTheme: boolean }) {
Expand Down
2 changes: 1 addition & 1 deletion examples/pagination/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
paginationIconsRemixicon,
} from '@lineup-lite/table';
import { defaultDarkColorScale, defaultColorScale } from '@lineup-lite/components';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { data, Row } from './data';

function Table({ isDarkTheme }: { isDarkTheme: boolean }) {
Expand Down
2 changes: 1 addition & 1 deletion examples/sets/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import LineUpLite, {
featureDefault,
actionIconsRemixicon,
} from '@lineup-lite/table';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { data, Row } from './data';

function Table({ isDarkTheme }: { isDarkTheme: boolean }) {
Expand Down
2 changes: 1 addition & 1 deletion examples/sidepanel/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import LineUpLite, {
LineUpLitePanel,
} from '@lineup-lite/table';
import { defaultDarkColorScale, defaultColorScale } from '@lineup-lite/components';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { data, Row } from './data';

function Table({ isDarkTheme }: { isDarkTheme: boolean }) {
Expand Down
2 changes: 1 addition & 1 deletion examples/stackedbar/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import LineUpLite, {
featureDefault,
actionIconsRemixicon,
} from '@lineup-lite/table';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { data, Row } from './data';

function Table({ isDarkTheme }: { isDarkTheme: boolean }) {
Expand Down
2 changes: 1 addition & 1 deletion examples/virtualized-rows/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
actionIconsRemixicon,
} from '@lineup-lite/table';
import { defaultDarkColorScale, defaultColorScale } from '@lineup-lite/components';
import '@lineup-lite/table/dist/table.css';
import '@lineup-lite/table/table.css';
import { data, Row } from './data';

function Table({ isDarkTheme }: { isDarkTheme: boolean }) {
Expand Down
4 changes: 2 additions & 2 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"style": "./dist/components.css",
"types": "./dist/index.d.ts"
},
"./*": "./dist/*.js",
"./*": "./dist/*",
"./dist/*": "./dist/*"
},
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -101,6 +101,6 @@
"ts-jest": "^27.0.5",
"tslib": "^2.3.1",
"typedoc": "^0.21.9",
"typescript": "~4.3"
"typescript": "^4.4.2"
}
}
4 changes: 2 additions & 2 deletions packages/hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"style": "./dist/hooks.css",
"types": "./dist/index.d.ts"
},
"./*": "./dist/*.js",
"./*": "./dist/*",
"./dist/*": "./dist/*"
},
"sideEffects": "dist/hooks.css",
Expand Down Expand Up @@ -107,6 +107,6 @@
"ts-jest": "^27.0.5",
"tslib": "^2.3.1",
"typedoc": "^0.21.9",
"typescript": "~4.3"
"typescript": "^4.4.2"
}
}
4 changes: 2 additions & 2 deletions packages/table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"style": "./dist/table.css",
"types": "./dist/index.d.ts"
},
"./*": "./dist/*.js",
"./*": "./dist/*",
"./dist/*": "./dist/*"
},
"sideEffects": "dist/table.css",
Expand Down Expand Up @@ -106,6 +106,6 @@
"ts-jest": "^27.0.5",
"tslib": "^2.3.1",
"typedoc": "^0.21.9",
"typescript": "~4.3"
"typescript": "^4.4.2"
}
}

0 comments on commit 5714c13

Please sign in to comment.