mirror of
https://github.com/prymitive/karma
synced 2026-05-15 04:06:41 +00:00
fix(ui): migrate to cra v5
This commit is contained in:
committed by
Łukasz Mierzwa
parent
d78b46e3fb
commit
15ae62e9c0
@@ -58,13 +58,13 @@ build/stats.json: build
|
||||
|
||||
.PHONY: backup-css
|
||||
backup-css:
|
||||
mkdir -p build.pre/static
|
||||
mkdir -p build/static/css build.pre/static
|
||||
rm -fr build.pre/static/*
|
||||
cp -R build/static/css build.pre/static/css
|
||||
|
||||
.PHONY: restore-css
|
||||
restore-css:
|
||||
@(test -d build.pre/static/css && rm -fr build/static/css && cp -R build.pre/static/css build/static/css) || echo
|
||||
@(test -d build/static/css && test -d build.pre/static/css && rm -fr build/static/css && cp -R build.pre/static/css build/static/css) || echo
|
||||
|
||||
build.pre/css.diff: build purgecss.config.js
|
||||
npx prettier -w build.pre/static/css/*.css build/static/css/*.css
|
||||
|
||||
2616
ui/package-lock.json
generated
2616
ui/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -80,7 +80,7 @@
|
||||
"diffable-html": "5.0.0",
|
||||
"enzyme": "3.11.0",
|
||||
"eslint-config-prettier": "8.3.0",
|
||||
"eslint-config-react-app": "6.0.0",
|
||||
"eslint-config-react-app": "7.0.0",
|
||||
"eslint-plugin-jest": "24.7.0",
|
||||
"eslint-plugin-prettier": "4.0.0",
|
||||
"fetch-mock": "9.11.0",
|
||||
|
||||
@@ -57,7 +57,7 @@ interface StateFnT {
|
||||
isDisabled: boolean;
|
||||
}
|
||||
|
||||
const ReactSelectStyles = <OptionType extends unknown, IsMulti extends boolean>(
|
||||
const ReactSelectStyles = <OptionType, IsMulti extends boolean>(
|
||||
theme: ReactSelectTheme
|
||||
): StylesConfig<OptionType, IsMulti> => ({
|
||||
control: (base, props: ControlProps<OptionType, IsMulti>) =>
|
||||
|
||||
Reference in New Issue
Block a user