@superblocksteam/util 2.0.26-next.3 → 2.0.26-next.4

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.
@@ -0,0 +1,4 @@
1
+
2
+ > @superblocksteam/util@2.0.26-next.4 build /home/runner/_work/superblocks/superblocks/packages/cli/packages/util
3
+ > tsc --build
4
+
package/eslint.config.js CHANGED
@@ -5,6 +5,7 @@ const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommen
5
5
  const unicorn = require("eslint-plugin-unicorn");
6
6
  const globals = require("globals");
7
7
  const tseslint = require("typescript-eslint");
8
+ const turbo = require("eslint-config-turbo/flat").default;
8
9
 
9
10
  const config = [
10
11
  {
@@ -82,6 +83,7 @@ const config = [
82
83
  "@typescript-eslint/no-unused-expressions": "off",
83
84
  },
84
85
  },
86
+ ...turbo
85
87
  ];
86
88
 
87
89
  module.exports = config;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@superblocksteam/util",
3
3
  "description": "",
4
- "version": "2.0.26-next.3",
4
+ "version": "2.0.26-next.4",
5
5
  "homepage": "https://www.superblocks.com",
6
6
  "license": "Superblocks Community Software License",
7
7
  "main": "dist/index.js",
@@ -26,10 +26,12 @@
26
26
  "@typescript-eslint/eslint-plugin": "^8.25.0",
27
27
  "@typescript-eslint/parser": "^8.25.0",
28
28
  "eslint": "^9.21.0",
29
+ "eslint-config-turbo": "^2.5.5",
29
30
  "eslint-plugin-import": "2.31.0",
30
31
  "eslint-plugin-mocha": "^10.5.0",
31
32
  "eslint-plugin-prettier": "^5.2.5",
32
33
  "eslint-plugin-unicorn": "^47.0.0",
34
+ "globals": "^16.3.0",
33
35
  "prettier": "^3.5.2",
34
36
  "tslib": "^2.5.0",
35
37
  "typescript-eslint": "^8.18.0"
@@ -40,8 +42,8 @@
40
42
  "scripts": {
41
43
  "build": "tsc --build",
42
44
  "check": "pnpm run lint && pnpm run typecheck",
43
- "clean": "rm -rf dist tsconfig.tsbuildinfo",
44
- "dev": "tsc --build --watch",
45
+ "clean": "premove dist/ tsconfig.tsbuildinfo",
46
+ "dev": "tsc --build --watch --preserveWatchOutput",
45
47
  "lint": "eslint .",
46
48
  "lint:fix": "eslint . --fix",
47
49
  "typecheck": "tsc --noEmit"
package/tsconfig.json CHANGED
@@ -14,7 +14,8 @@
14
14
  "sourceMap": true,
15
15
  "declarationMap": true,
16
16
  "esModuleInterop": true,
17
- "skipLibCheck": true
17
+ "skipLibCheck": true,
18
+
18
19
  },
19
20
  "include": ["src/**/*"]
20
21
  }
package/turbo.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "https://turborepo.com/schema.json",
3
+ "extends": ["//"],
4
+ "tasks": {
5
+ "dev": {
6
+ "passThroughEnv": [
7
+ "SUPERBLOCKS_AUTH_FILE",
8
+ "SUPERBLOCKS_BASE_URL"
9
+ ]
10
+ }
11
+ }
12
+ }
package/tsup.config.ts DELETED
@@ -1,8 +0,0 @@
1
- import { defineConfig } from "tsup";
2
-
3
- export default defineConfig({
4
- name: "tsup",
5
- target: "node16",
6
- entryPoints: ["./src/index.ts"],
7
- format: ["cjs", "esm"],
8
- });