@cyberskill/shared 1.209.0 → 1.210.0
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/dist/config/config.type.js +4 -0
- package/dist/config/config.util.js +49 -0
- package/dist/config/env/env.util.js +29 -0
- package/dist/config/index.js +6 -0
- package/dist/{src/config → config}/vitest/vitest.e2e.js +1 -1
- package/dist/config/vitest/vitest.unit.js +19 -0
- package/dist/{src/node → node}/apollo-server/apollo-server.util.js +5 -7
- package/dist/{src/node → node}/cli/index.js +31 -29
- package/dist/node/command/command.type.js +4 -0
- package/dist/node/command/command.util.js +144 -0
- package/dist/node/command/index.js +11 -0
- package/dist/{src/node → node}/express/express.util.js +10 -12
- package/dist/node/log/index.js +8 -0
- package/dist/node/log/log.type.js +4 -0
- package/dist/node/mongo/index.js +17 -0
- package/dist/node/mongo/mongo.type.js +16 -0
- package/dist/{src/node → node}/mongo/mongo.util.js +1 -1
- package/dist/node/package/index.js +10 -0
- package/dist/node/package/package.type.js +4 -0
- package/dist/node/package/package.util.js +225 -0
- package/dist/node/path/index.js +52 -0
- package/dist/node/path/path.constant.js +273 -0
- package/dist/node/upload/index.js +7 -0
- package/dist/node/upload/upload.type.js +4 -0
- package/dist/{src/node → node}/upload/upload.util.js +34 -35
- package/dist/{config-CwzVfkkX.js → node_modules/.pnpm/vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.13_@vitest_browser@3.2.4_jiti@2.4.2_j_cac3da623d5688a51c0b1a2270e144db/node_modules/vitest/dist/config.js} +1 -1
- package/dist/{src/react → react}/apollo-client/apollo-client.component.js +9 -12
- package/dist/{src/react → react}/apollo-client/apollo-client.context.js +2 -2
- package/dist/{src/react → react}/apollo-client/apollo-client.util.js +3 -3
- package/dist/{src/react → react}/apollo-error/apollo-error.component.js +3 -10
- package/dist/react/apollo-error/apollo-error.module.scss.js +11 -0
- package/dist/{src/react → react}/apollo-error/apollo-error.provider.js +2 -2
- package/dist/react/loading/loading.component.js +34 -0
- package/dist/react/loading/loading.module.scss.js +15 -0
- package/dist/react/loading/loading.provider.js +17 -0
- package/dist/react/next-intl/next-intl.provider.js +23 -0
- package/dist/typescript/index.js +4 -0
- package/dist/{src/util → util}/common/common.util.js +1 -1
- package/package.json +68 -68
- package/dist/index-BG1UznTl.js +0 -628
- package/dist/magic-string.es-BQ9KnLz-.js +0 -659
- package/dist/src/config/config.util.js +0 -50
- package/dist/src/config/env/env.util.js +0 -29
- package/dist/src/config/index.js +0 -5
- package/dist/src/config/vitest/vitest.unit.js +0 -19
- package/dist/src/config/vitest/vitest.unit.setup.js +0 -30990
- package/dist/src/node/command/command.util.js +0 -16
- package/dist/src/node/command/index.js +0 -10
- package/dist/src/node/log/index.js +0 -8
- package/dist/src/node/mongo/index.js +0 -26
- package/dist/src/node/package/index.js +0 -9
- package/dist/src/node/package/package.util.js +0 -13
- package/dist/src/node/path/index.js +0 -52
- package/dist/src/node/path/path.constant.js +0 -49
- package/dist/src/node/upload/index.js +0 -6
- package/dist/src/react/apollo-client/apollo-client.hook.js +0 -11
- package/dist/src/react/loading/loading.component.js +0 -40
- package/dist/src/react/loading/loading.provider.js +0 -17
- package/dist/src/react/next-intl/next-intl.provider.js +0 -24
- package/dist/src/typescript/style.d.js +0 -1
- /package/dist/{src/config → config}/commitlint/index.d.ts +0 -0
- /package/dist/{src/config → config}/commitlint/index.js +0 -0
- /package/dist/{src/config → config}/config.type.d.ts +0 -0
- /package/dist/{src/config → config}/config.util.d.ts +0 -0
- /package/dist/{src/config → config}/env/env.constant.d.ts +0 -0
- /package/dist/{src/config → config}/env/env.constant.js +0 -0
- /package/dist/{src/config → config}/env/env.type.d.ts +0 -0
- /package/dist/{src/config → config}/env/env.util.d.ts +0 -0
- /package/dist/{src/config → config}/env/index.d.ts +0 -0
- /package/dist/{src/config → config}/env/index.js +0 -0
- /package/dist/{src/config → config}/eslint/index.d.ts +0 -0
- /package/dist/{src/config → config}/eslint/index.js +0 -0
- /package/dist/{src/config → config}/graphql-codegen/graphql-codegen.type.d.ts +0 -0
- /package/dist/{src/config → config}/graphql-codegen/graphql-codegen.util.d.ts +0 -0
- /package/dist/{src/config → config}/graphql-codegen/graphql-codegen.util.js +0 -0
- /package/dist/{src/config → config}/graphql-codegen/index.d.ts +0 -0
- /package/dist/{src/config → config}/graphql-codegen/index.js +0 -0
- /package/dist/{src/config → config}/index.d.ts +0 -0
- /package/dist/{src/config → config}/lint-staged/index.d.ts +0 -0
- /package/dist/{src/config → config}/lint-staged/index.js +0 -0
- /package/dist/{src/config → config}/vitest/index.d.ts +0 -0
- /package/dist/{src/config → config}/vitest/index.js +0 -0
- /package/dist/{src/config → config}/vitest/vitest.e2e.d.ts +0 -0
- /package/dist/{src/config → config}/vitest/vitest.unit.d.ts +0 -0
- /package/dist/{src/constant → constant}/common.d.ts +0 -0
- /package/dist/{src/constant → constant}/common.js +0 -0
- /package/dist/{src/constant → constant}/index.d.ts +0 -0
- /package/dist/{src/constant → constant}/index.js +0 -0
- /package/dist/{src/constant → constant}/response-status.d.ts +0 -0
- /package/dist/{src/constant → constant}/response-status.js +0 -0
- /package/dist/{src/node → node}/apollo-server/apollo-server.type.d.ts +0 -0
- /package/dist/{src/node → node}/apollo-server/apollo-server.util.d.ts +0 -0
- /package/dist/{src/node → node}/apollo-server/index.d.ts +0 -0
- /package/dist/{src/node → node}/apollo-server/index.js +0 -0
- /package/dist/{src/node → node}/cli/index.d.ts +0 -0
- /package/dist/{src/node → node}/command/command.type.d.ts +0 -0
- /package/dist/{src/node → node}/command/command.util.d.ts +0 -0
- /package/dist/{src/node → node}/command/index.d.ts +0 -0
- /package/dist/{src/node → node}/express/express.type.d.ts +0 -0
- /package/dist/{src/node → node}/express/express.util.d.ts +0 -0
- /package/dist/{src/node → node}/express/index.d.ts +0 -0
- /package/dist/{src/node → node}/express/index.js +0 -0
- /package/dist/{src/node → node}/fs/fs.type.d.ts +0 -0
- /package/dist/{src/node → node}/fs/fs.util.d.ts +0 -0
- /package/dist/{src/node → node}/fs/fs.util.js +0 -0
- /package/dist/{src/node → node}/fs/index.d.ts +0 -0
- /package/dist/{src/node → node}/fs/index.js +0 -0
- /package/dist/{src/node → node}/log/index.d.ts +0 -0
- /package/dist/{src/node → node}/log/log.type.d.ts +0 -0
- /package/dist/{src/node → node}/log/log.util.d.ts +0 -0
- /package/dist/{src/node → node}/log/log.util.js +0 -0
- /package/dist/{src/node → node}/mongo/index.d.ts +0 -0
- /package/dist/{src/node → node}/mongo/mongo.constant.d.ts +0 -0
- /package/dist/{src/node → node}/mongo/mongo.constant.js +0 -0
- /package/dist/{src/node → node}/mongo/mongo.type.d.ts +0 -0
- /package/dist/{src/node → node}/mongo/mongo.util.d.ts +0 -0
- /package/dist/{src/node → node}/package/index.d.ts +0 -0
- /package/dist/{src/node → node}/package/package.type.d.ts +0 -0
- /package/dist/{src/node → node}/package/package.util.d.ts +0 -0
- /package/dist/{src/node → node}/path/index.d.ts +0 -0
- /package/dist/{src/node → node}/path/path.constant.d.ts +0 -0
- /package/dist/{src/node → node}/path/path.util.d.ts +0 -0
- /package/dist/{src/node → node}/path/path.util.js +0 -0
- /package/dist/{src/node → node}/storage/index.d.ts +0 -0
- /package/dist/{src/node → node}/storage/index.js +0 -0
- /package/dist/{src/node → node}/storage/storage.util.d.ts +0 -0
- /package/dist/{src/node → node}/storage/storage.util.js +0 -0
- /package/dist/{src/node → node}/upload/index.d.ts +0 -0
- /package/dist/{src/node → node}/upload/upload.type.d.ts +0 -0
- /package/dist/{src/node → node}/upload/upload.util.d.ts +0 -0
- /package/dist/{src/node → node}/ws/index.d.ts +0 -0
- /package/dist/{src/node → node}/ws/index.js +0 -0
- /package/dist/{src/node → node}/ws/ts.util.d.ts +0 -0
- /package/dist/{src/node → node}/ws/ts.util.js +0 -0
- /package/dist/{src/node → node}/ws/ws.type.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-client/apollo-client.component.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-client/apollo-client.constant.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-client/apollo-client.constant.js +0 -0
- /package/dist/{src/react → react}/apollo-client/apollo-client.context.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-client/apollo-client.hook.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-client/apollo-client.type.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-client/apollo-client.util.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-client/index.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-client/index.js +0 -0
- /package/dist/{src/react → react}/apollo-client-nextjs/apollo-client-nextjs.component.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-client-nextjs/apollo-client-nextjs.component.js +0 -0
- /package/dist/{src/react → react}/apollo-client-nextjs/apollo-client-nextjs.rsc.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-client-nextjs/apollo-client-nextjs.rsc.js +0 -0
- /package/dist/{src/react → react}/apollo-client-nextjs/apollo-client-nextjs.util.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-client-nextjs/apollo-client-nextjs.util.js +0 -0
- /package/dist/{src/react → react}/apollo-client-nextjs/index.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-client-nextjs/index.js +0 -0
- /package/dist/{src/react → react}/apollo-error/apollo-error.component.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-error/apollo-error.context.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-error/apollo-error.context.js +0 -0
- /package/dist/{src/react → react}/apollo-error/apollo-error.hook.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-error/apollo-error.hook.js +0 -0
- /package/dist/{src/react → react}/apollo-error/apollo-error.provider.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-error/apollo-error.type.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-error/apollo-error.util.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-error/apollo-error.util.js +0 -0
- /package/dist/{src/react → react}/apollo-error/index.d.ts +0 -0
- /package/dist/{src/react → react}/apollo-error/index.js +0 -0
- /package/dist/{src/react → react}/i18next/i18next.hook.d.ts +0 -0
- /package/dist/{src/react → react}/i18next/i18next.hook.js +0 -0
- /package/dist/{src/react → react}/i18next/i18next.util.d.ts +0 -0
- /package/dist/{src/react → react}/i18next/i18next.util.js +0 -0
- /package/dist/{src/react → react}/i18next/index.d.ts +0 -0
- /package/dist/{src/react → react}/i18next/index.js +0 -0
- /package/dist/{src/react → react}/loading/index.d.ts +0 -0
- /package/dist/{src/react → react}/loading/index.js +0 -0
- /package/dist/{src/react → react}/loading/loading.component.d.ts +0 -0
- /package/dist/{src/react → react}/loading/loading.context.d.ts +0 -0
- /package/dist/{src/react → react}/loading/loading.context.js +0 -0
- /package/dist/{src/react → react}/loading/loading.hook.d.ts +0 -0
- /package/dist/{src/react → react}/loading/loading.hook.js +0 -0
- /package/dist/{src/react → react}/loading/loading.provider.d.ts +0 -0
- /package/dist/{src/react → react}/loading/loading.type.d.ts +0 -0
- /package/dist/{src/react → react}/log/index.d.ts +0 -0
- /package/dist/{src/react → react}/log/index.js +0 -0
- /package/dist/{src/react → react}/log/log.type.d.ts +0 -0
- /package/dist/{src/react → react}/log/log.util.d.ts +0 -0
- /package/dist/{src/react → react}/log/log.util.js +0 -0
- /package/dist/{src/react → react}/next-intl/index.d.ts +0 -0
- /package/dist/{src/react → react}/next-intl/index.js +0 -0
- /package/dist/{src/react → react}/next-intl/next-intl.constant.d.ts +0 -0
- /package/dist/{src/react → react}/next-intl/next-intl.constant.js +0 -0
- /package/dist/{src/react → react}/next-intl/next-intl.context.d.ts +0 -0
- /package/dist/{src/react → react}/next-intl/next-intl.context.js +0 -0
- /package/dist/{src/react → react}/next-intl/next-intl.hoc.d.ts +0 -0
- /package/dist/{src/react → react}/next-intl/next-intl.hoc.js +0 -0
- /package/dist/{src/react → react}/next-intl/next-intl.hook.d.ts +0 -0
- /package/dist/{src/react → react}/next-intl/next-intl.hook.js +0 -0
- /package/dist/{src/react → react}/next-intl/next-intl.provider.d.ts +0 -0
- /package/dist/{src/react → react}/next-intl/next-intl.type.d.ts +0 -0
- /package/dist/{src/react → react}/storage/index.d.ts +0 -0
- /package/dist/{src/react → react}/storage/index.js +0 -0
- /package/dist/{src/react → react}/storage/storage.hook.d.ts +0 -0
- /package/dist/{src/react → react}/storage/storage.hook.js +0 -0
- /package/dist/{src/react → react}/storage/storage.util.d.ts +0 -0
- /package/dist/{src/react → react}/storage/storage.util.js +0 -0
- /package/dist/{src/react → react}/toast/index.d.ts +0 -0
- /package/dist/{src/react → react}/toast/index.js +0 -0
- /package/dist/{src/react → react}/userback/index.d.ts +0 -0
- /package/dist/{src/react → react}/userback/index.js +0 -0
- /package/dist/{src/react → react}/userback/userback.component.d.ts +0 -0
- /package/dist/{src/react → react}/userback/userback.component.js +0 -0
- /package/dist/{src/react → react}/userback/userback.type.d.ts +0 -0
- /package/dist/{src/typescript → typescript}/common.type.d.ts +0 -0
- /package/dist/{src/typescript/index.js → typescript/common.type.js} +0 -0
- /package/dist/{src/typescript → typescript}/index.d.ts +0 -0
- /package/dist/{src/typescript → typescript}/react.type.d.ts +0 -0
- /package/dist/{src/util → util}/common/common.type.d.ts +0 -0
- /package/dist/{src/util → util}/common/common.util.d.ts +0 -0
- /package/dist/{src/util → util}/common/index.d.ts +0 -0
- /package/dist/{src/util → util}/common/index.js +0 -0
- /package/dist/{src/util → util}/index.d.ts +0 -0
- /package/dist/{src/util → util}/index.js +0 -0
- /package/dist/{src/util → util}/object/index.d.ts +0 -0
- /package/dist/{src/util → util}/object/index.js +0 -0
- /package/dist/{src/util → util}/object/object.util.d.ts +0 -0
- /package/dist/{src/util → util}/object/object.util.js +0 -0
- /package/dist/{src/util → util}/serializer/index.d.ts +0 -0
- /package/dist/{src/util → util}/serializer/index.js +0 -0
- /package/dist/{src/util → util}/serializer/serializer.type.d.ts +0 -0
- /package/dist/{src/util → util}/serializer/serializer.util.d.ts +0 -0
- /package/dist/{src/util → util}/serializer/serializer.util.js +0 -0
- /package/dist/{src/util → util}/string/index.d.ts +0 -0
- /package/dist/{src/util → util}/string/index.js +0 -0
- /package/dist/{src/util → util}/string/string.type.d.ts +0 -0
- /package/dist/{src/util → util}/string/string.util.d.ts +0 -0
- /package/dist/{src/util → util}/string/string.util.js +0 -0
- /package/dist/{src/util → util}/validate/index.d.ts +0 -0
- /package/dist/{src/util → util}/validate/index.js +0 -0
- /package/dist/{src/util → util}/validate/validate.util.d.ts +0 -0
- /package/dist/{src/util → util}/validate/validate.util.js +0 -0
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import "node:child_process";
|
|
2
|
-
import "node:process";
|
|
3
|
-
import "node:util";
|
|
4
|
-
import { c as d, k as n, d as l, j as C, e as c, r as f } from "../../../index-BG1UznTl.js";
|
|
5
|
-
import "../log/index.js";
|
|
6
|
-
import "../storage/storage.util.js";
|
|
7
|
-
import "../../config/env/env.util.js";
|
|
8
|
-
import "../log/log.util.js";
|
|
9
|
-
export {
|
|
10
|
-
d as clearAllErrorLists,
|
|
11
|
-
n as formatCommand,
|
|
12
|
-
l as getStoredErrorLists,
|
|
13
|
-
C as rawCommand,
|
|
14
|
-
c as resolveCommands,
|
|
15
|
-
f as runCommand
|
|
16
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { l as s, c as m, k as o, d as e, j as d, e as n, r as t } from "../../../index-BG1UznTl.js";
|
|
2
|
-
export {
|
|
3
|
-
s as E_CommandType,
|
|
4
|
-
m as clearAllErrorLists,
|
|
5
|
-
o as formatCommand,
|
|
6
|
-
e as getStoredErrorLists,
|
|
7
|
-
d as rawCommand,
|
|
8
|
-
n as resolveCommands,
|
|
9
|
-
t as runCommand
|
|
10
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { MONGO_MIGRATE_OPTIONS as f } from "./mongo.constant.js";
|
|
2
|
-
import { Db as e, Collection as t } from "mongodb";
|
|
3
|
-
import { Document as r, Model as l } from "mongoose";
|
|
4
|
-
import { MongoController as p, MongooseController as i, mongo as M } from "./mongo.util.js";
|
|
5
|
-
import { default as u } from "mongoose-aggregate-paginate-v2";
|
|
6
|
-
import { default as O } from "mongoose-paginate-v2";
|
|
7
|
-
class a extends e {
|
|
8
|
-
}
|
|
9
|
-
class m extends r {
|
|
10
|
-
}
|
|
11
|
-
class g extends l {
|
|
12
|
-
}
|
|
13
|
-
class x extends t {
|
|
14
|
-
}
|
|
15
|
-
export {
|
|
16
|
-
x as C_Collection,
|
|
17
|
-
a as C_Db,
|
|
18
|
-
m as C_Document,
|
|
19
|
-
g as C_Model,
|
|
20
|
-
f as MONGO_MIGRATE_OPTIONS,
|
|
21
|
-
p as MongoController,
|
|
22
|
-
i as MongooseController,
|
|
23
|
-
u as aggregatePaginate,
|
|
24
|
-
M as mongo,
|
|
25
|
-
O as mongoosePaginate
|
|
26
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "node-fetch";
|
|
2
|
-
import { h as r, g, i as m, s as c, u as k } from "../../../index-BG1UznTl.js";
|
|
3
|
-
import "../fs/fs.util.js";
|
|
4
|
-
import "../log/log.util.js";
|
|
5
|
-
import "../path/path.util.js";
|
|
6
|
-
import "../../config/env/env.util.js";
|
|
7
|
-
export {
|
|
8
|
-
r as getLatestPackageVersion,
|
|
9
|
-
g as getPackage,
|
|
10
|
-
m as installDependencies,
|
|
11
|
-
c as setupPackages,
|
|
12
|
-
k as updatePackage
|
|
13
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { B as E, F as C, D as a, A, C as s, w as N, v as T, b as L, y as O, Z as M, Y as G, x as S, O as P, t as K, q as R, G as D, H as o, L as Y, a1 as e, M as r, a0 as H, N as t, $ as B, _ as m, n, o as U, P as i, Q as J, R as f, p, m as F, U as V, X as v, S as x, T as W, J as X, I as c, K as d, z as g, V as h, W as k, a as l, f as b } from "../../../index-BG1UznTl.js";
|
|
2
|
-
import { dirname as q, join as w, path as y, resolve as z, resolveWorkingPath as Q } from "./path.util.js";
|
|
3
|
-
export {
|
|
4
|
-
E as BUILD_DIRECTORY,
|
|
5
|
-
C as COMMIT_LINT_CLI,
|
|
6
|
-
a as COMMIT_LINT_CONVENTIONAL_CONFIG_PACKAGE_NAME,
|
|
7
|
-
A as COMMIT_LINT_PACKAGE_NAME,
|
|
8
|
-
s as CYBERSKILL_CLI,
|
|
9
|
-
N as CYBERSKILL_CLI_PATH,
|
|
10
|
-
T as CYBERSKILL_DIRECTORY,
|
|
11
|
-
L as CYBERSKILL_PACKAGE_NAME,
|
|
12
|
-
O as ESLINT_CLI,
|
|
13
|
-
M as ESLINT_INSPECT_CLI,
|
|
14
|
-
G as ESLINT_INSPECT_PACKAGE_NAME,
|
|
15
|
-
S as ESLINT_PACKAGE_NAME,
|
|
16
|
-
P as GIT_CLI,
|
|
17
|
-
K as GIT_COMMIT_EDITMSG,
|
|
18
|
-
R as GIT_HOOK,
|
|
19
|
-
D as GIT_IGNORE,
|
|
20
|
-
o as LINT_STAGED_CLI,
|
|
21
|
-
Y as LINT_STAGED_PACKAGE_NAME,
|
|
22
|
-
e as MIGRATE_MONGO_CLI,
|
|
23
|
-
r as MIGRATE_MONGO_CONFIG,
|
|
24
|
-
H as MIGRATE_MONGO_PACKAGE_NAME,
|
|
25
|
-
t as NODE_MODULES,
|
|
26
|
-
B as NODE_MODULES_INSPECT_CLI,
|
|
27
|
-
m as NODE_MODULES_INSPECT_PACKAGE_NAME,
|
|
28
|
-
n as PACKAGE_JSON,
|
|
29
|
-
U as PACKAGE_LOCK_JSON,
|
|
30
|
-
i as PATH,
|
|
31
|
-
J as PNPM_CLI,
|
|
32
|
-
f as PNPM_EXEC_CLI,
|
|
33
|
-
p as PNPM_LOCK_YAML,
|
|
34
|
-
F as PUBLIC_DIRECTORY,
|
|
35
|
-
V as SIMPLE_GIT_HOOKS_PACKAGE_NAME,
|
|
36
|
-
v as SIMPLE_GIT_HOOK_CLI,
|
|
37
|
-
x as SIMPLE_GIT_HOOK_JSON,
|
|
38
|
-
W as TSCONFIG_JSON,
|
|
39
|
-
X as TSC_CLI,
|
|
40
|
-
c as TSC_PACKAGE_NAME,
|
|
41
|
-
d as TSX_CLI,
|
|
42
|
-
g as VITEST_CLI,
|
|
43
|
-
h as VITEST_PACKAGE_NAME,
|
|
44
|
-
k as WORKING_DIRECTORY,
|
|
45
|
-
l as command,
|
|
46
|
-
b as createGitHooksConfig,
|
|
47
|
-
q as dirname,
|
|
48
|
-
w as join,
|
|
49
|
-
y as path,
|
|
50
|
-
z as resolve,
|
|
51
|
-
Q as resolveWorkingPath
|
|
52
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import "fs-extra";
|
|
2
|
-
import "./path.util.js";
|
|
3
|
-
import { B as A, F as N, D as T, A as L, C as s, w as O, v as M, b as G, y as S, Z as P, Y as K, x as R, O as D, t as o, q as Y, G as H, H as m, L as t, a1 as B, M as r, a0 as U, N as i, $ as p, _ as J, n as F, o as V, P as e, Q as f, R as n, p as X, m as c, U as x, X as W, S as b, T as d, J as g, I as k, K as q, z as v, V as w, W as y, a as z, f as Q } from "../../../index-BG1UznTl.js";
|
|
4
|
-
import "../../config/env/env.util.js";
|
|
5
|
-
export {
|
|
6
|
-
A as BUILD_DIRECTORY,
|
|
7
|
-
N as COMMIT_LINT_CLI,
|
|
8
|
-
T as COMMIT_LINT_CONVENTIONAL_CONFIG_PACKAGE_NAME,
|
|
9
|
-
L as COMMIT_LINT_PACKAGE_NAME,
|
|
10
|
-
s as CYBERSKILL_CLI,
|
|
11
|
-
O as CYBERSKILL_CLI_PATH,
|
|
12
|
-
M as CYBERSKILL_DIRECTORY,
|
|
13
|
-
G as CYBERSKILL_PACKAGE_NAME,
|
|
14
|
-
S as ESLINT_CLI,
|
|
15
|
-
P as ESLINT_INSPECT_CLI,
|
|
16
|
-
K as ESLINT_INSPECT_PACKAGE_NAME,
|
|
17
|
-
R as ESLINT_PACKAGE_NAME,
|
|
18
|
-
D as GIT_CLI,
|
|
19
|
-
o as GIT_COMMIT_EDITMSG,
|
|
20
|
-
Y as GIT_HOOK,
|
|
21
|
-
H as GIT_IGNORE,
|
|
22
|
-
m as LINT_STAGED_CLI,
|
|
23
|
-
t as LINT_STAGED_PACKAGE_NAME,
|
|
24
|
-
B as MIGRATE_MONGO_CLI,
|
|
25
|
-
r as MIGRATE_MONGO_CONFIG,
|
|
26
|
-
U as MIGRATE_MONGO_PACKAGE_NAME,
|
|
27
|
-
i as NODE_MODULES,
|
|
28
|
-
p as NODE_MODULES_INSPECT_CLI,
|
|
29
|
-
J as NODE_MODULES_INSPECT_PACKAGE_NAME,
|
|
30
|
-
F as PACKAGE_JSON,
|
|
31
|
-
V as PACKAGE_LOCK_JSON,
|
|
32
|
-
e as PATH,
|
|
33
|
-
f as PNPM_CLI,
|
|
34
|
-
n as PNPM_EXEC_CLI,
|
|
35
|
-
X as PNPM_LOCK_YAML,
|
|
36
|
-
c as PUBLIC_DIRECTORY,
|
|
37
|
-
x as SIMPLE_GIT_HOOKS_PACKAGE_NAME,
|
|
38
|
-
W as SIMPLE_GIT_HOOK_CLI,
|
|
39
|
-
b as SIMPLE_GIT_HOOK_JSON,
|
|
40
|
-
d as TSCONFIG_JSON,
|
|
41
|
-
g as TSC_CLI,
|
|
42
|
-
k as TSC_PACKAGE_NAME,
|
|
43
|
-
q as TSX_CLI,
|
|
44
|
-
v as VITEST_CLI,
|
|
45
|
-
w as VITEST_PACKAGE_NAME,
|
|
46
|
-
y as WORKING_DIRECTORY,
|
|
47
|
-
z as command,
|
|
48
|
-
Q as createGitHooksConfig
|
|
49
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { use as t } from "react";
|
|
2
|
-
import { ApolloClientContext as e } from "./apollo-client.context.js";
|
|
3
|
-
function r() {
|
|
4
|
-
const o = t(e);
|
|
5
|
-
if (!o)
|
|
6
|
-
throw new Error("useApolloClient must be used within an ApolloClientProvider");
|
|
7
|
-
return o;
|
|
8
|
-
}
|
|
9
|
-
export {
|
|
10
|
-
r as useApolloClient
|
|
11
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import s from "clsx";
|
|
2
|
-
import e, { useEffect as a } from "react";
|
|
3
|
-
const m = "_full_b1d9o_1", u = "_block_b1d9o_2", _ = "_container_b1d9o_40", f = "_ring_b1d9o_50", g = "_message_b1d9o_74", n = {
|
|
4
|
-
full: m,
|
|
5
|
-
block: u,
|
|
6
|
-
container: _,
|
|
7
|
-
ring: f,
|
|
8
|
-
message: g
|
|
9
|
-
};
|
|
10
|
-
function v() {
|
|
11
|
-
if (document.getElementById("noscroll-style"))
|
|
12
|
-
return;
|
|
13
|
-
const t = document.createElement("style");
|
|
14
|
-
t.id = "noscroll-style", t.innerHTML = `
|
|
15
|
-
.noscroll {
|
|
16
|
-
overflow: hidden !important;
|
|
17
|
-
height: 100vh !important;
|
|
18
|
-
}
|
|
19
|
-
`, document.head.appendChild(t);
|
|
20
|
-
}
|
|
21
|
-
function y({ full: t = !1, className: o = "", message: c = "Loading", ...i }) {
|
|
22
|
-
a(() => {
|
|
23
|
-
if (t) {
|
|
24
|
-
document.body.classList.add("noscroll");
|
|
25
|
-
const r = (d) => d.preventDefault();
|
|
26
|
-
return document.addEventListener("contextmenu", r), () => {
|
|
27
|
-
document.body.classList.remove("noscroll"), document.removeEventListener("contextmenu", r);
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
}, [t]), a(() => {
|
|
31
|
-
v();
|
|
32
|
-
}, []);
|
|
33
|
-
function l() {
|
|
34
|
-
return /* @__PURE__ */ e.createElement("div", { className: n.container, ...i }, /* @__PURE__ */ e.createElement("div", { className: n.ring }), /* @__PURE__ */ e.createElement("div", { className: n.ring }), /* @__PURE__ */ e.createElement("div", { className: n.ring }), /* @__PURE__ */ e.createElement("div", { className: n.ring }), c && /* @__PURE__ */ e.createElement("div", { className: n.message }, c));
|
|
35
|
-
}
|
|
36
|
-
return t ? /* @__PURE__ */ e.createElement("div", { className: s(n.full, o) }, l()) : /* @__PURE__ */ e.createElement("div", { className: s(n.block, o) }, l());
|
|
37
|
-
}
|
|
38
|
-
export {
|
|
39
|
-
y as Loading
|
|
40
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import l, { useState as i, useCallback as r, useMemo as u } from "react";
|
|
2
|
-
import { Loading as g } from "./loading.component.js";
|
|
3
|
-
import { LoadingContext as m } from "./loading.context.js";
|
|
4
|
-
function x({ children: d }) {
|
|
5
|
-
const [e, t] = i(!1), [o, a] = i(!1), n = r((f = !1) => {
|
|
6
|
-
t(!0), a(f);
|
|
7
|
-
}, []), s = r(() => {
|
|
8
|
-
t(!1), a(!1);
|
|
9
|
-
}, []), c = u(
|
|
10
|
-
() => ({ isLoading: e, isGlobalLoading: o, showLoading: n, hideLoading: s }),
|
|
11
|
-
[e, o, n, s]
|
|
12
|
-
);
|
|
13
|
-
return /* @__PURE__ */ l.createElement(m, { value: c }, e ? /* @__PURE__ */ l.createElement(g, { full: o }) : d);
|
|
14
|
-
}
|
|
15
|
-
export {
|
|
16
|
-
x as LoadingProvider
|
|
17
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NEXT_INTL_DEFAULT_LANGUAGE as u } from "./next-intl.constant.js";
|
|
2
|
-
import { NextIntlContext as c } from "./next-intl.context.js";
|
|
3
|
-
import { withNextIntl as p } from "./next-intl.hoc.js";
|
|
4
|
-
import "./next-intl.hook.js";
|
|
5
|
-
import t, { useMemo as i } from "react";
|
|
6
|
-
import { useStorage as l } from "../storage/storage.hook.js";
|
|
7
|
-
function f({ children: r }) {
|
|
8
|
-
return /* @__PURE__ */ t.createElement(t.Fragment, null, r);
|
|
9
|
-
}
|
|
10
|
-
const L = p(f);
|
|
11
|
-
function I({
|
|
12
|
-
children: r,
|
|
13
|
-
languages: e,
|
|
14
|
-
messages: a
|
|
15
|
-
}) {
|
|
16
|
-
const { value: n, set: o } = l("lang", e[0]), m = i(
|
|
17
|
-
() => ({ languages: e, currentLanguage: n ?? u, setCurrentLanguage: o }),
|
|
18
|
-
[e, o, n]
|
|
19
|
-
);
|
|
20
|
-
return /* @__PURE__ */ t.createElement(c, { value: m }, /* @__PURE__ */ t.createElement(L, { languages: e, messages: a }, r));
|
|
21
|
-
}
|
|
22
|
-
export {
|
|
23
|
-
I as NextIntlProvider
|
|
24
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "react-hot-toast";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|