rolldown-pnpm-config 2.4.0 → 2.4.1

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.
@@ -16,7 +16,7 @@ import { canonicalize, writeWorkspace } from "../workspace-file.js";
16
16
  import { overlayWorkspace } from "../workspace-overlay.js";
17
17
  import { Data, Effect, FileSystem, Option, Predicate } from "effect";
18
18
  import { dirname, relative } from "node:path";
19
- import { CliDoc, CliMessage } from "@effected/cli";
19
+ import { CliDoc, CliMessage } from "@effected/cli-kit";
20
20
  import { existsSync } from "node:fs";
21
21
  import { Argument, Command, Flag } from "effect/cli";
22
22
 
@@ -11,9 +11,9 @@ import { previewScreen } from "../ui/screens.js";
11
11
  import { WORKSPACE_FIELDS } from "./export.js";
12
12
  import { Data, Effect, Option } from "effect";
13
13
  import { dirname } from "node:path";
14
- import { CliDoc, CliInteractive } from "@effected/cli";
14
+ import { CliDoc, CliInteractive } from "@effected/cli-kit";
15
15
  import { Argument, Command } from "effect/cli";
16
- import { CliUi } from "@effected/cli/ui";
16
+ import { CliUi } from "@effected/cli-kit/ui";
17
17
 
18
18
  // src/cli/commands/preview.ts
19
19
  /** Typed failure for the preview run. @internal */
@@ -20,9 +20,9 @@ import { buildWalkItems } from "../walk-plan.js";
20
20
  import { findWorkspaceRoot, makeWorkspaceResolver } from "../workspace-resolve.js";
21
21
  import { Clock, Data, Effect, FileSystem, Option, Result } from "effect";
22
22
  import { dirname } from "node:path";
23
- import { CliDoc, CliExit, CliFormat, CliInteractive, CliMessage, Doc, Fmt } from "@effected/cli";
23
+ import { CliDoc, CliExit, CliFormat, CliInteractive, CliMessage, Doc, Fmt } from "@effected/cli-kit";
24
24
  import { Argument, Command, Flag } from "effect/cli";
25
- import { CliUi } from "@effected/cli/ui";
25
+ import { CliUi } from "@effected/cli-kit/ui";
26
26
  import { ReleaseAgeGate } from "@effected/npm";
27
27
 
28
28
  // src/cli/commands/upgrade.ts
@@ -1,5 +1,5 @@
1
1
  import { row, tone } from "../render/tone.js";
2
- import { Doc } from "@effected/cli";
2
+ import { Doc } from "@effected/cli-kit";
3
3
 
4
4
  // src/cli/diff/render.ts
5
5
  const CONTEXT = 2;
@@ -1,7 +1,7 @@
1
1
  import { evaluatePluginConfig } from "./evaluate.js";
2
2
  import { parseWorkspace } from "./workspace-file.js";
3
3
  import { Effect, FileSystem, Predicate } from "effect";
4
- import { Fmt } from "@effected/cli";
4
+ import { Fmt } from "@effected/cli-kit";
5
5
 
6
6
  // src/cli/load-config.ts
7
7
  /**
package/cli/main.js CHANGED
@@ -4,7 +4,7 @@ import { RegistryResolverLive } from "./resolve.js";
4
4
  import { rootCommand } from "./root.js";
5
5
  import { CLI_VERSION } from "./version.js";
6
6
  import { Effect } from "effect";
7
- import { CliAudience, CliRuntime } from "@effected/cli";
7
+ import { CliAudience, CliRuntime } from "@effected/cli-kit";
8
8
  import { NodeRuntime, NodeServices } from "@effect/platform-node";
9
9
 
10
10
  // src/cli/main.ts
@@ -1,5 +1,5 @@
1
1
  import { tone } from "./tone.js";
2
- import { Doc } from "@effected/cli";
2
+ import { Doc } from "@effected/cli-kit";
3
3
 
4
4
  // src/cli/render/legend.ts
5
5
  function swatches(entries) {
@@ -1,5 +1,5 @@
1
1
  import { Effect } from "effect";
2
- import { CliTheme, Doc } from "@effected/cli";
2
+ import { CliTheme, Doc } from "@effected/cli-kit";
3
3
  import { Audience } from "@effected/env";
4
4
 
5
5
  // src/cli/render/print.ts
@@ -1,4 +1,4 @@
1
- import { Doc, Status } from "@effected/cli";
1
+ import { Doc, Status } from "@effected/cli-kit";
2
2
 
3
3
  // src/cli/render/report.ts
4
4
  function statusDoc(status, message) {
@@ -1,4 +1,4 @@
1
- import { Doc, Token } from "@effected/cli";
1
+ import { Doc, Token } from "@effected/cli-kit";
2
2
 
3
3
  // src/cli/render/tone.ts
4
4
  /**
package/cli/resolve.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Context, Data, Effect, Layer, Predicate } from "effect";
2
- import { Fmt } from "@effected/cli";
2
+ import { Fmt } from "@effected/cli-kit";
3
3
  import { ChildProcess, ChildProcessSpawner } from "effect/process";
4
4
 
5
5
  // src/cli/resolve.ts
package/cli/root.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { exportCommand } from "./commands/export.js";
2
2
  import { previewCommand } from "./commands/preview.js";
3
3
  import { upgradeCommand } from "./commands/upgrade.js";
4
- import { CliAudience } from "@effected/cli";
4
+ import { CliAudience } from "@effected/cli-kit";
5
5
  import { Command } from "effect/cli";
6
6
 
7
7
  // src/cli/root.ts
@@ -2,7 +2,7 @@ import { scalarText } from "./diff/render.js";
2
2
  import { row, tone } from "./render/tone.js";
3
3
  import { canonicalize } from "./workspace-file.js";
4
4
  import { Predicate } from "effect";
5
- import { Doc } from "@effected/cli";
5
+ import { Doc } from "@effected/cli-kit";
6
6
 
7
7
  // src/cli/simulated-view.ts
8
8
  /**
package/cli/summary.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { row, tone } from "./render/tone.js";
2
2
  import { cellTone, displayCandidates, peerFor, tableLayout } from "./walk-reducer.js";
3
- import { Doc, Fmt } from "@effected/cli";
3
+ import { Doc, Fmt } from "@effected/cli-kit";
4
4
 
5
5
  // src/cli/summary.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import { legend, simulatedLegend } from "../render/legend.js";
2
- import { Doc } from "@effected/cli";
3
- import { DocView, KeyHelp, KeyTable, Styled, Tabs, Viewport, useKeys, useTerminalSize, useTheme } from "@effected/cli/ui";
2
+ import { Doc } from "@effected/cli-kit";
3
+ import { DocView, KeyHelp, KeyTable, Styled, Tabs, Viewport, useKeys, useTerminalSize, useTheme } from "@effected/cli-kit/ui";
4
4
  import { Box, Text } from "ink";
5
5
  import { useEffect, useState } from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
- import { Status } from "@effected/cli";
2
- import { Styled, useGlyphs, useTheme } from "@effected/cli/ui";
1
+ import { Status } from "@effected/cli-kit";
2
+ import { Styled, useGlyphs, useTheme } from "@effected/cli-kit/ui";
3
3
  import { Text } from "ink";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
package/cli/ui/screens.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { initialProgress, reduceProgress } from "./progress.js";
2
2
  import { Effect, PubSub } from "effect";
3
- import { CliUi } from "@effected/cli/ui";
3
+ import { CliUi } from "@effected/cli-kit/ui";
4
4
 
5
5
  // src/cli/ui/screens.ts
6
6
  /** The interactive upgrade table, loaded on mount. @internal */
@@ -1,8 +1,8 @@
1
1
  import { computeGroupPeers } from "../interop-live.js";
2
2
  import { TONES } from "../render/tone.js";
3
3
  import { cellTone, displayCandidates, initTable, peerFor, tableDecisions, tableLayout, tableStep } from "../walk-reducer.js";
4
- import { Fmt } from "@effected/cli";
5
- import { KeyHelp, KeyTable, Styled, useKeys, useTerminalSize } from "@effected/cli/ui";
4
+ import { Fmt } from "@effected/cli-kit";
5
+ import { KeyHelp, KeyTable, Styled, useKeys, useTerminalSize } from "@effected/cli-kit/ui";
6
6
  import { Box, Text } from "ink";
7
7
  import { useRef, useState } from "react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
package/cli/version.js CHANGED
@@ -6,6 +6,6 @@
6
6
  *
7
7
  * @internal
8
8
  */
9
- const CLI_VERSION = "2.4.0";
9
+ const CLI_VERSION = "2.4.1";
10
10
 
11
11
  export { CLI_VERSION };
@@ -1,4 +1,4 @@
1
- import { Fmt } from "@effected/cli";
1
+ import { Fmt } from "@effected/cli-kit";
2
2
 
3
3
  // src/cli/walk-reducer.ts
4
4
  const ORDER = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rolldown-pnpm-config",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "private": false,
5
5
  "description": "A dogfooding example of our plugin",
6
6
  "repository": {
@@ -35,16 +35,16 @@
35
35
  "rolldown-pnpm-config": "bin/rolldown-pnpm-config.js"
36
36
  },
37
37
  "dependencies": {
38
- "@effect/platform-node": "~4.1.1",
39
- "@effected/cli": "^0.25.0",
40
- "@effected/env": "^0.9.0",
41
- "@effected/glob": "^0.17.0",
42
- "@effected/npm": "^0.29.0",
43
- "@effected/semver": "^0.20.0",
44
- "@effected/walker": "^0.24.0",
45
- "@effected/workspaces": "^0.41.0",
46
- "@effected/yaml": "^0.27.0",
47
- "effect": "~4.1.1",
38
+ "@effect/platform-node": "~4.1.2",
39
+ "@effected/cli-kit": "^0.26.0",
40
+ "@effected/env": "^0.10.0",
41
+ "@effected/glob": "^0.18.0",
42
+ "@effected/npm": "^0.30.0",
43
+ "@effected/semver": "^0.21.0",
44
+ "@effected/walker": "^0.25.0",
45
+ "@effected/workspaces": "^0.42.0",
46
+ "@effected/yaml": "^0.28.0",
47
+ "effect": "~4.1.2",
48
48
  "ink": "^8.0.0",
49
49
  "oxc-parser": "^0.156.0",
50
50
  "react": "^19.3.1"
package/plugin/freeze.js CHANGED
@@ -4,7 +4,7 @@ import { FIELD_REGISTRY } from "../registry.js";
4
4
  import { resolvePeerDependencyRules } from "./allowed-versions.js";
5
5
  import { resolveOverrides } from "./overrides-from-catalogs.js";
6
6
  import { Data, Effect, Predicate, Schema } from "effect";
7
- import { Fmt } from "@effected/cli";
7
+ import { Fmt } from "@effected/cli-kit";
8
8
 
9
9
  // src/plugin/freeze.ts
10
10
  /**