@systemfsoftware/effect-schema-extensions 0.1.0 → 0.2.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.
@@ -0,0 +1 @@
1
+ export * from "@systemfsoftware/hex-schema";
@@ -0,0 +1,2 @@
1
+ export * from "@systemfsoftware/hex-schema";
2
+ export {};
@@ -1,5 +1,4 @@
1
1
  import { Schema } from "effect";
2
-
3
2
  //#region src/hexstring.schema.d.ts
4
3
  declare const StrictHex: Schema.refine<string, typeof Schema.String>;
5
4
  type StrictHex = typeof StrictHex.Type;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@systemfsoftware/effect-schema-extensions",
3
3
  "license": "MIT",
4
- "version": "0.1.0",
4
+ "version": "0.2.0",
5
5
  "author": "Ryan Lee <drdgvhbh@gmail.com>",
6
6
  "repository": {
7
7
  "type": "git",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "homepage": "https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/effect-schema-extensions#readme",
12
12
  "bugs": "https://github.com/systemfsoftware/systemfsoftware/issues",
13
- "description": "Extra Effect Schema codecs — hex-string and prefixed-hex schemas with branded types, decode/encode, and arbitraries.",
13
+ "description": "Extra Effect Schema codecs — hex-string, prefixed-hex, colon-hex, and byte-level schemas with branded types, decode/encode, and arbitraries.",
14
14
  "keywords": [
15
15
  "effect",
16
16
  "effect-ts",
@@ -24,23 +24,36 @@
24
24
  ],
25
25
  "type": "module",
26
26
  "exports": {
27
- ".": "./dist/index.mjs",
27
+ ".": {
28
+ "types": "./dist/effect-schema-extensions.d.ts",
29
+ "default": "./dist/index.mjs"
30
+ },
31
+ "./hex-schema": {
32
+ "types": "./dist/hex-schema.d.ts",
33
+ "default": "./dist/hex-schema.mjs"
34
+ },
28
35
  "./package.json": "./package.json"
29
36
  },
30
37
  "files": [
31
38
  "dist"
32
39
  ],
40
+ "dependencies": {
41
+ "effect": "^3.22.0",
42
+ "@systemfsoftware/hex-schema": "^0.1.0"
43
+ },
33
44
  "devDependencies": {
34
- "@effect/vitest": "0.29.0",
45
+ "@effect/vitest": "0.30.0",
46
+ "@microsoft/api-extractor": "^7.58.7",
47
+ "@types/node": "^24",
35
48
  "@vitest/coverage-v8": "^4",
36
- "effect": "^3.21.2",
37
49
  "fast-check": "^3",
38
50
  "rimraf": "^6.1.3",
39
- "tsdown": "^0.22.3",
51
+ "tsdown": "^0.22.9",
40
52
  "vitest": "^4",
41
53
  "@systemfsoftware/effect-schema-law": "^0.1.0",
42
- "@systemfsoftware/tsconfig": "^1.0.0",
43
54
  "@systemfsoftware/oxlint-config": "^0.1.0",
55
+ "@systemfsoftware/effect-schema-vite": "^0.1.0",
56
+ "@systemfsoftware/tsconfig": "^1.0.0",
44
57
  "@systemfsoftware/vitest-config": "^0.1.0"
45
58
  },
46
59
  "peerDependencies": {
@@ -49,9 +62,11 @@
49
62
  "scripts": {
50
63
  "clean": "rimraf dist",
51
64
  "build": "tsdown",
52
- "typecheck": "tsgo --noEmit --incremental",
65
+ "typecheck": "tsc --noEmit --incremental",
53
66
  "test": "vitest run",
54
67
  "test:run": "vitest run",
68
+ "api:check": "api-extractor run",
69
+ "api:update": "api-extractor run --local",
55
70
  "lint": "oxlint . ${AGENT:+--format=unix --quiet}"
56
71
  }
57
72
  }