@koppajs/koppajs-core 3.0.2 → 3.0.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.
- package/CHANGELOG.md +46 -0
- package/README.md +148 -79
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/utils/helper.d.ts +1 -1
- package/package.json +17 -13
package/dist/utils/helper.d.ts
CHANGED
|
@@ -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:
|
|
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.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
@@ -46,25 +46,31 @@
|
|
|
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
|
-
"
|
|
56
|
-
"typecheck": "tsc --project config/tsconfig.json",
|
|
57
|
-
"
|
|
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
|
|
64
|
-
"lint": "
|
|
65
|
-
"format
|
|
66
|
-
"format": "
|
|
67
|
-
"
|
|
66
|
+
"lint": "eslint .",
|
|
67
|
+
"lint:fix": "eslint . --fix",
|
|
68
|
+
"format": "prettier --write .",
|
|
69
|
+
"format:check": "prettier --check .",
|
|
70
|
+
"check": "pnpm run check:docs && pnpm run typecheck && pnpm run lint && pnpm run format:check && pnpm run test:ci",
|
|
71
|
+
"validate": "pnpm run check:docs && pnpm run check && pnpm run build",
|
|
72
|
+
"dump:ai": "node scripts/project-dump.mjs",
|
|
73
|
+
"check:docs": "node scripts/check-doc-contract.mjs"
|
|
68
74
|
},
|
|
69
75
|
"packageManager": "pnpm@10.24.0",
|
|
70
76
|
"engines": {
|
|
@@ -80,10 +86,8 @@
|
|
|
80
86
|
"@typescript-eslint/eslint-plugin": "^8.48.1",
|
|
81
87
|
"@typescript-eslint/parser": "^8.48.1",
|
|
82
88
|
"@vitest/coverage-v8": "^4.0.15",
|
|
83
|
-
"commitlint": "^20.1.0",
|
|
84
89
|
"eslint": "^9.39.1",
|
|
85
90
|
"eslint-config-prettier": "^10.1.8",
|
|
86
|
-
"eslint-plugin-prettier": "^5.5.4",
|
|
87
91
|
"husky": "^9.1.7",
|
|
88
92
|
"jsdom": "^27.4.0",
|
|
89
93
|
"lint-staged": "^16.2.7",
|
|
@@ -92,7 +96,6 @@
|
|
|
92
96
|
"terser": "^5.44.1",
|
|
93
97
|
"typescript": "^5.7.2",
|
|
94
98
|
"vite": "^7.2.6",
|
|
95
|
-
"vite-tsconfig-paths": "^5.1.4",
|
|
96
99
|
"vitest": "^4.0.15",
|
|
97
100
|
"fflate": "^0.8.2"
|
|
98
101
|
},
|
|
@@ -103,5 +106,6 @@
|
|
|
103
106
|
"onlyBuiltDependencies": [
|
|
104
107
|
"esbuild"
|
|
105
108
|
]
|
|
106
|
-
}
|
|
109
|
+
},
|
|
110
|
+
"private": false
|
|
107
111
|
}
|