Skip to content

Commit

Permalink
fixed vulerable dependencies (#62)
Browse files Browse the repository at this point in the history
Co-authored-by: 乔风鳞 <[email protected]>
  • Loading branch information
qiaofenlin and 乔风鳞 authored May 17, 2024
1 parent 0a5520d commit 834483a
Show file tree
Hide file tree
Showing 29 changed files with 255 additions and 2,208 deletions.
1 change: 0 additions & 1 deletion flow-graph/src/components/ToolBar/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { useI18nStoreWithOut } from "../../store/modules/i18nStore";
export function getSaveFormSchema() {
const { t } = useI18nStoreWithOut().getI18n().global;
const labelWidth = 100;
console.log('getSaveFormSchema', useI18nStoreWithOut().getI18n(), t('toolBar.saveDag.businessName'))
return {
type: 'object',
properties: {
Expand Down
2 changes: 1 addition & 1 deletion rill-flow-ui/.commitlintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = {
},
customScopesAlign: !scopeComplete ? 'top' : 'bottom',
defaultScope: scopeComplete,
scopes: [...scopes, 'mock'],
scopes: [...scopes],
allowEmptyIssuePrefixs: false,
allowCustomIssuePrefixs: false,

Expand Down
2 changes: 0 additions & 2 deletions rill-flow-ui/.env.development
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Whether to open mock
VITE_GLOB_APP_TITLE=RillFlow

VITE_USE_MOCK = true
VITE_BUILD_COMPRESS = 'gzip'
# public path
VITE_PUBLIC_PATH = /
Expand Down
2 changes: 0 additions & 2 deletions rill-flow-ui/.env.prod
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Whether to open mock
VITE_GLOB_APP_TITLE=RillFlow

VITE_USE_MOCK = true
VITE_BUILD_COMPRESS = 'gzip'
# public path
VITE_PUBLIC_PATH = /
Expand Down
1 change: 0 additions & 1 deletion rill-flow-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ This is a description of Rill Flow UI frontend development based on [Vue vben ad
- [Es6+](http://es6.ruanyifeng.com/) - Understanding of ES6 syntax
- [Vue-Router-Next](https://next.router.vuejs.org/) - Familiarity with basic usage of Vue Router
- [Ant-Design-Vue](https://2x.antdv.com/docs/vue/introduce-cn/) - Basic usage of UI components
- [Mock.js](https://github.com/nuysoft/Mock) - Familiarity with Mock.js syntax
- [QianKun](https://qiankun.umijs.org/zh/guide) - Basic usage of QianKun


Expand Down
1 change: 0 additions & 1 deletion rill-flow-ui/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Rill Flow UI 前端基于 [Vue vben admin](https://github.com/vbenjs/vue-vben-ad
- [Es6+](http://es6.ruanyifeng.com/) - 熟悉 es6 基本语法
- [Vue-Router-Next](https://next.router.vuejs.org/) - 熟悉 vue-router 基本使用
- [Ant-Design-Vue](https://2x.antdv.com/docs/vue/introduce-cn/) - ui 基本使用
- [Mock.js](https://github.com/nuysoft/Mock) - mockjs 基本语法
- [QianKun](https://qiankun.umijs.org/zh/guide) - 熟悉 QianKun 基本使用

## 安装使用
Expand Down
1 change: 0 additions & 1 deletion rill-flow-ui/internal/vite-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"vite-plugin-compression": "^0.5.1",
"vite-plugin-dts": "^3.1.0",
"vite-plugin-html": "^3.2.0",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-purge-icons": "^0.9.2",
"vite-plugin-svg-icons": "^2.0.1"
}
Expand Down
6 changes: 0 additions & 6 deletions rill-flow-ui/internal/vite-config/src/plugins/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import purgeIcons from 'vite-plugin-purge-icons';
import { createAppConfigPlugin } from './appConfig';
import { configCompressPlugin } from './compress';
import { configHtmlPlugin } from './html';
import { configMockPlugin } from './mock';
import { configSvgIconsPlugin } from './svgSprite';
import { configVisualizerConfig } from './visualizer';

Expand Down Expand Up @@ -48,11 +47,6 @@ async function createPlugins({ isBuild, root, enableMock, compress, enableAnalyz
vitePlugins.push(configVisualizerConfig());
}

// vite-plugin-mock
if (enableMock) {
vitePlugins.push(configMockPlugin({ isBuild }));
}

return vitePlugins;
}

Expand Down
19 changes: 0 additions & 19 deletions rill-flow-ui/internal/vite-config/src/plugins/mock.ts

This file was deleted.

34 changes: 0 additions & 34 deletions rill-flow-ui/mock/_createProductionServer.ts

This file was deleted.

62 changes: 0 additions & 62 deletions rill-flow-ui/mock/_util.ts

This file was deleted.

71 changes: 0 additions & 71 deletions rill-flow-ui/mock/demo/account.ts

This file was deleted.

Loading

0 comments on commit 834483a

Please sign in to comment.