@cyberskill/shared 1.83.0 → 1.84.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/_tsup-dts-rollup.d.cts +14 -10
- package/dist/_tsup-dts-rollup.d.ts +14 -10
- package/dist/configs/commitlint/index.d.cts +1 -1
- package/dist/configs/commitlint/index.d.ts +1 -1
- package/dist/configs/eslint/index.d.cts +1 -1
- package/dist/configs/eslint/index.d.ts +1 -1
- package/dist/configs/lint-staged/index.d.cts +1 -1
- package/dist/configs/lint-staged/index.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/nodejs/cli/cli.util.cjs +1 -1
- package/dist/nodejs/cli/cli.util.js +1 -1
- package/dist/nodejs/cli/index.cjs +1 -1
- package/dist/nodejs/cli/index.js +1 -1
- package/dist/nodejs/index.cjs +1 -1
- package/dist/nodejs/index.js +1 -1
- package/dist/nodejs/mongo/index.cjs +1 -1
- package/dist/nodejs/mongo/index.js +1 -1
- package/dist/nodejs/mongo/mongo.cjs +1 -1
- package/dist/nodejs/mongo/mongo.js +1 -1
- package/dist/react/apollo-client/apollo-client.component.cjs +1 -1
- package/dist/react/apollo-client/apollo-client.component.js +1 -1
- package/dist/react/apollo-client/index.cjs +1 -1
- package/dist/react/apollo-client/index.js +1 -1
- package/dist/react/apollo-error/apollo-error.provider.cjs +1 -1
- package/dist/react/apollo-error/apollo-error.provider.d.cts +0 -1
- package/dist/react/apollo-error/apollo-error.provider.d.ts +0 -1
- package/dist/react/apollo-error/apollo-error.provider.js +1 -1
- package/dist/react/apollo-error/apollo-error.util.cjs +1 -0
- package/dist/react/apollo-error/apollo-error.util.d.cts +2 -0
- package/dist/react/apollo-error/apollo-error.util.d.ts +2 -0
- package/dist/react/apollo-error/apollo-error.util.js +1 -0
- package/dist/react/apollo-error/index.cjs +1 -1
- package/dist/react/apollo-error/index.d.cts +2 -1
- package/dist/react/apollo-error/index.d.ts +2 -1
- package/dist/react/apollo-error/index.js +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.d.cts +2 -1
- package/dist/react/index.d.ts +2 -1
- package/dist/react/index.js +1 -1
- package/dist/typescript/global.d.cjs +1 -0
- package/dist/typescript/global.d.js +0 -0
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/string/index.cjs +1 -1
- package/dist/utils/string/index.js +1 -1
- package/dist/utils/string/string.util.cjs +1 -1
- package/dist/utils/string/string.util.js +1 -1
- package/package.json +2 -3
- package/{tsconfig.base.json → public/tsconfig.base.json} +0 -3
- package/dist/package-AXKR4AV5.json +0 -266
- package/dist/react/loading/loading.module.scss.d.cjs +0 -1
- package/dist/react/loading/loading.module.scss.d.js +0 -1
- /package/dist/{react/loading/loading.module.scss.d.d.cts → typescript/global.d.d.cts} +0 -0
- /package/dist/{react/loading/loading.module.scss.d.d.ts → typescript/global.d.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyberskill/shared",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.84.0",
|
|
5
5
|
"description": "CyberSkill Shared",
|
|
6
6
|
"author": "Stephen Cheng",
|
|
7
7
|
"license": "MIT",
|
|
@@ -167,8 +167,7 @@
|
|
|
167
167
|
},
|
|
168
168
|
"files": [
|
|
169
169
|
"dist",
|
|
170
|
-
"public"
|
|
171
|
-
"tsconfig.base.json"
|
|
170
|
+
"public"
|
|
172
171
|
],
|
|
173
172
|
"scripts": {
|
|
174
173
|
"build": "tsup",
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"target": "ES2022",
|
|
4
3
|
"jsx": "react-jsx",
|
|
5
4
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
6
5
|
"useDefineForClassFields": true,
|
|
7
|
-
"module": "ESNext",
|
|
8
|
-
"moduleResolution": "Bundler",
|
|
9
6
|
"resolveJsonModule": true,
|
|
10
7
|
"allowImportingTsExtensions": true,
|
|
11
8
|
"allowJs": true,
|
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@cyberskill/shared",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "1.82.0",
|
|
5
|
-
"description": "CyberSkill Shared",
|
|
6
|
-
"author": "Stephen Cheng",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"homepage": "https://github.com/cyberskill-world/shared#readme",
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/cyberskill-world/shared.git"
|
|
12
|
-
},
|
|
13
|
-
"bugs": {
|
|
14
|
-
"url": "https://github.com/cyberskill-world/shared/issues"
|
|
15
|
-
},
|
|
16
|
-
"exports": {
|
|
17
|
-
".": {
|
|
18
|
-
"types": "./dist/index.d.ts",
|
|
19
|
-
"import": "./dist/index.js",
|
|
20
|
-
"require": "./dist/index.cjs"
|
|
21
|
-
},
|
|
22
|
-
"./configs": {
|
|
23
|
-
"types": "./dist/configs/index.d.ts",
|
|
24
|
-
"import": "./dist/configs/index.js",
|
|
25
|
-
"require": "./dist/configs/index.cjs"
|
|
26
|
-
},
|
|
27
|
-
"./configs/commitlint": {
|
|
28
|
-
"types": "./dist/configs/commitlint/index.d.ts",
|
|
29
|
-
"import": "./dist/configs/commitlint/index.js",
|
|
30
|
-
"require": "./dist/configs/commitlint/index.cjs"
|
|
31
|
-
},
|
|
32
|
-
"./configs/eslint": {
|
|
33
|
-
"types": "./dist/configs/eslint/index.d.ts",
|
|
34
|
-
"import": "./dist/configs/eslint/index.js",
|
|
35
|
-
"require": "./dist/configs/eslint/index.cjs"
|
|
36
|
-
},
|
|
37
|
-
"./configs/graphql-codegen": {
|
|
38
|
-
"types": "./dist/configs/graphql-codegen/index.d.ts",
|
|
39
|
-
"import": "./dist/configs/graphql-codegen/index.js",
|
|
40
|
-
"require": "./dist/configs/graphql-codegen/index.cjs"
|
|
41
|
-
},
|
|
42
|
-
"./configs/lint-staged": {
|
|
43
|
-
"types": "./dist/configs/lint-staged/index.d.ts",
|
|
44
|
-
"import": "./dist/configs/lint-staged/index.js",
|
|
45
|
-
"require": "./dist/configs/lint-staged/index.cjs"
|
|
46
|
-
},
|
|
47
|
-
"./constants": {
|
|
48
|
-
"types": "./dist/constants/index.d.ts",
|
|
49
|
-
"import": "./dist/constants/index.js",
|
|
50
|
-
"require": "./dist/constants/index.cjs"
|
|
51
|
-
},
|
|
52
|
-
"./nodejs": {
|
|
53
|
-
"types": "./dist/nodejs/index.d.ts",
|
|
54
|
-
"import": "./dist/nodejs/index.js",
|
|
55
|
-
"require": "./dist/nodejs/index.cjs"
|
|
56
|
-
},
|
|
57
|
-
"./nodejs/cli": {
|
|
58
|
-
"types": "./dist/nodejs/cli/index.d.ts",
|
|
59
|
-
"import": "./dist/nodejs/cli/index.js",
|
|
60
|
-
"require": "./dist/nodejs/cli/index.cjs"
|
|
61
|
-
},
|
|
62
|
-
"./nodejs/command": {
|
|
63
|
-
"types": "./dist/nodejs/command/index.d.ts",
|
|
64
|
-
"import": "./dist/nodejs/command/index.js",
|
|
65
|
-
"require": "./dist/nodejs/command/index.cjs"
|
|
66
|
-
},
|
|
67
|
-
"./nodejs/fs": {
|
|
68
|
-
"types": "./dist/nodejs/fs/index.d.ts",
|
|
69
|
-
"import": "./dist/nodejs/fs/index.js",
|
|
70
|
-
"require": "./dist/nodejs/fs/index.cjs"
|
|
71
|
-
},
|
|
72
|
-
"./nodejs/log": {
|
|
73
|
-
"types": "./dist/nodejs/log/index.d.ts",
|
|
74
|
-
"import": "./dist/nodejs/log/index.js",
|
|
75
|
-
"require": "./dist/nodejs/log/index.cjs"
|
|
76
|
-
},
|
|
77
|
-
"./nodejs/mongo": {
|
|
78
|
-
"types": "./dist/nodejs/mongo/index.d.ts",
|
|
79
|
-
"import": "./dist/nodejs/mongo/index.js",
|
|
80
|
-
"require": "./dist/nodejs/mongo/index.cjs"
|
|
81
|
-
},
|
|
82
|
-
"./nodejs/package": {
|
|
83
|
-
"types": "./dist/nodejs/package/index.d.ts",
|
|
84
|
-
"import": "./dist/nodejs/package/index.js",
|
|
85
|
-
"require": "./dist/nodejs/package/index.cjs"
|
|
86
|
-
},
|
|
87
|
-
"./nodejs/path": {
|
|
88
|
-
"types": "./dist/nodejs/path/index.d.ts",
|
|
89
|
-
"import": "./dist/nodejs/path/index.js",
|
|
90
|
-
"require": "./dist/nodejs/path/index.cjs"
|
|
91
|
-
},
|
|
92
|
-
"./nodejs/storage": {
|
|
93
|
-
"types": "./dist/nodejs/storage/index.d.ts",
|
|
94
|
-
"import": "./dist/nodejs/storage/index.js",
|
|
95
|
-
"require": "./dist/nodejs/storage/index.cjs"
|
|
96
|
-
},
|
|
97
|
-
"./react": {
|
|
98
|
-
"types": "./dist/react/index.d.ts",
|
|
99
|
-
"import": "./dist/react/index.js",
|
|
100
|
-
"require": "./dist/react/index.cjs"
|
|
101
|
-
},
|
|
102
|
-
"./react/apollo-client": {
|
|
103
|
-
"types": "./dist/react/apollo-client/index.d.ts",
|
|
104
|
-
"import": "./dist/react/apollo-client/index.js",
|
|
105
|
-
"require": "./dist/react/apollo-client/index.cjs"
|
|
106
|
-
},
|
|
107
|
-
"./react/apollo-error": {
|
|
108
|
-
"types": "./dist/react/apollo-error/index.d.ts",
|
|
109
|
-
"import": "./dist/react/apollo-error/index.js",
|
|
110
|
-
"require": "./dist/react/apollo-error/index.cjs"
|
|
111
|
-
},
|
|
112
|
-
"./react/i18next": {
|
|
113
|
-
"types": "./dist/react/i18next/index.d.ts",
|
|
114
|
-
"import": "./dist/react/i18next/index.js",
|
|
115
|
-
"require": "./dist/react/i18next/index.cjs"
|
|
116
|
-
},
|
|
117
|
-
"./react/loading": {
|
|
118
|
-
"types": "./dist/react/loading/index.d.ts",
|
|
119
|
-
"import": "./dist/react/loading/index.js",
|
|
120
|
-
"require": "./dist/react/loading/index.cjs"
|
|
121
|
-
},
|
|
122
|
-
"./react/log": {
|
|
123
|
-
"types": "./dist/react/log/index.d.ts",
|
|
124
|
-
"import": "./dist/react/log/index.js",
|
|
125
|
-
"require": "./dist/react/log/index.cjs"
|
|
126
|
-
},
|
|
127
|
-
"./react/next-intl": {
|
|
128
|
-
"types": "./dist/react/next-intl/index.d.ts",
|
|
129
|
-
"import": "./dist/react/next-intl/index.js",
|
|
130
|
-
"require": "./dist/react/next-intl/index.cjs"
|
|
131
|
-
},
|
|
132
|
-
"./react/storage": {
|
|
133
|
-
"types": "./dist/react/storage/index.d.ts",
|
|
134
|
-
"import": "./dist/react/storage/index.js",
|
|
135
|
-
"require": "./dist/react/storage/index.cjs"
|
|
136
|
-
},
|
|
137
|
-
"./react/toast": {
|
|
138
|
-
"types": "./dist/react/toast/index.d.ts",
|
|
139
|
-
"import": "./dist/react/toast/index.js",
|
|
140
|
-
"require": "./dist/react/toast/index.cjs"
|
|
141
|
-
},
|
|
142
|
-
"./react/vitest": {
|
|
143
|
-
"types": "./dist/react/vitest/index.d.ts",
|
|
144
|
-
"import": "./dist/react/vitest/index.js",
|
|
145
|
-
"require": "./dist/react/vitest/index.cjs"
|
|
146
|
-
},
|
|
147
|
-
"./styles/reset.css": {
|
|
148
|
-
"import": "./dist/styles/reset.css",
|
|
149
|
-
"require": "./dist/styles/reset.css"
|
|
150
|
-
},
|
|
151
|
-
"./typescript": {
|
|
152
|
-
"types": "./dist/typescript/index.d.ts",
|
|
153
|
-
"import": "./dist/typescript/index.js",
|
|
154
|
-
"require": "./dist/typescript/index.cjs"
|
|
155
|
-
},
|
|
156
|
-
"./utils": {
|
|
157
|
-
"types": "./dist/utils/index.d.ts",
|
|
158
|
-
"import": "./dist/utils/index.js",
|
|
159
|
-
"require": "./dist/utils/index.cjs"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
"main": "./dist/index.cjs",
|
|
163
|
-
"module": "./dist/index.js",
|
|
164
|
-
"types": "./dist/index.d.ts",
|
|
165
|
-
"bin": {
|
|
166
|
-
"cyberskill": "./dist/nodejs/cli/index.js"
|
|
167
|
-
},
|
|
168
|
-
"files": [
|
|
169
|
-
"dist",
|
|
170
|
-
"public",
|
|
171
|
-
"tsconfig.base.json"
|
|
172
|
-
],
|
|
173
|
-
"scripts": {
|
|
174
|
-
"build": "tsup",
|
|
175
|
-
"dev": "dotenv -e .env -- tsup --watch",
|
|
176
|
-
"lint": "dotenv -e .env -- tsx src/nodejs/cli/index.ts lint",
|
|
177
|
-
"lint:fix": "dotenv -e .env -- tsx src/nodejs/cli/index.ts lint:fix",
|
|
178
|
-
"lint:inspect": "dotenv -e .env -- tsx src/nodejs/cli/index.ts lint:inspect",
|
|
179
|
-
"reset": "dotenv -e .env -- tsx src/nodejs/cli/index.ts reset",
|
|
180
|
-
"setup": "dotenv -e .env -- tsx src/nodejs/cli/index.ts setup",
|
|
181
|
-
"inspect": "dotenv -e .env -- tsx src/nodejs/cli/index.ts inspect",
|
|
182
|
-
"test:unit": "dotenv -e .env -- tsx src/nodejs/cli/index.ts test:unit",
|
|
183
|
-
"test:e2e": "dotenv -e .env -- tsx src/nodejs/cli/index.ts test:e2e",
|
|
184
|
-
"commitlint": "dotenv -e .env -- tsx src/nodejs/cli/index.ts commitlint",
|
|
185
|
-
"lint-staged": "dotenv -e .env -- tsx src/nodejs/cli/index.ts lint-staged"
|
|
186
|
-
},
|
|
187
|
-
"dependencies": {
|
|
188
|
-
"@antfu/eslint-config": "4.12.0",
|
|
189
|
-
"@apollo/client": "3.13.7",
|
|
190
|
-
"@eddeee888/gcg-typescript-resolver-files": "0.12.0",
|
|
191
|
-
"@eslint-react/eslint-plugin": "1.47.4",
|
|
192
|
-
"@graphql-codegen/cli": "5.0.5",
|
|
193
|
-
"@graphql-codegen/client-preset": "4.8.0",
|
|
194
|
-
"@microsoft/api-extractor": "7.52.3",
|
|
195
|
-
"@next/eslint-plugin-next": "15.3.0",
|
|
196
|
-
"@swc/core": "1.11.21",
|
|
197
|
-
"@testing-library/jest-dom": "6.6.3",
|
|
198
|
-
"@testing-library/react": "16.3.0",
|
|
199
|
-
"@vitejs/plugin-react-swc": "3.9.0",
|
|
200
|
-
"@vitest/browser": "3.1.1",
|
|
201
|
-
"chalk": "5.4.1",
|
|
202
|
-
"classnames": "2.5.1",
|
|
203
|
-
"consola": "3.4.2",
|
|
204
|
-
"crypto-js": "4.2.0",
|
|
205
|
-
"date-fns": "4.1.0",
|
|
206
|
-
"dotenv-cli": "8.0.0",
|
|
207
|
-
"eslint-config-next": "15.3.0",
|
|
208
|
-
"eslint-plugin-format": "1.0.1",
|
|
209
|
-
"eslint-plugin-react-hooks": "5.2.0",
|
|
210
|
-
"eslint-plugin-react-refresh": "0.4.19",
|
|
211
|
-
"globals": "16.0.0",
|
|
212
|
-
"graphql": "16.10.0",
|
|
213
|
-
"graphql-ws": "6.0.4",
|
|
214
|
-
"i18next": "25.0.0",
|
|
215
|
-
"jsdom": "26.1.0",
|
|
216
|
-
"localforage": "1.10.0",
|
|
217
|
-
"modern-normalize": "3.0.1",
|
|
218
|
-
"mongodb": "6.15.0",
|
|
219
|
-
"mongoose": "8.13.2",
|
|
220
|
-
"mongoose-aggregate-paginate-v2": "1.1.4",
|
|
221
|
-
"mongoose-paginate-v2": "1.9.0",
|
|
222
|
-
"next-intl": "4.0.2",
|
|
223
|
-
"node-fetch": "3.3.2",
|
|
224
|
-
"node-persist": "4.0.4",
|
|
225
|
-
"ora": "8.2.0",
|
|
226
|
-
"playwright": "1.51.1",
|
|
227
|
-
"postcss-modules": "6.0.1",
|
|
228
|
-
"qs": "6.14.0",
|
|
229
|
-
"react": "19.1.0",
|
|
230
|
-
"react-dom": "19.1.0",
|
|
231
|
-
"react-hot-toast": "2.5.2",
|
|
232
|
-
"react-i18next": "15.4.1",
|
|
233
|
-
"react-icons": "5.5.0",
|
|
234
|
-
"sass": "1.86.3",
|
|
235
|
-
"slugify": "1.6.6",
|
|
236
|
-
"tsup": "8.4.0",
|
|
237
|
-
"tsx": "4.19.3",
|
|
238
|
-
"typescript": "5.8.3",
|
|
239
|
-
"unorm": "1.6.0",
|
|
240
|
-
"uuid": "11.1.0",
|
|
241
|
-
"vite": "6.2.6",
|
|
242
|
-
"vitest": "3.1.1",
|
|
243
|
-
"vitest-browser-react": "0.1.1",
|
|
244
|
-
"yargs": "17.7.2"
|
|
245
|
-
},
|
|
246
|
-
"publishConfig": {
|
|
247
|
-
"access": "public",
|
|
248
|
-
"registry": "https://registry.npmjs.org/"
|
|
249
|
-
},
|
|
250
|
-
"devDependencies": {
|
|
251
|
-
"@commitlint/cli": "19.8.0",
|
|
252
|
-
"@eslint/config-inspector": "1.0.2",
|
|
253
|
-
"@types/crypto-js": "4.2.2",
|
|
254
|
-
"@types/mongoose-aggregate-paginate-v2": "1.0.12",
|
|
255
|
-
"@types/node-persist": "3.1.8",
|
|
256
|
-
"@types/react": "19.1.2",
|
|
257
|
-
"@types/react-dom": "19.1.2",
|
|
258
|
-
"@types/unorm": "1.3.31",
|
|
259
|
-
"@types/uuid": "10.0.0",
|
|
260
|
-
"@types/yargs": "17.0.33",
|
|
261
|
-
"eslint": "9.24.0",
|
|
262
|
-
"lint-staged": "15.5.1",
|
|
263
|
-
"node-modules-inspector": "0.6.6",
|
|
264
|
-
"simple-git-hooks": "2.12.1"
|
|
265
|
-
}
|
|
266
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function e(e){"@swc/helpers - typeof";return e&&typeof Symbol!=="undefined"&&e.constructor===Symbol?"symbol":typeof e}var r=Object.defineProperty;var t=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var u=function(e,t){for(var n in t)r(e,n,{get:t[n],enumerable:!0})},a=function(u,a,f,l){var i=true,c=false,y=undefined;if(a&&(typeof a==="undefined"?"undefined":e(a))=="object"||typeof a=="function")try{var v=function(){var e=s.value;!o.call(u,e)&&e!==f&&r(u,e,{get:function(){return a[e]},enumerable:!(l=t(a,e))||l.enumerable})};for(var p=n(a)[Symbol.iterator](),s;!(i=(s=p.next()).done);i=true)v()}catch(e){c=true;y=e}finally{try{if(!i&&p.return!=null){p.return()}}finally{if(c){throw y}}}return u};var f=function(e){return a(r({},"__esModule",{value:!0}),e)};var l={};u(l,{default:function(){return i}});module.exports=f(l);var i=styles;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var t=styles;export{t as default};
|
|
File without changes
|
|
File without changes
|