@evjs/cli 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -2
- package/dist/index.js +2 -2
- package/dist/inspect-command.js +1 -1
- package/dist/inspect.d.ts +1 -1
- package/dist/load-config.d.ts +1 -1
- package/dist/load-config.js +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { utoopackAdapter } from "@evjs/bundler-utoopack";
|
|
2
|
-
import { type BuildOptions, type BundlerAdapter, type
|
|
3
|
-
|
|
2
|
+
import { type BuildOptions, type BundlerAdapter, type DevOptions } from "@evjs/ev/_internal/build";
|
|
3
|
+
import type { Config } from "@evjs/ev/config";
|
|
4
|
+
export type { BuildOptions, BundlerAdapter, DevOptions, } from "@evjs/ev/_internal/build";
|
|
5
|
+
export { CONFIG_DEFAULTS, type Config, defineConfig, type EvConfig, type ResolvedConfig, type ResolvedEvConfig, resolveConfig, } from "@evjs/ev/config";
|
|
6
|
+
export type { BuildResult, BundlerCtx, ClientManifest, EvBuildResult, EvBundlerCtx, EvDocument, EvPlugin, EvPluginConfigContext, EvPluginContext, EvPluginHooks, Plugin, PluginContext, PluginHooks, ServerManifest, } from "@evjs/ev/plugin";
|
|
4
7
|
export { loadConfig } from "./load-config.js";
|
|
5
8
|
export type DefaultBundlerConfig = typeof utoopackAdapter extends BundlerAdapter<infer TBundlerCfg> ? TBundlerCfg : never;
|
|
6
9
|
export declare function dev<TBundlerCfg = DefaultBundlerConfig>(userConfig?: Config<TBundlerCfg>, options?: DevOptions<TBundlerCfg>): Promise<void>;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { utoopackAdapter } from "@evjs/bundler-utoopack";
|
|
2
|
-
import { build as frameworkBuild, dev as frameworkDev, } from "@evjs/ev";
|
|
3
|
-
export { CONFIG_DEFAULTS, defineConfig, resolveConfig, } from "@evjs/ev";
|
|
2
|
+
import { build as frameworkBuild, dev as frameworkDev, } from "@evjs/ev/_internal/build";
|
|
3
|
+
export { CONFIG_DEFAULTS, defineConfig, resolveConfig, } from "@evjs/ev/config";
|
|
4
4
|
export { loadConfig } from "./load-config.js";
|
|
5
5
|
const defaultBundler = utoopackAdapter;
|
|
6
6
|
export async function dev(userConfig, options) {
|
package/dist/inspect-command.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inspectFrameworkBuild } from "@evjs/ev";
|
|
1
|
+
import { inspectFrameworkBuild } from "@evjs/ev/_internal/build";
|
|
2
2
|
import { formatInspectJson, formatInspectText, hasInspectErrors, } from "./inspect.js";
|
|
3
3
|
import { loadConfig } from "./load-config.js";
|
|
4
4
|
export async function runInspectCommand(options = {}) {
|
package/dist/inspect.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InspectFrameworkBuildResult } from "@evjs/ev";
|
|
1
|
+
import type { InspectFrameworkBuildResult } from "@evjs/ev/_internal/build";
|
|
2
2
|
export declare function hasInspectErrors(result: InspectFrameworkBuildResult): boolean;
|
|
3
3
|
export declare function formatInspectJson(result: InspectFrameworkBuildResult): string;
|
|
4
4
|
export declare function formatInspectText(result: InspectFrameworkBuildResult): string;
|
package/dist/load-config.d.ts
CHANGED
package/dist/load-config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import fs from "node:fs";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import { loadConfigFile } from "@evjs/ev/build
|
|
3
|
+
import { loadConfigFile } from "@evjs/ev/_internal/build";
|
|
4
4
|
export const CONFIG_FILES = ["ev.config.ts", "ev.config.js", "ev.config.mjs"];
|
|
5
5
|
/**
|
|
6
6
|
* Load evjs config from the project root.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evjs/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Command-line wrapper for the evjs framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"check-types": "tsc --noEmit"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@evjs/bundler-utoopack": "0.2.
|
|
32
|
-
"@evjs/ev": "0.2.
|
|
31
|
+
"@evjs/bundler-utoopack": "0.2.5",
|
|
32
|
+
"@evjs/ev": "0.2.5",
|
|
33
33
|
"@logtape/logtape": "^2.0.4",
|
|
34
34
|
"commander": "^12.1.0"
|
|
35
35
|
},
|