@koppajs/koppajs-core 3.0.1 → 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.
@@ -52,4 +52,4 @@ export declare function isSimplePathExpression(expression: string): boolean;
52
52
  * @param value - Value to set
53
53
  * @throws Error if path is invalid or property is read-only
54
54
  */
55
- export declare function setValueByPath(obj: Record<string, unknown>, path: string, value: unknown): void;
55
+ export declare function setValueByPath(obj: unknown, path: string, value: unknown): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koppajs/koppajs-core",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.cjs.js",
@@ -46,24 +46,29 @@
46
46
  "license": "Apache-2.0",
47
47
  "homepage": "https://koppajs.org",
48
48
  "scripts": {
49
+ "prepare": "husky",
49
50
  "generate:types": "tsc --project config/tsconfig.types.json",
50
51
  "copy:dts": "node scripts/copy-dts.js",
51
52
  "clean": "rimraf dist coverage",
52
53
  "deepclean": "rimraf node_modules dist",
53
54
  "nuke": "rimraf node_modules dist",
54
55
  "nuke:all": "rimraf node_modules dist pnpm-lock.yaml",
55
- "pretypecheck": "rimraf dist",
56
- "typecheck": "tsc --project config/tsconfig.json",
57
- "build": "pnpm run typecheck && vite build --config config/vite.config.ts && pnpm generate:types && pnpm run copy:dts",
56
+ "typecheck:src": "tsc --project config/tsconfig.json",
57
+ "typecheck:test": "tsc --project config/tsconfig.test.json",
58
+ "typecheck": "pnpm run typecheck:src && pnpm run typecheck:test",
59
+ "prebuild": "rimraf dist",
60
+ "build": "pnpm run typecheck:src && vite build --config config/vite.config.ts && pnpm generate:types && pnpm run copy:dts",
58
61
  "rebuild": "pnpm run clean && pnpm run build",
59
62
  "test": "vitest --config config/vitest.config.ts --run",
60
63
  "test:coverage": "vitest --config config/vitest.config.ts --coverage",
61
64
  "test:watch": "vitest --config config/vitest.config.ts --watch",
62
65
  "test:ci": "vitest --config config/vitest.config.ts --run --coverage",
63
- "lint:scripts": "pnpm eslint . --config config/eslint.config.mjs --fix",
64
- "lint": "pnpm run lint:scripts",
65
- "format:scripts": "prettier --ignore-path config/.prettierignore --config config/prettier.config.mjs --write .",
66
- "format": "pnpm run format:scripts",
66
+ "lint": "eslint .",
67
+ "lint:fix": "eslint . --fix",
68
+ "format": "prettier --write .",
69
+ "format:check": "prettier --check .",
70
+ "check": "pnpm run typecheck && pnpm run lint && pnpm run format:check && pnpm run test:ci",
71
+ "validate": "pnpm run check && pnpm run build",
67
72
  "dump:ai": "node scripts/project-dump.mjs"
68
73
  },
69
74
  "packageManager": "pnpm@10.24.0",
@@ -80,10 +85,8 @@
80
85
  "@typescript-eslint/eslint-plugin": "^8.48.1",
81
86
  "@typescript-eslint/parser": "^8.48.1",
82
87
  "@vitest/coverage-v8": "^4.0.15",
83
- "commitlint": "^20.1.0",
84
88
  "eslint": "^9.39.1",
85
89
  "eslint-config-prettier": "^10.1.8",
86
- "eslint-plugin-prettier": "^5.5.4",
87
90
  "husky": "^9.1.7",
88
91
  "jsdom": "^27.4.0",
89
92
  "lint-staged": "^16.2.7",
@@ -92,7 +95,6 @@
92
95
  "terser": "^5.44.1",
93
96
  "typescript": "^5.7.2",
94
97
  "vite": "^7.2.6",
95
- "vite-tsconfig-paths": "^5.1.4",
96
98
  "vitest": "^4.0.15",
97
99
  "fflate": "^0.8.2"
98
100
  },