Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

upgrade ts dependencies #633

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"packages/_generated/*"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"cspell": "^5.21.2",
"css-minimizer-webpack-plugin": "^4.0.0",
"eslint": "^8.31.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"cspell": "^6.29.3",
"css-minimizer-webpack-plugin": "^4.2.2",
"eslint": "^8.36.0",
"markdown-magic": "^2.6.1",
"prettier": "^2.8.2"
"prettier": "^2.8.4"
},
"scripts": {
"markdown": "markdown --path '**/*.md' --ignore 'node_modules, packages, crates'"
Expand Down
8 changes: 4 additions & 4 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"license": "ISC",
"dependencies": {
"primeicons": "^6.0.1",
"primereact": "^8.1.1",
"primereact": "^9.2.0",
"react-transition-group": "^4.4.5"
},
"devDependencies": {
"identity-obj-proxy": "^3.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.4"
"ts-jest": "^29.0.5"
}
}
6 changes: 3 additions & 3 deletions packages/components/src/ButtonWithIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { Tooltip } from 'primereact/tooltip';

import tailwindConfig from '../../playground/tailwind.config';
import resolveConfig from 'tailwindcss/resolveConfig';
import { TailwindConfig } from 'tailwindcss/tailwind-config';
import { Config } from 'tailwindcss/types/config';

// The types from Tailwind do not play along nicely with custom fonts
const fullConfig = resolveConfig(tailwindConfig as unknown as TailwindConfig);
const fullConfig = resolveConfig(tailwindConfig as unknown as Config);

// Get colors from tailwind config
export type Colors = {
Expand Down Expand Up @@ -55,7 +55,7 @@ export const ButtonWithIcon = ({
const spinnerIcon = `pi pi-spinner animate-spin ${style}`;
const disabledIcon = `${style}`;

const colors = fullConfig.theme.colors as Colors;
const colors = fullConfig.theme?.colors as Colors;
// Icon colors
const grayDark = colors.gray['200'];
const grayLight = colors.gray['600'];
Expand Down
10 changes: 5 additions & 5 deletions packages/docker-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "docker-tests",
"devDependencies": {
"@types/jest": "^29.2.5",
"axios": "^1.2.2",
"jest": "^29.3.1",
"ts-jest": "^29.0.4",
"typescript": "^4.9.4"
"@types/jest": "^29.4.1",
"axios": "^1.3.4",
"jest": "^29.5.0",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
},
"scripts": {
"test": "jest"
Expand Down
8 changes: 4 additions & 4 deletions packages/ink-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
"build": "webpack build"
},
"dependencies": {
"comlink": "^4.3.1",
"comlink": "^4.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-monaco-editor": "^0.49.0"
"react-monaco-editor": "^0.52.0"
},
"workspaceDependencies": {
"@paritytech/commontypes": "*"
},
"devDependencies": {
"copy-webpack-plugin": "^11.0.0",
"mini-css-extract-plugin": "^2.7.2",
"mini-css-extract-plugin": "^2.7.3",
"monaco-editor-webpack-plugin": "^7.0.1",
"ts-loader": "^9.4.2",
"webpack": "^5.75.0"
"webpack": "^5.76.1"
}
}
34 changes: 17 additions & 17 deletions packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"name": "playground",
"version": "1.0.0",
"dependencies": {
"comlink": "^4.3.1",
"comlink": "^4.4.1",
"css-loader": "^6.7.3",
"monaco-editor": "^0.33.0",
"monaco-editor": "^0.36.1",
"monaco-editor-webpack-plugin": "^7.0.1",
"process": "^0.11.10",
"qs": "^6.11.0",
"qs": "^6.11.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-monaco-editor": "^0.49.0",
"react-monaco-editor": "^0.52.0",
"use-reducer-logger": "^1.0.2"
},
"scripts": {
Expand All @@ -30,30 +30,30 @@
"devDependencies": {
"@svgr/webpack": "^6.5.1",
"@tailwindcss/postcss7-compat": "^2.2.17",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@types/jest": "^29.2.5",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@types/jest": "^29.4.1",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/react-test-renderer": "^18.0.0",
"@types/tailwindcss": "^3.0.10",
"autoprefixer": "^10.4.13",
"@types/tailwindcss": "^3.1.0",
"autoprefixer": "^10.4.14",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.3",
"html-webpack-plugin": "^5.5.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"postcss": "^8.4.21",
"postcss-cli": "^10.1.0",
"postcss-loader": "^7.0.2",
"remove": "^0.1.5",
"rimraf": "^3.0.2",
"tailwindcss": "^3.0.24",
"ts-jest": "^29.0.4",
"tailwindcss": "^3.2.7",
"ts-jest": "^29.0.5",
"ts-loader": "^9.4.2",
"typescript": "^4.9.4",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"typescript": "^4.9.5",
"webpack": "^5.76.1",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1",
"webpack-merge": "^5.8.0"
Expand Down
Loading