@evjs/cli 0.0.17 → 0.0.18

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/README.md CHANGED
@@ -44,7 +44,7 @@ Runs webpack via Node API with `NODE_ENV=production`:
44
44
  Create `ev.config.ts` in the project root (optional):
45
45
 
46
46
  ```ts
47
- import { defineConfig } from "@evjs/cli";
47
+ import { defineConfig } from "@evjs/ev";
48
48
 
49
49
  export default defineConfig({
50
50
  entry: "./src/main.tsx",
@@ -82,7 +82,7 @@ my-app/
82
82
  1. **Don't create `webpack.config.cjs`** — use `ev.config.ts` instead
83
83
  2. **Don't install webpack manually** — it's a dependency of `@evjs/cli`
84
84
  3. **Config file must be `ev.config.ts`** — not `evjs.config.ts`
85
- 4. **Import `defineConfig` from `@evjs/cli`** — not from `@evjs/server`
85
+ 4. **Import `defineConfig` from `@evjs/ev`** — not from `@evjs/server`
86
86
 
87
87
  ## Bundled Dependencies
88
88
 
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { CONFIG_DEFAULTS, defineConfig, type EvBuildResult, type EvBundlerCtx, type EvConfig, type EvPlugin, type EvPluginContext, type EvPluginHooks, type ResolvedEvConfig, resolveConfig } from "@evjs/shared";
1
+ import { CONFIG_DEFAULTS, defineConfig, type EvBuildResult, type EvBundlerCtx, type EvConfig, type EvPlugin, type EvPluginContext, type EvPluginHooks, type ResolvedEvConfig, resolveConfig } from "@evjs/ev";
2
2
  export { CONFIG_DEFAULTS, type EvConfig, type EvBuildResult, type EvBundlerCtx, type EvPlugin, type EvPluginContext, type EvPluginHooks, type ResolvedEvConfig, resolveConfig, defineConfig, };
3
3
  export interface DevOptions {
4
4
  cwd?: string;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import fs from "node:fs";
2
2
  import path from "node:path";
3
3
  import { webpackAdapter } from "@evjs/bundler-webpack";
4
- import { CONFIG_DEFAULTS, defineConfig, resolveConfig, } from "@evjs/shared";
4
+ import { CONFIG_DEFAULTS, defineConfig, resolveConfig, } from "@evjs/ev";
5
5
  import { getLogger } from "@logtape/logtape";
6
6
  import { execa } from "execa";
7
7
  export { CONFIG_DEFAULTS, resolveConfig, defineConfig, };
@@ -1,4 +1,4 @@
1
- import type { EvConfig } from "@evjs/shared";
1
+ import type { EvConfig } from "@evjs/ev";
2
2
  /**
3
3
  * Load evjs config from the project root.
4
4
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evjs/cli",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "CLI and configuration layer for the evjs framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@evjs/bundler-webpack": "*",
32
- "@evjs/shared": "*",
32
+ "@evjs/ev": "*",
33
33
  "@logtape/logtape": "^2.0.4",
34
34
  "commander": "^12.1.0",
35
35
  "execa": "^9.6.1"