@koppajs/koppajs-core 3.0.3 → 3.0.5
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 +43 -0
- package/README.md +19 -8
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +73 -60
- package/dist/index.es.js.map +1 -1
- package/package.json +15 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koppajs/koppajs-core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
@@ -47,33 +47,33 @@
|
|
|
47
47
|
"homepage": "https://koppajs.org",
|
|
48
48
|
"scripts": {
|
|
49
49
|
"prepare": "husky",
|
|
50
|
-
"generate:types": "tsc --project
|
|
50
|
+
"generate:types": "tsc --project tsconfig.types.json",
|
|
51
51
|
"copy:dts": "node scripts/copy-dts.js",
|
|
52
52
|
"clean": "rimraf dist coverage",
|
|
53
53
|
"deepclean": "rimraf node_modules dist",
|
|
54
54
|
"nuke": "rimraf node_modules dist",
|
|
55
55
|
"nuke:all": "rimraf node_modules dist pnpm-lock.yaml",
|
|
56
|
-
"typecheck:src": "tsc --project
|
|
57
|
-
"typecheck:test": "tsc --project
|
|
56
|
+
"typecheck:src": "tsc --project tsconfig.json",
|
|
57
|
+
"typecheck:test": "tsc --project tsconfig.test.json",
|
|
58
58
|
"typecheck": "pnpm run typecheck:src && pnpm run typecheck:test",
|
|
59
59
|
"prebuild": "rimraf dist",
|
|
60
|
-
"build": "pnpm run typecheck:src && vite build
|
|
60
|
+
"build": "pnpm run typecheck:src && vite build && pnpm generate:types && pnpm run copy:dts",
|
|
61
61
|
"rebuild": "pnpm run clean && pnpm run build",
|
|
62
|
-
"test": "vitest --
|
|
63
|
-
"test:coverage": "vitest --
|
|
64
|
-
"test:watch": "vitest --
|
|
65
|
-
"test:ci": "vitest --
|
|
62
|
+
"test": "vitest --run",
|
|
63
|
+
"test:coverage": "vitest --coverage",
|
|
64
|
+
"test:watch": "vitest --watch",
|
|
65
|
+
"test:ci": "vitest --run --coverage",
|
|
66
66
|
"lint": "eslint .",
|
|
67
67
|
"lint:fix": "eslint . --fix",
|
|
68
68
|
"format": "prettier --write .",
|
|
69
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",
|
|
72
|
-
"
|
|
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
|
+
"check:docs": "node scripts/check-doc-contract.mjs"
|
|
73
73
|
},
|
|
74
74
|
"packageManager": "pnpm@10.24.0",
|
|
75
75
|
"engines": {
|
|
76
|
-
"node": "
|
|
76
|
+
"node": "22.x",
|
|
77
77
|
"pnpm": ">=10.24.0"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
@@ -105,5 +105,6 @@
|
|
|
105
105
|
"onlyBuiltDependencies": [
|
|
106
106
|
"esbuild"
|
|
107
107
|
]
|
|
108
|
-
}
|
|
108
|
+
},
|
|
109
|
+
"private": false
|
|
109
110
|
}
|