@coexist/testing 0.2.1 → 1.0.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/README.md +4 -0
- package/package.json +9 -5
package/README.md
CHANGED
|
@@ -10,6 +10,10 @@ Importing `testApp` from `@coexist/testing` keeps test setup separate from produ
|
|
|
10
10
|
pnpm add -D @coexist/testing
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
Ships as ESM only: your project needs `"type": "module"` (or `.mjs`/`.mts`) and Node.js `>=22.12.0` or a modern bundler.
|
|
14
|
+
|
|
15
|
+
`@coexist/core` is a peer dependency: this package shares the app runtime you install, rather than bundling a second copy of it.
|
|
16
|
+
|
|
13
17
|
## Usage
|
|
14
18
|
|
|
15
19
|
```ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coexist/testing",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Testing helpers for Coexist.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -24,14 +24,18 @@
|
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"@coexist/core": "0.2.1"
|
|
29
|
-
},
|
|
30
27
|
"devDependencies": {
|
|
31
28
|
"tsdown": "0.22.3",
|
|
32
29
|
"typescript": "6.0.3",
|
|
33
30
|
"vitest": "4.1.9",
|
|
34
|
-
"@coexist/tsconfig": "0.
|
|
31
|
+
"@coexist/tsconfig": "0.2.0",
|
|
32
|
+
"@coexist/core": "1.0.1"
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"@coexist/core": "^1.0.1"
|
|
36
|
+
},
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=22.12.0"
|
|
35
39
|
},
|
|
36
40
|
"scripts": {
|
|
37
41
|
"build": "tsdown",
|