@xyo-network/sdk-js 3.14.5 → 3.14.6
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/knip.config.ts +47 -17
- package/package.json +10 -6
package/knip.config.ts
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import type { KnipConfig } from 'knip'
|
|
2
2
|
|
|
3
3
|
const entry = ['src/index.ts*', 'src/index-*.ts*', '*.ts', '*.mjs', 'scripts/**/*.*', 'bin/*', 'src/**/*.stories.ts*', 'src/**/*.spec.ts']
|
|
4
|
-
const project = ['src/**/*.ts*'
|
|
4
|
+
const project = ['src/**/*.ts*']
|
|
5
|
+
const ignore = ['packages/**']
|
|
6
|
+
const typescript = {
|
|
7
|
+
config: [
|
|
8
|
+
'tsconfig.json',
|
|
9
|
+
],
|
|
10
|
+
}
|
|
5
11
|
|
|
6
12
|
const config: KnipConfig = {
|
|
7
|
-
entry
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
project: ['src/**/*.ts*'],
|
|
13
|
+
entry,
|
|
14
|
+
ignore,
|
|
15
|
+
project,
|
|
16
|
+
typescript,
|
|
12
17
|
ignoreDependencies: ['@xylabs/ts-scripts-yarn3', 'tslib'],
|
|
13
18
|
workspaces: {
|
|
14
19
|
'.': {
|
|
@@ -21,17 +26,42 @@ const config: KnipConfig = {
|
|
|
21
26
|
'eslint-import-resolver-typescript',
|
|
22
27
|
],
|
|
23
28
|
},
|
|
24
|
-
'packages/*': {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
'packages/*': {
|
|
30
|
+
entry,
|
|
31
|
+
ignore,
|
|
32
|
+
project,
|
|
33
|
+
typescript,
|
|
34
|
+
},
|
|
35
|
+
'packages/*/packages/*': {
|
|
36
|
+
entry,
|
|
37
|
+
ignore,
|
|
38
|
+
project,
|
|
39
|
+
typescript,
|
|
40
|
+
},
|
|
41
|
+
'packages/*/packages/packages/*': {
|
|
42
|
+
entry,
|
|
43
|
+
ignore,
|
|
44
|
+
project,
|
|
45
|
+
typescript,
|
|
46
|
+
},
|
|
47
|
+
'packages/*/packages/*/packages/*': {
|
|
48
|
+
entry,
|
|
49
|
+
ignore,
|
|
50
|
+
project,
|
|
51
|
+
typescript,
|
|
52
|
+
},
|
|
53
|
+
'packages/*/packages/*/packages/*/packages/*': {
|
|
54
|
+
entry,
|
|
55
|
+
ignore,
|
|
56
|
+
project,
|
|
57
|
+
typescript,
|
|
58
|
+
},
|
|
59
|
+
'packages/*/packages/*/packages/*/packages/*/packages/*': {
|
|
60
|
+
entry,
|
|
61
|
+
ignore,
|
|
62
|
+
project,
|
|
63
|
+
typescript,
|
|
64
|
+
},
|
|
35
65
|
},
|
|
36
66
|
}
|
|
37
67
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/sdk-js",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.6",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -44,18 +44,22 @@
|
|
|
44
44
|
"free-3033": "kill -9 $(lsof -t -i :3033)",
|
|
45
45
|
"free-8080": "kill -9 $(lsof -t -i :8080)",
|
|
46
46
|
"free-mongo": "kill -9 $(lsof -t -i :55391) && kill -9 $(lsof -t -i :55393)",
|
|
47
|
+
"knip:modules": "echo ---Unlisted Dependencies--- && yarn workspace @xyo-network/modules run knip --include unlisted --no-exit-code",
|
|
48
|
+
"knip:unlisted": "echo ---Unlisted Dependencies--- && yarn workspaces foreach -Ap --exclude @xyo-network/sdk-js --no-interlaced run knip --include unlisted",
|
|
49
|
+
"knip:wallet": "echo ---Unlisted Dependencies--- && yarn workspace @xyo-network/wallet run knip --include unlisted --no-exit-code",
|
|
47
50
|
"package-build": "yarn package-clean && rimraf docs && yarn package-build-only && typedoc && xy statics",
|
|
48
51
|
"package-clean": "rimraf dist",
|
|
49
52
|
"test": "vitest --watch false"
|
|
50
53
|
},
|
|
51
54
|
"resolutions": {
|
|
52
55
|
"axios": "^1",
|
|
53
|
-
"fake-indexeddb": "^4"
|
|
56
|
+
"fake-indexeddb": "^4",
|
|
57
|
+
"unrs-resolver": "1.7.0"
|
|
54
58
|
},
|
|
55
59
|
"dependencies": {
|
|
56
|
-
"@xyo-network/manifest": "^3.14.
|
|
57
|
-
"@xyo-network/modules": "^3.14.
|
|
58
|
-
"@xyo-network/protocol": "^3.14.
|
|
60
|
+
"@xyo-network/manifest": "^3.14.6",
|
|
61
|
+
"@xyo-network/modules": "^3.14.6",
|
|
62
|
+
"@xyo-network/protocol": "^3.14.6"
|
|
59
63
|
},
|
|
60
64
|
"devDependencies": {
|
|
61
65
|
"@firebase/app": "^0.11.5",
|
|
@@ -70,7 +74,7 @@
|
|
|
70
74
|
"@xylabs/ts-scripts-yarn3": "^6.3.5",
|
|
71
75
|
"@xylabs/tsconfig": "^6.3.5",
|
|
72
76
|
"@xylabs/vitest-extended": "^4.8.7",
|
|
73
|
-
"@xyo-network/sdk-utils": "^3.14.
|
|
77
|
+
"@xyo-network/sdk-utils": "^3.14.6",
|
|
74
78
|
"dependency-cruiser": "^16.10.1",
|
|
75
79
|
"dotenv": "^16.5.0",
|
|
76
80
|
"eslint": "^9.25.1",
|