@exercode/problem-utils 1.9.1 → 1.9.2
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/package.json +39 -47
package/package.json
CHANGED
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exercode/problem-utils",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
4
4
|
"description": ":100: A set of utilities for judging programs on Exercode (https://exercode.willbooster.com/).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"exercode",
|
|
7
7
|
"judge"
|
|
8
8
|
],
|
|
9
|
-
"repository": "github:WillBooster/exercode-problem-utils",
|
|
10
9
|
"license": "Apache-2.0",
|
|
11
10
|
"author": "WillBooster Inc.",
|
|
12
|
-
"
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/WillBooster/exercode-problem-utils.git"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist/"
|
|
17
|
+
],
|
|
13
18
|
"type": "module",
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "dist/index.cjs",
|
|
21
|
+
"module": "dist/index.js",
|
|
22
|
+
"types": "dist/index.d.ts",
|
|
14
23
|
"exports": {
|
|
15
24
|
".": {
|
|
16
25
|
"types": "./dist/index.d.ts",
|
|
@@ -23,77 +32,60 @@
|
|
|
23
32
|
"require": "./dist/presets/*.cjs"
|
|
24
33
|
}
|
|
25
34
|
},
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"files": [
|
|
30
|
-
"dist/"
|
|
31
|
-
],
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public"
|
|
37
|
+
},
|
|
32
38
|
"scripts": {
|
|
33
39
|
"build": "build-ts lib --input src/index.ts src/presets/*.ts",
|
|
34
40
|
"check-all-for-ai": "yarn check-for-ai && yarn test",
|
|
35
|
-
"check-for-ai": "yarn install > /dev/null && yarn format > /dev/null 2> /dev/null || true && yarn lint-fix --quiet
|
|
41
|
+
"check-for-ai": "yarn install > /dev/null && yarn format > /dev/null 2> /dev/null || true && yarn lint-fix --quiet",
|
|
36
42
|
"cleanup": "yarn format && yarn lint-fix",
|
|
37
|
-
"format": "sort-package-json && yarn prettify",
|
|
38
|
-
"
|
|
39
|
-
"lint": "
|
|
43
|
+
"format": "sort-package-json && yarn format-code && yarn prettify",
|
|
44
|
+
"format-code": "oxfmt --write --no-error-on-unmatched-pattern .",
|
|
45
|
+
"lint": "oxlint --no-error-on-unmatched-pattern .",
|
|
40
46
|
"lint-fix": "yarn lint --fix",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"prepare": "husky || true",
|
|
44
|
-
"prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,java,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test{-,/}fixtures/**\" || true",
|
|
47
|
+
"prepare": "lefthook install || true",
|
|
48
|
+
"prettify": "prettier --cache --color --no-error-on-unmatched-pattern --write \"**/{.*/,}*.{java}\" \"!**/test{-,/}fixtures/**\" || true",
|
|
45
49
|
"start": "build-ts run src/index.ts",
|
|
46
50
|
"test": "rm -fr temp && dotenv -c test -- vitest test",
|
|
47
51
|
"test/ci-setup": "yarn build && bun install --cwd example",
|
|
48
|
-
"typecheck": "
|
|
52
|
+
"typecheck": "tsgo --noEmit"
|
|
49
53
|
},
|
|
50
|
-
"prettier": "@willbooster/prettier-config",
|
|
51
54
|
"dependencies": {
|
|
52
|
-
"@ai-sdk/amazon-bedrock": "4.0.
|
|
53
|
-
"@ai-sdk/google": "3.0.
|
|
55
|
+
"@ai-sdk/amazon-bedrock": "4.0.93",
|
|
56
|
+
"@ai-sdk/google": "3.0.62",
|
|
54
57
|
"@ai-sdk/openai": "3.0.52",
|
|
55
58
|
"@ai-sdk/xai": "3.0.82",
|
|
56
|
-
"ai": "6.0.
|
|
59
|
+
"ai": "6.0.158",
|
|
57
60
|
"front-matter": "4.0.2",
|
|
58
61
|
"zod": "4.3.6"
|
|
59
62
|
},
|
|
60
63
|
"devDependencies": {
|
|
64
|
+
"@tsconfig/node-lts": "24.0.0",
|
|
65
|
+
"@tsconfig/node-ts": "23.6.4",
|
|
61
66
|
"@tsconfig/node24": "24.0.4",
|
|
62
|
-
"@types/eslint": "8.56.11",
|
|
63
67
|
"@types/node": "24.12.2",
|
|
64
|
-
"@
|
|
65
|
-
"@willbooster/
|
|
66
|
-
"
|
|
68
|
+
"@typescript/native-preview": "7.0.0-dev.20260417.1",
|
|
69
|
+
"@willbooster/oxfmt-config": "1.2.1",
|
|
70
|
+
"@willbooster/oxlint-config": "1.4.4",
|
|
71
|
+
"@willbooster/prettier-config": "10.4.0",
|
|
72
|
+
"build-ts": "17.1.0",
|
|
67
73
|
"conventional-changelog-conventionalcommits": "9.3.1",
|
|
68
74
|
"dotenv-cli": "11.0.0",
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"eslint-plugin-import-x": "4.16.2",
|
|
74
|
-
"eslint-plugin-sort-class-members": "1.22.1",
|
|
75
|
-
"eslint-plugin-sort-destructure-keys": "3.0.0",
|
|
76
|
-
"eslint-plugin-unicorn": "64.0.0",
|
|
77
|
-
"eslint-plugin-unused-imports": "4.4.1",
|
|
78
|
-
"globals": "17.4.0",
|
|
79
|
-
"husky": "9.1.7",
|
|
80
|
-
"lint-staged": "16.4.0",
|
|
81
|
-
"micromatch": "4.0.8",
|
|
82
|
-
"pinst": "3.0.0",
|
|
75
|
+
"lefthook": "2.1.5",
|
|
76
|
+
"oxfmt": "0.45.0",
|
|
77
|
+
"oxlint": "1.60.0",
|
|
78
|
+
"oxlint-tsgolint": "0.21.0",
|
|
83
79
|
"prettier": "3.8.2",
|
|
84
80
|
"prettier-plugin-java": "2.8.1",
|
|
85
81
|
"puppeteer": "24.40.0",
|
|
86
82
|
"semantic-release": "25.0.3",
|
|
87
83
|
"sort-package-json": "3.6.1",
|
|
88
|
-
"
|
|
89
|
-
"typescript-eslint": "8.58.1",
|
|
90
|
-
"vitest": "4.1.2"
|
|
84
|
+
"vitest": "4.1.4"
|
|
91
85
|
},
|
|
92
|
-
"
|
|
86
|
+
"prettier": "@willbooster/prettier-config",
|
|
93
87
|
"engines": {
|
|
94
88
|
"node": ">=24"
|
|
95
89
|
},
|
|
96
|
-
"
|
|
97
|
-
"access": "public"
|
|
98
|
-
}
|
|
90
|
+
"packageManager": "yarn@4.14.1"
|
|
99
91
|
}
|