@pluginfinity/cli 0.3.12 → 0.3.14
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 +2 -2
- package/cli/run.js +1 -1
- package/commands/build.js +1 -1
- package/commands/doctor.js +2 -2
- package/commands/init.js +1 -1
- package/commands/logs.js +2 -2
- package/commands/plugin.js +1 -1
- package/commands/validate.js +1 -1
- package/index.d.ts +3 -3
- package/main.d.ts +2 -2
- package/main.js +1 -1
- package/package.json +15 -15
- package/render/config-error.js +2 -2
- package/tsdoc-metadata.json +1 -1
- package/version.js +1 -1
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
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
|
|
package/commands/doctor.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { allFlag, configFlag, pathArgument, toSelection } from "./shared.js";
|
|
2
1
|
import { doctorJson, doctorLines } from "../render/doctor.js";
|
|
3
|
-
import {
|
|
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
|
|
package/commands/plugin.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/validate.js
CHANGED
|
@@ -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/
|
|
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/
|
|
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.
|
|
3
|
+
"version": "0.3.14",
|
|
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.
|
|
44
|
-
"@effected/cli": "^0.
|
|
45
|
-
"@effected/commands": "^0.
|
|
46
|
-
"@effected/config-file": "^0.
|
|
47
|
-
"@effected/
|
|
48
|
-
"@effected/
|
|
49
|
-
"@effected/
|
|
50
|
-
"@effected/semver": "^0.
|
|
51
|
-
"@effected/walker": "^0.
|
|
52
|
-
"@effected/xdg": "^0.
|
|
53
|
-
"@pluginfinity/core": "0.3.
|
|
54
|
-
"@pluginfinity/engine": "0.3.
|
|
55
|
-
"@pluginfinity/targets": "0.3.
|
|
56
|
-
"effect": "~4.1.
|
|
43
|
+
"@effect/platform-node": "~4.1.2",
|
|
44
|
+
"@effected/cli-kit": "^0.27.0",
|
|
45
|
+
"@effected/commands": "^0.20.0",
|
|
46
|
+
"@effected/config-file": "^0.25.0",
|
|
47
|
+
"@effected/env": "^0.11.0",
|
|
48
|
+
"@effected/glob": "^0.19.0",
|
|
49
|
+
"@effected/kit": "^0.13.0",
|
|
50
|
+
"@effected/semver": "^0.22.0",
|
|
51
|
+
"@effected/walker": "^0.25.1",
|
|
52
|
+
"@effected/xdg": "^0.19.1",
|
|
53
|
+
"@pluginfinity/core": "0.3.2",
|
|
54
|
+
"@pluginfinity/engine": "0.3.12",
|
|
55
|
+
"@pluginfinity/targets": "0.3.2",
|
|
56
|
+
"effect": "~4.1.2",
|
|
57
57
|
"jiti": "^2.6.1"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
package/render/config-error.js
CHANGED
|
@@ -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
|
|
package/tsdoc-metadata.json
CHANGED