@genesislcap/blank-app-seed 5.7.0-prerelease.4 → 5.7.0-prerelease.6

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed-config",
3
3
  "description": "Genesis Blank App Seed Configuration",
4
- "version": "5.7.0-prerelease.4",
4
+ "version": "5.7.0-prerelease.6",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "lint": "eslint .",
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "UI": "14.333.0",
3
- "GSF": "8.14.0-beta7",
3
+ "GSF": "8.14.0-beta8",
4
4
  "Auth": "8.14.0-beta7"
5
5
  }
@@ -1,3 +1,3 @@
1
1
  # for reference see https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-code-owners#example-of-a-codeowners-file
2
2
 
3
- * @MrBrunoWolff @skawian @kievitsp @jacinpoz @khouari1 @rafaelnferreira @matteematt @SzymonZur @ArturKrasinski @jay-taylerson
3
+ * @skawian @kievitsp @jacinpoz @khouari1 @matteematt @SzymonZur @ArturKrasinski @jay-taylerson @Gareth-Spencer-Genesis @patrickoneill-genesis
@@ -34,7 +34,6 @@ jobs:
34
34
  steps:
35
35
  - uses: actions/checkout@v4
36
36
  with:
37
- ref: ${{ inputs.branch }}
38
37
  ref: ${{ inputs.branch }}
39
38
  token: ${{secrets.GH_USER_TOKEN}}
40
39
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.7.0-prerelease.6](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.7.0-prerelease.5...v5.7.0-prerelease.6) (2025-10-20)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * updating server version information for GSF [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 24510a4
9
+
10
+ ## [5.7.0-prerelease.5](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.7.0-prerelease.4...v5.7.0-prerelease.5) (2025-10-17)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * add proxy for vite with react ff07e8f
16
+ * add proxy for vite with react adb23b4
17
+ * add proxy for vite with react (#518) 65bab7f
18
+
3
19
  ## [5.7.0-prerelease.4](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.7.0-prerelease.3...v5.7.0-prerelease.4) (2025-10-17)
4
20
 
5
21
 
@@ -2,7 +2,6 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
6
  <title>{{capitalCase appName}}</title>
8
7
  </head>
@@ -3,27 +3,28 @@
3
3
  "version": "{{applicationVersionWeb}}",
4
4
  "private": true,
5
5
  "config": {
6
+ "API_HOST": "{{apiHost}}",
7
+ "PORT": 6060,
8
+ "ENABLE_SSO": {{enableSSO}},
6
9
  "PERSIST_LAYOUT_IN_DEV": false
7
10
  },
8
11
  "scripts": {
9
12
  "baseline": "npm run clean && npm run bootstrap",
10
- "bootstrap": "npm i --legacy-peer-deps",
13
+ "bootstrap": "npm i --no-fund --no-audit",
11
14
  "bootstrap:ci": "npm ci --no-fund --no-audit",
12
- "build": "webpack --mode production",
13
- "build:vite": "vite build",
15
+ "build": "genx build -b vite",
14
16
  "build:stats": "npm run build --stats-json",
15
17
  "clean": "genx clean dist node_modules",
16
- "dev": "webpack serve --mode development",
17
- "dev:vite": "vite build && vite preview",
18
+ "dev": "genx dev -b vite -e API_HOST,PORT,ENABLE_SSO,PERSIST_LAYOUT_IN_DEV",
18
19
  "dev:docker": "npm run dev -- --host 0.0.0.0",
19
20
  "dev:no-open": "NO_OPEN=true npm run dev",
20
21
  "dev:intellij": "npm run dev",
21
22
  "dev:https": "HTTPS=true npm run dev",
22
23
  "dsconfig": "dsconfig --path src/styles/design-tokens.json",
23
- "lint": "eslint src/**/*.ts src/**/*.tsx",
24
- "lint:fix": "eslint src/**/*.ts src/**/*.tsx --fix",
25
- "lint:eslint": "npm lint",
26
- "lint:stylelint": "npx ts-node lint-css.ts",
24
+ "lint": "genx lint --profile",
25
+ "lint:fix": "genx lint --fix",
26
+ "lint:eslint": "genx lint -l eslint --profile",
27
+ "lint:stylelint": "genx lint -l stylelint",
27
28
  "stats": "webpack --mode production --json > stats.json",
28
29
  "test": "jest",
29
30
  "test:coverage": "jest --coverage",
@@ -73,9 +74,6 @@
73
74
  "@analytics/core": "0.12.17"
74
75
  },
75
76
  "devDependencies": {
76
- "@babel/core": "^7.25.2",
77
- "@babel/preset-env": "^7.25.4",
78
- "@babel/preset-react": "^7.26.3",
79
77
  "@genesislcap/design-system-configurator": "{{versions.UI}}",
80
78
  "@genesislcap/eslint-config": "{{versions.UI}}",
81
79
  "@genesislcap/prettier-config": "{{versions.UI}}",
@@ -88,26 +86,13 @@
88
86
  "@types/css-modules": "^1.0.5",
89
87
  "@types/jest": "^29.5.12",
90
88
  "@types/node": "^20.14.10",
91
- "@types/react": "^19.0.1",
92
- "@types/react-dom": "^19.0.2",
93
- "@typescript-eslint/parser": "^7.13.1",
94
- "@vitejs/plugin-react": "^4.3.1",
95
- "babel-loader": "^9.2.1",
96
- "babel-plugin-react-require": "^4.0.3",
97
- "dotenv-webpack": "^8.1.0",
98
- "eslint": "^8.57.0",
89
+ "@types/react": "^19.2.0",
90
+ "@types/react-dom": "^19.2.0",
99
91
  "eslint-plugin-react-hooks": "^5.1.0",
100
92
  "eslint-plugin-react-refresh": "^0.4.16",
101
- "file-loader": "^6.2.0",
102
93
  "jest": "^29.7.0",
103
94
  "jest-environment-jsdom": "^29.7.0",
104
95
  "ts-jest": "^29.2.5",
105
- "ts-node": "^10.9.2",
106
- "typescript": "^5.2.2",
107
- "vite": "^5.3.1",
108
- "vite-plugin-tsconfig-paths": "^1.4.1",
109
- "webpack": "^5.94.0",
110
- "webpack-cli": "^5.1.4",
111
- "webpack-dev-server": "^5.1.0"
96
+ "ts-node": "^10.9.2"
112
97
  }
113
98
  }
@@ -5,9 +5,11 @@
5
5
  <link rel="icon" type="image/x-icon" href="favicon.ico">
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>{{capitalCase appName}}</title>
8
+ <link rel="stylesheet" href="/{{appName}}.css" />
8
9
  </head>
9
10
  <body>
10
11
  <div id="root"></div>
11
- <script src="/bundle.js"></script>
12
+ <script>window.process = window.process || { env: {} };</script>
13
+ <script type="module" src="/{{appName}}.mjs"></script>
12
14
  </body>
13
15
  </html>
@@ -7,12 +7,12 @@ import {
7
7
  onFDC3Ready,
8
8
  {{/if}}
9
9
  } from './utils';
10
- import { customEventFactory, registerStylesTarget } from '@/pbc/utils';
10
+ import { customEventFactory, registerStylesTarget } from './pbc/utils';
11
11
  import { RoutesProvider } from './store/RoutesContext';
12
12
  import { registerComponents as genesisRegisterComponents } from './share/genesis-components';
13
- import { storeService } from '@/services/store.service';
13
+ import { storeService } from './services/store.service';
14
14
  import AppRoutes from './components/routes/AppRoutes';
15
- import NotFoundPage from "@/pages/NotFoundPage/NotFoundPage.tsx";
15
+ import NotFoundPage from './pages/NotFoundPage/NotFoundPage.tsx';
16
16
 
17
17
 
18
18
  interface AppProps {
@@ -1,11 +1,11 @@
1
1
  import { Routes, Route, Navigate } from 'react-router-dom';
2
2
  import AuthPage from '../../pages/AuthPage/AuthPage';
3
- import {{pascalCase routes.[0].name}} from '@/pages/{{pascalCase routes.[0].name}}/{{pascalCase routes.[0].name}}';
3
+ import {{pascalCase routes.[0].name}} from '../../pages/{{pascalCase routes.[0].name}}/{{pascalCase routes.[0].name}}';
4
4
  import DefaultLayout from '../../layouts/default/DefaultLayout';
5
5
  import ProtectedRoute from './ProtectedRoute';
6
- import { useRoutesContext } from '@/store/RoutesContext';
7
- import PBCContainer from '@/pbc/container';
8
- import NotFoundPage from '@/pages/NotFoundPage/NotFoundPage.tsx';
6
+ import { useRoutesContext } from '../../store/RoutesContext';
7
+ import PBCContainer from '../../pbc/container';
8
+ import NotFoundPage from '../../pages/NotFoundPage/NotFoundPage.tsx';
9
9
 
10
10
  const AppRoutes = () => {
11
11
  const routes = useRoutesContext();
@@ -1,5 +1,5 @@
1
1
  import { RouteLayouts } from './types/RouteLayouts';
2
- import { environment } from '@environment';
2
+ import { environment } from './environments/environment';
3
3
 
4
4
  export const routeLayouts: RouteLayouts = {
5
5
  '/login': 'blank',
@@ -1,7 +1,7 @@
1
1
  import React, { ReactNode, useEffect, useRef } from 'react';
2
2
  import { configureDesignSystem } from '@genesislcap/foundation-ui';
3
3
  import styles from './BlankLayout.module.css';
4
- import * as designTokens from '@/styles/design-tokens.json';
4
+ import * as designTokens from '../../styles/design-tokens.json';
5
5
 
6
6
  interface BlankLayoutProps {
7
7
  children: ReactNode;
@@ -6,10 +6,10 @@ import {
6
6
  StandardLuminance,
7
7
  } from '@microsoft/fast-components';
8
8
  import styles from './DefaultLayout.module.css';
9
- import PBCElementsRenderer from '@/pbc/elementsRenderer';
10
- import * as designTokens from '@/styles/design-tokens.json';
11
- import { useRoutesContext } from '@/store/RoutesContext';
12
- import { AUTH_PATH } from '@/config';
9
+ import PBCElementsRenderer from '../../pbc/elementsRenderer';
10
+ import * as designTokens from '../../styles/design-tokens.json';
11
+ import { useRoutesContext } from '../../store/RoutesContext';
12
+ import { AUTH_PATH } from '../../config';
13
13
  import { LOGOUT_URL } from '@genesislcap/foundation-utils';
14
14
 
15
15
  interface DefaultLayoutProps {}
@@ -2,7 +2,7 @@ import React from 'react'
2
2
  import ReactDOM from 'react-dom/client'
3
3
  import App from './App.tsx'
4
4
 
5
- import { registerPBCs } from '@/pbc/utils';
5
+ import { registerPBCs } from './pbc/utils';
6
6
  import { createLogger } from '@genesislcap/foundation-logger';
7
7
 
8
8
  import './styles/styles.css'
@@ -1,6 +1,6 @@
1
1
  import React, {useEffect} from 'react';
2
2
  import './AuthPage.css';
3
- import { configureFoundationLogin } from "@/share/foundation-login.ts";
3
+ import { configureFoundationLogin } from '../../share/foundation-login.ts';
4
4
  import { useNavigate, useLocation } from 'react-router-dom';
5
5
 
6
6
  const AuthPage: React.FC = () => {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import ErrorMessage from '@/components/ErrorMessage/ErrorMessage';
2
+ import ErrorMessage from '../../components/ErrorMessage/ErrorMessage';
3
3
  import './NotFoundPage.css';
4
4
 
5
5
  const NotFoundPage: React.FC = () => {
@@ -1,7 +1,7 @@
1
1
  import { render, screen } from '@testing-library/react';
2
2
  import NotPermittedPage from './NotPermittedPage';
3
3
 
4
- jest.mock('@/components/ErrorMessage/ErrorMessage', () => {
4
+ jest.mock('../../components/ErrorMessage/ErrorMessage', () => {
5
5
  return jest.fn((props: { message: string }) => <h1 data-testid="error-message">{props.message}</h1>);
6
6
  });
7
7
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import ErrorMessage from '@/components/ErrorMessage/ErrorMessage';
2
+ import ErrorMessage from '../../components/ErrorMessage/ErrorMessage';
3
3
  import './NotPermittedPage.css';
4
4
 
5
5
  const NotPermittedPage: React.FC = () => {
@@ -1,6 +1,6 @@
1
1
  import React, { useEffect, useRef } from 'react';
2
2
  import { deriveElementTag } from './utils';
3
- import { useRoutesContext } from '@/store/RoutesContext';
3
+ import { useRoutesContext } from '../store/RoutesContext';
4
4
  import { useLocation, RouteObject } from 'react-router-dom';
5
5
 
6
6
  type ExtendedRouteObject = RouteObject & {
@@ -1,6 +1,6 @@
1
1
  import { configure, defaultAuthConfig } from '@genesislcap/foundation-auth/config';
2
- import { AUTH_PATH } from '@/config';
3
- import { environment } from "@/environments/environment.ts";
2
+ import { AUTH_PATH } from '../config';
3
+ import { environment } from '../environments/environment.ts';
4
4
  import { Connect } from '@genesislcap/foundation-comms';
5
5
  import { DI } from '@genesislcap/web-core';
6
6
  import type { NavigateFunction, Location as RouterLocation } from 'react-router-dom';
@@ -1,14 +1,14 @@
1
1
  import React, { createContext, useContext, ReactNode } from 'react';
2
2
  import { RouteObject, Navigate } from 'react-router-dom';
3
3
  import { getApp } from '@genesislcap/foundation-shell/app';
4
- import AuthPage from '@/pages/AuthPage/AuthPage';
5
- import NotFoundPage from '@/pages/NotFoundPage/NotFoundPage';
6
- import NotPermittedPage from '@/pages/NotPermittedPage/NotPermittedPage';
4
+ import AuthPage from '../pages/AuthPage/AuthPage';
5
+ import NotFoundPage from '../pages/NotFoundPage/NotFoundPage';
6
+ import NotPermittedPage from '../pages/NotPermittedPage/NotPermittedPage';
7
7
  {{#each routes}}
8
- import {{pascalCase this.name}} from '@/pages/{{pascalCase this.name}}/{{pascalCase this.name}}';
8
+ import {{pascalCase this.name}} from '../pages/{{pascalCase this.name}}/{{pascalCase this.name}}';
9
9
  {{/each}}
10
- import PBCContainer from '@/pbc/container';
11
- import { AUTH_PATH, NOT_PERMITTED_PATH } from '@/config';
10
+ import PBCContainer from '../pbc/container';
11
+ import { AUTH_PATH, NOT_PERMITTED_PATH } from '../config';
12
12
 
13
13
  const routes = [
14
14
  {
@@ -1,4 +1,4 @@
1
- import { routeLayouts } from '@/config';
1
+ import { routeLayouts } from '../config';
2
2
 
3
3
  export const getLayoutNameByRoute = (route: string) => {
4
4
  return routeLayouts[route] || 'default';
@@ -1,6 +1,6 @@
1
1
  import { base, Page } from '@genesislcap/foundation-testing/e2e';
2
2
  import { ProtectedPage } from './pages';
3
- import { PORT } from '@/playwright.config';
3
+ import { PORT } from '../../playwright.config';
4
4
 
5
5
  export type FixtureConfig = {
6
6
  API_HOST: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed",
3
3
  "description": "Genesis Blank App Seed",
4
- "version": "5.7.0-prerelease.4",
4
+ "version": "5.7.0-prerelease.6",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "release": "semantic-release"
@@ -1,19 +0,0 @@
1
- import { execSync } from 'child_process';
2
- import glob from 'glob';
3
- import path from 'path';
4
-
5
- const cssFiles: string[] = glob.sync(path.join(__dirname, '**/*.css'));
6
-
7
- if (cssFiles.length === 0) {
8
- console.log('No CSS files found.');
9
- process.exit(0);
10
- }
11
-
12
- const command: string = `genx lint -l stylelint ${cssFiles.join(' ')}`;
13
-
14
- try {
15
- execSync(command, { stdio: 'inherit' });
16
- } catch (error) {
17
- console.error('Error running stylelint:', error);
18
- process.exit(1);
19
- }
@@ -1,70 +0,0 @@
1
- import { fileURLToPath } from 'node:url';
2
- import { resolve, dirname } from 'path';
3
- import { defineConfig, UserConfig } from 'vite';
4
- import react from '@vitejs/plugin-react';
5
- import visualizer from 'rollup-plugin-visualizer';
6
- import tsconfigPaths from 'vite-plugin-tsconfig-paths';
7
-
8
- const __dirname = dirname(fileURLToPath(import.meta.url));
9
-
10
- export default defineConfig(({ mode }: { mode: string }): UserConfig => {
11
- const https: boolean = process.env.HTTPS === 'true';
12
- const open: boolean = !(process.env.NO_OPEN === 'true');
13
- const environmentFile = mode === 'production'
14
- ? 'environment.prod.ts'
15
- : 'environment.ts';
16
- const environmentPath = resolve(__dirname, 'src/environments', environmentFile);
17
-
18
- const config: UserConfig = {
19
- define: {
20
- BUILDER: JSON.stringify('vite'),
21
- },
22
- server: {
23
- https,
24
- open,
25
- fs: {
26
- strict: false,
27
- }
28
- },
29
- plugins: [
30
- react(),
31
- tsconfigPaths(),
32
- ],
33
- build: {
34
- rollupOptions: {
35
- plugins: [],
36
- treeshake: false,
37
- },
38
- },
39
- resolve: {
40
- alias: {
41
- 'foundationZero/ZeroDesignSystem': resolve(__dirname, 'node_modules/@genesislcap/foundation-zero'),
42
- '@': resolve(__dirname, 'src'),
43
- '@environment': environmentPath,
44
- 'pbc': resolve(__dirname, 'src/pbc'),
45
- },
46
- preserveSymlinks: true,
47
- },
48
- esbuild: {
49
- tsconfigRaw: {
50
- compilerOptions: {
51
- experimentalDecorators: true,
52
- },
53
- },
54
- },
55
- };
56
-
57
- if (mode === 'stats') {
58
- config.build.rollupOptions.plugins.push(
59
- visualizer({
60
- template: 'raw-data',
61
- filename: 'stats.json',
62
- open: true,
63
- gzipSize: true,
64
- brotliSize: true,
65
- })
66
- );
67
- }
68
-
69
- return config;
70
- });