@pluginfinity/cli 0.3.12 → 0.3.13

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/cli/program.js CHANGED
@@ -4,7 +4,7 @@ import { initCommand } from "../commands/init.js";
4
4
  import { logsCommand } from "../commands/logs.js";
5
5
  import { pluginCommand } from "../commands/plugin.js";
6
6
  import { validateCommand } from "../commands/validate.js";
7
- import { CliAudience } from "@effected/cli";
7
+ import { CliAudience } from "@effected/cli-kit";
8
8
  import { Command } from "effect/cli";
9
9
 
10
10
  // src/cli/program.ts
@@ -22,7 +22,7 @@ const root = (launch) => Command.make("pluginfinity").pipe(Command.withDescripti
22
22
  *
23
23
  * @remarks
24
24
  * The return type is spelled out because TypeScript cannot name the inferred
25
- * `Audience` requirement through `@effected/cli` alone (TS2883).
25
+ * `Audience` requirement through `@effected/cli-kit` alone (TS2883).
26
26
  *
27
27
  * @public
28
28
  */
package/cli/run.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { program } from "./program.js";
2
- import { CliRuntime } from "@effected/cli";
2
+ import { CliRuntime } from "@effected/cli-kit";
3
3
  import { ToolDiscoveryLive } from "@pluginfinity/engine";
4
4
  import { Effect } from "effect";
5
5
 
package/commands/build.js CHANGED
@@ -2,8 +2,8 @@ import { buildJson, buildLines } from "../render/build.js";
2
2
  import { reportFindings } from "../render/config-error.js";
3
3
  import { allFlag, configFlag, pathArgument, targetFlag, toSelection } from "./shared.js";
4
4
  import { Command, Flag } from "effect/cli";
5
- import { CurrentDistribution } from "@effected/engine";
6
5
  import { Audience } from "@effected/env";
6
+ import { CurrentDistribution } from "@effected/kit";
7
7
  import { ENGINE_VERSION, build } from "@pluginfinity/engine";
8
8
  import { Console, Effect, Option } from "effect";
9
9
 
@@ -1,6 +1,6 @@
1
- import { allFlag, configFlag, pathArgument, toSelection } from "./shared.js";
2
1
  import { doctorJson, doctorLines } from "../render/doctor.js";
3
- import { CliExit } from "@effected/cli";
2
+ import { allFlag, configFlag, pathArgument, toSelection } from "./shared.js";
3
+ import { CliExit } from "@effected/cli-kit";
4
4
  import { Command, Flag } from "effect/cli";
5
5
  import { Audience } from "@effected/env";
6
6
  import { runDoctor } from "@pluginfinity/engine";
package/commands/init.js CHANGED
@@ -1,5 +1,5 @@
1
- import { targetFlag } from "./shared.js";
2
1
  import { checkPluginName } from "./name.js";
2
+ import { targetFlag } from "./shared.js";
3
3
  import { Argument, Command, Flag } from "effect/cli";
4
4
  import { NotImplemented } from "@pluginfinity/engine";
5
5
  import { Effect } from "effect";
package/commands/logs.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { reportFindings } from "../render/config-error.js";
2
- import { checkPluginName } from "./name.js";
3
2
  import { entryJson, logsJson, logsLines, sectionHeader } from "../render/logs.js";
3
+ import { checkPluginName } from "./name.js";
4
4
  import { Command, Flag } from "effect/cli";
5
- import { CurrentDistribution } from "@effected/engine";
6
5
  import { Audience } from "@effected/env";
6
+ import { CurrentDistribution } from "@effected/kit";
7
7
  import { configPluginNames, listLogPlugins, logRoot, parseLogLine, readLog, readLogFrom } from "@pluginfinity/engine";
8
8
  import { Console, Context, Effect, FileSystem, Option, Schedule } from "effect";
9
9
 
@@ -1,5 +1,5 @@
1
- import { targetFlag } from "./shared.js";
2
1
  import { checkPluginName } from "./name.js";
2
+ import { targetFlag } from "./shared.js";
3
3
  import { Argument, Command, Flag } from "effect/cli";
4
4
  import { NotImplemented } from "@pluginfinity/engine";
5
5
  import { Effect } from "effect";
@@ -2,8 +2,8 @@ import { validateJson, validateLines } from "../render/build.js";
2
2
  import { reportFindings } from "../render/config-error.js";
3
3
  import { allFlag, configFlag, pathArgument, targetFlag, toSelection } from "./shared.js";
4
4
  import { Command, Flag } from "effect/cli";
5
- import { CurrentDistribution } from "@effected/engine";
6
5
  import { Audience } from "@effected/env";
6
+ import { CurrentDistribution } from "@effected/kit";
7
7
  import { ENGINE_VERSION, validate } from "@pluginfinity/engine";
8
8
  import { Console, Effect, Option } from "effect";
9
9
 
package/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { CliExit } from "@effected/cli";
1
+ import { CliExit } from "@effected/cli-kit";
2
2
  import { ToolDiscovery } from "@effected/commands";
3
3
  import { Audience } from "@effected/env";
4
4
  import { NotImplemented } from "@pluginfinity/engine";
5
5
  import { Effect, PlatformError } from "effect";
6
6
  import { CliError, Command } from "effect/cli";
7
- import { Distribution } from "@effected/engine";
7
+ import { Distribution } from "@effected/kit";
8
8
  import "effect/process";
9
9
  /**
10
10
  * The process values a command needs, read once in `main.ts`.
@@ -34,7 +34,7 @@ interface ProgramDeps extends LaunchFacts {
34
34
  *
35
35
  * @remarks
36
36
  * The return type is spelled out because TypeScript cannot name the inferred
37
- * `Audience` requirement through `@effected/cli` alone (TS2883).
37
+ * `Audience` requirement through `@effected/cli-kit` alone (TS2883).
38
38
  *
39
39
  * @public
40
40
  */
package/main.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import "@effected/commands";
2
- import { Distribution } from "@effected/engine";
2
+ import { Distribution } from "@effected/kit";
3
3
  import "effect";
4
4
  import "effect/process";
5
- import "@effected/cli";
5
+ import "@effected/cli-kit";
6
6
  import "@effected/env";
7
7
  import "@pluginfinity/engine";
8
8
  import "effect/cli";
package/main.js CHANGED
@@ -1,5 +1,5 @@
1
- import { CurrentFollow, DEFAULT_FOLLOW } from "./commands/logs.js";
2
1
  import { run } from "./cli/run.js";
2
+ import { CurrentFollow, DEFAULT_FOLLOW } from "./commands/logs.js";
3
3
  import { ShellStateXdg, stateHome } from "./state-home.js";
4
4
  import { CLI_VERSION } from "./version.js";
5
5
  import { Cause, Effect, Exit, Runtime } from "effect";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluginfinity/cli",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "private": false,
5
5
  "description": "The pluginfinity command-line front end. Install the pluginfinity package to get the pluginfinity bin.",
6
6
  "keywords": [
@@ -40,20 +40,20 @@
40
40
  "./package.json": "./package.json"
41
41
  },
42
42
  "dependencies": {
43
- "@effect/platform-node": "~4.1.1",
44
- "@effected/cli": "^0.25.0",
45
- "@effected/commands": "^0.19.0",
46
- "@effected/config-file": "^0.23.0",
47
- "@effected/engine": "^0.11.0",
48
- "@effected/env": "^0.9.0",
49
- "@effected/glob": "^0.17.0",
50
- "@effected/semver": "^0.20.0",
51
- "@effected/walker": "^0.24.0",
52
- "@effected/xdg": "^0.18.0",
53
- "@pluginfinity/core": "0.3.1",
54
- "@pluginfinity/engine": "0.3.10",
55
- "@pluginfinity/targets": "0.3.1",
56
- "effect": "~4.1.1",
43
+ "@effect/platform-node": "~4.1.2",
44
+ "@effected/cli-kit": "^0.26.0",
45
+ "@effected/commands": "^0.20.0",
46
+ "@effected/config-file": "^0.24.0",
47
+ "@effected/env": "^0.10.0",
48
+ "@effected/glob": "^0.18.0",
49
+ "@effected/kit": "^0.12.0",
50
+ "@effected/semver": "^0.21.0",
51
+ "@effected/walker": "^0.25.0",
52
+ "@effected/xdg": "^0.19.0",
53
+ "@pluginfinity/core": "0.3.2",
54
+ "@pluginfinity/engine": "0.3.11",
55
+ "@pluginfinity/targets": "0.3.2",
56
+ "effect": "~4.1.2",
57
57
  "jiti": "^2.6.1"
58
58
  },
59
59
  "engines": {
@@ -1,6 +1,6 @@
1
- import { CliExit } from "@effected/cli";
2
- import { CurrentDistribution } from "@effected/engine";
1
+ import { CliExit } from "@effected/cli-kit";
3
2
  import { Audience } from "@effected/env";
3
+ import { CurrentDistribution } from "@effected/kit";
4
4
  import { ENGINE_VERSION, isBuildError, isConfigError } from "@pluginfinity/engine";
5
5
  import { Console, Effect, Option } from "effect";
6
6
 
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.60.0"
8
+ "packageVersion": "7.60.1"
9
9
  }
10
10
  ]
11
11
  }
package/version.js CHANGED
@@ -8,6 +8,6 @@
8
8
  * with this package's own version, so this is not a runtime environment read.
9
9
  * `"0.0.0"` is the unbuilt-source fallback.
10
10
  */
11
- const CLI_VERSION = "0.3.12";
11
+ const CLI_VERSION = "0.3.13";
12
12
 
13
13
  export { CLI_VERSION };