@effected/templates 0.1.1 → 0.3.0

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/ManagedSection.js CHANGED
@@ -18,7 +18,7 @@ import { Context, Effect, FileSystem, Layer, Schema } from "effect";
18
18
  *
19
19
  * @public
20
20
  */
21
- var SectionFileError = class extends Schema.TaggedErrorClass()("SectionFileError", {
21
+ var SectionFileError = class extends Schema.TaggedError()("SectionFileError", {
22
22
  /** The file the operation was against. */
23
23
  path: Schema.String,
24
24
  /** Which half of the read-modify-write failed. */
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  Managed sections: delimited `BEGIN`/`END` blocks inside files whose surrounding content belongs to the user. A tool owns the block, the user owns everything else, and neither destroys the other — the mechanism behind a generated hook, a managed config fragment, or any file your tool and your user both need to edit.
9
9
 
10
10
  > **Pre-release.** This package is part of the `@effected/*` kit, in pre-`1.0.0`
11
- > development against a single pinned Effect v4 beta. Packages graduate to
11
+ > development against a single pinned Effect v4 prerelease. Packages graduate to
12
12
  > `1.0.0` once Effect `4.0.0` ships. To hold your own `effect` versions at
13
13
  > exactly the ones the kit is built and tested against, install
14
14
  > [`@effected/pnpm-plugin-effect`](https://www.npmjs.com/package/@effected/pnpm-plugin-effect).
package/SectionDialect.js CHANGED
@@ -12,7 +12,7 @@ import { Equal, Result, Schema } from "effect";
12
12
  *
13
13
  * @public
14
14
  */
15
- var SectionRenderError = class extends Schema.TaggedErrorClass()("SectionRenderError", {
15
+ var SectionRenderError = class extends Schema.TaggedError()("SectionRenderError", {
16
16
  /**
17
17
  * `markerInContent` — the content carries a line the scanner would read as
18
18
  * a marker, which would move the block boundary and let the next sync
@@ -20,7 +20,7 @@ import { Effect, Equal, Option, Result, Schema } from "effect";
20
20
  *
21
21
  * @public
22
22
  */
23
- var SectionParseError = class SectionParseError extends Schema.TaggedErrorClass()("SectionParseError", {
23
+ var SectionParseError = class SectionParseError extends Schema.TaggedError()("SectionParseError", {
24
24
  /** Which ambiguity was found. */
25
25
  reason: Schema.Literals(SCAN_FAILURE_REASONS),
26
26
  /** 1-based line of the offending marker. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effected/templates",
3
- "version": "0.1.1",
3
+ "version": "0.3.0",
4
4
  "private": false,
5
5
  "description": "Managed-section blocks in user-editable files: parse, reconcile, sync and check delimited regions.",
6
6
  "keywords": [
@@ -37,7 +37,7 @@
37
37
  "./package.json": "./package.json"
38
38
  },
39
39
  "peerDependencies": {
40
- "effect": "4.0.0-beta.101"
40
+ "effect": "4.0.0-rc.109"
41
41
  },
42
42
  "engines": {
43
43
  "node": ">=24.11.0"