@r_masseater/vite-plus-adopt 0.28.0 → 0.28.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.
package/dist/cli.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { a as stagedSecrets, c as prePush, i as lintMessageText, l as runCi, r as lintMessageFile, s as prepare, t as runAllChecks, u as version } from "./run-checks-BCW3_df1.mjs";
3
- import { Effect, Option, Path } from "effect";
4
2
  import { hookFlags } from "@r_masseater/masseater-utils/hook-flags";
5
3
  import { runMain } from "@r_masseater/masseater-utils/node-main";
4
+ import { a as stagedSecrets, c as prePush, i as lintMessageText, l as runCi, r as lintMessageFile, s as prepare, t as runAllChecks, u as version } from "./run-checks-ThEHpLSO.mjs";
5
+ import { Effect, Option, Path } from "effect";
6
6
  import { Command } from "effect/cli";
7
7
  // src/app/cli.ts
8
8
  const switched = (on, hook) => Option.liftPredicate(hook, () => on);
package/dist/index.d.mts CHANGED
@@ -1,10 +1,11 @@
1
+ /** @internal */
1
2
  import { Effect, FileSystem, Path, PlatformError, Schema, Stdio } from "effect";
2
- import { ChildProcessSpawner } from "effect/process";
3
+ import { UserConfig } from "@commitlint/types";
4
+ import { H56mConfig } from "@r_masseater/h56m";
3
5
  import { TextlintRcConfig } from "@textlint/config-loader";
4
6
  import { TextlintKernelFilterRule, TextlintKernelPlugin, TextlintKernelRule } from "@textlint/kernel";
5
- import { H56mConfig } from "@r_masseater/h56m";
6
7
  import { DependencySection } from "@r_masseater/masseater-utils/kestrion";
7
- import { UserConfig } from "@commitlint/types";
8
+ import { ChildProcessSpawner } from "effect/process";
8
9
  declare const VpToolsError_base: Schema.Class<VpToolsError, Schema.TaggedStruct<"VpToolsError", {
9
10
  readonly kind: Schema.Literals<readonly ["config-missing", "tool-failed", "checks-failed"]>;
10
11
  readonly message: Schema.String;
@@ -113,5 +114,4 @@ interface CiDrift {
113
114
  type Services = FileSystem.FileSystem | Path.Path;
114
115
  /** @internal */
115
116
  export declare const findCiDrift: (root: string) => Effect.Effect<readonly CiDrift[], never, Services>;
116
- export type { CiDrift, CommitlintConfig, DependencyRules, FallowConfig, GitHooksSection, SkillsSection, TextlintConfig, ToolSections };
117
- //# sourceMappingURL=index.d.mts.map
117
+ export type { CiDrift, CommitlintConfig, DependencyRules, FallowConfig, GitHooksSection, SkillsSection, TextlintConfig, ToolSections };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { d as findCiDrift, f as loadViteConfig, n as HOOKS, o as usage, p as VpToolsError, t as runAllChecks } from "./run-checks-BCW3_df1.mjs";
1
+ import { d as findCiDrift, f as loadViteConfig, n as HOOKS, o as usage, p as VpToolsError, t as runAllChecks } from "./run-checks-ThEHpLSO.mjs";
2
2
  import { Array, Function, Option, Record, pipe } from "effect";
3
3
  /** @internal */
4
4
  const runVpa = Function.dual(2, (root, args) => pipe(args, Array.match({
@@ -6,4 +6,4 @@ const toJson = (value) => Option.getOrElse(encodeJson(value), () => String(value
6
6
  const parseJson = Schema.decodeOption(JsonText);
7
7
  export { toJson as n, parseJson as t };
8
8
 
9
- //# sourceMappingURL=json-QtVKpodH.mjs.map
9
+ //# sourceMappingURL=json-8aM4ydOI.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"json-QtVKpodH.mjs","names":[],"sources":["../src/shared/lib/json.ts"],"sourcesContent":["import { Option, Schema } from \"effect\";\n\nconst JsonText = Schema.fromJsonString(Schema.Unknown);\n\nconst encodeJson = Schema.encodeUnknownOption(JsonText);\n\nexport const toJson = (value: unknown): string =>\n Option.getOrElse(encodeJson(value), () => String(value));\n\nexport const parseJson: (text: string) => Option.Option<unknown> = Schema.decodeOption(JsonText);\n"],"mappings":";;AAEA,MAAM,WAAW,OAAO,eAAe,OAAO,OAAO;AAErD,MAAM,aAAa,OAAO,oBAAoB,QAAQ;AAEtD,MAAa,UAAU,UACrB,OAAO,UAAU,WAAW,KAAK,SAAS,OAAO,KAAK,CAAC;AAEzD,MAAa,YAAsD,OAAO,aAAa,QAAQ"}
1
+ {"version":3,"file":"json-8aM4ydOI.mjs","names":[],"sources":["../src/shared/lib/json.ts"],"sourcesContent":["import { Option, Schema } from \"effect\";\n\nconst JsonText = Schema.fromJsonString(Schema.Unknown);\n\nconst encodeJson = Schema.encodeUnknownOption(JsonText);\n\nexport const toJson = (value: unknown): string =>\n Option.getOrElse(encodeJson(value), () => String(value));\n\nexport const parseJson: (text: string) => Option.Option<unknown> = Schema.decodeOption(JsonText);\n"],"mappings":";;AAEA,MAAM,WAAW,OAAO,eAAe,OAAO,OAAO;AAErD,MAAM,aAAa,OAAO,oBAAoB,QAAQ;AAEtD,MAAa,UAAU,UACrB,OAAO,UAAU,WAAW,KAAK,SAAS,OAAO,KAAK,CAAC;AAEzD,MAAa,YAAsD,OAAO,aAAa,QAAQ"}
@@ -1,4 +1,4 @@
1
- import { n as toJson } from "./json-QtVKpodH.mjs";
1
+ import { n as toJson } from "./json-8aM4ydOI.mjs";
2
2
  import { Array, Boolean as Boolean$1, Config, Context, Effect, Exit, FileSystem, Function, Layer, Match, Number, Option, Order, Path, Predicate, Record, Redacted, Schedule, Schema, Stdio, Stream, String as String$1, pipe } from "effect";
3
3
  import { resolveConfigFromFile } from "vite-plus";
4
4
  import format from "@commitlint/format";
@@ -892,7 +892,7 @@ const syncCi = (root) => planned(root).pipe(Effect.flatMap(({ changes }) => Effe
892
892
  })));
893
893
  // package.json
894
894
  var name = "@r_masseater/vite-plus-adopt";
895
- var version = "0.28.0";
895
+ var version = "0.28.1";
896
896
  // src/features/sync-ci/model/installed-version.ts
897
897
  const RANGE_PREFIX = /^[\^~]/u;
898
898
  const pnpm$1 = attempt("pnpm");
@@ -2114,4 +2114,4 @@ const runAllChecks = (root) => Effect.gen(function* all() {
2114
2114
  });
2115
2115
  export { stagedSecrets as a, prePush as c, findCiDrift as d, loadViteConfig as f, lintMessageText as i, runCi as l, HOOKS as n, usage as o, VpToolsError as p, lintMessageFile as r, prepare as s, runAllChecks as t, version as u };
2116
2116
 
2117
- //# sourceMappingURL=run-checks-BCW3_df1.mjs.map
2117
+ //# sourceMappingURL=run-checks-ThEHpLSO.mjs.map