@xyo-network/plugins 3.1.1 → 3.2.0-rc.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/plugins",
3
- "version": "3.1.1",
3
+ "version": "3.2.0-rc.1",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -35,7 +35,7 @@
35
35
  "build": "xy build && xy statics",
36
36
  "build-typedoc-site": "typedoc",
37
37
  "compile": "./scripts/clear-scrollback-buffer.sh && yarn xy compile",
38
- "coverage": "yarn jest --coverage --forceExit",
38
+ "coverage": "yarn vitest --coverage --forceExit",
39
39
  "deploy": "xy deploy",
40
40
  "lint-pkg": "npmPkgJsonLint .",
41
41
  "test": "vitest run"
@@ -48,41 +48,35 @@
48
48
  "quick-lru": "^5"
49
49
  },
50
50
  "dependencies": {
51
- "@xyo-network/payload-plugins": "^3.1.1",
52
- "@xyo-network/payloadset-plugins": "^3.1.1"
51
+ "@xyo-network/payload-plugins": "^3.2.0-rc.1",
52
+ "@xyo-network/payloadset-plugins": "^3.2.0-rc.1"
53
53
  },
54
54
  "devDependencies": {
55
- "@babel/core": "^7.25.7",
55
+ "@babel/core": "^7.26.0",
56
56
  "@ethersproject/address": "^5.7.0",
57
57
  "@ethersproject/bignumber": "^5.7.0",
58
- "@stylistic/eslint-plugin": "^2.9.0",
59
- "@types/jest": "^29.5.13",
58
+ "@stylistic/eslint-plugin": "^2.12.0",
60
59
  "@types/supertest": "^6.0.2",
61
- "@typescript-eslint/eslint-plugin": "^8.8.1",
62
- "@typescript-eslint/parser": "^8.8.1",
63
- "@xylabs/eslint-config-flat": "^4.1.0",
64
- "@xylabs/forget": "^4.1.0",
65
- "@xylabs/platform": "^4.1.0",
66
- "@xylabs/ts-scripts-yarn3": "^4.1.0",
67
- "@xylabs/tsconfig": "^4.1.0",
68
- "@xylabs/tsconfig-dom-jest": "^4.1.0",
69
- "@xylabs/tsconfig-jest": "^4.1.0",
70
- "@xyo-network/account": "^3.2.0",
71
- "@xyo-network/archivist-memory": "^3.2.0",
72
- "@xyo-network/boundwitness-builder": "^3.2.0",
73
- "@xyo-network/hash": "^3.2.0",
74
- "@xyo-network/manifest": "^3.2.0",
75
- "@xyo-network/manifest-wrapper": "^3.2.0",
76
- "@xyo-network/node-memory": "^3.2.0",
77
- "@xyo-network/payload-builder": "^3.2.0",
78
- "dotenv": "^16.4.5",
79
- "eslint": "^9.12.0",
80
- "eslint-import-resolver-typescript": "^3.6.3",
60
+ "@typescript-eslint/eslint-plugin": "^8.18.0",
61
+ "@typescript-eslint/parser": "^8.18.0",
62
+ "@xylabs/eslint-config-flat": "^4.2.4",
63
+ "@xylabs/forget": "^4.4.12",
64
+ "@xylabs/platform": "^4.4.12",
65
+ "@xylabs/ts-scripts-yarn3": "^4.2.4",
66
+ "@xylabs/tsconfig": "^4.2.4",
67
+ "@xylabs/vitest-extended": "^4.4.12",
68
+ "@xyo-network/account": "^3.6.0-rc.1",
69
+ "@xyo-network/archivist-memory": "^3.6.0-rc.1",
70
+ "@xyo-network/boundwitness-builder": "^3.6.0-rc.1",
71
+ "@xyo-network/hash": "^3.6.0-rc.1",
72
+ "@xyo-network/manifest": "^3.6.0-rc.1",
73
+ "@xyo-network/manifest-wrapper": "^3.6.0-rc.1",
74
+ "@xyo-network/node-memory": "^3.6.0-rc.1",
75
+ "@xyo-network/payload-builder": "^3.6.0-rc.1",
76
+ "dotenv": "^16.4.7",
77
+ "eslint": "^9.16.0",
78
+ "eslint-import-resolver-typescript": "^3.7.0",
81
79
  "eslint-plugin-import": "^2.31.0",
82
- "jest-docblock": "^29.7.0",
83
- "jest-environment-jsdom": "^29.7.0",
84
- "jest-extended": "^4.0.2",
85
- "jest-sorted": "^1.0.15",
86
80
  "jsbi": "^3.2.5",
87
81
  "jsdom": "^25.0.1",
88
82
  "lodash": "^4.17.21",
@@ -90,12 +84,12 @@
90
84
  "nodemon": "^3.1.7",
91
85
  "reflect-metadata": "^0.2.2",
92
86
  "supertest": "^7.0.0",
93
- "tslib": "^2.7.0",
94
- "typedoc": "^0.26.8",
95
- "typescript": "^5.6.3",
96
- "vitest": "^2.1.2"
87
+ "tslib": "^2.8.1",
88
+ "typedoc": "^0.27.4",
89
+ "typescript": "^5.7.2",
90
+ "vitest": "^2.1.8"
97
91
  },
98
- "packageManager": "yarn@4.5.0",
92
+ "packageManager": "yarn@4.5.3",
99
93
  "volta": {
100
94
  "node": "22.3.0",
101
95
  "yarn": "1.22.22"
@@ -103,5 +97,6 @@
103
97
  "publishConfig": {
104
98
  "access": "public"
105
99
  },
106
- "resolutions_comment": "We set the above resolutions to make sure we pull in the latest versions of these packages even if some sub packages request earlier versions"
100
+ "resolutions_comment": "We set the above resolutions to make sure we pull in the latest versions of these packages even if some sub packages request earlier versions",
101
+ "stableVersion": "3.1.2"
107
102
  }
package/vitest.config.ts CHANGED
@@ -4,9 +4,4 @@ import { defineConfig } from 'vitest/config'
4
4
 
5
5
  dotenv.config()
6
6
 
7
- export default defineConfig({
8
- test: {
9
- globals: true,
10
- setupFiles: ['./vitest.startup.ts'],
11
- },
12
- })
7
+ export default defineConfig({ test: { globals: false } })
@@ -0,0 +1,5 @@
1
+ import { defineWorkspace } from 'vitest/config'
2
+
3
+ export default defineWorkspace([
4
+ './vitest.config.ts',
5
+ ])
package/vitest.startup.ts DELETED
@@ -1,8 +0,0 @@
1
- import * as matchers from 'jest-extended'
2
- import { expect, vi } from 'vitest'
3
-
4
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
5
- (globalThis as any).jest = vi // replace jest with vi
6
-
7
- // Extend Vitest's expect with jest-extended matchers
8
- expect.extend(matchers)