fix build
This commit is contained in:
parent
09061c16fa
commit
cd4d87de91
@ -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';
|
||||
|
||||
|
||||
@ -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}\"",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"extends": "tsconfig/common.json",
|
||||
"include": ["./**/*"],
|
||||
"include": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
|
||||
"exclude": ["dist", "build", "node_modules"],
|
||||
"compilerOptions": { "outDir": "./build" }
|
||||
}
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
"display": "Next.js",
|
||||
"extends": "./base.json",
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"target": "ES6",
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
|
||||
2
packages/ui/elements/icons/index.ts
Normal file
2
packages/ui/elements/icons/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
/* eslint-disable import/prefer-default-export */
|
||||
export { default as DownloadOutlined } from './DownloadOutlined';
|
||||
@ -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';
|
||||
|
||||
2
packages/ui/elements/layout/index.ts
Normal file
2
packages/ui/elements/layout/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export { default as Divider } from './Divider';
|
||||
export { default as Tabs } from './Tabs';
|
||||
@ -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" }
|
||||
}
|
||||
|
||||
@ -3,7 +3,8 @@
|
||||
"pipeline": {
|
||||
"build": {
|
||||
"outputs": ["dist/**", ".next/**", "public/dist/**"],
|
||||
"dependsOn": ["^build"]
|
||||
"dependsOn": ["^build"],
|
||||
"cache": false
|
||||
},
|
||||
"test": {
|
||||
"cache": false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user