@solidstarters/create-solid-app 1.2.23 → 1.2.25
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
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@nestjs/serve-static": "^4.0.2",
|
|
28
28
|
"@nestjs/swagger": "^7.2.0",
|
|
29
29
|
"@nestjs/typeorm": "^10.0.1",
|
|
30
|
-
"@solidstarters/solid-core": "^1.2.
|
|
30
|
+
"@solidstarters/solid-core": "^1.2.140",
|
|
31
31
|
"@types/luxon": "^3.4.2",
|
|
32
32
|
"amqplib": "^0.10.4",
|
|
33
33
|
"axios": "^1.7.0",
|
|
@@ -4666,9 +4666,9 @@
|
|
|
4666
4666
|
}
|
|
4667
4667
|
},
|
|
4668
4668
|
"node_modules/@solidstarters/solid-core": {
|
|
4669
|
-
"version": "1.2.
|
|
4670
|
-
"resolved": "https://registry.npmjs.org/@solidstarters/solid-core/-/solid-core-1.2.
|
|
4671
|
-
"integrity": "sha512-
|
|
4669
|
+
"version": "1.2.140",
|
|
4670
|
+
"resolved": "https://registry.npmjs.org/@solidstarters/solid-core/-/solid-core-1.2.140.tgz",
|
|
4671
|
+
"integrity": "sha512-CtWlr4r7jON1TfNZjiRbWO0EdbcJGYGnU/eVmeuK2StXB7jSYECDCiVnvM9SjSsGYX7eyDN1On5nYUHqb2bBsQ==",
|
|
4672
4672
|
"license": "ISC",
|
|
4673
4673
|
"dependencies": {
|
|
4674
4674
|
"@angular-devkit/core": "^18.0.3",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@nestjs/serve-static": "^4.0.2",
|
|
45
45
|
"@nestjs/swagger": "^7.2.0",
|
|
46
46
|
"@nestjs/typeorm": "^10.0.1",
|
|
47
|
-
"@solidstarters/solid-core": "^1.2.
|
|
47
|
+
"@solidstarters/solid-core": "^1.2.140",
|
|
48
48
|
"@types/luxon": "^3.4.2",
|
|
49
49
|
"amqplib": "^0.10.4",
|
|
50
50
|
"axios": "^1.7.0",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
14
14
|
"@hello-pangea/dnd": "^17.0.0",
|
|
15
15
|
"@reduxjs/toolkit": "^1.9.5",
|
|
16
|
-
"@solidstarters/solid-core-ui": "^1.1.
|
|
16
|
+
"@solidstarters/solid-core-ui": "^1.1.165",
|
|
17
17
|
"@uiw/react-codemirror": "^4.23.3",
|
|
18
18
|
"axios": "^1.7.2",
|
|
19
19
|
"bcryptjs": "^2.4.3",
|
|
@@ -201,6 +201,22 @@
|
|
|
201
201
|
"moment": "^2.22.2"
|
|
202
202
|
}
|
|
203
203
|
},
|
|
204
|
+
"node_modules/@faker-js/faker": {
|
|
205
|
+
"version": "9.9.0",
|
|
206
|
+
"resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-9.9.0.tgz",
|
|
207
|
+
"integrity": "sha512-OEl393iCOoo/z8bMezRlJu+GlRGlsKbUAN7jKB6LhnKoqKve5DXRpalbItIIcwnCjs1k/FOPjFzcA6Qn+H+YbA==",
|
|
208
|
+
"funding": [
|
|
209
|
+
{
|
|
210
|
+
"type": "opencollective",
|
|
211
|
+
"url": "https://opencollective.com/fakerjs"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"license": "MIT",
|
|
215
|
+
"engines": {
|
|
216
|
+
"node": ">=18.0.0",
|
|
217
|
+
"npm": ">=9.0.0"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
204
220
|
"node_modules/@fortawesome/fontawesome-free": {
|
|
205
221
|
"version": "5.15.4",
|
|
206
222
|
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.4.tgz",
|
|
@@ -444,6 +460,29 @@
|
|
|
444
460
|
"integrity": "sha512-l0h88YhZFyKdXIFNfSWpyjStDjGHwZ/U7iobcK1cQQD8sejsONdQtTVU+1wVN1PBw40PiiHB1vA5S7VTfQiP9g==",
|
|
445
461
|
"license": "MIT"
|
|
446
462
|
},
|
|
463
|
+
"node_modules/@monaco-editor/loader": {
|
|
464
|
+
"version": "1.5.0",
|
|
465
|
+
"resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.5.0.tgz",
|
|
466
|
+
"integrity": "sha512-hKoGSM+7aAc7eRTRjpqAZucPmoNOC4UUbknb/VNoTkEIkCPhqV8LfbsgM1webRM7S/z21eHEx9Fkwx8Z/C/+Xw==",
|
|
467
|
+
"license": "MIT",
|
|
468
|
+
"dependencies": {
|
|
469
|
+
"state-local": "^1.0.6"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"node_modules/@monaco-editor/react": {
|
|
473
|
+
"version": "4.7.0",
|
|
474
|
+
"resolved": "https://registry.npmjs.org/@monaco-editor/react/-/react-4.7.0.tgz",
|
|
475
|
+
"integrity": "sha512-cyzXQCtO47ydzxpQtCGSQGOC8Gk3ZUeBXFAxD+CWXYFo5OqZyZUonFl0DwUlTyAfRHntBfw2p3w4s9R6oe1eCA==",
|
|
476
|
+
"license": "MIT",
|
|
477
|
+
"dependencies": {
|
|
478
|
+
"@monaco-editor/loader": "^1.5.0"
|
|
479
|
+
},
|
|
480
|
+
"peerDependencies": {
|
|
481
|
+
"monaco-editor": ">= 0.25.0 < 1",
|
|
482
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
483
|
+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
447
486
|
"node_modules/@mongodb-js/saslprep": {
|
|
448
487
|
"version": "1.2.0",
|
|
449
488
|
"resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.2.0.tgz",
|
|
@@ -962,19 +1001,23 @@
|
|
|
962
1001
|
}
|
|
963
1002
|
},
|
|
964
1003
|
"node_modules/@solidstarters/solid-core-ui": {
|
|
965
|
-
"version": "1.1.
|
|
966
|
-
"resolved": "https://registry.npmjs.org/@solidstarters/solid-core-ui/-/solid-core-ui-1.1.
|
|
967
|
-
"integrity": "sha512-
|
|
1004
|
+
"version": "1.1.165",
|
|
1005
|
+
"resolved": "https://registry.npmjs.org/@solidstarters/solid-core-ui/-/solid-core-ui-1.1.165.tgz",
|
|
1006
|
+
"integrity": "sha512-NX6rUvCkPINsUItLFwD8CeqZHgv8wzrpt0uvtA/WR0tJK3lwC+1p0GUPguwjXf4DNBRwJUdwSfunf1/Uq2oSwQ==",
|
|
968
1007
|
"license": "ISC",
|
|
969
1008
|
"dependencies": {
|
|
970
|
-
"@
|
|
1009
|
+
"@faker-js/faker": "^9.9.0",
|
|
1010
|
+
"@hello-pangea/dnd": "18.0.1",
|
|
1011
|
+
"@monaco-editor/react": "^4.7.0",
|
|
971
1012
|
"axios": "^1.7.2",
|
|
972
1013
|
"bcryptjs": "^2.4.3",
|
|
973
1014
|
"bootstrap": "^5.3.3",
|
|
974
1015
|
"change-case": "^5.4.4",
|
|
975
|
-
"chart.js": "^4.
|
|
1016
|
+
"chart.js": "^4.5.0",
|
|
976
1017
|
"cloudinary": "^1.40.0",
|
|
1018
|
+
"copyfile": "^0.1.2",
|
|
977
1019
|
"copyfiles": "^2.4.1",
|
|
1020
|
+
"gridstack": "^12.2.1",
|
|
978
1021
|
"handlebars": "^4.7.8",
|
|
979
1022
|
"html-react-parser": "^5.2.2",
|
|
980
1023
|
"html2canvas": "^1.4.1",
|
|
@@ -2185,9 +2228,9 @@
|
|
|
2185
2228
|
}
|
|
2186
2229
|
},
|
|
2187
2230
|
"node_modules/chart.js": {
|
|
2188
|
-
"version": "4.
|
|
2189
|
-
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.
|
|
2190
|
-
"integrity": "sha512-
|
|
2231
|
+
"version": "4.5.0",
|
|
2232
|
+
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.5.0.tgz",
|
|
2233
|
+
"integrity": "sha512-aYeC/jDgSEx8SHWZvANYMioYMZ2KX02W6f6uVfyteuCGcadDLcYVHdfdygsTQkQ4TKn5lghoojAsPj5pu0SnvQ==",
|
|
2191
2234
|
"license": "MIT",
|
|
2192
2235
|
"dependencies": {
|
|
2193
2236
|
"@kurkle/color": "^0.3.0"
|
|
@@ -2388,8 +2431,7 @@
|
|
|
2388
2431
|
"version": "2.20.3",
|
|
2389
2432
|
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
|
|
2390
2433
|
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
|
|
2391
|
-
"license": "MIT"
|
|
2392
|
-
"peer": true
|
|
2434
|
+
"license": "MIT"
|
|
2393
2435
|
},
|
|
2394
2436
|
"node_modules/concat-map": {
|
|
2395
2437
|
"version": "0.0.1",
|
|
@@ -2406,6 +2448,15 @@
|
|
|
2406
2448
|
"node": ">= 0.6"
|
|
2407
2449
|
}
|
|
2408
2450
|
},
|
|
2451
|
+
"node_modules/copyfile": {
|
|
2452
|
+
"version": "0.1.2",
|
|
2453
|
+
"resolved": "https://registry.npmjs.org/copyfile/-/copyfile-0.1.2.tgz",
|
|
2454
|
+
"integrity": "sha512-UlQ4OZCVs35bxX/SYOemCh3Md+ih2C+C8DmPw9g6eHBdOGTuTiB6XpUDX/sed0Npf2qdAqV+KBxAojAIHveBJg==",
|
|
2455
|
+
"license": "MIT",
|
|
2456
|
+
"dependencies": {
|
|
2457
|
+
"commander": "^2.9.0"
|
|
2458
|
+
}
|
|
2459
|
+
},
|
|
2409
2460
|
"node_modules/copyfiles": {
|
|
2410
2461
|
"version": "2.4.1",
|
|
2411
2462
|
"resolved": "https://registry.npmjs.org/copyfiles/-/copyfiles-2.4.1.tgz",
|
|
@@ -3452,6 +3503,22 @@
|
|
|
3452
3503
|
"integrity": "sha512-HZRwumpOGUrHyxO5bqKZL0B0GlUpwtCAzZ42sgxUPniu33R1LSFH5yrIcBCHjkctCAh3mtWKcKd9J4vDDdeVHA==",
|
|
3453
3504
|
"license": "ISC"
|
|
3454
3505
|
},
|
|
3506
|
+
"node_modules/gridstack": {
|
|
3507
|
+
"version": "12.2.2",
|
|
3508
|
+
"resolved": "https://registry.npmjs.org/gridstack/-/gridstack-12.2.2.tgz",
|
|
3509
|
+
"integrity": "sha512-eK9XAbBWQp+QniqL6ipvofWSrCelm46j5USag73LNq8tOWSL2DeeGBWU9mTibLI6i66n0r7xYS+1/g2qqTqKcw==",
|
|
3510
|
+
"funding": [
|
|
3511
|
+
{
|
|
3512
|
+
"type": "paypal",
|
|
3513
|
+
"url": "https://www.paypal.me/alaind831"
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"type": "venmo",
|
|
3517
|
+
"url": "https://www.venmo.com/adumesny"
|
|
3518
|
+
}
|
|
3519
|
+
],
|
|
3520
|
+
"license": "MIT"
|
|
3521
|
+
},
|
|
3455
3522
|
"node_modules/gud": {
|
|
3456
3523
|
"version": "1.0.0",
|
|
3457
3524
|
"resolved": "https://registry.npmjs.org/gud/-/gud-1.0.0.tgz",
|
|
@@ -5508,6 +5575,13 @@
|
|
|
5508
5575
|
"moment": ">= 2"
|
|
5509
5576
|
}
|
|
5510
5577
|
},
|
|
5578
|
+
"node_modules/monaco-editor": {
|
|
5579
|
+
"version": "0.52.2",
|
|
5580
|
+
"resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.52.2.tgz",
|
|
5581
|
+
"integrity": "sha512-GEQWEZmfkOGLdd3XK8ryrfWz3AIP8YymVXiPHEdewrUq7mh0qrKrfHLNCXcbB6sTnMLnOZ3ztSiKcciFUkIJwQ==",
|
|
5582
|
+
"license": "MIT",
|
|
5583
|
+
"peer": true
|
|
5584
|
+
},
|
|
5511
5585
|
"node_modules/mongodb": {
|
|
5512
5586
|
"version": "5.9.2",
|
|
5513
5587
|
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-5.9.2.tgz",
|
|
@@ -7487,6 +7561,12 @@
|
|
|
7487
7561
|
"node": ">=0.1.14"
|
|
7488
7562
|
}
|
|
7489
7563
|
},
|
|
7564
|
+
"node_modules/state-local": {
|
|
7565
|
+
"version": "1.0.7",
|
|
7566
|
+
"resolved": "https://registry.npmjs.org/state-local/-/state-local-1.0.7.tgz",
|
|
7567
|
+
"integrity": "sha512-HTEHMNieakEnoe33shBYcZ7NX83ACUjCu8c40iOGEZsngj9zRnkqS9j1pqQPXwobB0ZcVTk27REb7COQ0UR59w==",
|
|
7568
|
+
"license": "MIT"
|
|
7569
|
+
},
|
|
7490
7570
|
"node_modules/streamsearch": {
|
|
7491
7571
|
"version": "1.1.0",
|
|
7492
7572
|
"resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
16
16
|
"@hello-pangea/dnd": "^17.0.0",
|
|
17
17
|
"@reduxjs/toolkit": "^1.9.5",
|
|
18
|
-
"@solidstarters/solid-core-ui": "^1.1.
|
|
18
|
+
"@solidstarters/solid-core-ui": "^1.1.165",
|
|
19
19
|
"@uiw/react-codemirror": "^4.23.3",
|
|
20
20
|
"axios": "^1.7.2",
|
|
21
21
|
"bcryptjs": "^2.4.3",
|
|
@@ -1,83 +1,34 @@
|
|
|
1
1
|
// 'use client';
|
|
2
2
|
// @ts-nocheck
|
|
3
3
|
import { configureStore } from "@reduxjs/toolkit";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { modulesApi } from "@solidstarters/solid-core-ui";
|
|
10
|
-
import { solidActionsApi } from "@solidstarters/solid-core-ui";
|
|
11
|
-
import { createSolidEntityApi } from "@solidstarters/solid-core-ui";
|
|
12
|
-
import { solidMenusApi } from "@solidstarters/solid-core-ui";
|
|
13
|
-
import { solidViewsApi } from "@solidstarters/solid-core-ui";
|
|
14
|
-
import { userApi } from "@solidstarters/solid-core-ui";
|
|
15
|
-
import { authenticationReducer } from "@solidstarters/solid-core-ui";
|
|
16
|
-
import { dataViewReducer } from "@solidstarters/solid-core-ui";
|
|
17
|
-
import { navbarReducer } from '@solidstarters/solid-core-ui';
|
|
18
|
-
import { popupReducer } from '@solidstarters/solid-core-ui';
|
|
19
|
-
import { themeReducer } from '@solidstarters/solid-core-ui';
|
|
20
|
-
import { userReducer } from "@solidstarters/solid-core-ui";
|
|
21
|
-
import { solidSettingsApi } from "@solidstarters/solid-core-ui";
|
|
22
|
-
import { roleApi } from "@solidstarters/solid-core-ui";
|
|
23
|
-
import { exportTemplateApi } from "@solidstarters/solid-core-ui";
|
|
24
|
-
import { solidChatterMessageApi } from "@solidstarters/solid-core-ui";
|
|
25
|
-
import { solidServiceApi } from "@solidstarters/solid-core-ui";
|
|
26
|
-
import { importTransactionApi } from "@solidstarters/solid-core-ui";
|
|
4
|
+
import {
|
|
5
|
+
solidApiSlices,
|
|
6
|
+
solidReducers,
|
|
7
|
+
createSolidEntityApi
|
|
8
|
+
} from "@solidstarters/solid-core-ui";
|
|
27
9
|
|
|
28
10
|
export function initializeStore(entities: string[] = []) {
|
|
29
11
|
|
|
30
12
|
const reducers = {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
[
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
[solidViewsApi.reducerPath]: solidViewsApi.reducer,
|
|
41
|
-
[solidActionsApi.reducerPath]: solidActionsApi.reducer,
|
|
42
|
-
[solidMenusApi.reducerPath]: solidMenusApi.reducer,
|
|
43
|
-
[solidSettingsApi.reducerPath]: solidSettingsApi.reducer,
|
|
44
|
-
[roleApi.reducerPath]: roleApi.reducer,
|
|
45
|
-
[solidChatterMessageApi.reducerPath]: solidChatterMessageApi.reducer,
|
|
46
|
-
[exportTemplateApi.reducerPath]:exportTemplateApi.reducer,
|
|
47
|
-
[solidServiceApi.reducerPath]: solidServiceApi.reducer,
|
|
48
|
-
[importTransactionApi.reducerPath]: importTransactionApi.reducer,
|
|
49
|
-
|
|
50
|
-
// This has now become dynamica and is added using the for loop below
|
|
51
|
-
// [solidCountryApi.reducerPath]: solidCountryApi.reducer,
|
|
52
|
-
|
|
53
|
-
theme: themeReducer,
|
|
54
|
-
popup: popupReducer,
|
|
55
|
-
navbarState: navbarReducer,
|
|
56
|
-
dataViewState: dataViewReducer
|
|
13
|
+
...solidReducers,
|
|
14
|
+
...Object.fromEntries(
|
|
15
|
+
solidApiSlices.map(api => [api.reducerPath, api.reducer])
|
|
16
|
+
),
|
|
17
|
+
//add anditional custom api slice
|
|
18
|
+
//eg. [customImportTransactionApi.reducerPath]: customImportTransactionApi.reducer,
|
|
19
|
+
|
|
20
|
+
// Add any additional reducers here
|
|
21
|
+
// eg.theme: themeReducer,
|
|
57
22
|
};
|
|
58
23
|
|
|
59
|
-
const middlewares = [
|
|
60
|
-
authApi.middleware,
|
|
61
|
-
userApi.middleware,
|
|
62
|
-
modulesApi.middleware,
|
|
63
|
-
modelsApi.middleware,
|
|
64
|
-
fieldsApi.middleware,
|
|
65
|
-
mediaStorageProviderApi.middleware,
|
|
66
|
-
mediaApi.middleware,
|
|
67
|
-
solidViewsApi.middleware,
|
|
68
|
-
solidActionsApi.middleware,
|
|
69
|
-
solidMenusApi.middleware,
|
|
70
|
-
solidSettingsApi.middleware,
|
|
71
|
-
roleApi.middleware,
|
|
72
|
-
solidChatterMessageApi.middleware,
|
|
73
|
-
exportTemplateApi.middleware,
|
|
74
|
-
solidServiceApi.middleware,
|
|
75
|
-
importTransactionApi.middleware
|
|
76
24
|
|
|
77
|
-
|
|
78
|
-
|
|
25
|
+
const middlewares = [
|
|
26
|
+
...solidApiSlices.map(api => api.middleware),
|
|
27
|
+
//add any additional custom middlewares here
|
|
28
|
+
//eg. customImportTransactionApi.middleware,
|
|
79
29
|
];
|
|
80
30
|
|
|
31
|
+
|
|
81
32
|
for (let i = 0; i < entities.length; i++) {
|
|
82
33
|
const entity = entities[i];
|
|
83
34
|
|
|
@@ -98,4 +49,4 @@ export function initializeStore(entities: string[] = []) {
|
|
|
98
49
|
}
|
|
99
50
|
|
|
100
51
|
// export type RootState = ReturnType<ReturnType<typeof initializeStore>['getState']>;
|
|
101
|
-
// export type AppDispatch = ReturnType<typeof initializeStore>['dispatch']
|
|
52
|
+
// export type AppDispatch = ReturnType<typeof initializeStore>['dispatch']
|