@genesislcap/blank-app-seed 4.0.0-prerelease.26 → 4.0.0-prerelease.28
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/.genx/package.json +1 -1
- package/CHANGELOG.md +16 -0
- package/client-tmp/angular/src/app/share/foundation-auth.ts +1 -2
- package/client-tmp/angular/src/proxy.conf.json +2 -1
- package/client-tmp/react/package.json +3 -0
- package/client-tmp/react/src/share/foundation-login.ts +2 -2
- package/client-tmp/react/webpack.config.js +9 -9
- package/package.json +1 -1
package/.genx/package.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.0.0-prerelease.28](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v4.0.0-prerelease.27...v4.0.0-prerelease.28) (2025-05-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* proxy fixes for angular 9ab6a4e
|
|
9
|
+
* proxy fixes for angular (#452) 074802b
|
|
10
|
+
|
|
11
|
+
## [4.0.0-prerelease.27](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v4.0.0-prerelease.26...v4.0.0-prerelease.27) (2025-05-05)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* proxy fixes for react 5dadf2b
|
|
17
|
+
* proxy fixes for react (#451) 70e4bb4
|
|
18
|
+
|
|
3
19
|
## [4.0.0-prerelease.26](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v4.0.0-prerelease.25...v4.0.0-prerelease.26) (2025-05-05)
|
|
4
20
|
|
|
5
21
|
|
|
@@ -2,7 +2,6 @@ import type { Router } from '@angular/router';
|
|
|
2
2
|
import { configure, defaultAuthConfig } from '@genesislcap/foundation-auth/config';
|
|
3
3
|
import type { Connect } from '@genesislcap/foundation-comms';
|
|
4
4
|
import { getUser } from '@genesislcap/foundation-user';
|
|
5
|
-
import { GENESIS_SOCKET_URL } from '@genesislcap/foundation-utils';
|
|
6
5
|
import { AUTH_PATH } from '../app.config';
|
|
7
6
|
|
|
8
7
|
/**
|
|
@@ -23,7 +22,7 @@ export const configureFoundationAuth = ({ router, connectService,}: { router: Ro
|
|
|
23
22
|
},
|
|
24
23
|
hostPath: basePath + AUTH_PATH,
|
|
25
24
|
postLoginRedirect: async () => {
|
|
26
|
-
const url =
|
|
25
|
+
const url = API_HOST;
|
|
27
26
|
await connectService.connect(url);
|
|
28
27
|
|
|
29
28
|
const lastPath = getUser().lastPath()?.replace(basePath, '');
|
|
@@ -53,8 +53,11 @@
|
|
|
53
53
|
"@genesislcap/foundation-utils": "{{versions.UI}}",
|
|
54
54
|
"@genesislcap/rapid-design-system": "{{versions.UI}}",
|
|
55
55
|
"@genesislcap/rapid-grid-pro": "{{versions.UI}}",
|
|
56
|
+
"@genesislcap/rapid-grid-tabulator": "{{versions.UI}}",
|
|
57
|
+
"@genesislcap/grid-tabulator": "{{versions.UI}}",
|
|
56
58
|
"@genesislcap/web-core": "{{versions.UI}}",
|
|
57
59
|
"@genesislcap/g2plot-chart": "{{versions.UI}}",
|
|
60
|
+
"tabulator-tables": "6.3.1",
|
|
58
61
|
"history": "^5.3.0",
|
|
59
62
|
"react": "^19.0.0",
|
|
60
63
|
"react-dom": "^19.0.0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { configure, defaultAuthConfig } from '@genesislcap/foundation-auth/config';
|
|
2
2
|
import { getUser } from '@genesislcap/foundation-user';
|
|
3
3
|
import { AUTH_PATH } from '@/config';
|
|
4
|
-
import {
|
|
4
|
+
import { environment } from "@/environments/environment.ts";
|
|
5
5
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
6
6
|
import { DI } from '@genesislcap/web-core';
|
|
7
7
|
import type { NavigateFunction } from 'react-router';
|
|
@@ -26,7 +26,7 @@ export const configureFoundationLogin = ({navigate}: { navigate: NavigateFunctio
|
|
|
26
26
|
},
|
|
27
27
|
hostPath: basePath + AUTH_PATH,
|
|
28
28
|
postLoginRedirect: async () => {
|
|
29
|
-
const url =
|
|
29
|
+
const url = environment.API_HOST;
|
|
30
30
|
await connect.connect(url);
|
|
31
31
|
|
|
32
32
|
const redirectUrl = '/{{kebabCase routes.[0].name}}';
|
|
@@ -77,17 +77,17 @@ module.exports = (env, argv) => {
|
|
|
77
77
|
devServer: {
|
|
78
78
|
server: https ? 'https' : 'http',
|
|
79
79
|
proxy: [
|
|
80
|
-
{
|
|
81
|
-
context: "/sm",
|
|
82
|
-
"target": "{{apiHost}}",
|
|
83
|
-
"secure": false,
|
|
84
|
-
"pathRewrite": {"^/sm": ""},
|
|
85
|
-
},
|
|
86
80
|
{
|
|
87
81
|
context: "/gwf",
|
|
88
|
-
|
|
89
|
-
"
|
|
90
|
-
|
|
82
|
+
target: "{{apiHost}}",
|
|
83
|
+
pathRewrite: {"^/gwf": ""},
|
|
84
|
+
secure: false,
|
|
85
|
+
changeOrigin: true,
|
|
86
|
+
cookieDomainRewrite: 'localhost',
|
|
87
|
+
ws: true,
|
|
88
|
+
headers: {
|
|
89
|
+
origin: "{{apiHost}}",
|
|
90
|
+
}
|
|
91
91
|
}
|
|
92
92
|
],
|
|
93
93
|
open,
|