@superblocksteam/sdk 2.0.29 → 2.0.30-next.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/.turbo/turbo-build.log +4 -0
- package/eslint.config.js +14 -21
- package/package.json +13 -13
- package/tsconfig.tsbuildinfo +1 -1
package/eslint.config.js
CHANGED
|
@@ -2,31 +2,22 @@ import js from "@eslint/js";
|
|
|
2
2
|
import turbo from "eslint-config-turbo/flat";
|
|
3
3
|
import importPlugin from "eslint-plugin-import";
|
|
4
4
|
import mochaPlugin from "eslint-plugin-mocha";
|
|
5
|
-
import prettier from "eslint-plugin-prettier";
|
|
6
|
-
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
|
|
5
|
+
import prettier from "eslint-plugin-prettier/recommended";
|
|
7
6
|
import unicorn from "eslint-plugin-unicorn";
|
|
8
7
|
import globals from "globals";
|
|
9
8
|
import * as tseslint from "typescript-eslint";
|
|
10
9
|
|
|
11
|
-
export default
|
|
10
|
+
export default tseslint.config(
|
|
12
11
|
{
|
|
13
|
-
ignores: [
|
|
14
|
-
"**/public/*",
|
|
15
|
-
"**/build/*",
|
|
16
|
-
"**/node_modules/*",
|
|
17
|
-
"**/dist/*",
|
|
18
|
-
"**/assets/",
|
|
19
|
-
"**/.*",
|
|
20
|
-
"**/fixture/",
|
|
21
|
-
],
|
|
12
|
+
ignores: ["dist/**/*", ".turbo/**/*", "test/dev-utils/fixture/dist/**/*"],
|
|
22
13
|
},
|
|
23
14
|
mochaPlugin.configs.flat.recommended,
|
|
24
15
|
js.configs.recommended,
|
|
25
|
-
|
|
16
|
+
tseslint.configs.recommended,
|
|
17
|
+
turbo,
|
|
18
|
+
|
|
26
19
|
{
|
|
27
20
|
plugins: {
|
|
28
|
-
"@typescript-eslint": tseslint.plugin,
|
|
29
|
-
prettier,
|
|
30
21
|
import: importPlugin,
|
|
31
22
|
unicorn,
|
|
32
23
|
},
|
|
@@ -34,6 +25,12 @@ export default [
|
|
|
34
25
|
ecmaVersion: 2020,
|
|
35
26
|
sourceType: "commonjs",
|
|
36
27
|
globals: globals.node,
|
|
28
|
+
parserOptions: {
|
|
29
|
+
tsconfigRootDir: import.meta.dirname,
|
|
30
|
+
projectService: {
|
|
31
|
+
allowDefaultProject: ["eslint.config.js"],
|
|
32
|
+
},
|
|
33
|
+
},
|
|
37
34
|
},
|
|
38
35
|
rules: {
|
|
39
36
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
@@ -79,9 +76,5 @@ export default [
|
|
|
79
76
|
"@typescript-eslint/no-unused-expressions": "off",
|
|
80
77
|
},
|
|
81
78
|
},
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
...eslintPluginPrettierRecommended,
|
|
85
|
-
},
|
|
86
|
-
...turbo,
|
|
87
|
-
];
|
|
79
|
+
prettier,
|
|
80
|
+
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superblocksteam/sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.30-next.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Superblocks JS SDK",
|
|
6
6
|
"homepage": "https://www.superblocks.com",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"@opentelemetry/semantic-conventions": "^1.28.0",
|
|
34
34
|
"@rollup/wasm-node": "^4.35.0",
|
|
35
35
|
"@superblocksteam/bucketeer-sdk": "0.5.0",
|
|
36
|
-
"@superblocksteam/library": "2.0.
|
|
37
|
-
"@superblocksteam/library-shared": "2.0.
|
|
38
|
-
"@superblocksteam/shared": "0.
|
|
39
|
-
"@superblocksteam/util": "2.0.
|
|
40
|
-
"@superblocksteam/vite-plugin-file-sync": "2.0.
|
|
36
|
+
"@superblocksteam/library": "2.0.30-next.1",
|
|
37
|
+
"@superblocksteam/library-shared": "2.0.30-next.1",
|
|
38
|
+
"@superblocksteam/shared": "0.9404.0",
|
|
39
|
+
"@superblocksteam/util": "2.0.30-next.1",
|
|
40
|
+
"@superblocksteam/vite-plugin-file-sync": "2.0.30-next.1",
|
|
41
41
|
"@vitejs/plugin-react": "4.3.4",
|
|
42
42
|
"axios": "^1.4.0",
|
|
43
43
|
"chokidar": "^4.0.3",
|
|
@@ -87,12 +87,12 @@
|
|
|
87
87
|
"@typescript-eslint/parser": "^5.60.1",
|
|
88
88
|
"chai": "^4",
|
|
89
89
|
"chai-as-promised": "^8.0.1",
|
|
90
|
-
"eslint": "^9.
|
|
91
|
-
"eslint-config-prettier": "10.
|
|
90
|
+
"eslint": "^9.34.0",
|
|
91
|
+
"eslint-config-prettier": "^10.1.8",
|
|
92
92
|
"eslint-config-turbo": "^2.5.5",
|
|
93
|
-
"eslint-plugin-import": "2.
|
|
93
|
+
"eslint-plugin-import": "^2.32.0",
|
|
94
94
|
"eslint-plugin-mocha": "^10.5.0",
|
|
95
|
-
"eslint-plugin-prettier": "5.
|
|
95
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
96
96
|
"eslint-plugin-unicorn": "^47.0.0",
|
|
97
97
|
"globals": "^15.9.0",
|
|
98
98
|
"mocha": "^11.1.0",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"tslib": "^2.8.0",
|
|
101
101
|
"tsx": "^4.19.2",
|
|
102
102
|
"typescript": "^5.7.0",
|
|
103
|
-
"typescript-eslint": "^8.
|
|
103
|
+
"typescript-eslint": "^8.41.0"
|
|
104
104
|
},
|
|
105
105
|
"overrides": {
|
|
106
106
|
"rollup": "npm:@rollup/wasm-node"
|
|
@@ -113,8 +113,8 @@
|
|
|
113
113
|
"check": "pnpm run lint && pnpm run typecheck",
|
|
114
114
|
"clean": "premove dist tsconfig.tsbuildinfo",
|
|
115
115
|
"dev": "tsc --build --watch --preserveWatchOutput",
|
|
116
|
-
"lint": "eslint
|
|
117
|
-
"lint:fix": "eslint
|
|
116
|
+
"lint": "eslint --concurrency=auto",
|
|
117
|
+
"lint:fix": "eslint --fix --concurrency=auto",
|
|
118
118
|
"pretest": "cd test/dev-utils/fixture && npm install",
|
|
119
119
|
"test": "mocha \"test/**/*.test.mts\"",
|
|
120
120
|
"typecheck": "tsc --noEmit"
|