@cyberskill/shared 1.49.0 → 1.51.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.
Files changed (147) hide show
  1. package/dist/_tsup-dts-rollup.d.cts +119 -110
  2. package/dist/_tsup-dts-rollup.d.ts +119 -110
  3. package/dist/cli.cjs +1 -2144
  4. package/dist/cli.d.cts +1 -2
  5. package/dist/cli.d.ts +1 -2
  6. package/dist/cli.js +1 -2064
  7. package/dist/configs/commitlint/base.cjs +1 -64
  8. package/dist/configs/commitlint/base.js +1 -7
  9. package/dist/configs/eslint/base.cjs +1 -121
  10. package/dist/configs/eslint/base.js +1 -52
  11. package/dist/configs/eslint/nestjs.cjs +1 -155
  12. package/dist/configs/eslint/nestjs.js +1 -85
  13. package/dist/configs/eslint/nextjs.cjs +1 -155
  14. package/dist/configs/eslint/nextjs.js +1 -85
  15. package/dist/configs/eslint/nodejs.cjs +1 -156
  16. package/dist/configs/eslint/nodejs.js +1 -86
  17. package/dist/configs/eslint/vite-react.cjs +1 -159
  18. package/dist/configs/eslint/vite-react.js +1 -89
  19. package/dist/configs/graphql/graphql-codegen.cjs +1 -125
  20. package/dist/configs/graphql/graphql-codegen.js +1 -64
  21. package/dist/configs/graphql/index.cjs +1 -126
  22. package/dist/configs/graphql/index.js +1 -64
  23. package/dist/configs/i18n/react/i18next.cjs +1 -80
  24. package/dist/configs/i18n/react/i18next.js +1 -7
  25. package/dist/configs/i18n/react/index.cjs +1 -81
  26. package/dist/configs/i18n/react/index.js +1 -7
  27. package/dist/configs/index.cjs +1 -232
  28. package/dist/configs/index.js +1 -166
  29. package/dist/configs/lint-staged/base.cjs +1 -64
  30. package/dist/configs/lint-staged/base.js +1 -7
  31. package/dist/configs/vitest/react/e2e.cjs +1 -128
  32. package/dist/configs/vitest/react/e2e.js +1 -59
  33. package/dist/configs/vitest/react/unit.cjs +1 -305
  34. package/dist/configs/vitest/react/unit.js +1 -228
  35. package/dist/configs/vitest/react/unit.setup.cjs +1 -60
  36. package/dist/configs/vitest/react/unit.setup.js +1 -8
  37. package/dist/constants/index.cjs +1 -678
  38. package/dist/constants/index.d.cts +8 -3
  39. package/dist/constants/index.d.ts +8 -3
  40. package/dist/constants/index.js +1 -469
  41. package/dist/constants/path.cjs +1 -423
  42. package/dist/constants/path.d.cts +8 -3
  43. package/dist/constants/path.d.ts +8 -3
  44. package/dist/constants/path.js +1 -218
  45. package/dist/constants/response-status.cjs +1 -313
  46. package/dist/constants/response-status.js +1 -252
  47. package/dist/index.cjs +1 -4560
  48. package/dist/index.d.cts +12 -8
  49. package/dist/index.d.ts +12 -8
  50. package/dist/index.js +1 -4143
  51. package/dist/nodejs/index.cjs +1 -2138
  52. package/dist/nodejs/index.js +1 -2054
  53. package/dist/nodejs/mongo.cjs +1 -2137
  54. package/dist/nodejs/mongo.js +1 -2054
  55. package/dist/react/apollo-client.cjs +1 -177
  56. package/dist/react/apollo-client.js +1 -116
  57. package/dist/react/index.cjs +1 -990
  58. package/dist/react/index.js +1 -876
  59. package/dist/react/loading.cjs +1 -301
  60. package/dist/react/loading.js +1 -216
  61. package/dist/react/next-intl.cjs +1 -744
  62. package/dist/react/next-intl.js +1 -655
  63. package/dist/react/storage.cjs +1 -631
  64. package/dist/react/storage.js +1 -558
  65. package/dist/typescript/api-response.cjs +1 -48
  66. package/dist/typescript/apollo.cjs +1 -48
  67. package/dist/typescript/command.cjs +1 -68
  68. package/dist/typescript/command.d.cts +2 -0
  69. package/dist/typescript/command.d.ts +2 -0
  70. package/dist/typescript/command.js +1 -7
  71. package/dist/typescript/config.cjs +1 -48
  72. package/dist/typescript/fs.cjs +1 -48
  73. package/dist/typescript/graphql-codegen.cjs +1 -48
  74. package/dist/typescript/index.cjs +1 -175
  75. package/dist/typescript/index.d.cts +2 -0
  76. package/dist/typescript/index.d.ts +2 -0
  77. package/dist/typescript/index.js +1 -151
  78. package/dist/typescript/loading.cjs +1 -48
  79. package/dist/typescript/log.cjs +1 -48
  80. package/dist/typescript/mongo.cjs +1 -164
  81. package/dist/typescript/mongo.js +1 -145
  82. package/dist/typescript/next-intl.cjs +1 -48
  83. package/dist/typescript/react.cjs +1 -48
  84. package/dist/typescript/serializer.cjs +1 -48
  85. package/dist/typescript/string.cjs +1 -48
  86. package/dist/utils/command.cjs +1 -1387
  87. package/dist/utils/command.d.cts +2 -2
  88. package/dist/utils/command.d.ts +2 -2
  89. package/dist/utils/command.js +1 -1287
  90. package/dist/utils/common.cjs +1 -300
  91. package/dist/utils/common.js +1 -219
  92. package/dist/utils/config.cjs +1 -146
  93. package/dist/utils/config.js +1 -89
  94. package/dist/utils/fs.cjs +1 -132
  95. package/dist/utils/fs.js +1 -47
  96. package/dist/utils/index-nodejs.cjs +1 -1752
  97. package/dist/utils/index-nodejs.d.cts +2 -5
  98. package/dist/utils/index-nodejs.d.ts +2 -5
  99. package/dist/utils/index-nodejs.js +1 -1581
  100. package/dist/utils/index.cjs +1 -727
  101. package/dist/utils/index.js +1 -625
  102. package/dist/utils/log.cjs +1 -330
  103. package/dist/utils/log.js +1 -269
  104. package/dist/utils/package.cjs +1 -941
  105. package/dist/utils/package.js +1 -857
  106. package/dist/utils/path.cjs +1 -291
  107. package/dist/utils/path.d.cts +0 -3
  108. package/dist/utils/path.d.ts +0 -3
  109. package/dist/utils/path.js +1 -191
  110. package/dist/utils/serializer.cjs +1 -91
  111. package/dist/utils/serializer.js +1 -30
  112. package/dist/utils/storage-client.cjs +1 -349
  113. package/dist/utils/storage-client.js +1 -276
  114. package/dist/utils/storage-server.cjs +1 -636
  115. package/dist/utils/storage-server.js +1 -550
  116. package/dist/utils/string.cjs +1 -152
  117. package/dist/utils/string.js +1 -75
  118. package/dist/utils/validate.cjs +1 -90
  119. package/dist/utils/validate.js +1 -33
  120. package/package.json +11 -10
  121. /package/{src/public → public}/favicon/android-icon-144x144.png +0 -0
  122. /package/{src/public → public}/favicon/android-icon-192x192.png +0 -0
  123. /package/{src/public → public}/favicon/android-icon-36x36.png +0 -0
  124. /package/{src/public → public}/favicon/android-icon-48x48.png +0 -0
  125. /package/{src/public → public}/favicon/android-icon-72x72.png +0 -0
  126. /package/{src/public → public}/favicon/android-icon-96x96.png +0 -0
  127. /package/{src/public → public}/favicon/apple-icon-114x114.png +0 -0
  128. /package/{src/public → public}/favicon/apple-icon-120x120.png +0 -0
  129. /package/{src/public → public}/favicon/apple-icon-144x144.png +0 -0
  130. /package/{src/public → public}/favicon/apple-icon-152x152.png +0 -0
  131. /package/{src/public → public}/favicon/apple-icon-180x180.png +0 -0
  132. /package/{src/public → public}/favicon/apple-icon-57x57.png +0 -0
  133. /package/{src/public → public}/favicon/apple-icon-60x60.png +0 -0
  134. /package/{src/public → public}/favicon/apple-icon-72x72.png +0 -0
  135. /package/{src/public → public}/favicon/apple-icon-76x76.png +0 -0
  136. /package/{src/public → public}/favicon/apple-icon-precomposed.png +0 -0
  137. /package/{src/public → public}/favicon/apple-icon.png +0 -0
  138. /package/{src/public → public}/favicon/browserconfig.xml +0 -0
  139. /package/{src/public → public}/favicon/favicon-16x16.png +0 -0
  140. /package/{src/public → public}/favicon/favicon-32x32.png +0 -0
  141. /package/{src/public → public}/favicon/favicon-96x96.png +0 -0
  142. /package/{src/public → public}/favicon/favicon.ico +0 -0
  143. /package/{src/public → public}/favicon/manifest.json +0 -0
  144. /package/{src/public → public}/favicon/ms-icon-144x144.png +0 -0
  145. /package/{src/public → public}/favicon/ms-icon-150x150.png +0 -0
  146. /package/{src/public → public}/favicon/ms-icon-310x310.png +0 -0
  147. /package/{src/public → public}/favicon/ms-icon-70x70.png +0 -0
@@ -17,6 +17,7 @@ import type { ErrorHandlingMiddlewareFunction } from 'mongoose';
17
17
  import type { ErrorHandlingMiddlewareWithOption } from 'mongoose';
18
18
  import type { Filter } from 'mongodb';
19
19
  import type { FilterQuery } from 'mongoose';
20
+ import { I_Command as I_Command_3 } from '#typescript/command.js';
20
21
  import type { InitOptions } from 'i18next';
21
22
  import type { InsertManyOptions } from 'mongoose';
22
23
  import type { InsertManyResult } from 'mongodb';
@@ -133,96 +134,76 @@ export { clearAllErrorLists as clearAllErrorLists_alias_2 }
133
134
 
134
135
  declare const COMMAND: {
135
136
  SIMPLE_GIT_HOOKS: {
136
- readonly raw: true;
137
- readonly cmd: string;
137
+ raw: boolean;
138
+ cmd: string;
138
139
  };
139
140
  ESLINT_INSPECT: {
140
- readonly raw: true;
141
- readonly cmd: string;
141
+ raw: boolean;
142
+ cmd: string;
142
143
  };
143
144
  NODE_MODULES_INSPECT: {
144
- readonly raw: true;
145
- readonly cmd: string;
146
- };
147
- RESET: {
148
- readonly raw: true;
149
- readonly cmd: string;
145
+ raw: boolean;
146
+ cmd: string;
150
147
  };
151
148
  ESLINT_CHECK: {
152
- readonly raw: true;
153
- readonly cmd: string;
149
+ raw: boolean;
150
+ cmd: string;
154
151
  };
155
152
  ESLINT_FIX: {
156
- readonly raw: true;
157
- readonly cmd: string;
153
+ raw: boolean;
154
+ cmd: string;
158
155
  };
159
156
  TYPESCRIPT_CHECK: {
160
- readonly raw: true;
161
- readonly cmd: string;
162
- };
163
- CYBERSKILL: {
164
- TEST_UNIT: {
165
- readonly raw: true;
166
- readonly cmd: string;
167
- };
168
- TEST_E2E: {
169
- readonly raw: true;
170
- readonly cmd: string;
171
- };
172
- COMMIT_LINT: {
173
- readonly raw: true;
174
- readonly cmd: string;
175
- };
176
- LINT_STAGED: {
177
- readonly raw: true;
178
- readonly cmd: string;
179
- };
157
+ raw: boolean;
158
+ cmd: string;
180
159
  };
181
160
  CONFIGURE_GIT_HOOK: {
182
- readonly raw: true;
183
- readonly cmd: string;
161
+ raw: boolean;
162
+ cmd: string;
184
163
  };
185
164
  BUILD: {
186
- readonly raw: true;
187
- readonly cmd: string;
165
+ raw: boolean;
166
+ cmd: string;
188
167
  };
189
168
  STAGE_BUILD_DIRECTORY: {
190
- readonly raw: true;
191
- readonly cmd: string;
169
+ raw: boolean;
170
+ cmd: string;
192
171
  };
193
172
  PNPM_INSTALL_STANDARD: {
194
- readonly raw: true;
195
- readonly cmd: string;
173
+ raw: boolean;
174
+ cmd: string;
196
175
  };
197
176
  PNPM_INSTALL_LEGACY: {
198
- readonly raw: true;
199
- readonly cmd: string;
177
+ raw: boolean;
178
+ cmd: string;
200
179
  };
201
180
  PNPM_INSTALL_FORCE: {
202
- readonly raw: true;
203
- readonly cmd: string;
181
+ raw: boolean;
182
+ cmd: string;
183
+ };
184
+ CYBERSKILL: {
185
+ TEST_UNIT: {
186
+ raw: boolean;
187
+ cmd: string;
188
+ };
189
+ TEST_E2E: {
190
+ raw: boolean;
191
+ cmd: string;
192
+ };
193
+ COMMIT_LINT: {
194
+ raw: boolean;
195
+ cmd: string;
196
+ };
197
+ LINT_STAGED: {
198
+ raw: boolean;
199
+ cmd: string;
200
+ };
204
201
  };
205
202
  };
206
203
  export { COMMAND }
207
204
  export { COMMAND as COMMAND_alias_1 }
208
205
  export { COMMAND as COMMAND_alias_2 }
209
206
 
210
- declare const commandFormatter: {
211
- raw: (cmd: string) => {
212
- readonly raw: true;
213
- readonly cmd: string;
214
- };
215
- isRaw(cmd: any): cmd is {
216
- raw: true;
217
- cmd: string;
218
- };
219
- format(command: T_Command_2, context?: I_CommandContext_2): string;
220
- formatCLI(command: string, context?: I_CommandContext_2): string;
221
- };
222
- export { commandFormatter }
223
- export { commandFormatter as commandFormatter_alias_1 }
224
- export { commandFormatter as commandFormatter_alias_2 }
225
-
226
207
  declare const commandLog: {
227
208
  success: (message: string) => void;
228
209
  error: (message: string) => void;
@@ -239,6 +220,11 @@ export { COMMIT_LINT_CLI }
239
220
  export { COMMIT_LINT_CLI as COMMIT_LINT_CLI_alias_1 }
240
221
  export { COMMIT_LINT_CLI as COMMIT_LINT_CLI_alias_2 }
241
222
 
223
+ declare const COMMIT_LINT_PACKAGE_NAME = "@commitlint/cli";
224
+ export { COMMIT_LINT_PACKAGE_NAME }
225
+ export { COMMIT_LINT_PACKAGE_NAME as COMMIT_LINT_PACKAGE_NAME_alias_1 }
226
+ export { COMMIT_LINT_PACKAGE_NAME as COMMIT_LINT_PACKAGE_NAME_alias_2 }
227
+
242
228
  declare function createGraphqlCodegenConfig({ uri, from, to, withComponent, withHOC, withHooks, withMutationFn, withRefetchFn, }: I_GraphqlCodegenConfig_2): CodegenConfig;
243
229
  export { createGraphqlCodegenConfig }
244
230
  export { createGraphqlCodegenConfig as createGraphqlCodegenConfig_alias_1 }
@@ -6058,11 +6044,6 @@ export declare const default_alias_8: (options: UserConfig) => UserConfig;
6058
6044
 
6059
6045
  export declare const default_alias_9: (options: UserConfig) => UserConfig;
6060
6046
 
6061
- declare function dirname(url: string): string;
6062
- export { dirname }
6063
- export { dirname as dirname_alias_1 }
6064
- export { dirname as dirname_alias_2 }
6065
-
6066
6047
  declare enum E_ErrorType {
6067
6048
  Error = "error",
6068
6049
  Warning = "warning"
@@ -6081,11 +6062,16 @@ export { ESLINT_CLI }
6081
6062
  export { ESLINT_CLI as ESLINT_CLI_alias_1 }
6082
6063
  export { ESLINT_CLI as ESLINT_CLI_alias_2 }
6083
6064
 
6084
- declare const ESLINT_INSPECT_CLI = "@eslint/config-inspector";
6065
+ declare const ESLINT_INSPECT_CLI = "eslint-config-inspector";
6085
6066
  export { ESLINT_INSPECT_CLI }
6086
6067
  export { ESLINT_INSPECT_CLI as ESLINT_INSPECT_CLI_alias_1 }
6087
6068
  export { ESLINT_INSPECT_CLI as ESLINT_INSPECT_CLI_alias_2 }
6088
6069
 
6070
+ declare const ESLINT_INSPECT_PACKAGE_NAME = "@eslint/config-inspector";
6071
+ export { ESLINT_INSPECT_PACKAGE_NAME }
6072
+ export { ESLINT_INSPECT_PACKAGE_NAME as ESLINT_INSPECT_PACKAGE_NAME_alias_1 }
6073
+ export { ESLINT_INSPECT_PACKAGE_NAME as ESLINT_INSPECT_PACKAGE_NAME_alias_2 }
6074
+
6089
6075
  declare function executeCommand(command: string, parser?: typeof parseCommandOutput): Promise<void>;
6090
6076
  export { executeCommand }
6091
6077
  export { executeCommand as executeCommand_alias_1 }
@@ -6096,6 +6082,11 @@ export { existsSync }
6096
6082
  export { existsSync as existsSync_alias_1 }
6097
6083
  export { existsSync as existsSync_alias_2 }
6098
6084
 
6085
+ declare function formatCommand(command: T_Command_2, context?: I_CommandContext_2): string | I_Command_3;
6086
+ export { formatCommand }
6087
+ export { formatCommand as formatCommand_alias_1 }
6088
+ export { formatCommand as formatCommand_alias_2 }
6089
+
6099
6090
  declare function generateShortId(uuid: string, length?: number): string;
6100
6091
  export { generateShortId }
6101
6092
  export { generateShortId as generateShortId_alias_1 }
@@ -6114,6 +6105,7 @@ export { getLatestPackageVersion as getLatestPackageVersion_alias_2 }
6114
6105
  declare function getPackageJson(packageName: string): {
6115
6106
  path: string;
6116
6107
  file: I_JSON_2;
6108
+ isCurrentProject: boolean;
6117
6109
  } | false;
6118
6110
  export { getPackageJson }
6119
6111
  export { getPackageJson as getPackageJson_alias_1 }
@@ -6139,7 +6131,7 @@ export { GIT_COMMIT_EDITMSG }
6139
6131
  export { GIT_COMMIT_EDITMSG as GIT_COMMIT_EDITMSG_alias_1 }
6140
6132
  export { GIT_COMMIT_EDITMSG as GIT_COMMIT_EDITMSG_alias_2 }
6141
6133
 
6142
- declare const GIT_HOOK = ".git/hooks";
6134
+ declare const GIT_HOOK = ".git/hooks/";
6143
6135
  export { GIT_HOOK }
6144
6136
  export { GIT_HOOK as GIT_HOOK_alias_1 }
6145
6137
  export { GIT_HOOK as GIT_HOOK_alias_2 }
@@ -6151,10 +6143,9 @@ export { GIT_IGNORE as GIT_IGNORE_alias_2 }
6151
6143
 
6152
6144
  declare function HOOK({ isCurrentProject }: Partial<I_CommandContext_2>): {
6153
6145
  'pre-push'?: {
6154
- readonly raw: true;
6155
- readonly cmd: string;
6146
+ raw: boolean;
6147
+ cmd: string;
6156
6148
  } | undefined;
6157
- postinstall: string;
6158
6149
  'pre-commit': string;
6159
6150
  'commit-msg': string;
6160
6151
  };
@@ -6219,6 +6210,16 @@ declare interface I_BoxedLogOptions_2 {
6219
6210
  titleColor?: string;
6220
6211
  }
6221
6212
 
6213
+ declare interface I_Command {
6214
+ raw: boolean;
6215
+ cmd: string;
6216
+ }
6217
+ export { I_Command }
6218
+ export { I_Command as I_Command_alias_1 }
6219
+ export { I_Command as I_Command_alias_2 }
6220
+
6221
+ declare interface I_Command_2 { raw: boolean; cmd: string }
6222
+
6222
6223
  declare interface I_CommandContext {
6223
6224
  isRemote: boolean;
6224
6225
  isCurrentProject: boolean;
@@ -6699,8 +6700,6 @@ export { initNodePersist }
6699
6700
  export { initNodePersist as initNodePersist_alias_1 }
6700
6701
  export { initNodePersist as initNodePersist_alias_2 }
6701
6702
 
6702
- export declare function installDependencies(): Promise<void>;
6703
-
6704
6703
  declare function isJson(str: string): boolean;
6705
6704
  export { isJson }
6706
6705
  export { isJson as isJson_alias_1 }
@@ -6716,6 +6715,11 @@ export { LINT_STAGED_CLI }
6716
6715
  export { LINT_STAGED_CLI as LINT_STAGED_CLI_alias_1 }
6717
6716
  export { LINT_STAGED_CLI as LINT_STAGED_CLI_alias_2 }
6718
6717
 
6718
+ declare const LINT_STAGED_PACKAGE_NAME = "lint-staged";
6719
+ export { LINT_STAGED_PACKAGE_NAME }
6720
+ export { LINT_STAGED_PACKAGE_NAME as LINT_STAGED_PACKAGE_NAME_alias_1 }
6721
+ export { LINT_STAGED_PACKAGE_NAME as LINT_STAGED_PACKAGE_NAME_alias_2 }
6722
+
6719
6723
  declare function Loading({ full, block, className, message, ...rest }: I_LoadingProps_2): JSX_2.Element;
6720
6724
  export { Loading }
6721
6725
  export { Loading as Loading_alias_1 }
@@ -6867,11 +6871,16 @@ export { NODE_MODULES }
6867
6871
  export { NODE_MODULES as NODE_MODULES_alias_1 }
6868
6872
  export { NODE_MODULES as NODE_MODULES_alias_2 }
6869
6873
 
6870
- declare const NODE_MODULES_INSPECT_CLI = "node_modules-inspect";
6874
+ declare const NODE_MODULES_INSPECT_CLI = "node-modules-inspector";
6871
6875
  export { NODE_MODULES_INSPECT_CLI }
6872
6876
  export { NODE_MODULES_INSPECT_CLI as NODE_MODULES_INSPECT_CLI_alias_1 }
6873
6877
  export { NODE_MODULES_INSPECT_CLI as NODE_MODULES_INSPECT_CLI_alias_2 }
6874
6878
 
6879
+ declare const NODE_MODULES_INSPECT_PACKAGE_NAME = "node-modules-inspector";
6880
+ export { NODE_MODULES_INSPECT_PACKAGE_NAME }
6881
+ export { NODE_MODULES_INSPECT_PACKAGE_NAME as NODE_MODULES_INSPECT_PACKAGE_NAME_alias_1 }
6882
+ export { NODE_MODULES_INSPECT_PACKAGE_NAME as NODE_MODULES_INSPECT_PACKAGE_NAME_alias_2 }
6883
+
6875
6884
  declare const PACKAGE_JSON = "package.json";
6876
6885
  export { PACKAGE_JSON }
6877
6886
  export { PACKAGE_JSON as PACKAGE_JSON_alias_1 }
@@ -6891,7 +6900,7 @@ declare const PATH: {
6891
6900
  GIT_IGNORE: string;
6892
6901
  GIT_HOOK: string;
6893
6902
  GIT_COMMIT_MSG: string;
6894
- SIMPLE_GIT_HOOKS: string;
6903
+ SIMPLE_GIT_HOOKS_JSON: string;
6895
6904
  PACKAGE_JSON: string;
6896
6905
  PACKAGE_LOCK_JSON: string;
6897
6906
  PNPM_LOCK_YAML: string;
@@ -6912,11 +6921,6 @@ export { PNPM_CLI }
6912
6921
  export { PNPM_CLI as PNPM_CLI_alias_1 }
6913
6922
  export { PNPM_CLI as PNPM_CLI_alias_2 }
6914
6923
 
6915
- declare const PNPM_DLX_CLI = "pnpm dlx";
6916
- export { PNPM_DLX_CLI }
6917
- export { PNPM_DLX_CLI as PNPM_DLX_CLI_alias_1 }
6918
- export { PNPM_DLX_CLI as PNPM_DLX_CLI_alias_2 }
6919
-
6920
6924
  declare const PNPM_EXEC_CLI = "pnpm exec";
6921
6925
  export { PNPM_EXEC_CLI }
6922
6926
  export { PNPM_EXEC_CLI as PNPM_EXEC_CLI_alias_1 }
@@ -6929,6 +6933,14 @@ export { PNPM_LOCK_YAML as PNPM_LOCK_YAML_alias_2 }
6929
6933
 
6930
6934
  declare function printBoxedLog<T extends string | I_ErrorEntry_2[]>(title: string, content: T, { color, padding, margin, borderStyle, titleColor, }?: I_BoxedLogOptions_2): void;
6931
6935
 
6936
+ declare function rawCommand(cmd: string): {
6937
+ raw: boolean;
6938
+ cmd: string;
6939
+ };
6940
+ export { rawCommand }
6941
+ export { rawCommand as rawCommand_alias_1 }
6942
+ export { rawCommand as rawCommand_alias_2 }
6943
+
6932
6944
  declare function readFileSync(filePath: string, options: {
6933
6945
  asJson: true;
6934
6946
  }): I_JSON_2;
@@ -6950,28 +6962,18 @@ export { removeAccent }
6950
6962
  export { removeAccent as removeAccent_alias_1 }
6951
6963
  export { removeAccent as removeAccent_alias_2 }
6952
6964
 
6953
- declare function require_2(): NodeJS.Require;
6954
- export { require_2 as require }
6955
- export { require_2 as require_alias_1 }
6956
- export { require_2 as require_alias_2 }
6957
-
6958
6965
  declare function resolve(...urls: string[]): string;
6959
6966
  export { resolve }
6960
6967
  export { resolve as resolve_alias_1 }
6961
6968
  export { resolve as resolve_alias_2 }
6962
6969
 
6963
6970
  declare function resolveCommands(input: T_CommandMapInput_2, context?: Partial<I_CommandContext_2>): Promise<{
6964
- [k: string]: string;
6971
+ [k: string]: string | I_Command_3;
6965
6972
  }>;
6966
6973
  export { resolveCommands }
6967
6974
  export { resolveCommands as resolveCommands_alias_1 }
6968
6975
  export { resolveCommands as resolveCommands_alias_2 }
6969
6976
 
6970
- declare function resolveCyberSkillPath(...urls: string[]): string;
6971
- export { resolveCyberSkillPath }
6972
- export { resolveCyberSkillPath as resolveCyberSkillPath_alias_1 }
6973
- export { resolveCyberSkillPath as resolveCyberSkillPath_alias_2 }
6974
-
6975
6977
  declare function resolveWorkingPath(...urls: string[]): string;
6976
6978
  export { resolveWorkingPath }
6977
6979
  export { resolveWorkingPath as resolveWorkingPath_alias_1 }
@@ -7231,21 +7233,11 @@ export { RESPONSE_STATUS }
7231
7233
  export { RESPONSE_STATUS as RESPONSE_STATUS_alias_1 }
7232
7234
  export { RESPONSE_STATUS as RESPONSE_STATUS_alias_2 }
7233
7235
 
7234
- declare const RIMRAF_CLI = "rimraf";
7235
- export { RIMRAF_CLI }
7236
- export { RIMRAF_CLI as RIMRAF_CLI_alias_1 }
7237
- export { RIMRAF_CLI as RIMRAF_CLI_alias_2 }
7238
-
7239
7236
  declare function rmSync(filePaths: string[]): void;
7240
7237
  export { rmSync }
7241
7238
  export { rmSync as rmSync_alias_1 }
7242
7239
  export { rmSync as rmSync_alias_2 }
7243
7240
 
7244
- declare function saveErrorListToStorage(errorList: I_ErrorEntry_2[]): Promise<void>;
7245
- export { saveErrorListToStorage }
7246
- export { saveErrorListToStorage as saveErrorListToStorage_alias_1 }
7247
- export { saveErrorListToStorage as saveErrorListToStorage_alias_2 }
7248
-
7249
7241
  declare const serializer: I_Serializer_2<unknown>;
7250
7242
  export { serializer }
7251
7243
  export { serializer as serializer_alias_1 }
@@ -7261,6 +7253,11 @@ export { SIMPLE_GIT_HOOK_JSON }
7261
7253
  export { SIMPLE_GIT_HOOK_JSON as SIMPLE_GIT_HOOK_JSON_alias_1 }
7262
7254
  export { SIMPLE_GIT_HOOK_JSON as SIMPLE_GIT_HOOK_JSON_alias_2 }
7263
7255
 
7256
+ declare const SIMPLE_GIT_HOOKS_PACKAGE_NAME = "simple-git-hooks";
7257
+ export { SIMPLE_GIT_HOOKS_PACKAGE_NAME }
7258
+ export { SIMPLE_GIT_HOOKS_PACKAGE_NAME as SIMPLE_GIT_HOOKS_PACKAGE_NAME_alias_1 }
7259
+ export { SIMPLE_GIT_HOOKS_PACKAGE_NAME as SIMPLE_GIT_HOOKS_PACKAGE_NAME_alias_2 }
7260
+
7264
7261
  declare const storageClient: {
7265
7262
  get<T = unknown>(key: string): Promise<T | null>;
7266
7263
  set<T = unknown>(key: string, value: T): Promise<void>;
@@ -7296,18 +7293,22 @@ export { T_Children as T_Children_alias_2 }
7296
7293
 
7297
7294
  declare type T_Children_2 = ReactNode | ReactNode[] | ReactElement | JSX.Element | null;
7298
7295
 
7299
- declare type T_Command = string | ((context?: I_CommandContext) => string) | {
7300
- raw: true;
7301
- cmd: string;
7302
- };
7296
+ declare type T_Command = string | I_Command | T_CommandFunction;
7303
7297
  export { T_Command }
7304
7298
  export { T_Command as T_Command_alias_1 }
7305
7299
  export { T_Command as T_Command_alias_2 }
7306
7300
 
7307
7301
  declare type T_Command_2 =
7308
7302
  | string
7309
- | ((context?: I_CommandContext_2) => string)
7310
- | { raw: true; cmd: string };
7303
+ | I_Command_2
7304
+ | T_CommandFunction_2;
7305
+
7306
+ declare type T_CommandFunction = (context?: I_CommandContext) => string;
7307
+ export { T_CommandFunction }
7308
+ export { T_CommandFunction as T_CommandFunction_alias_1 }
7309
+ export { T_CommandFunction as T_CommandFunction_alias_2 }
7310
+
7311
+ declare type T_CommandFunction_2 = (context?: I_CommandContext_2) => string;
7311
7312
 
7312
7313
  declare type T_CommandMap = Record<string, T_Command>;
7313
7314
  export { T_CommandMap }
@@ -7603,6 +7604,11 @@ export { TSC_CLI }
7603
7604
  export { TSC_CLI as TSC_CLI_alias_1 }
7604
7605
  export { TSC_CLI as TSC_CLI_alias_2 }
7605
7606
 
7607
+ declare const TSC_PACKAGE_NAME = "tsc";
7608
+ export { TSC_PACKAGE_NAME }
7609
+ export { TSC_PACKAGE_NAME as TSC_PACKAGE_NAME_alias_1 }
7610
+ export { TSC_PACKAGE_NAME as TSC_PACKAGE_NAME_alias_2 }
7611
+
7606
7612
  declare const TSCONFIG_JSON = "tsconfig.json";
7607
7613
  export { TSCONFIG_JSON }
7608
7614
  export { TSCONFIG_JSON as TSCONFIG_JSON_alias_1 }
@@ -7613,8 +7619,6 @@ export { TSX_CLI }
7613
7619
  export { TSX_CLI as TSX_CLI_alias_1 }
7614
7620
  export { TSX_CLI as TSX_CLI_alias_2 }
7615
7621
 
7616
- export declare function updatePackage(packageName: string): Promise<void>;
7617
-
7618
7622
  declare function useLoading(): I_LoadingContext_2;
7619
7623
  export { useLoading }
7620
7624
  export { useLoading as useLoading_alias_1 }
@@ -7651,6 +7655,11 @@ export { VITEST_CLI }
7651
7655
  export { VITEST_CLI as VITEST_CLI_alias_1 }
7652
7656
  export { VITEST_CLI as VITEST_CLI_alias_2 }
7653
7657
 
7658
+ declare const VITEST_PACKAGE_NAME = "vitest";
7659
+ export { VITEST_PACKAGE_NAME }
7660
+ export { VITEST_PACKAGE_NAME as VITEST_PACKAGE_NAME_alias_1 }
7661
+ export { VITEST_PACKAGE_NAME as VITEST_PACKAGE_NAME_alias_2 }
7662
+
7654
7663
  declare function withNextIntl<T extends {
7655
7664
  children: T_Children_2;
7656
7665
  }>(Component: ComponentType<T>): {