@xyo-network/plugins 3.0.2 → 3.0.3

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/eslint.config.mjs CHANGED
@@ -1,15 +1,27 @@
1
1
  // eslint.config.mjs
2
2
 
3
- import { config as xylabsConfig, rulesConfig } from '@xylabs/eslint-config-flat'
3
+ import { typescriptConfig,
4
+ unicornConfig,
5
+ workspacesConfig,
6
+ rulesConfig,
7
+ importConfig } from '@xylabs/eslint-config-flat'
4
8
 
5
9
  export default [
6
10
  {
7
- ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**'],
11
+ ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**', 'public', '.storybook', 'storybook-static', 'eslint.config.mjs'],
12
+ },
13
+ unicornConfig,
14
+ workspacesConfig,
15
+ rulesConfig,
16
+ {
17
+ ...typescriptConfig,
18
+ rules: {
19
+ ...typescriptConfig.rules,
20
+ '@typescript-eslint/consistent-type-imports': ['warn'],
21
+ },
8
22
  },
9
- ...xylabsConfig,
10
23
  {
11
24
  rules: {
12
- '@typescript-eslint/no-unused-expressions': ['off'],
13
25
  'no-restricted-imports': [
14
26
  'warn',
15
27
  {
@@ -34,4 +46,11 @@ export default [
34
46
  ],
35
47
  },
36
48
  },
49
+ {
50
+ ...importConfig,
51
+ rules: {
52
+ ...importConfig.rules,
53
+ 'import-x/no-cycle': ['warn', { maxDepth: 5 }],
54
+ },
55
+ },
37
56
  ]
@@ -1,7 +1,7 @@
1
1
  import { config } from 'dotenv'
2
2
  config()
3
- import { Config } from 'jest'
4
- import { SuperTest, Test } from 'supertest'
3
+ import type { Config } from 'jest'
4
+ import type { SuperTest, Test } from 'supertest'
5
5
 
6
6
  // Augment global scope with shared variables (must be var)
7
7
  declare global {
@@ -1,6 +1,6 @@
1
1
  import { config } from 'dotenv'
2
2
  config()
3
- import { Config } from 'jest'
3
+ import type { Config } from 'jest'
4
4
 
5
5
  /**
6
6
  * Jest global teardown method runs after all tests are run
package/package.json CHANGED
@@ -7,37 +7,37 @@
7
7
  },
8
8
  "bugs": {
9
9
  "email": "support@xyo.network",
10
- "url": "https://github.com/XYOracleNetwork/plugins/issues"
10
+ "url": "git+https://github.com/XYOracleNetwork/plugins/issues"
11
11
  },
12
12
  "workspaces": [
13
13
  "packages/**/*"
14
14
  ],
15
15
  "dependencies": {
16
- "@xyo-network/payload-plugins": "^3.0.2",
17
- "@xyo-network/payloadset-plugins": "^3.0.2"
16
+ "@xyo-network/payload-plugins": "^3.0.3",
17
+ "@xyo-network/payloadset-plugins": "^3.0.3"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@babel/core": "^7.25.2",
21
- "@stylistic/eslint-plugin": "^2.6.3",
21
+ "@stylistic/eslint-plugin": "^2.6.4",
22
22
  "@types/jest": "^29.5.12",
23
23
  "@types/supertest": "^6.0.2",
24
24
  "@typescript-eslint/eslint-plugin": "^8.1.0",
25
25
  "@typescript-eslint/parser": "^8.1.0",
26
- "@xylabs/eslint-config-flat": "^4.0.0-rc.15",
27
- "@xylabs/forget": "^4.0.1",
28
- "@xylabs/platform": "^4.0.1",
29
- "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15",
30
- "@xylabs/tsconfig": "^4.0.0-rc.15",
31
- "@xylabs/tsconfig-dom-jest": "^4.0.0-rc.15",
32
- "@xylabs/tsconfig-jest": "^4.0.0-rc.15",
33
- "@xyo-network/account": "^3.0.2",
34
- "@xyo-network/archivist-memory": "^3.0.2",
35
- "@xyo-network/boundwitness-builder": "^3.0.2",
36
- "@xyo-network/hash": "^3.0.2",
37
- "@xyo-network/manifest": "^3.0.2",
38
- "@xyo-network/manifest-wrapper": "^3.0.2",
39
- "@xyo-network/node-memory": "^3.0.2",
40
- "@xyo-network/payload-builder": "^3.0.2",
26
+ "@xylabs/eslint-config-flat": "^4.0.0-rc.20",
27
+ "@xylabs/forget": "^4.0.2",
28
+ "@xylabs/platform": "^4.0.2",
29
+ "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
30
+ "@xylabs/tsconfig": "^4.0.0-rc.20",
31
+ "@xylabs/tsconfig-dom-jest": "^4.0.0-rc.20",
32
+ "@xylabs/tsconfig-jest": "^4.0.0-rc.20",
33
+ "@xyo-network/account": "^3.0.3",
34
+ "@xyo-network/archivist-memory": "^3.0.3",
35
+ "@xyo-network/boundwitness-builder": "^3.0.3",
36
+ "@xyo-network/hash": "^3.0.3",
37
+ "@xyo-network/manifest": "^3.0.3",
38
+ "@xyo-network/manifest-wrapper": "^3.0.3",
39
+ "@xyo-network/node-memory": "^3.0.3",
40
+ "@xyo-network/payload-builder": "^3.0.3",
41
41
  "babel-jest": "^29.7.0",
42
42
  "dotenv": "^16.4.5",
43
43
  "eslint": "^9.9.0",
@@ -92,7 +92,7 @@
92
92
  },
93
93
  "repository": {
94
94
  "type": "git",
95
- "url": "https://github.com/XYOracleNetwork/plugins.git"
95
+ "url": "git+https://github.com/XYOracleNetwork/plugins.git"
96
96
  },
97
97
  "scripts": {
98
98
  "coverage": "yarn jest --coverage --forceExit",
@@ -105,7 +105,7 @@
105
105
  "build-typedoc-site": "typedoc"
106
106
  },
107
107
  "sideEffects": false,
108
- "version": "3.0.2",
108
+ "version": "3.0.3",
109
109
  "packageManager": "yarn@4.4.0",
110
110
  "volta": {
111
111
  "node": "22.3.0",