mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2026-06-07 02:08:14 +08:00
Compare commits
6 Commits
f4904bd9de
...
328b45d287
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
328b45d287 | ||
|
|
f6d0119eb6 | ||
|
|
39bf1646e4 | ||
|
|
b6b37e90c7 | ||
|
|
c8ce8eba53 | ||
|
|
45ecfa5591 |
17
CHANGELOG.md
17
CHANGELOG.md
@ -2,11 +2,28 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* 包版本问题 #AI commit# ([b6b37e9](https://github.com/WeBankFinTech/fes.js/commit/b6b37e90c765ea5f31a63497e2671828bd051088))
|
||||
|
||||
* 修复热更新问题 #AI commit# ([39bf164](https://github.com/WeBankFinTech/fes.js/commit/39bf1646e45153fd66a1aad7e36e10a6645b904e))
|
||||
|
||||
|
||||
### Chores
|
||||
|
||||
* V4.0.0 ([3786b56](https://github.com/WeBankFinTech/fes.js/commit/3786b56ec57b135cda0ea3a9877bea90b688f15b))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* 升级vite8 (#276) ([b7308f4](https://github.com/WeBankFinTech/fes.js/commit/b7308f445e8cc409cd1016ae43cb2baaf554be4a))
|
||||
|
||||
|
||||
### Ci
|
||||
|
||||
* Release4.0.0 ([ed5d4ed](https://github.com/WeBankFinTech/fes.js/commit/ed5d4edaddea3d02d5c39abc9690e4fd78d86896))
|
||||
|
||||
|
||||
## [4.0.0-beta.1](https://github.com/WeBankFinTech/fes.js/compare/v4.0.0-beta.0...v4.0.0-beta.1) (2025-09-22)
|
||||
|
||||
### Chores
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "fes.js",
|
||||
"type": "module",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.14.0",
|
||||
"description": "一个好用的前端管理台快速开发框架",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/builder-vite",
|
||||
"version": "5.0.0",
|
||||
"version": "5.0.1",
|
||||
"description": "@fesjs/builder-vite",
|
||||
"author": "qlin",
|
||||
"license": "MIT",
|
||||
@ -30,12 +30,12 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0",
|
||||
"@fesjs/fes": "^4.0.1",
|
||||
"core-js": "^3.45.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.0",
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"@fesjs/utils": "^4.0.1",
|
||||
"@vitejs/plugin-basic-ssl": "^2.3.0",
|
||||
"@vitejs/plugin-legacy": "^8.0.1",
|
||||
"@vitejs/plugin-vue": "^6.0.6",
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
import type { IPluginAPI } from '@fesjs/shared';
|
||||
import type { Server as HttpsServer } from 'node:https';
|
||||
import type { ViteDevServer } from 'vite';
|
||||
import os from 'node:os';
|
||||
import process from 'node:process';
|
||||
import { createServer } from 'vite';
|
||||
import pc from 'picocolors';
|
||||
import { createServer as createViteServer } from 'vite';
|
||||
import getDevConfig from './getDevConfig';
|
||||
|
||||
interface Args {
|
||||
@ -10,6 +12,52 @@ interface Args {
|
||||
rawArgv?: Record<string, any>;
|
||||
options?: Record<string, any>;
|
||||
program?: any;
|
||||
https?: boolean;
|
||||
}
|
||||
|
||||
// Vite 8 uses http2.createSecureServer when HTTPS is enabled, which creates
|
||||
// Http2ServerRequest/Http2ServerResponse objects that are incompatible with
|
||||
// Connect middleware (parseurl, finalhandler, etc.).
|
||||
// This function replaces the HTTP/2 server with a standard HTTPS server
|
||||
// that produces compatible IncomingMessage/ServerResponse objects.
|
||||
async function replaceHttp2WithHttps(server: ViteDevServer): Promise<HttpsServer | undefined> {
|
||||
const httpServer = server.httpServer;
|
||||
if (!httpServer || (httpServer as any).constructor.name !== 'Http2SecureServer') {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
// Extract the TLS credentials from the HTTP/2 server
|
||||
const secureContext = (httpServer as any)._sharedCreds;
|
||||
if (!secureContext?.context) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
// Get the resolved HTTPS options from Vite config
|
||||
const httpsOptions = (server.config as any).server?.https;
|
||||
if (!httpsOptions) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
// Migrate upgrade listeners (for WebSocket/HMR) from the old server
|
||||
// before closing it, so they can be re-attached to the new server.
|
||||
const upgradeListeners = (httpServer as any).listeners('upgrade').slice();
|
||||
|
||||
// Create a standard HTTPS server
|
||||
const https = await import('node:https');
|
||||
const newServer = https.createServer(httpsOptions, server.middlewares);
|
||||
|
||||
// Re-attach upgrade listeners to the new server
|
||||
for (const listener of upgradeListeners) {
|
||||
newServer.on('upgrade', listener);
|
||||
}
|
||||
|
||||
// Close the HTTP/2 server (it hasn't started listening yet)
|
||||
httpServer.close();
|
||||
|
||||
// Replace the httpServer reference on the Vite server object
|
||||
(server as any).httpServer = newServer;
|
||||
|
||||
return newServer;
|
||||
}
|
||||
|
||||
export default (api: IPluginAPI) => {
|
||||
@ -19,8 +67,10 @@ export default (api: IPluginAPI) => {
|
||||
} = api;
|
||||
|
||||
let server: ViteDevServer | undefined;
|
||||
let customHttpsServer: HttpsServer | undefined;
|
||||
|
||||
function destroy() {
|
||||
customHttpsServer?.close();
|
||||
if (server) {
|
||||
server.close().catch(() => {});
|
||||
}
|
||||
@ -49,8 +99,45 @@ export default (api: IPluginAPI) => {
|
||||
|
||||
await api.startWatch();
|
||||
|
||||
server = await createServer(await getDevConfig(api, args));
|
||||
await server.listen();
|
||||
server = await createViteServer(await getDevConfig(api, args));
|
||||
|
||||
// Replace HTTP/2 server with standard HTTPS if applicable
|
||||
customHttpsServer = await replaceHttp2WithHttps(server);
|
||||
|
||||
if (customHttpsServer) {
|
||||
// For custom HTTPS server, we need to listen manually
|
||||
// because Vite's internal listen() uses the old httpServer closure
|
||||
const port = server.config.server.port;
|
||||
const host = server.config.server.host;
|
||||
await new Promise<void>((resolve, reject) => {
|
||||
customHttpsServer!.listen(
|
||||
port,
|
||||
host === true ? undefined : (host as string) || undefined,
|
||||
() => resolve(),
|
||||
);
|
||||
customHttpsServer!.on('error', reject);
|
||||
});
|
||||
|
||||
// Set resolvedUrls for printUrls()
|
||||
const resolvedPort = (customHttpsServer.address() as any).port;
|
||||
const base = server.config.base === './' || server.config.base === '' ? '/' : server.config.base;
|
||||
const networkInterfaces = os.networkInterfaces();
|
||||
const networkUrls: string[] = [];
|
||||
for (const nInterface of Object.values(networkInterfaces)) {
|
||||
for (const detail of nInterface ?? []) {
|
||||
if (detail.family === 'IPv4' && detail.address && !detail.address.includes('127.0.0.1')) {
|
||||
networkUrls.push(`https://${detail.address}:${resolvedPort}${base}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
(server as any).resolvedUrls = {
|
||||
local: [`https://localhost:${resolvedPort}${base}`],
|
||||
network: networkUrls,
|
||||
};
|
||||
}
|
||||
else {
|
||||
await server.listen();
|
||||
}
|
||||
|
||||
server.printUrls();
|
||||
|
||||
|
||||
41
packages/builder-vite/src/features/versionEmit.ts
Normal file
41
packages/builder-vite/src/features/versionEmit.ts
Normal file
@ -0,0 +1,41 @@
|
||||
import type { IPluginAPI } from '@fesjs/shared';
|
||||
import { existsSync, readFileSync } from 'node:fs';
|
||||
import { join } from 'node:path';
|
||||
import process from 'node:process';
|
||||
|
||||
export default (api: IPluginAPI) => {
|
||||
api.modifyBundleConfig((memo: any) => {
|
||||
const versionPlugin = {
|
||||
name: 'fes-version-emit',
|
||||
generateBundle() {
|
||||
const pkgPath = join(api.paths.cwd, 'package.json');
|
||||
let name = '';
|
||||
let version = '';
|
||||
if (existsSync(pkgPath)) {
|
||||
try {
|
||||
const pkg = JSON.parse(readFileSync(pkgPath, 'utf-8')) || {};
|
||||
name = pkg.name || '';
|
||||
version = pkg.version || '';
|
||||
}
|
||||
catch {}
|
||||
}
|
||||
|
||||
const info = {
|
||||
name,
|
||||
version,
|
||||
buildTime: new Date().toISOString(),
|
||||
builder: 'vite',
|
||||
nodeEnv: process.env.NODE_ENV,
|
||||
};
|
||||
|
||||
(this as any).emitFile({ type: 'asset', fileName: 'version.json', source: `${JSON.stringify(info, null, 2)}\n` });
|
||||
const txt = `name: ${info.name}\nversion: ${info.version}\nbuildTime: ${info.buildTime}\nbuilder: ${info.builder}\nnodeEnv: ${info.nodeEnv ?? ''}\n`;
|
||||
(this as any).emitFile({ type: 'asset', fileName: 'version.txt', source: txt });
|
||||
},
|
||||
};
|
||||
|
||||
memo.plugins = memo.plugins || [];
|
||||
memo.plugins.push(versionPlugin);
|
||||
return memo;
|
||||
});
|
||||
};
|
||||
@ -19,6 +19,7 @@ export default function (): BuilderPlugin {
|
||||
join(OWNER_DIR, 'dist/features/viteOption.mjs'),
|
||||
join(OWNER_DIR, 'dist/features/viteVueJsx.mjs'),
|
||||
join(OWNER_DIR, 'dist/features/viteVuePlugin.mjs'),
|
||||
join(OWNER_DIR, 'dist/features/versionEmit.mjs'),
|
||||
join(OWNER_DIR, 'dist/features/viteAnalyze.mjs'),
|
||||
join(OWNER_DIR, 'dist/features/viteLegacy.mjs'),
|
||||
|
||||
|
||||
@ -10,6 +10,7 @@ export default defineConfig({
|
||||
'src/features/viteOption.ts',
|
||||
'src/features/viteVueJsx.ts',
|
||||
'src/features/viteVuePlugin.ts',
|
||||
'src/features/versionEmit.ts',
|
||||
'src/features/viteAnalyze.ts',
|
||||
'src/features/viteLegacy.ts',
|
||||
'src/commands/build/index.ts',
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/builder-webpack",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/builder-webpack",
|
||||
"author": "qlin",
|
||||
"license": "MIT",
|
||||
@ -30,7 +30,7 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0",
|
||||
"@fesjs/fes": "^4.0.1",
|
||||
"core-js": "^3.45.1"
|
||||
},
|
||||
"dependencies": {
|
||||
@ -42,8 +42,8 @@
|
||||
"@babel/plugin-transform-runtime": "^7.28.3",
|
||||
"@babel/preset-env": "^7.28.3",
|
||||
"@babel/preset-typescript": "^7.27.1",
|
||||
"@fesjs/shared": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.0",
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"@fesjs/utils": "^4.0.1",
|
||||
"@vue/babel-plugin-jsx": "^2.0.1",
|
||||
"ajv": "^8.12.0",
|
||||
"autoprefixer": "^10.4.14",
|
||||
|
||||
@ -31,6 +31,7 @@ export default function () {
|
||||
join(__dirname, './plugins/features/extraBabelPresets.mjs'),
|
||||
join(__dirname, './plugins/features/extraPostCSSPlugins.mjs'),
|
||||
join(__dirname, './plugins/features/html.mjs'),
|
||||
join(__dirname, './plugins/features/versionEmit.mjs'),
|
||||
join(__dirname, './plugins/features/lessLoader.mjs'),
|
||||
join(__dirname, './plugins/features/postcssLoader.mjs'),
|
||||
join(__dirname, './plugins/features/nodeModulesTransform.mjs'),
|
||||
|
||||
48
packages/builder-webpack/src/plugins/features/versionEmit.ts
Normal file
48
packages/builder-webpack/src/plugins/features/versionEmit.ts
Normal file
@ -0,0 +1,48 @@
|
||||
import type { IPluginAPI } from '@fesjs/shared';
|
||||
import { existsSync, readFileSync } from 'node:fs';
|
||||
import { join } from 'node:path';
|
||||
import process from 'node:process';
|
||||
import webpack from 'webpack';
|
||||
|
||||
class VersionEmitPlugin {
|
||||
constructor(private cwd: string) {}
|
||||
apply(compiler: webpack.Compiler) {
|
||||
compiler.hooks.thisCompilation.tap('VersionEmitPlugin', (compilation) => {
|
||||
compilation.hooks.processAssets.tap({ name: 'VersionEmitPlugin', stage: webpack.Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL }, () => {
|
||||
const pkgPath = join(this.cwd, 'package.json');
|
||||
let name = '';
|
||||
let version = '';
|
||||
if (existsSync(pkgPath)) {
|
||||
try {
|
||||
const pkg = JSON.parse(readFileSync(pkgPath, 'utf-8')) || {};
|
||||
name = pkg.name || '';
|
||||
version = pkg.version || '';
|
||||
}
|
||||
catch {}
|
||||
}
|
||||
|
||||
const info = {
|
||||
name,
|
||||
version,
|
||||
buildTime: new Date().toISOString(),
|
||||
builder: 'webpack',
|
||||
nodeEnv: process.env.NODE_ENV,
|
||||
};
|
||||
|
||||
const jsonSource = new webpack.sources.RawSource(`${JSON.stringify(info, null, 2)}\n`);
|
||||
const txt = `name: ${info.name}\nversion: ${info.version}\nbuildTime: ${info.buildTime}\nbuilder: ${info.builder}\nnodeEnv: ${info.nodeEnv ?? ''}\n`;
|
||||
const txtSource = new webpack.sources.RawSource(txt);
|
||||
compilation.emitAsset('version.json', jsonSource);
|
||||
compilation.emitAsset('version.txt', txtSource);
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export default (api: IPluginAPI) => {
|
||||
api.modifyBundleConfig((memo: any) => {
|
||||
memo.plugins = memo.plugins || [];
|
||||
memo.plugins.push(new VersionEmitPlugin(api.paths.cwd));
|
||||
return memo;
|
||||
});
|
||||
};
|
||||
@ -20,6 +20,7 @@ export default defineConfig({
|
||||
'src/plugins/features/extraBabelPresets.ts',
|
||||
'src/plugins/features/extraPostCSSPlugins.ts',
|
||||
'src/plugins/features/html.ts',
|
||||
'src/plugins/features/versionEmit.ts',
|
||||
'src/plugins/features/lessLoader.ts',
|
||||
'src/plugins/features/postcssLoader.ts',
|
||||
'src/plugins/features/nodeModulesTransform.ts',
|
||||
@ -35,7 +36,7 @@ export default defineConfig({
|
||||
dts: true,
|
||||
shims: true,
|
||||
format: ['esm'],
|
||||
onSuccess() {
|
||||
onSuccess: async () => {
|
||||
copySync('src/plugins/commands/index-default.html', 'dist/plugins/commands/index-default.html');
|
||||
},
|
||||
});
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/compiler",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/compiler",
|
||||
"author": "qlin",
|
||||
"license": "MIT",
|
||||
@ -32,7 +32,7 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.28.3",
|
||||
"@babel/preset-env": "^7.28.3",
|
||||
"@fesjs/utils": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.1",
|
||||
"chokidar": "^5.0.0",
|
||||
"commander": "^7.0.0",
|
||||
"dotenv": "8.2.0",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/create-fes-app",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "create a app base on fes.js",
|
||||
"author": "qlin",
|
||||
"license": "MIT",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@fesjs/fes",
|
||||
"type": "module",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "一个好用的前端管理台快速开发框架",
|
||||
"preferGlobal": true,
|
||||
"author": "qlin",
|
||||
@ -50,9 +50,9 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/compiler": "^4.0.0",
|
||||
"@fesjs/preset-built-in": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.0",
|
||||
"@fesjs/compiler": "^4.0.1",
|
||||
"@fesjs/preset-built-in": "^4.0.1",
|
||||
"@fesjs/utils": "^4.0.1",
|
||||
"fs-extra": "^11.3.1",
|
||||
"picocolors": "^1.1.1",
|
||||
"vue-router": "^4.5.1"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-access",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/plugin-access",
|
||||
"author": "harrywan",
|
||||
"license": "MIT",
|
||||
@ -30,13 +30,13 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0",
|
||||
"@fesjs/fes": "^4.0.1",
|
||||
"vue": "^3.5.21",
|
||||
"vue-router": "^4.5.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.0",
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"@fesjs/utils": "^4.0.1",
|
||||
"es-toolkit": "^1.46.0"
|
||||
},
|
||||
"typings": "./types.d.ts"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-enums",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.2",
|
||||
"description": "@fesjs/plugin-enums",
|
||||
"author": "aringlai",
|
||||
"license": "MIT",
|
||||
@ -30,11 +30,11 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0",
|
||||
"@fesjs/fes": "^4.0.1",
|
||||
"vue": "^3.5.21"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "4.0.1"
|
||||
"@fesjs/shared": "^4.0.1"
|
||||
},
|
||||
"typings": "./types.d.ts"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-icon",
|
||||
"version": "5.0.0",
|
||||
"version": "5.0.1",
|
||||
"description": "@fesjs/plugin-icon",
|
||||
"author": "qlin",
|
||||
"license": "MIT",
|
||||
@ -30,11 +30,11 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0",
|
||||
"@fesjs/fes": "^4.0.1",
|
||||
"vue": "^3.5.21"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "^4.0.0",
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"glob": "^13.0.6",
|
||||
"svgo": "^4.0.0"
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-layout",
|
||||
"version": "6.0.0",
|
||||
"version": "6.0.1",
|
||||
"description": "@fesjs/plugin-layout",
|
||||
"author": "harrywan",
|
||||
"license": "MIT",
|
||||
@ -30,14 +30,14 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0",
|
||||
"@fesjs/fes": "^4.0.1",
|
||||
"@fesjs/fes-design": ">=0.7.0",
|
||||
"vue": "^3.5.21",
|
||||
"vue-router": "^4.5.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.0",
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"@fesjs/utils": "^4.0.1",
|
||||
"dompurify": "^3.1.7"
|
||||
},
|
||||
"typings": "./types.d.ts"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-locale",
|
||||
"version": "5.0.0",
|
||||
"version": "5.0.1",
|
||||
"description": "@fesjs/plugin-locale",
|
||||
"author": "harrywan",
|
||||
"license": "MIT",
|
||||
@ -30,13 +30,13 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0",
|
||||
"@fesjs/fes": "^4.0.1",
|
||||
"@fesjs/fes-design": ">=0.7.0",
|
||||
"vue": "^3.5.21"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.0",
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"@fesjs/utils": "^4.0.1",
|
||||
"glob": "^13.0.6",
|
||||
"es-toolkit": "^1.46.0",
|
||||
"vue-i18n": "^11.3.2"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-login",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/plugin-login",
|
||||
"author": "qlin",
|
||||
"license": "MIT",
|
||||
@ -30,12 +30,12 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0",
|
||||
"@fesjs/plugin-request": "^5.0.0",
|
||||
"@fesjs/fes": "^4.0.1",
|
||||
"@fesjs/plugin-request": "^5.0.1",
|
||||
"vue": "^3.5.21"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "4.0.1"
|
||||
"@fesjs/shared": "^4.0.1"
|
||||
},
|
||||
"typings": "./types.d.ts"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-model",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/plugin-model",
|
||||
"author": "harrywan",
|
||||
"license": "MIT",
|
||||
@ -30,13 +30,13 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0",
|
||||
"@fesjs/fes": "^4.0.1",
|
||||
"@vueuse/core": "^13.0.0",
|
||||
"vue": "^3.5.21"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.0",
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"@fesjs/utils": "^4.0.1",
|
||||
"es-toolkit": "^1.46.0",
|
||||
"glob": "^13.0.6"
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-monaco-editor",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/plugin-monaco-editor",
|
||||
"author": "harrywan",
|
||||
"license": "MIT",
|
||||
@ -30,12 +30,12 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0",
|
||||
"@fesjs/fes": "^4.0.1",
|
||||
"vue": "^3.5.21"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.0",
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"@fesjs/utils": "^4.0.1",
|
||||
"es-toolkit": "^1.46.0",
|
||||
"monaco-editor": "^0.36.1",
|
||||
"monaco-editor-webpack-plugin": "^7.1.0"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-pinia",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/plugin-pinia",
|
||||
"author": "harrywan",
|
||||
"license": "MIT",
|
||||
@ -30,13 +30,13 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0",
|
||||
"@fesjs/fes": "^4.0.1",
|
||||
"pinia": "^3.0.3",
|
||||
"vue": "^3.5.21"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.0"
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"@fesjs/utils": "^4.0.1"
|
||||
},
|
||||
"typings": "./types.d.ts"
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-qiankun",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/plugin-qiankun",
|
||||
"author": "michaelxxie、harrywan",
|
||||
"license": "MIT",
|
||||
@ -35,13 +35,13 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0",
|
||||
"@fesjs/fes": "^4.0.1",
|
||||
"@fesjs/fes-design": ">=0.7.20",
|
||||
"vue": "^3.5.21"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.0",
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"@fesjs/utils": "^4.0.1",
|
||||
"address": "^1.1.2",
|
||||
"cheerio": "^1.0.0",
|
||||
"es-toolkit": "^1.46.0",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-request",
|
||||
"version": "5.0.0",
|
||||
"version": "5.0.1",
|
||||
"description": "@fesjs/plugin-request",
|
||||
"author": "qlin",
|
||||
"license": "MIT",
|
||||
@ -30,12 +30,12 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0",
|
||||
"@fesjs/fes": "^4.0.1",
|
||||
"vue": "^3.2.37"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.0",
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"@fesjs/utils": "^4.0.1",
|
||||
"@qlin/request": "^0.3.1"
|
||||
},
|
||||
"typings": "./types.d.ts"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-sass",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/plugin-sass",
|
||||
"author": "harrywan",
|
||||
"license": "MIT",
|
||||
@ -30,10 +30,10 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0"
|
||||
"@fesjs/fes": "^4.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "4.0.1",
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"sass": "^1.92.0",
|
||||
"sass-loader": "^16.0.5"
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-swc",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/plugin-swc",
|
||||
"author": "RiESAEX",
|
||||
"license": "MIT",
|
||||
@ -31,11 +31,11 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0"
|
||||
"@fesjs/fes": "^4.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.0",
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"@fesjs/utils": "^4.0.1",
|
||||
"@swc/core": "1.13.5",
|
||||
"@swc/css": "^0.0.28",
|
||||
"css-minimizer-webpack-plugin": "^8.0.0",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-watermark",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/plugin-watermark",
|
||||
"author": "harrywan",
|
||||
"license": "MIT",
|
||||
@ -30,12 +30,12 @@
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@fesjs/fes": "^4.0.0",
|
||||
"@fesjs/fes": "^4.0.1",
|
||||
"vue": "^3.5.21"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/shared": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.0",
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"@fesjs/utils": "^4.0.1",
|
||||
"es-toolkit": "^1.46.0"
|
||||
},
|
||||
"typings": "./types.d.ts"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/preset-built-in",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/preset-built-in",
|
||||
"author": "qlin",
|
||||
"license": "MIT",
|
||||
@ -34,10 +34,10 @@
|
||||
"vue": "^3.5.21"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/compiler": "^4.0.0",
|
||||
"@fesjs/runtime": "^4.0.0",
|
||||
"@fesjs/shared": "^4.0.0",
|
||||
"@fesjs/utils": "^4.0.0",
|
||||
"@fesjs/compiler": "^4.0.1",
|
||||
"@fesjs/runtime": "^4.0.1",
|
||||
"@fesjs/shared": "^4.0.1",
|
||||
"@fesjs/utils": "^4.0.1",
|
||||
"@vue/compiler-sfc": "^3.5.33",
|
||||
"@wll8/better-mock": "0.3.3-alpha",
|
||||
"chokidar": "^5.0.0",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/runtime",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/runtime",
|
||||
"author": "qlin",
|
||||
"license": "MIT",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/shared",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/shared",
|
||||
"author": "qlin",
|
||||
"license": "MIT",
|
||||
@ -30,6 +30,6 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fesjs/utils": "^4.0.0"
|
||||
"@fesjs/utils": "^4.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/utils",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "@fesjs/utils",
|
||||
"author": "qlin",
|
||||
"license": "MIT",
|
||||
|
||||
108
pnpm-lock.yaml
generated
108
pnpm-lock.yaml
generated
@ -73,13 +73,13 @@ importers:
|
||||
packages/builder-vite:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.1
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
'@vitejs/plugin-basic-ssl':
|
||||
specifier: ^2.3.0
|
||||
@ -184,13 +184,13 @@ importers:
|
||||
specifier: ^7.27.1
|
||||
version: 7.28.5(@babel/core@7.29.0)
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.1
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
'@vue/babel-plugin-jsx':
|
||||
specifier: ^2.0.1
|
||||
@ -298,7 +298,7 @@ importers:
|
||||
specifier: ^7.28.3
|
||||
version: 7.29.2(@babel/core@7.29.0)
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
chokidar:
|
||||
specifier: ^5.0.0
|
||||
@ -366,13 +366,13 @@ importers:
|
||||
packages/fes:
|
||||
dependencies:
|
||||
'@fesjs/compiler':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../compiler
|
||||
'@fesjs/preset-built-in':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../preset-built-in
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
fs-extra:
|
||||
specifier: ^11.3.1
|
||||
@ -532,13 +532,13 @@ importers:
|
||||
packages/plugin-access:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.1
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
es-toolkit:
|
||||
specifier: ^1.46.0
|
||||
@ -553,10 +553,10 @@ importers:
|
||||
packages/plugin-enums:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0-beta.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
vue:
|
||||
specifier: ^3.5.21
|
||||
@ -565,10 +565,10 @@ importers:
|
||||
packages/plugin-icon:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.1
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
glob:
|
||||
specifier: ^13.0.6
|
||||
@ -583,16 +583,16 @@ importers:
|
||||
packages/plugin-layout:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/fes-design':
|
||||
specifier: '>=0.7.0'
|
||||
version: 0.8.84(vue@3.5.32(typescript@5.9.3))
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.1
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
dompurify:
|
||||
specifier: ^3.1.7
|
||||
@ -607,16 +607,16 @@ importers:
|
||||
packages/plugin-locale:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/fes-design':
|
||||
specifier: '>=0.7.0'
|
||||
version: 0.8.84(vue@3.5.32(typescript@5.9.3))
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.1
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
es-toolkit:
|
||||
specifier: ^1.46.0
|
||||
@ -634,13 +634,13 @@ importers:
|
||||
packages/plugin-login:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0-beta.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/plugin-request':
|
||||
specifier: ^5.0.0-beta.0
|
||||
specifier: ^5.0.1
|
||||
version: link:../plugin-request
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
vue:
|
||||
specifier: ^3.5.21
|
||||
@ -649,13 +649,13 @@ importers:
|
||||
packages/plugin-model:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.1
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
'@vueuse/core':
|
||||
specifier: ^13.0.0
|
||||
@ -673,13 +673,13 @@ importers:
|
||||
packages/plugin-monaco-editor:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.1
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
es-toolkit:
|
||||
specifier: ^1.46.0
|
||||
@ -697,13 +697,13 @@ importers:
|
||||
packages/plugin-pinia:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.1
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
pinia:
|
||||
specifier: ^3.0.3
|
||||
@ -715,16 +715,16 @@ importers:
|
||||
packages/plugin-qiankun:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/fes-design':
|
||||
specifier: '>=0.7.20'
|
||||
version: 0.8.84(vue@3.5.32(typescript@5.9.3))
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.1
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
address:
|
||||
specifier: ^1.1.2
|
||||
@ -851,13 +851,13 @@ importers:
|
||||
packages/plugin-request:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.1
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
'@qlin/request':
|
||||
specifier: ^0.3.1
|
||||
@ -869,10 +869,10 @@ importers:
|
||||
packages/plugin-sass:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0-beta.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
sass:
|
||||
specifier: ^1.92.0
|
||||
@ -884,13 +884,13 @@ importers:
|
||||
packages/plugin-swc:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.1
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
'@swc/core':
|
||||
specifier: 1.13.5
|
||||
@ -914,13 +914,13 @@ importers:
|
||||
packages/plugin-watermark:
|
||||
dependencies:
|
||||
'@fesjs/fes':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../fes
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.1
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
es-toolkit:
|
||||
specifier: ^1.46.0
|
||||
@ -932,16 +932,16 @@ importers:
|
||||
packages/preset-built-in:
|
||||
dependencies:
|
||||
'@fesjs/compiler':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../compiler
|
||||
'@fesjs/runtime':
|
||||
specifier: ^4.0.0-beta.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../runtime
|
||||
'@fesjs/shared':
|
||||
specifier: ^4.0.0-beta.1
|
||||
specifier: ^4.0.1
|
||||
version: link:../shared
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
'@vue/compiler-sfc':
|
||||
specifier: ^3.5.33
|
||||
@ -980,7 +980,7 @@ importers:
|
||||
packages/shared:
|
||||
dependencies:
|
||||
'@fesjs/utils':
|
||||
specifier: ^4.0.0
|
||||
specifier: ^4.0.1
|
||||
version: link:../utils
|
||||
|
||||
packages/typescript-config: {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user