File tree Expand file tree Collapse file tree 3 files changed +29
-10
lines changed Expand file tree Collapse file tree 3 files changed +29
-10
lines changed Original file line number Diff line number Diff line change 22 "$schema" : " https://jsr.io/schema/config-file.v1.json" ,
33 "name" : " @un-oj/core" ,
44 "version" : " 0.3.0" ,
5+ "license" : " MIT" ,
56 "exports" : {
67 "." : " ./src/index.ts" ,
78 "./platforms/atcoder" : " ./src/platforms/atcoder.ts" ,
Original file line number Diff line number Diff line change 2121 "import" : " ./dist/index.mjs"
2222 },
2323 "./package.json" : " ./package.json" ,
24- "./platforms/*" : {
25- "types" : " ./dist/platforms/*.d.mts" ,
26- "import" : " ./dist/platforms/*.mjs"
24+ "./platforms/atcoder" : {
25+ "types" : " ./dist/platforms/atcoder.d.mts" ,
26+ "import" : " ./dist/platforms/atcoder.mjs"
27+ },
28+ "./platforms/codeforces" : {
29+ "types" : " ./dist/platforms/codeforces.d.mts" ,
30+ "import" : " ./dist/platforms/codeforces.mjs"
31+ },
32+ "./platforms/hydro" : {
33+ "types" : " ./dist/platforms/hydro.d.mts" ,
34+ "import" : " ./dist/platforms/hydro.mjs"
35+ },
36+ "./platforms/leetcode" : {
37+ "types" : " ./dist/platforms/leetcode.d.mts" ,
38+ "import" : " ./dist/platforms/leetcode.mjs"
39+ },
40+ "./platforms/lyrio" : {
41+ "types" : " ./dist/platforms/lyrio.d.mts" ,
42+ "import" : " ./dist/platforms/lyrio.mjs"
43+ },
44+ "./platforms/luogu" : {
45+ "types" : " ./dist/platforms/luogu.d.mts" ,
46+ "import" : " ./dist/platforms/luogu.mjs"
47+ },
48+ "./platforms/mxoj" : {
49+ "types" : " ./dist/platforms/mxoj.d.mts" ,
50+ "import" : " ./dist/platforms/mxoj.mjs"
2751 }
2852 },
2953 "publishConfig" : {
Original file line number Diff line number Diff line change 11/**
2- * This entry point exports some utilities.
3- * Most of the time, you will want to do like this:
4- *
5- * ```ts
6- * import Codeforces from '@un-oj/core/platforms/codeforces';
7- * const cf = new Codeforces();
8- * ```
2+ * This entry point exports some utilities. Most of the time, you will want to import from the specific platform like `/platforms/codeforces`.
93 *
104 * See {@link Platform} for the common behavior and conventions of all platforms,
115 * such as method names, error handling, etc.
You can’t perform that action at this time.
0 commit comments