fix build

This commit is contained in:
vchikalkin 2023-01-10 20:15:42 +03:00
parent 09061c16fa
commit cd4d87de91
9 changed files with 14 additions and 7 deletions

View File

@ -1,7 +1,7 @@
import { MAX_FRANCHISE, MAX_LEASING_PERIOD } from 'constants/values';
import dayjs from 'dayjs';
import { formatter, formatterExtra, parser } from 'tools/number';
import DownloadOutlined from 'ui/elements/icons/DownloadOutlined';
import { DownloadOutlined } from 'ui/elements/icons';
import CurrencyAddon from '../addons/currency-addon';
import type { ElementsProps } from './elements-components';

View File

@ -7,7 +7,7 @@
"packages/*"
],
"scripts": {
"build": "turbo run build",
"build": "dotenv -e .env turbo run build",
"clean": "turbo run clean",
"dev": "dotenv -e .env.local turbo run dev --parallel",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx}\"",

View File

@ -1,6 +1,6 @@
{
"extends": "tsconfig/common.json",
"include": ["./**/*"],
"include": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
"exclude": ["dist", "build", "node_modules"],
"compilerOptions": { "outDir": "./build" }
}

View File

@ -3,7 +3,7 @@
"display": "Next.js",
"extends": "./base.json",
"compilerOptions": {
"target": "es5",
"target": "ES6",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,

View File

@ -0,0 +1,2 @@
/* eslint-disable import/prefer-default-export */
export { default as DownloadOutlined } from './DownloadOutlined';

View File

@ -3,6 +3,7 @@ export { default as Checkbox } from './Checkbox';
export { default as AntdConfig } from './Config';
export { default as Input } from './Input';
export { default as InputNumber } from './InputNumber';
export * from './layout';
export { default as Link } from './Link';
export { default as message } from './message';
export { default as notification } from './notification';

View File

@ -0,0 +1,2 @@
export { default as Divider } from './Divider';
export { default as Tabs } from './Tabs';

View File

@ -1,5 +1,6 @@
{
"extends": "tsconfig/react-library.json",
"include": ["."],
"exclude": ["dist", "build", "node_modules"]
"include": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
"exclude": ["dist", "build", "node_modules"],
"compilerOptions": { "outDir": "./build" }
}

View File

@ -3,7 +3,8 @@
"pipeline": {
"build": {
"outputs": ["dist/**", ".next/**", "public/dist/**"],
"dependsOn": ["^build"]
"dependsOn": ["^build"],
"cache": false
},
"test": {
"cache": false