@clipboard-health/testing-core 0.9.0 → 0.10.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.
Files changed (2) hide show
  1. package/README.md +5 -10
  2. package/package.json +12 -5
package/README.md CHANGED
@@ -36,8 +36,7 @@ This library's helpers narrow types:
36
36
 
37
37
  <!-- prettier-ignore -->
38
38
  ```ts
39
- // ./examples/expectToBeDefined.ts
40
-
39
+ // packages/testing-core/examples/expectToBeDefined.ts
41
40
  import { ok } from "node:assert/strict";
42
41
 
43
42
  import { expectToBeDefined } from "@clipboard-health/testing-core";
@@ -57,8 +56,7 @@ ok(length === 2);
57
56
 
58
57
  <!-- prettier-ignore -->
59
58
  ```ts
60
- // ./examples/expectToBeLeft.ts
61
-
59
+ // packages/testing-core/examples/expectToBeLeft.ts
62
60
  import { ok } from "node:assert/strict";
63
61
 
64
62
  import { expectToBeLeft } from "@clipboard-health/testing-core";
@@ -82,8 +80,7 @@ ok(value.left === "Cannot divide by zero");
82
80
 
83
81
  <!-- prettier-ignore -->
84
82
  ```ts
85
- // ./examples/expectToBeRight.ts
86
-
83
+ // packages/testing-core/examples/expectToBeRight.ts
87
84
  import { ok } from "node:assert/strict";
88
85
 
89
86
  import { expectToBeRight } from "@clipboard-health/testing-core";
@@ -107,8 +104,7 @@ ok(value.right === 5);
107
104
 
108
105
  <!-- prettier-ignore -->
109
106
  ```ts
110
- // ./examples/expectToBeSafeParseError.ts
111
-
107
+ // packages/testing-core/examples/expectToBeSafeParseError.ts
112
108
  import { ok } from "node:assert/strict";
113
109
 
114
110
  import { expectToBeDefined, expectToBeSafeParseError } from "@clipboard-health/testing-core";
@@ -130,8 +126,7 @@ ok(firstIssue.message === "Expected string, received number");
130
126
 
131
127
  <!-- prettier-ignore -->
132
128
  ```ts
133
- // ./examples/expectToBeSafeParseSuccess.ts
134
-
129
+ // packages/testing-core/examples/expectToBeSafeParseSuccess.ts
135
130
  import { ok } from "node:assert/strict";
136
131
 
137
132
  import { expectToBeSafeParseSuccess } from "@clipboard-health/testing-core";
package/package.json CHANGED
@@ -1,20 +1,27 @@
1
1
  {
2
2
  "name": "@clipboard-health/testing-core",
3
3
  "description": "TypeScript-friendly testing utilities.",
4
- "version": "0.9.0",
4
+ "version": "0.10.0",
5
+ "bugs": "https://github.com/ClipboardHealth/core-utils/issues",
5
6
  "dependencies": {
6
- "@clipboard-health/util-ts": "2.12.0",
7
+ "@clipboard-health/util-ts": "2.13.0",
7
8
  "tslib": "2.8.0",
8
9
  "zod": "3.23.8"
9
10
  },
10
- "keywords": [],
11
+ "keywords": [
12
+ "expect",
13
+ "testing",
14
+ "typescript"
15
+ ],
11
16
  "license": "MIT",
12
17
  "main": "./src/index.js",
13
18
  "publishConfig": {
14
19
  "access": "public"
15
20
  },
16
- "scripts": {
17
- "embed": "embedme README.md"
21
+ "repository": {
22
+ "directory": "packages/testing-core",
23
+ "type": "git",
24
+ "url": "git+https://github.com/ClipboardHealth/core-utils.git"
18
25
  },
19
26
  "type": "commonjs",
20
27
  "typings": "./src/index.d.ts",