update,
This commit is contained in:
5
03_source/frontend/.gitignore
vendored
5
03_source/frontend/.gitignore
vendored
@@ -1,3 +1,8 @@
|
||||
**/*del
|
||||
**/*bak
|
||||
**/*copy*
|
||||
|
||||
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
|
@@ -92,6 +92,8 @@ const sortImportsRules = () => {
|
||||
};
|
||||
|
||||
return {
|
||||
'perfectionist/sort-named-imports': [1, { type: 'line-length', order: 'asc' }],
|
||||
'perfectionist/sort-named-exports': [1, { type: 'line-length', order: 'asc' }],
|
||||
'perfectionist/sort-exports': [
|
||||
1,
|
||||
{
|
||||
@@ -100,8 +102,6 @@ const sortImportsRules = () => {
|
||||
groupKind: 'values-first',
|
||||
},
|
||||
],
|
||||
'perfectionist/sort-named-imports': [1, { type: 'line-length', order: 'asc' }],
|
||||
'perfectionist/sort-named-exports': [1, { type: 'line-length', order: 'asc' }],
|
||||
'perfectionist/sort-imports': [
|
||||
2,
|
||||
{
|
||||
|
@@ -21,7 +21,7 @@
|
||||
"re:build": "yarn clean && yarn install && yarn build",
|
||||
"re:build-npm": "npm run clean && npm install && npm run build",
|
||||
"tsc:dev": "yarn dev & yarn tsc:watch",
|
||||
"tsc:watch": "tsc --noEmit --watch",
|
||||
"tsc:w": "tsc --noEmit --watch",
|
||||
"tsc:print": "npx tsc --showConfig"
|
||||
},
|
||||
"engines": {
|
||||
@@ -43,6 +43,7 @@
|
||||
"@fontsource-variable/noto-sans-sc": "^5.2.5",
|
||||
"@fontsource-variable/noto-sans-tc": "^5.2.5",
|
||||
"@fontsource-variable/nunito-sans": "^5.2.5",
|
||||
"@fontsource-variable/public-sans": "^5.2.5",
|
||||
"@fontsource/barlow": "^5.2.5",
|
||||
"@fullcalendar/core": "^6.1.15",
|
||||
"@fullcalendar/daygrid": "^6.1.15",
|
||||
@@ -52,7 +53,7 @@
|
||||
"@fullcalendar/timegrid": "^6.1.15",
|
||||
"@fullcalendar/timeline": "^6.1.15",
|
||||
"@hookform/resolvers": "^4.1.3",
|
||||
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
|
||||
"@ianvs/prettier-plugin-sort-imports": "^4.4.2",
|
||||
"@iconify/react": "^5.2.0",
|
||||
"@mui/lab": "^7.0.0-beta.10",
|
||||
"@mui/material": "^7.0.1",
|
||||
|
@@ -12,7 +12,7 @@ const config = {
|
||||
trailingComma: 'es5',
|
||||
plugins: [
|
||||
//
|
||||
// '@ianvs/prettier-plugin-sort-imports',
|
||||
'@ianvs/prettier-plugin-sort-imports',
|
||||
],
|
||||
};
|
||||
|
||||
|
@@ -54,6 +54,10 @@ export const endpoints = {
|
||||
list: '/api/product/list',
|
||||
details: '/api/product/details',
|
||||
search: '/api/product/search',
|
||||
save: '/api/product/saveProduct',
|
||||
create: '/api/product/create',
|
||||
update: '/api/product/update',
|
||||
delete: '/api/product/delete',
|
||||
},
|
||||
user: {
|
||||
list: '/api/user/list',
|
||||
|
@@ -1,29 +1,32 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
/* Bundler */
|
||||
"baseUrl": ".",
|
||||
"esModuleInterop": true,
|
||||
"incremental": true,
|
||||
"isolatedModules": true,
|
||||
"module": "ESNext",
|
||||
"jsx": "react-jsx",
|
||||
"allowJs": true,
|
||||
"resolveJsonModule": true,
|
||||
/* Build */
|
||||
"target": "ES2020",
|
||||
"lib": [
|
||||
"ES2020",
|
||||
"DOM",
|
||||
"DOM.Iterable"
|
||||
],
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "bundler",
|
||||
"noEmit": true,
|
||||
"resolveJsonModule": true,
|
||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
||||
"incremental": true,
|
||||
"skipLibCheck": true,
|
||||
"esModuleInterop": true,
|
||||
"isolatedModules": true,
|
||||
/* Linting */
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
/* Build */
|
||||
"target": "ES2020",
|
||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo"
|
||||
"noEmit": true,
|
||||
"strictNullChecks": true
|
||||
},
|
||||
"include": [
|
||||
"src"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
".next",
|
||||
@@ -39,12 +42,9 @@
|
||||
"**/*.tmp",
|
||||
"**/*del"
|
||||
],
|
||||
"include": [
|
||||
"src"
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"path": "./tsconfig.node.json"
|
||||
}
|
||||
]
|
||||
],
|
||||
}
|
||||
|
@@ -16,8 +16,5 @@
|
||||
"**/*.log",
|
||||
"**/*.tmp",
|
||||
"**/*del"
|
||||
],
|
||||
"include": [
|
||||
"vite.config.ts"
|
||||
]
|
||||
], "include": ["vite.config.ts"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user