mirror of
https://gitee.com/WeBank/fes.js.git
synced 2024-11-30 18:57:56 +08:00
Merge branch 'vue3' of https://github.com/WeBankFinTech/fes.js into vue3
This commit is contained in:
commit
9f66570420
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "2.0.0-rc.3",
|
||||
"version": "2.0.0-rc.4",
|
||||
"changelog": {
|
||||
"repo": "WeBankFinTech/fes.js",
|
||||
"cacheDir": ".changelog",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/create-fes-app",
|
||||
"version": "2.0.0-rc.3",
|
||||
"version": "2.0.0-rc.4",
|
||||
"description": "create a app base on fes.js",
|
||||
"main": "lib/index.js",
|
||||
"files": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/compiler",
|
||||
"version": "2.0.0-rc.3",
|
||||
"version": "2.0.0-rc.4",
|
||||
"description": "@fesjs/compiler",
|
||||
"main": "lib/index.js",
|
||||
"files": [
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/tree/master/packages/core
|
||||
*/
|
||||
|
||||
import { existsSync } from 'fs';
|
||||
import { extname, join } from 'path';
|
||||
import {
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/tree/master/packages/core
|
||||
*/
|
||||
|
||||
|
||||
import Config from './config';
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/tree/master/packages/core
|
||||
*/
|
||||
|
||||
import {
|
||||
createDebug,
|
||||
chalk
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/tree/master/packages/core
|
||||
*/
|
||||
|
||||
import { join } from 'path';
|
||||
import { existsSync, statSync } from 'fs';
|
||||
import { lodash, winPath } from '@umijs/utils';
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/tree/master/packages/core
|
||||
*/
|
||||
import { join } from 'path';
|
||||
import { EventEmitter } from 'events';
|
||||
import assert from 'assert';
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/tree/master/packages/core
|
||||
*/
|
||||
|
||||
import assert from 'assert';
|
||||
import * as utils from '@umijs/utils';
|
||||
import { isValidPlugin, pathToObj } from './utils/pluginUtils';
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-jest",
|
||||
"version": "2.0.0-rc.3",
|
||||
"version": "2.0.0-rc.4",
|
||||
"description": "@fesjs/plugin-jest",
|
||||
"main": "lib/index.js",
|
||||
"files": [
|
||||
@ -31,7 +31,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "7.11.6",
|
||||
"@fesjs/compiler": "^2.0.0-rc.3",
|
||||
"@fesjs/compiler": "^2.0.0-rc.4",
|
||||
"@umijs/babel-preset-umi": "3.2.24",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"babel-jest": "^26.6.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-layout",
|
||||
"version": "2.0.0-rc.3",
|
||||
"version": "2.0.0-rc.4",
|
||||
"description": "@fesjs/plugin-layout",
|
||||
"main": "lib/index.js",
|
||||
"files": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-locale",
|
||||
"version": "2.0.0-rc.3",
|
||||
"version": "2.0.0-rc.4",
|
||||
"description": "@fesjs/plugin-locale",
|
||||
"main": "lib/index.js",
|
||||
"files": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-request",
|
||||
"version": "2.0.0-rc.3",
|
||||
"version": "2.0.0-rc.4",
|
||||
"description": "@fesjs/plugin-request",
|
||||
"main": "lib/index.js",
|
||||
"files": [
|
||||
|
@ -3,9 +3,9 @@ import { checkHttpRequestHasBody, trimObj } from './helpers';
|
||||
export default async (ctx, next) => {
|
||||
const config = ctx.config;
|
||||
if (checkHttpRequestHasBody(config.method)) {
|
||||
config.data = trimObj(config.data);
|
||||
trimObj(config.data);
|
||||
} else {
|
||||
config.params = trimObj(config.params);
|
||||
trimObj(config.params);
|
||||
}
|
||||
await next();
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-vuex",
|
||||
"version": "2.0.0-rc.3",
|
||||
"version": "2.0.0-rc.4",
|
||||
"description": "@fesjs/plugin-vuex",
|
||||
"main": "lib/index.js",
|
||||
"files": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/preset-built-in",
|
||||
"version": "2.0.0-rc.3",
|
||||
"version": "2.0.0-rc.4",
|
||||
"description": "@fesjs/preset-built-in",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
@ -32,7 +32,7 @@
|
||||
"@babel/plugin-proposal-pipeline-operator": "^7.12.13",
|
||||
"@babel/plugin-transform-runtime": "^7.12.13",
|
||||
"@babel/preset-env": "^7.12.13",
|
||||
"@fesjs/compiler": "^2.0.0-rc.3",
|
||||
"@fesjs/compiler": "^2.0.0-rc.4",
|
||||
"@soda/friendly-errors-webpack-plugin": "^1.8.0",
|
||||
"@umijs/utils": "3.3.3",
|
||||
"@vue/babel-plugin-jsx": "^1.0.2",
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/blob/master/packages/preset-built-in/src/plugins/commands/build/build.ts
|
||||
*/
|
||||
|
||||
import { Logger } from '@fesjs/compiler';
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/blob/master/packages/preset-built-in/src/plugins/commands/buildDevUtils.ts
|
||||
*/
|
||||
|
||||
import { join, resolve } from 'path';
|
||||
import { existsSync, readdirSync, readFileSync } from 'fs';
|
||||
import { rimraf, chalk } from '@umijs/utils';
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/blob/master/packages/preset-built-in/src/plugins/commands/dev/dev.ts
|
||||
*/
|
||||
|
||||
const assert = require('assert');
|
||||
|
||||
export default (api) => {
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/blob/master/packages/preset-built-in/src/plugins/commands/dev/watchPkg.ts
|
||||
*/
|
||||
|
||||
import { join } from 'path';
|
||||
import { chokidar, winPath, lodash } from '@umijs/utils';
|
||||
import { existsSync, readFileSync } from 'fs';
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/runtime",
|
||||
"version": "2.0.0-rc.1",
|
||||
"version": "2.0.0-rc.4",
|
||||
"description": "@fesjs/runtime",
|
||||
"main": "dist/index.js",
|
||||
"files": [
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/blob/master/packages/runtime/src/Plugin/Plugin.ts
|
||||
*/
|
||||
|
||||
import { assert } from '../utils';
|
||||
|
||||
function _compose({ fns, args }) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/fes",
|
||||
"version": "2.0.0-rc.3",
|
||||
"version": "2.0.0-rc.4",
|
||||
"description": "一个好用的前端管理台快速开发框架",
|
||||
"preferGlobal": true,
|
||||
"scripts": {
|
||||
@ -39,9 +39,9 @@
|
||||
"strong"
|
||||
],
|
||||
"dependencies": {
|
||||
"@fesjs/compiler": "^2.0.0-rc.3",
|
||||
"@fesjs/preset-built-in": "^2.0.0-rc.3",
|
||||
"@fesjs/runtime": "^2.0.0-rc.1",
|
||||
"@fesjs/compiler": "^2.0.0-rc.4",
|
||||
"@fesjs/preset-built-in": "^2.0.0-rc.4",
|
||||
"@fesjs/runtime": "^2.0.0-rc.4",
|
||||
"@umijs/utils": "3.3.3",
|
||||
"resolve-cwd": "^3.0.0"
|
||||
},
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/blob/master/packages/umi/src/forkedDev.ts
|
||||
*/
|
||||
|
||||
import { chalk, yParser } from '@umijs/utils';
|
||||
import { Service } from './serviceWithBuiltIn';
|
||||
import getCwd from './utils/getCwd';
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/blob/master/packages/umi/src/ServiceWithBuiltIn.ts
|
||||
*/
|
||||
|
||||
import { dirname } from 'path';
|
||||
import { Service as CoreService } from '@fesjs/compiler';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user