@kalutskii/foundation 0.7.20 → 0.7.22

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/dist/index.js +1 -1
  3. package/package.json +23 -26
package/README.md CHANGED
@@ -312,7 +312,7 @@ bun install --frozen-lockfile
312
312
  ```bash
313
313
  bun test src/<module>/<module>.spec.ts
314
314
  bun run typecheck
315
- bunx eslint src/<module>
315
+ bunx oxlint src/<module>
316
316
  ```
317
317
 
318
318
  Run focused checks first to shorten feedback loops. Do not claim a command passed unless it was actually executed
package/dist/index.js CHANGED
@@ -617,7 +617,7 @@ var parseQueryValue = (value) => {
617
617
  if (Array.isArray(value))
618
618
  return value.map(parseQueryValue);
619
619
  if (isPlainObject(value)) {
620
- return Object.fromEntries(Object.entries(value).map(([key, value2]) => [key, parseQueryValue(value2)]));
620
+ return Object.fromEntries(Object.entries(value).map(([key, entryValue]) => [key, parseQueryValue(entryValue)]));
621
621
  }
622
622
  if (typeof value !== "string")
623
623
  return value;
package/package.json CHANGED
@@ -1,13 +1,22 @@
1
1
  {
2
2
  "name": "@kalutskii/foundation",
3
- "version": "0.7.20",
3
+ "version": "0.7.22",
4
4
  "description": "Typescript collection of most common utilities, schemas and functions among private projects.",
5
5
  "license": "MIT",
6
- "type": "module",
7
6
  "repository": {
8
7
  "type": "git",
9
8
  "url": "git+https://github.com/kalutskii/foundation.git"
10
9
  },
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "type": "module",
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/index.js",
17
+ "types": "./dist/index.d.ts"
18
+ }
19
+ },
11
20
  "publishConfig": {
12
21
  "access": "public"
13
22
  },
@@ -15,20 +24,20 @@
15
24
  "build": "tsup",
16
25
  "test": "bun test",
17
26
  "typecheck": "tsc --noEmit",
18
- "lint": "eslint . --ext .ts --fix",
19
- "lint:check": "eslint . --ext .ts",
20
- "format": "prettier --write .",
21
- "format:check": "prettier --check ."
27
+ "lint": "oxlint",
28
+ "lint:check": "oxlint --fix",
29
+ "format": "oxfmt",
30
+ "format:check": "oxfmt --check"
22
31
  },
23
- "exports": {
24
- ".": {
25
- "import": "./dist/index.js",
26
- "types": "./dist/index.d.ts"
27
- }
32
+ "devDependencies": {
33
+ "@types/bun": "latest",
34
+ "esbuild-plugin-tsconfig-paths": "^1.0.2",
35
+ "oxfmt": "^0.63.0",
36
+ "oxlint": "^1.78.0",
37
+ "oxlint-tsgolint": "^7.0.2001",
38
+ "tsup": "^8.5.1",
39
+ "typescript": "^5.9.3"
28
40
  },
29
- "files": [
30
- "dist"
31
- ],
32
41
  "peerDependencies": {
33
42
  "date-fns": "^4.1.0",
34
43
  "date-fns-tz": "^3.2.0",
@@ -37,17 +46,5 @@
37
46
  "kleur": "^4.1.5",
38
47
  "typescript": "^5",
39
48
  "zod": "^4.4.3"
40
- },
41
- "devDependencies": {
42
- "@eslint/js": "^10.0.1",
43
- "@trivago/prettier-plugin-sort-imports": "^6.0.2",
44
- "@types/bun": "latest",
45
- "esbuild-plugin-tsconfig-paths": "^1.0.2",
46
- "eslint": "^10.2.1",
47
- "eslint-config-prettier": "^10.1.8",
48
- "jiti": "^2.7.0",
49
- "prettier": "^3.8.1",
50
- "tsup": "^8.5.1",
51
- "typescript-eslint": "^8.58.2"
52
49
  }
53
50
  }