优化 eps

This commit is contained in:
神仙 2024-10-13 00:40:14 +08:00
parent c5f5170f28
commit 1bf76c618b
7 changed files with 14 additions and 5 deletions

View File

@ -272,7 +272,7 @@
`;
if (!ignore.includes(item.name)) {
ignore.push(item.name);
t0 += t;
t0 += t + "\n\n";
}
}
return t0;

View File

@ -32,6 +32,7 @@
"@vue/compiler-sfc": "^3.4.24",
"axios": "^1.6.8",
"glob": "^10.3.12",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"magic-string": "^0.30.10",
"prettier": "^3.2.5",

View File

@ -17,6 +17,9 @@ importers:
glob:
specifier: ^10.3.12
version: 10.3.12
lodash:
specifier: ^4.17.21
version: 4.17.21
lodash-es:
specifier: ^4.17.21
version: 4.17.21
@ -847,6 +850,9 @@ packages:
lodash.merge@4.6.2:
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
lodash@4.17.21:
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
lru-cache@10.2.0:
resolution: {integrity: sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==}
engines: {node: 14 || >=16.14}
@ -1868,6 +1874,8 @@ snapshots:
lodash.merge@4.6.2: {}
lodash@4.17.21: {}
lru-cache@10.2.0: {}
lru-cache@6.0.0:

View File

@ -5,7 +5,7 @@ import { defineConfig } from "rollup";
export default defineConfig({
input: ["src/index.ts"],
external: ["lodash-es"],
external: ["lodash"],
output: {
name: "index",

View File

@ -1,7 +1,7 @@
import { join } from "path";
import { readFile, rootDir, writeFile, error } from "../utils";
import { glob } from "glob";
import { assign, cloneDeep, isEqual, orderBy } from "lodash-es";
import { assign, cloneDeep, isEqual, orderBy } from "lodash";
import { config } from "../config";
import fs from "fs";
import axios from "axios";

View File

@ -1,7 +1,7 @@
import { createDir, error, firstUpperCase, readFile, rootDir, toCamel } from "../utils";
import { join } from "path";
import axios from "axios";
import { isArray, isEmpty, last, merge, values } from "lodash-es";
import { isArray, isEmpty, last, merge, values } from "lodash";
import { createWriteStream } from "fs";
import prettier from "prettier";
import { config } from "../config";

View File

@ -3,7 +3,7 @@ import { config } from "./config";
import { demo } from "./demo";
import { virtual } from "./virtual";
import type { Config } from "../types";
import { merge } from "lodash-es";
import { merge } from "lodash";
export function cool(options: Config.Options) {
// 应用类型admin | app