@xylabs/vitest-extended 7.0.7 → 8.0.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/README.md CHANGED
@@ -1,57 +1,3 @@
1
- [![logo][]](https://xylabs.com)
2
-
3
1
  # @xylabs/vitest-extended
4
2
 
5
- [![npm][npm-badge]][npm-link]
6
- [![license][license-badge]][license-link]
7
-
8
- > Base functionality used throughout XY Labs TypeScript/JavaScript libraries
9
-
10
- ## Install
11
-
12
- Using npm:
13
-
14
- ```sh
15
- npm install {{name}}
16
- ```
17
-
18
- Using yarn:
19
-
20
- ```sh
21
- yarn add {{name}}
22
- ```
23
-
24
- Using pnpm:
25
-
26
- ```sh
27
- pnpm add {{name}}
28
- ```
29
-
30
- Using bun:
31
-
32
- ```sh
33
- bun add {{name}}
34
- ```
35
-
36
-
37
- ## License
38
-
39
- See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
40
-
41
- ## Reference
42
-
43
- ### packages
44
-
45
- ### vitest-extended
46
-
47
- ### .temp-typedoc
48
-
49
- ## Credits
50
-
51
- [Made with 🔥 and ❄️ by XY Labs](https://xylabs.com)
52
-
53
- [npm-badge]: https://img.shields.io/npm/v/@xylabs/vitest-extended.svg
54
- [npm-link]: https://www.npmjs.com/package/@xylabs/vitest-extended
55
- [license-badge]: https://img.shields.io/npm/l/@xylabs/vitest-extended.svg
56
- [license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
57
- [logo]: https://cdn.xy.company/img/brand/XYPersistentCompany_Logo_Icon_Colored.svg
3
+ DEPRECATED — use `@ariestools/vitest-extended` instead.
@@ -1,2 +1,2 @@
1
- import './customMatchers.ts';
1
+ export * from '@ariestools/vitest-extended';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA"}
@@ -1,5 +1,3 @@
1
- // src/customMatchers.ts
2
- import { matchers } from "@xylabs/vitest-matchers";
3
- import { expect } from "vitest";
4
- expect.extend(matchers);
1
+ // src/index.ts
2
+ export * from "@ariestools/vitest-extended";
5
3
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/customMatchers.ts"],
4
- "sourcesContent": ["import { matchers } from '@xylabs/vitest-matchers'\nimport { expect } from 'vitest'\n\nexpect.extend(matchers)\n"],
5
- "mappings": ";AAAA,SAAS,gBAAgB;AACzB,SAAS,cAAc;AAEvB,OAAO,OAAO,QAAQ;",
3
+ "sources": ["../../src/index.ts"],
4
+ "sourcesContent": ["export * from '@ariestools/vitest-extended'\n"],
5
+ "mappings": ";AAAA,cAAc;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,15 +1,11 @@
1
1
  {
2
2
  "name": "@xylabs/vitest-extended",
3
- "version": "7.0.7",
4
- "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
3
+ "version": "8.0.0",
4
+ "description": "DEPRECATED use @ariestools/vitest-extended. Backward-compatibility re-export shim.",
5
5
  "keywords": [
6
- "log",
7
- "logger",
8
- "logging",
9
6
  "xylabs",
10
- "utility",
11
- "typescript",
12
- "esm"
7
+ "deprecated",
8
+ "shim"
13
9
  ],
14
10
  "homepage": "https://xylabs.com",
15
11
  "bugs": {
@@ -42,7 +38,7 @@
42
38
  "README.md"
43
39
  ],
44
40
  "dependencies": {
45
- "@xylabs/vitest-matchers": "~7.0.7"
41
+ "@ariestools/vitest-extended": "~8.0.0"
46
42
  },
47
43
  "devDependencies": {
48
44
  "@xylabs/toolchain": "~8.6.2",
@@ -63,5 +59,6 @@
63
59
  },
64
60
  "publishConfig": {
65
61
  "access": "public"
66
- }
62
+ },
63
+ "deprecated": "Use @ariestools/vitest-extended instead. @xylabs/vitest-extended is a compatibility shim only and will not receive further updates."
67
64
  }
@@ -1,7 +1,7 @@
1
1
  // vitest.customMatchers.d.ts
2
2
  import 'vitest'
3
3
 
4
- /** Custom matcher methods available on Vitest's `expect` when using `@xylabs/vitest-extended`. */
4
+ /** Custom matcher methods available on Vitest's `expect` when using `@ariestools/vitest-extended`. */
5
5
  interface CustomMatchers<T = unknown> {
6
6
  /** Asserts the value is an array. */
7
7
  toBeArray(): T
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=customMatchers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"customMatchers.d.ts","sourceRoot":"","sources":["../../src/customMatchers.ts"],"names":[],"mappings":""}