Skip to content

Commit

Permalink
Updating to Parcel 2.1.1 and maintained Material table fork (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
craigatk authored Jan 9, 2022
1 parent 5baafa6 commit d660e9d
Show file tree
Hide file tree
Showing 9 changed files with 499 additions and 609 deletions.
12 changes: 7 additions & 5 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"license": "MIT",
"scripts": {
"start": "parcel --dist-dir dev-dist src/index.html",
"build": "parcel build --dist-dir dist src/index.html",
"build:dev": "NODE_ENV=development parcel build --dist-dir dev-dist src/index.html",
"build": "yarn clean-dist && parcel build --dist-dir dist src/index.html",
"build:dev": "yarn clean-dev-dist && NODE_ENV=development parcel build --dist-dir dev-dist src/index.html",
"format": "prettier --write \"src/**/*.ts*\" \"src/**/*.spec.ts*\" \"cypress/fixtures/**/*.json\" \"cypress/**/*.js\"",
"test": "jest",
"test:projektor:ci": "yarn test || yarn projektor-publish --configFile=projektor.jest.json",
Expand All @@ -18,7 +18,9 @@
"projektor:cypress:no-attachments": "projektor-publish --configFile=projektor.cypress.no.attachments.json",
"projektor:cypress": "env-cmd -f ~/.env projektor-publish --configFile=projektor.cypress.json",
"projektor:jest": "env-cmd -f ~/.env projektor-publish --configFile=projektor.jest.json",
"clean-results": "rimraf test-results/*.xml"
"clean-results": "rimraf test-results/*.xml",
"clean-dist": "rimraf dist",
"clean-dev-dist": "rimraf dev-dist"
},
"devDependencies": {
"@testing-library/cypress": "8.0.2",
Expand All @@ -33,7 +35,7 @@
"env-cmd": "10.1.0",
"jest": "27.4.7",
"jest-junit": "13.0.0",
"parcel": "2.0.1",
"parcel": "2.1.1",
"prettier": "2.5.1",
"projektor-publish": "3.10.0",
"resize-observer-polyfill": "1.5.1",
Expand All @@ -44,6 +46,7 @@
"wait-for-expect": "3.0.2"
},
"dependencies": {
"@material-table/core": "4.3.16",
"@material-ui/core": "4.12.3",
"@material-ui/icons": "4.11.2",
"@material-ui/lab": "4.0.0-alpha.60",
Expand All @@ -57,7 +60,6 @@
"axios-cache-adapter": "2.7.3",
"axios-case-converter": "0.9.0",
"lodash": "4.17.21",
"material-table": "1.69.3",
"moment": "2.29.1",
"moment-timezone": "0.5.34",
"pretty-bytes": "5.6.0",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/Admin/Failures/AdminFailuresTable.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import { ResultsProcessingFailure } from "../../model/AdminModel";
import MaterialTable from "material-table";
import MaterialTable from "@material-table/core";
import moment from "moment";
import { Link, Tooltip } from "@material-ui/core";
import FileCopyOutlinedIcon from "@material-ui/icons/FileCopyOutlined";
Expand Down
2 changes: 1 addition & 1 deletion ui/src/Attachments/AttachmentsList.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import { Attachments } from "../model/TestRunModel";
import MaterialTable from "material-table";
import MaterialTable from "@material-table/core";
import prettyBytes from "pretty-bytes";

interface AttachmentsListProps {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/Coverage/CoverageFilesTable.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
import MaterialTable from "material-table";
import MaterialTable from "@material-table/core";
import { CoverageFiles, TestRunGitMetadata } from "../model/TestRunModel";
import CoverageGraph from "./CoverageGraph";
import { Typography } from "@material-ui/core";
Expand Down
2 changes: 1 addition & 1 deletion ui/src/Coverage/CoverageTable.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
import MaterialTable from "material-table";
import MaterialTable from "@material-table/core";
import CoverageGraph from "./CoverageGraph";
import { makeStyles, Typography } from "@material-ui/core";
import CleanLink from "../Link/CleanLink";
Expand Down
3 changes: 1 addition & 2 deletions ui/src/Performance/PerformanceResultsTable.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as React from "react";
import { PerformanceResult } from "../model/TestRunModel";
import MaterialTable from "material-table";
import { Typography } from "@material-ui/core";
import MaterialTable from "@material-table/core";

interface PerformanceResultsTableProps {
performanceResults: PerformanceResult[];
Expand Down
2 changes: 1 addition & 1 deletion ui/src/Repository/FlakyTests/RepositoryFlakyTestsTable.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import { RepositoryFlakyTests } from "../../model/RepositoryModel";
import MaterialTable from "material-table";
import MaterialTable from "@material-table/core";
import CleanLink from "../../Link/CleanLink";
import moment from "moment-timezone";

Expand Down
2 changes: 1 addition & 1 deletion ui/src/TestSuite/TestSuiteList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
anyTestSuiteHasGroupName,
fullTestSuiteName,
} from "../model/TestSuiteHelpers";
import MaterialTable from "material-table";
import MaterialTable from "@material-table/core";

interface TestSuiteListProps {
publicId: string;
Expand Down
Loading

0 comments on commit d660e9d

Please sign in to comment.